Skip to content

Commit 3a5755f

Browse files
Merge pull request #226 from Sebastian-Webster/support-jul-22-2025-mysql-versions
Add support for MySQL 8.0.43, 8.4.6, and 9.4.0
2 parents 0d38fff + 5f3c625 commit 3a5755f

File tree

3 files changed

+24
-24
lines changed

3 files changed

+24
-24
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Download with your package manager of choice. The package name is `mysql-memory-
1515
#### Currently supported MySQL versions
1616

1717
- ```mysql-memory-server``` can run MySQL versions 5.7.19 and newer (if the version is already installed on your system)
18-
- ```mysql-memory-server``` can download and run MySQL versions 5.7.19 - 9.3.0 (if the version is not already installed on your system)
18+
- ```mysql-memory-server``` can download and run MySQL versions 5.7.19 - 5.7.44, 8.0.0 - 8.0.43, 8.1.0 - 8.4.6, and 9.0.1 - 9.4.0 (if the version is not already installed on your system - all version numbers are inclusive)
1919

2020
Extra system requirements apply when ```mysql-memory-server``` is downloading MySQL instead of running a version of MySQL that is already installed on the system. To see the requirements and learn more about the supported versions for download, [read the doc](https://github.com/Sebastian-Webster/mysql-memory-server-nodejs/blob/v1.10.1/docs/SUPPORTED_MYSQL_DOWNLOADS.md)
2121

docs/SUPPORTED_MYSQL_DOWNLOADS.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@
2020

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

23-
Linux, Windows, macOS x64: MySQL v5.7.19 - v9.3.0
23+
Linux, Windows, macOS x64: MySQL v5.7.19 - v9.4.0
2424

25-
Linux ARM64: MySQL v8.0.31 - v9.3.0
25+
Linux ARM64: MySQL v8.0.31 - v9.4.0
2626

27-
macOS ARM64: MySQL v8.0.26 - v9.3.0
27+
macOS ARM64: MySQL v8.0.26 - v9.4.0
2828

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

@@ -46,7 +46,7 @@ macOS:
4646
| v8.0.28 - v8.0.31 | macOS 11 (Big Sur) |
4747
| v8.0.32 - v8.0.34 | macOS 12 (Monterey) |
4848
| v8.0.35 - v8.0.39 OR v8.1.0 - v8.4.2 OR v9.0.1 | macOS 13 (Ventura) |
49-
| v8.0.40 - v8.0.42 OR v8.4.3 - v8.4.5 OR v9.1.0 - v9.3.0 | macOS 14 (Sonoma) |
49+
| v8.0.40 - v8.0.43 OR v8.4.3 - v8.4.6 OR v9.1.0 - v9.4.0 | macOS 14 (Sonoma) |
5050

5151
## Operating System Maximum Version Requirements
5252

@@ -86,4 +86,4 @@ Ubuntu Linux:
8686

8787
Fedora Linux: ```libaio1``` package and ```tar``` package
8888

89-
*Document last updated in v1.10.2*
89+
*Document last updated in v1.11.0*

src/constants.ts

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -123,25 +123,25 @@ export const DOWNLOADABLE_MYSQL_VERSIONS = [
123123

124124
'8.0.0', '8.0.1', '8.0.2', '8.0.3', '8.0.4',
125125

126-
'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',
126+
'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',
127127

128128
'8.1.0', '8.2.0', '8.3.0',
129129

130-
'8.4.0', '8.4.2', '8.4.3', '8.4.4', '8.4.5',
130+
'8.4.0', '8.4.2', '8.4.3', '8.4.4', '8.4.5', '8.4.6',
131131

132-
'9.0.1', '9.1.0', '9.2.0', '9.3.0'
132+
'9.0.1', '9.1.0', '9.2.0', '9.3.0', '9.4.0'
133133
] as const;
134134
export const MYSQL_ARCH_SUPPORT = {
135135
darwin: {
136-
arm64: '8.0.26 - 9.3.0',
137-
x64: '5.7.19 - 9.3.0'
136+
arm64: '8.0.26 - 9.4.0',
137+
x64: '5.7.19 - 9.4.0'
138138
},
139139
linux: {
140-
arm64: '8.0.31 - 9.3.0',
141-
x64: '5.7.19 - 9.3.0'
140+
arm64: '8.0.31 - 9.4.0',
141+
x64: '5.7.19 - 9.4.0'
142142
},
143143
win32: {
144-
x64: '5.7.19 - 9.3.0'
144+
x64: '5.7.19 - 9.4.0'
145145
}
146146
} as const;
147147
export const MYSQL_MIN_OS_SUPPORT = {
@@ -161,7 +161,7 @@ export const MYSQL_MIN_OS_SUPPORT = {
161161
'8.0.28 - 8.0.31': '20.0.0',
162162
'8.0.32 - 8.0.34': '21.0.0',
163163
'8.0.35 - 8.0.39 || 8.1.0 - 8.4.2 || 9.0.1': '22.0.0',
164-
'8.0.40 - 8.0.42 || 8.4.3 - 8.4.5 || 9.1.0 - 9.3.0': '23.0.0'
164+
'8.0.40 - 8.0.43 || 8.4.3 - 8.4.6 || 9.1.0 - 9.4.0': '23.0.0'
165165
}
166166
} as const;
167167
export const DMR_MYSQL_VERSIONS = '8.0.0 - 8.0.2';
@@ -176,37 +176,37 @@ export const MYSQL_MACOS_VERSIONS_IN_FILENAME = {
176176
'8.0.30 - 8.0.31': 'macos12',
177177
'8.0.32 - 8.0.35 || 8.1.0 - 8.2.0': 'macos13',
178178
'8.0.36 - 8.0.40 || 8.3.0 - 8.4.3 || 9.0.1 - 9.1.0': 'macos14',
179-
'8.0.41 - 8.0.42 || 8.4.4 - 8.4.5 || 9.2.0 - 9.3.0': 'macos15'
179+
'8.0.41 - 8.0.43 || 8.4.4 - 8.4.6 || 9.2.0 - 9.4.0': 'macos15'
180180
} as const;
181181
export const MYSQL_LINUX_GLIBC_VERSIONS = {
182-
//8.0.42, 8.4.5, and 9.3.0 with glibc 2.28 does NOT have a minimal install version for x64 but it DOES have arm64 support.
183-
//8.0.42, 8.4.5, and 9.3.0 with glibc 2.17 DOES have a minimal install version for x64 but does NOT have arm64 support.
182+
//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.
183+
//8.0.42 - 8.0.43, 8.4.5 - 8.4.6, and 9.3.0 - 9.4.0 with glibc 2.17 DOES have a minimal install version for x64 but does NOT have arm64 support.
184184
//The new versions having these differences between the glibc versions has led to the glibc versions being different depending on CPU architecture for this package.
185185
//Neither glibc versions for the above MySQL versions have an arm64 minimal install.
186186
x64: {
187187
'5.7.19 - 8.0.20': '2.12',
188-
'8.0.21 - 9.3.0': '2.17'
188+
'8.0.21 - 9.4.0': '2.17'
189189
},
190190
arm64: {
191191
'5.7.19 - 8.0.20': '2.12',
192192
'8.0.21 - 8.0.41 || 8.1.0 - 8.4.4 || 9.0.1 - 9.2.0': '2.17',
193-
'8.0.42 || 8.4.5 || 9.3.0': '2.28'
193+
'8.0.42 - 8.0.43 || 8.4.5 - 8.4.6 || 9.3.0 - 9.4.0': '2.28'
194194
}
195195
} as const;
196196
export const MYSQL_LINUX_MINIMAL_INSTALL_AVAILABLE = {
197197
'5.7.19 - 8.0.15': 'no',
198198
'8.0.16 - 8.0.20': 'no-glibc-tag',
199-
'8.0.21 - 9.3.0': 'glibc-tag'
199+
'8.0.21 - 9.4.0': 'glibc-tag'
200200
} as const;
201-
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.4.5, and 9.3.0
201+
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
202202
export const MYSQL_LINUX_FILE_EXTENSIONS = {
203203
x64: {
204204
'5.7.19 - 8.0.11': 'gz',
205-
'8.0.12 - 9.3.0': 'xz'
205+
'8.0.12 - 9.4.0': 'xz'
206206
},
207207
arm64: {
208208
'8.0.31 - 8.0.32': 'gz',
209-
'8.0.33 - 9.3.0': 'xz'
209+
'8.0.33 - 9.4.0': 'xz'
210210
}
211211
} as const;
212212
export const MYSQL_LINUX_MINIMAL_REBUILD_VERSIONS = '8.0.26';

0 commit comments

Comments
 (0)