Skip to content

Commit a30d209

Browse files
build - v1.11.0
1 parent 3a5755f commit a30d209

File tree

6 files changed

+37
-37
lines changed

6 files changed

+37
-37
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Download with your package manager of choice. The package name is `mysql-memory-
1717
- ```mysql-memory-server``` can run MySQL versions 5.7.19 and newer (if the version is already installed on your system)
1818
- ```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

20-
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)
20+
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.11.0/docs/SUPPORTED_MYSQL_DOWNLOADS.md)
2121

2222
## Example Usage - Application Code
2323

@@ -102,11 +102,11 @@ Description: Version of MySQL to use for the database. Uses semver for getting t
102102

103103
If left undefined:
104104
- If the system has MySQL installed, the system-installed version will be used. If the installed version is not supported by this package (currently <5.7.19), an error will be thrown unless `ignoreUnsupportedSystemVersion` is set to `true`.
105-
- If the system does not have MySQL installed, the latest version of MySQL that [this package supports downloading](https://github.com/Sebastian-Webster/mysql-memory-server-nodejs/blob/v1.10.1/docs/SUPPORTED_MYSQL_DOWNLOADS.md) will be downloaded.
105+
- If the system does not have MySQL installed, the latest version of MySQL that [this package supports downloading](https://github.com/Sebastian-Webster/mysql-memory-server-nodejs/blob/v1.11.0/docs/SUPPORTED_MYSQL_DOWNLOADS.md) will be downloaded.
106106

107107
If defined:
108108
- If the version is older than 5.7.19, an error will be thrown as this package does not currently support those versions of MySQL.
109-
- If the desired version of MySQL is already installed on the system, the installed version will be used. Otherwise the selected version will be downloaded as long as this package [supports downloading it](https://github.com/Sebastian-Webster/mysql-memory-server-nodejs/blob/v1.10.1/docs/SUPPORTED_MYSQL_DOWNLOADS.md). If this package does not support downloading the selected version, or your system does not [meet the requirements](https://github.com/Sebastian-Webster/mysql-memory-server-nodejs/blob/v1.10.1/docs/SUPPORTED_MYSQL_DOWNLOADS.md) for that version to be ran, an error will be thrown.
109+
- If the desired version of MySQL is already installed on the system, the installed version will be used. Otherwise the selected version will be downloaded as long as this package [supports downloading it](https://github.com/Sebastian-Webster/mysql-memory-server-nodejs/blob/v1.11.0/docs/SUPPORTED_MYSQL_DOWNLOADS.md). If this package does not support downloading the selected version, or your system does not [meet the requirements](https://github.com/Sebastian-Webster/mysql-memory-server-nodejs/blob/v1.11.0/docs/SUPPORTED_MYSQL_DOWNLOADS.md) for that version to be ran, an error will be thrown.
110110

111111
- `dbName: string`
112112

dist/src/cli.js

100755100644
File mode changed.

dist/src/constants.d.ts

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,18 @@ export declare const OPTION_TYPE_CHECKS: OptionTypeChecks;
1717
export declare const MIN_SUPPORTED_MYSQL = "5.7.19";
1818
export declare const downloadsBaseURL = "https://cdn.mysql.com//Downloads/MySQL-";
1919
export declare const archiveBaseURL = "https://cdn.mysql.com/archives/mysql-";
20-
export declare const DOWNLOADABLE_MYSQL_VERSIONS: readonly ["5.7.19", "5.7.20", "5.7.21", "5.7.22", "5.7.23", "5.7.24", "5.7.25", "5.7.26", "5.7.27", "5.7.28", "5.7.29", "5.7.30", "5.7.31", "5.7.32", "5.7.33", "5.7.34", "5.7.35", "5.7.36", "5.7.37", "5.7.38", "5.7.39", "5.7.40", "5.7.41", "5.7.42", "5.7.43", "5.7.44", "8.0.0", "8.0.1", "8.0.2", "8.0.3", "8.0.4", "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.1.0", "8.2.0", "8.3.0", "8.4.0", "8.4.2", "8.4.3", "8.4.4", "8.4.5", "9.0.1", "9.1.0", "9.2.0", "9.3.0"];
20+
export declare const DOWNLOADABLE_MYSQL_VERSIONS: readonly ["5.7.19", "5.7.20", "5.7.21", "5.7.22", "5.7.23", "5.7.24", "5.7.25", "5.7.26", "5.7.27", "5.7.28", "5.7.29", "5.7.30", "5.7.31", "5.7.32", "5.7.33", "5.7.34", "5.7.35", "5.7.36", "5.7.37", "5.7.38", "5.7.39", "5.7.40", "5.7.41", "5.7.42", "5.7.43", "5.7.44", "8.0.0", "8.0.1", "8.0.2", "8.0.3", "8.0.4", "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.1.0", "8.2.0", "8.3.0", "8.4.0", "8.4.2", "8.4.3", "8.4.4", "8.4.5", "8.4.6", "9.0.1", "9.1.0", "9.2.0", "9.3.0", "9.4.0"];
2121
export declare const MYSQL_ARCH_SUPPORT: {
2222
readonly darwin: {
23-
readonly arm64: "8.0.26 - 9.3.0";
24-
readonly x64: "5.7.19 - 9.3.0";
23+
readonly arm64: "8.0.26 - 9.4.0";
24+
readonly x64: "5.7.19 - 9.4.0";
2525
};
2626
readonly linux: {
27-
readonly arm64: "8.0.31 - 9.3.0";
28-
readonly x64: "5.7.19 - 9.3.0";
27+
readonly arm64: "8.0.31 - 9.4.0";
28+
readonly x64: "5.7.19 - 9.4.0";
2929
};
3030
readonly win32: {
31-
readonly x64: "5.7.19 - 9.3.0";
31+
readonly x64: "5.7.19 - 9.4.0";
3232
};
3333
};
3434
export declare const MYSQL_MIN_OS_SUPPORT: {
@@ -47,7 +47,7 @@ export declare const MYSQL_MIN_OS_SUPPORT: {
4747
readonly '8.0.28 - 8.0.31': "20.0.0";
4848
readonly '8.0.32 - 8.0.34': "21.0.0";
4949
readonly '8.0.35 - 8.0.39 || 8.1.0 - 8.4.2 || 9.0.1': "22.0.0";
50-
readonly '8.0.40 - 8.0.42 || 8.4.3 - 8.4.5 || 9.1.0 - 9.3.0': "23.0.0";
50+
readonly '8.0.40 - 8.0.43 || 8.4.3 - 8.4.6 || 9.1.0 - 9.4.0': "23.0.0";
5151
};
5252
};
5353
export declare const DMR_MYSQL_VERSIONS = "8.0.0 - 8.0.2";
@@ -62,33 +62,33 @@ export declare const MYSQL_MACOS_VERSIONS_IN_FILENAME: {
6262
readonly '8.0.30 - 8.0.31': "macos12";
6363
readonly '8.0.32 - 8.0.35 || 8.1.0 - 8.2.0': "macos13";
6464
readonly '8.0.36 - 8.0.40 || 8.3.0 - 8.4.3 || 9.0.1 - 9.1.0': "macos14";
65-
readonly '8.0.41 - 8.0.42 || 8.4.4 - 8.4.5 || 9.2.0 - 9.3.0': "macos15";
65+
readonly '8.0.41 - 8.0.43 || 8.4.4 - 8.4.6 || 9.2.0 - 9.4.0': "macos15";
6666
};
6767
export declare const MYSQL_LINUX_GLIBC_VERSIONS: {
6868
readonly x64: {
6969
readonly '5.7.19 - 8.0.20': "2.12";
70-
readonly '8.0.21 - 9.3.0': "2.17";
70+
readonly '8.0.21 - 9.4.0': "2.17";
7171
};
7272
readonly arm64: {
7373
readonly '5.7.19 - 8.0.20': "2.12";
7474
readonly '8.0.21 - 8.0.41 || 8.1.0 - 8.4.4 || 9.0.1 - 9.2.0': "2.17";
75-
readonly '8.0.42 || 8.4.5 || 9.3.0': "2.28";
75+
readonly '8.0.42 - 8.0.43 || 8.4.5 - 8.4.6 || 9.3.0 - 9.4.0': "2.28";
7676
};
7777
};
7878
export declare const MYSQL_LINUX_MINIMAL_INSTALL_AVAILABLE: {
7979
readonly '5.7.19 - 8.0.15': "no";
8080
readonly '8.0.16 - 8.0.20': "no-glibc-tag";
81-
readonly '8.0.21 - 9.3.0': "glibc-tag";
81+
readonly '8.0.21 - 9.4.0': "glibc-tag";
8282
};
8383
export declare 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";
8484
export declare const MYSQL_LINUX_FILE_EXTENSIONS: {
8585
readonly x64: {
8686
readonly '5.7.19 - 8.0.11': "gz";
87-
readonly '8.0.12 - 9.3.0': "xz";
87+
readonly '8.0.12 - 9.4.0': "xz";
8888
};
8989
readonly arm64: {
9090
readonly '8.0.31 - 8.0.32': "gz";
91-
readonly '8.0.33 - 9.3.0': "xz";
91+
readonly '8.0.33 - 9.4.0': "xz";
9292
};
9393
};
9494
export declare const MYSQL_LINUX_MINIMAL_REBUILD_VERSIONS = "8.0.26";

dist/src/constants.js

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -117,22 +117,22 @@ exports.archiveBaseURL = 'https://cdn.mysql.com/archives/mysql-';
117117
exports.DOWNLOADABLE_MYSQL_VERSIONS = [
118118
'5.7.19', '5.7.20', '5.7.21', '5.7.22', '5.7.23', '5.7.24', '5.7.25', '5.7.26', '5.7.27', '5.7.28', '5.7.29', '5.7.30', '5.7.31', '5.7.32', '5.7.33', '5.7.34', '5.7.35', '5.7.36', '5.7.37', '5.7.38', '5.7.39', '5.7.40', '5.7.41', '5.7.42', '5.7.43', '5.7.44',
119119
'8.0.0', '8.0.1', '8.0.2', '8.0.3', '8.0.4',
120-
'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',
120+
'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',
121121
'8.1.0', '8.2.0', '8.3.0',
122-
'8.4.0', '8.4.2', '8.4.3', '8.4.4', '8.4.5',
123-
'9.0.1', '9.1.0', '9.2.0', '9.3.0'
122+
'8.4.0', '8.4.2', '8.4.3', '8.4.4', '8.4.5', '8.4.6',
123+
'9.0.1', '9.1.0', '9.2.0', '9.3.0', '9.4.0'
124124
];
125125
exports.MYSQL_ARCH_SUPPORT = {
126126
darwin: {
127-
arm64: '8.0.26 - 9.3.0',
128-
x64: '5.7.19 - 9.3.0'
127+
arm64: '8.0.26 - 9.4.0',
128+
x64: '5.7.19 - 9.4.0'
129129
},
130130
linux: {
131-
arm64: '8.0.31 - 9.3.0',
132-
x64: '5.7.19 - 9.3.0'
131+
arm64: '8.0.31 - 9.4.0',
132+
x64: '5.7.19 - 9.4.0'
133133
},
134134
win32: {
135-
x64: '5.7.19 - 9.3.0'
135+
x64: '5.7.19 - 9.4.0'
136136
}
137137
};
138138
exports.MYSQL_MIN_OS_SUPPORT = {
@@ -152,7 +152,7 @@ exports.MYSQL_MIN_OS_SUPPORT = {
152152
'8.0.28 - 8.0.31': '20.0.0',
153153
'8.0.32 - 8.0.34': '21.0.0',
154154
'8.0.35 - 8.0.39 || 8.1.0 - 8.4.2 || 9.0.1': '22.0.0',
155-
'8.0.40 - 8.0.42 || 8.4.3 - 8.4.5 || 9.1.0 - 9.3.0': '23.0.0'
155+
'8.0.40 - 8.0.43 || 8.4.3 - 8.4.6 || 9.1.0 - 9.4.0': '23.0.0'
156156
}
157157
};
158158
exports.DMR_MYSQL_VERSIONS = '8.0.0 - 8.0.2';
@@ -167,37 +167,37 @@ exports.MYSQL_MACOS_VERSIONS_IN_FILENAME = {
167167
'8.0.30 - 8.0.31': 'macos12',
168168
'8.0.32 - 8.0.35 || 8.1.0 - 8.2.0': 'macos13',
169169
'8.0.36 - 8.0.40 || 8.3.0 - 8.4.3 || 9.0.1 - 9.1.0': 'macos14',
170-
'8.0.41 - 8.0.42 || 8.4.4 - 8.4.5 || 9.2.0 - 9.3.0': 'macos15'
170+
'8.0.41 - 8.0.43 || 8.4.4 - 8.4.6 || 9.2.0 - 9.4.0': 'macos15'
171171
};
172172
exports.MYSQL_LINUX_GLIBC_VERSIONS = {
173-
//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.
174-
//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.
173+
//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.
174+
//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.
175175
//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.
176176
//Neither glibc versions for the above MySQL versions have an arm64 minimal install.
177177
x64: {
178178
'5.7.19 - 8.0.20': '2.12',
179-
'8.0.21 - 9.3.0': '2.17'
179+
'8.0.21 - 9.4.0': '2.17'
180180
},
181181
arm64: {
182182
'5.7.19 - 8.0.20': '2.12',
183183
'8.0.21 - 8.0.41 || 8.1.0 - 8.4.4 || 9.0.1 - 9.2.0': '2.17',
184-
'8.0.42 || 8.4.5 || 9.3.0': '2.28'
184+
'8.0.42 - 8.0.43 || 8.4.5 - 8.4.6 || 9.3.0 - 9.4.0': '2.28'
185185
}
186186
};
187187
exports.MYSQL_LINUX_MINIMAL_INSTALL_AVAILABLE = {
188188
'5.7.19 - 8.0.15': 'no',
189189
'8.0.16 - 8.0.20': 'no-glibc-tag',
190-
'8.0.21 - 9.3.0': 'glibc-tag'
190+
'8.0.21 - 9.4.0': 'glibc-tag'
191191
};
192-
exports.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
192+
exports.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
193193
exports.MYSQL_LINUX_FILE_EXTENSIONS = {
194194
x64: {
195195
'5.7.19 - 8.0.11': 'gz',
196-
'8.0.12 - 9.3.0': 'xz'
196+
'8.0.12 - 9.4.0': 'xz'
197197
},
198198
arm64: {
199199
'8.0.31 - 8.0.32': 'gz',
200-
'8.0.33 - 9.3.0': 'xz'
200+
'8.0.33 - 9.4.0': 'xz'
201201
}
202202
};
203203
exports.MYSQL_LINUX_MINIMAL_REBUILD_VERSIONS = '8.0.26';

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "mysql-memory-server",
3-
"version": "1.10.1",
3+
"version": "1.11.0",
44
"description": "Spin up an ephemeral MySQL database from your JavaScript code",
55
"main": "dist/src/index.js",
66
"types": "dist/src/index.d.ts",

0 commit comments

Comments
 (0)