Skip to content

Commit 9977ca6

Browse files
add support for 8.0.44, 8.4.7, and 9.5.0
1 parent 6efbc00 commit 9977ca6

File tree

2 files changed

+21
-23
lines changed

2 files changed

+21
-23
lines changed

docs/SUPPORTED_MYSQL_DOWNLOADS.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ Only MySQL versions 8.4.x and 9.x can be downloaded and ran with this package on
2424

2525
*Architectures used can be overridden by the ```arch``` option provided your OS and system supports running applications that use those architectures.*
2626

27-
Linux, Windows, macOS x64: MySQL v5.7.19 - v9.4.0
27+
Linux, Windows, macOS x64: MySQL v5.7.19 - v9.5.0
2828

29-
Linux ARM64: MySQL v8.0.31 - v9.4.0
29+
Linux ARM64: MySQL v8.0.31 - v9.5.0
3030

31-
macOS ARM64: MySQL v8.0.26 - v9.4.0
31+
macOS ARM64: MySQL v8.0.26 - v9.5.0
3232

3333
Windows ARM64: N/A - Read about the ```arch``` option to run this package on your system
3434

@@ -50,7 +50,7 @@ macOS:
5050
| v8.0.28 - v8.0.31 | macOS 11 (Big Sur) |
5151
| v8.0.32 - v8.0.34 | macOS 12 (Monterey) |
5252
| v8.0.35 - v8.0.39 OR v8.1.0 - v8.4.2 OR v9.0.1 | macOS 13 (Ventura) |
53-
| v8.0.40 - v8.0.43 OR v8.4.3 - v8.4.6 OR v9.1.0 - v9.4.0 | macOS 14 (Sonoma) |
53+
| v8.0.40 - v8.0.44 OR v8.4.3 - v8.4.7 OR v9.1.0 - v9.5.0 | macOS 14 (Sonoma) |
5454

5555
## Operating System Maximum Version Requirements
5656

@@ -92,4 +92,4 @@ Fedora Linux: ```libaio1``` package and ```tar``` package
9292

9393
Alpine Linux: ```libstdc++``` package, ```libaio``` package, and ```tar``` package
9494

95-
*Document last updated in v1.12.2*
95+
*Document last updated in v1.13.0*

src/constants.ts

Lines changed: 16 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
import { InternalServerOptions, OptionTypeChecks } from "../types";
2-
import {normalize as normalizePath} from 'path'
3-
import { tmpdir } from "os";
42
import { valid as validSemver, coerce as coerceSemver } from "semver";
53

64
export const DEFAULT_OPTIONS: InternalServerOptions = {
@@ -127,25 +125,25 @@ export const DOWNLOADABLE_MYSQL_VERSIONS = [
127125

128126
'8.0.0', '8.0.1', '8.0.2', '8.0.3', '8.0.4',
129127

130-
'8.0.11', '8.0.12', '8.0.13', '8.0.14', '8.0.15', '8.0.16', '8.0.17', '8.0.18', '8.0.19', '8.0.20', '8.0.21', '8.0.22', '8.0.23', '8.0.24', '8.0.25', '8.0.26', '8.0.27', '8.0.28', '8.0.30', '8.0.31', '8.0.32', '8.0.33', '8.0.34', '8.0.35', '8.0.36', '8.0.37', '8.0.39', '8.0.40', '8.0.41', '8.0.42', '8.0.43',
128+
'8.0.11', '8.0.12', '8.0.13', '8.0.14', '8.0.15', '8.0.16', '8.0.17', '8.0.18', '8.0.19', '8.0.20', '8.0.21', '8.0.22', '8.0.23', '8.0.24', '8.0.25', '8.0.26', '8.0.27', '8.0.28', '8.0.30', '8.0.31', '8.0.32', '8.0.33', '8.0.34', '8.0.35', '8.0.36', '8.0.37', '8.0.39', '8.0.40', '8.0.41', '8.0.42', '8.0.43', '8.0.44',
131129

132130
'8.1.0', '8.2.0', '8.3.0',
133131

134-
'8.4.0', '8.4.2', '8.4.3', '8.4.4', '8.4.5', '8.4.6',
132+
'8.4.0', '8.4.2', '8.4.3', '8.4.4', '8.4.5', '8.4.6', '8.4.7',
135133

136-
'9.0.1', '9.1.0', '9.2.0', '9.3.0', '9.4.0'
134+
'9.0.1', '9.1.0', '9.2.0', '9.3.0', '9.4.0', '9.5.0'
137135
] as const;
138136
export const MYSQL_ARCH_SUPPORT = {
139137
darwin: {
140-
arm64: '8.0.26 - 9.4.0',
141-
x64: '5.7.19 - 9.4.0'
138+
arm64: '8.0.26 - 9.5.0',
139+
x64: '5.7.19 - 9.5.0'
142140
},
143141
linux: {
144-
arm64: '8.0.31 - 9.4.0',
145-
x64: '5.7.19 - 9.4.0'
142+
arm64: '8.0.31 - 9.5.0',
143+
x64: '5.7.19 - 9.5.0'
146144
},
147145
win32: {
148-
x64: '5.7.19 - 9.4.0'
146+
x64: '5.7.19 - 9.5.0'
149147
}
150148
} as const;
151149
export const MYSQL_MIN_OS_SUPPORT = {
@@ -165,7 +163,7 @@ export const MYSQL_MIN_OS_SUPPORT = {
165163
'8.0.28 - 8.0.31': '20.0.0',
166164
'8.0.32 - 8.0.34': '21.0.0',
167165
'8.0.35 - 8.0.39 || 8.1.0 - 8.4.2 || 9.0.1': '22.0.0',
168-
'8.0.40 - 8.0.43 || 8.4.3 - 8.4.6 || 9.1.0 - 9.4.0': '23.0.0'
166+
'8.0.40 - 8.0.44 || 8.4.3 - 8.4.7 || 9.1.0 - 9.5.0': '23.0.0'
169167
}
170168
} as const;
171169
export const DMR_MYSQL_VERSIONS = '8.0.0 - 8.0.2';
@@ -180,7 +178,7 @@ export const MYSQL_MACOS_VERSIONS_IN_FILENAME = {
180178
'8.0.30 - 8.0.31': 'macos12',
181179
'8.0.32 - 8.0.35 || 8.1.0 - 8.2.0': 'macos13',
182180
'8.0.36 - 8.0.40 || 8.3.0 - 8.4.3 || 9.0.1 - 9.1.0': 'macos14',
183-
'8.0.41 - 8.0.43 || 8.4.4 - 8.4.6 || 9.2.0 - 9.4.0': 'macos15'
181+
'8.0.41 - 8.0.44 || 8.4.4 - 8.4.7 || 9.2.0 - 9.5.0': 'macos15'
184182
} as const;
185183
export const MYSQL_LINUX_GLIBC_VERSIONS = {
186184
//8.0.42 - 8.0.43, 8.4.5 - 8.4.6, and 9.3.0 - 9.4.0 with glibc 2.28 does NOT have a minimal install version for x64 but it DOES have arm64 support.
@@ -189,28 +187,28 @@ export const MYSQL_LINUX_GLIBC_VERSIONS = {
189187
//Neither glibc versions for the above MySQL versions have an arm64 minimal install.
190188
x64: {
191189
'5.7.19 - 8.0.20': '2.12',
192-
'8.0.21 - 9.4.0': '2.17'
190+
'8.0.21 - 9.5.0': '2.17'
193191
},
194192
arm64: {
195193
'5.7.19 - 8.0.20': '2.12',
196194
'8.0.21 - 8.0.41 || 8.1.0 - 8.4.4 || 9.0.1 - 9.2.0': '2.17',
197-
'8.0.42 - 8.0.43 || 8.4.5 - 8.4.6 || 9.3.0 - 9.4.0': '2.28'
195+
'8.0.42 - 8.0.44 || 8.4.5 - 8.4.7 || 9.3.0 - 9.5.0': '2.28'
198196
}
199197
} as const;
200198
export const MYSQL_LINUX_MINIMAL_INSTALL_AVAILABLE = {
201199
'5.7.19 - 8.0.15': 'no',
202200
'8.0.16 - 8.0.20': 'no-glibc-tag',
203-
'8.0.21 - 9.4.0': 'glibc-tag'
201+
'8.0.21 - 9.5.0': 'glibc-tag'
204202
} as const;
205-
export const MYSQL_LINUX_MINIMAL_INSTALL_AVAILABLE_ARM64 = '8.0.33 - 8.0.41 || 8.1.0 - 8.4.4 || 9.0.1 - 9.2.0' //Not available for < 8.0.33 and 8.0.42 - 8.0.43, 8.4.5 - 8.4.6, and 9.3.0 - 9.4.0
203+
export const MYSQL_LINUX_MINIMAL_INSTALL_AVAILABLE_ARM64 = '8.0.33 - 8.0.41 || 8.1.0 - 8.4.4 || 9.0.1 - 9.2.0' //Not available for < 8.0.33 and >=8.0.42 <8.1.0, >=8.4.5 <8.5, and >=9.3.0 <10.0.0
206204
export const MYSQL_LINUX_FILE_EXTENSIONS = {
207205
x64: {
208206
'5.7.19 - 8.0.11': 'gz',
209-
'8.0.12 - 9.4.0': 'xz'
207+
'8.0.12 - 9.5.0': 'xz'
210208
},
211209
arm64: {
212210
'8.0.31 - 8.0.32': 'gz',
213-
'8.0.33 - 9.4.0': 'xz'
211+
'8.0.33 - 9.5.0': 'xz'
214212
}
215213
} as const;
216214
export const MYSQL_LINUX_MINIMAL_REBUILD_VERSIONS = '8.0.26';

0 commit comments

Comments
 (0)