From d588d74d3bf28e6a4a3ab6763dfcd861b3ed4bfb Mon Sep 17 00:00:00 2001 From: Sebastian-Webster <84299475+Sebastian-Webster@users.noreply.github.com> Date: Thu, 24 Oct 2024 15:20:09 +1300 Subject: [PATCH 1/5] add version 9.1.0 support --- src/versions.json | 35 +++++++++++++++++++++++++++++++++++ tests/versions.test.ts | 4 ++-- 2 files changed, 37 insertions(+), 2 deletions(-) diff --git a/src/versions.json b/src/versions.json index 23da6c1..ccc7693 100644 --- a/src/versions.json +++ b/src/versions.json @@ -1,4 +1,39 @@ [ + { + "version": "9.1.0", + "arch": "arm64", + "os": "darwin", + "osKernelVersionsSupported": ">=22", + "url": "https://cdn.mysql.com//Downloads/MySQL-9.1/mysql-9.1.0-macos14-arm64.tar.gz" + }, + { + "version": "9.1.0", + "arch": "x64", + "os": "darwin", + "osKernelVersionsSupported": ">=22", + "url": "https://cdn.mysql.com//Downloads/MySQL-9.1/mysql-9.1.0-macos14-x86_64.tar.gz" + }, + { + "version": "9.1.0", + "arch": "x64", + "os": "linux", + "osKernelVersionsSupported": "*", + "url": "https://cdn.mysql.com//Downloads/MySQL-9.1/mysql-9.1.0-linux-glibc2.17-x86_64-minimal.tar.xz" + }, + { + "version": "9.1.0", + "arch": "arm64", + "os": "linux", + "osKernelVersionsSupported": "*", + "url": "https://cdn.mysql.com//Downloads/MySQL-9.1/mysql-9.1.0-linux-glibc2.17-aarch64-minimal.tar.xz" + }, + { + "version": "9.1.0", + "arch": "x64", + "os": "win32", + "osKernelVersionsSupported": "*", + "url": "https://cdn.mysql.com//Downloads/MySQL-9.1/mysql-9.1.0-winx64.zip" + }, { "version": "9.0.1", "arch": "arm64", diff --git a/tests/versions.test.ts b/tests/versions.test.ts index 448c883..4b980ff 100644 --- a/tests/versions.test.ts +++ b/tests/versions.test.ts @@ -6,8 +6,8 @@ import { randomUUID } from 'crypto'; import { ServerOptions } from '../types'; import { normalize } from 'path'; -const versions = ['9.0.1', '8.4.2', '8.0.39', '8.1.0', '8.2.0', '8.3.0'] -const usernames = ['root', 'dbuser', 'admin'] +const versions = ['9.0.1', '8.4.2', '8.0.39', '8.1.0', '8.2.0', '8.3.0', '9.1.0'] +const usernames = ['root', 'dbuser'] const GitHubActionsTempFolder = process.platform === 'win32' ? 'C:\\Users\\RUNNER~1\\mysqlmsn' : '/tmp/mysqlmsn' const dbPath = normalize(GitHubActionsTempFolder + '/dbs') From f057ae8e87b550390aa748e9b19403ef0222f1af Mon Sep 17 00:00:00 2001 From: Sebastian-Webster <84299475+Sebastian-Webster@users.noreply.github.com> Date: Thu, 24 Oct 2024 15:22:43 +1300 Subject: [PATCH 2/5] add version 8.4.3 support --- src/versions.json | 35 +++++++++++++++++++++++++++++++++++ tests/versions.test.ts | 2 +- 2 files changed, 36 insertions(+), 1 deletion(-) diff --git a/src/versions.json b/src/versions.json index ccc7693..3564946 100644 --- a/src/versions.json +++ b/src/versions.json @@ -34,6 +34,41 @@ "osKernelVersionsSupported": "*", "url": "https://cdn.mysql.com//Downloads/MySQL-9.1/mysql-9.1.0-winx64.zip" }, + { + "version": "8.4.3", + "arch": "arm64", + "os": "darwin", + "osKernelVersionsSupported": ">=22", + "url": "https://cdn.mysql.com//Downloads/MySQL-8.4/mysql-8.4.3-macos14-arm64.tar.gz" + }, + { + "version": "8.4.3", + "arch": "x64", + "os": "darwin", + "osKernelVersionsSupported": ">=22", + "url": "https://cdn.mysql.com//Downloads/MySQL-8.4/mysql-8.4.3-macos14-x86_64.tar.gz" + }, + { + "version": "8.4.3", + "arch": "x64", + "os": "linux", + "osKernelVersionsSupported": "*", + "url": "https://cdn.mysql.com//Downloads/MySQL-8.4/mysql-8.4.3-linux-glibc2.17-x86_64-minimal.tar.xz" + }, + { + "version": "8.4.3", + "arch": "arm64", + "os": "linux", + "osKernelVersionsSupported": "*", + "url": "https://cdn.mysql.com//Downloads/MySQL-8.4/mysql-8.4.3-linux-glibc2.17-aarch64-minimal.tar.xz" + }, + { + "version": "8.4.3", + "arch": "x64", + "os": "win32", + "osKernelVersionsSupported": "*", + "url": "https://cdn.mysql.com//Downloads/MySQL-8.4/mysql-8.4.3-winx64.zip" + }, { "version": "9.0.1", "arch": "arm64", diff --git a/tests/versions.test.ts b/tests/versions.test.ts index 4b980ff..9f741f2 100644 --- a/tests/versions.test.ts +++ b/tests/versions.test.ts @@ -6,7 +6,7 @@ import { randomUUID } from 'crypto'; import { ServerOptions } from '../types'; import { normalize } from 'path'; -const versions = ['9.0.1', '8.4.2', '8.0.39', '8.1.0', '8.2.0', '8.3.0', '9.1.0'] +const versions = ['9.0.1', '8.4.2', '8.0.39', '8.1.0', '8.2.0', '8.3.0', '9.1.0', '8.4.3'] const usernames = ['root', 'dbuser'] const GitHubActionsTempFolder = process.platform === 'win32' ? 'C:\\Users\\RUNNER~1\\mysqlmsn' : '/tmp/mysqlmsn' From 96411f6aaf6d2f3ababfd543179654b09a7675db Mon Sep 17 00:00:00 2001 From: Sebastian-Webster <84299475+Sebastian-Webster@users.noreply.github.com> Date: Thu, 24 Oct 2024 15:24:01 +1300 Subject: [PATCH 3/5] add support for 8.0.40 --- src/versions.json | 35 +++++++++++++++++++++++++++++++++++ tests/versions.test.ts | 2 +- 2 files changed, 36 insertions(+), 1 deletion(-) diff --git a/src/versions.json b/src/versions.json index 3564946..135aac3 100644 --- a/src/versions.json +++ b/src/versions.json @@ -69,6 +69,41 @@ "osKernelVersionsSupported": "*", "url": "https://cdn.mysql.com//Downloads/MySQL-8.4/mysql-8.4.3-winx64.zip" }, + { + "version": "8.0.40", + "arch": "arm64", + "os": "darwin", + "osKernelVersionsSupported": ">=22", + "url": "https://cdn.mysql.com//Downloads/MySQL-8.0/mysql-8.0.40-macos14-arm64.tar.gz" + }, + { + "version": "8.0.40", + "arch": "x64", + "os": "darwin", + "osKernelVersionsSupported": ">=22", + "url": "https://cdn.mysql.com//Downloads/MySQL-8.0/mysql-8.0.40-macos14-x86_64.tar.gz" + }, + { + "version": "8.0.40", + "arch": "x64", + "os": "linux", + "osKernelVersionsSupported": "*", + "url": "https://cdn.mysql.com//Downloads/MySQL-8.0/mysql-8.0.40-linux-glibc2.17-x86_64-minimal.tar.xz" + }, + { + "version": "8.0.40", + "arch": "arm64", + "os": "linux", + "osKernelVersionsSupported": "*", + "url": "https://cdn.mysql.com//Downloads/MySQL-8.0/mysql-8.0.40-linux-glibc2.17-aarch64-minimal.tar.xz" + }, + { + "version": "8.0.40", + "arch": "x64", + "os": "win32", + "osKernelVersionsSupported": "*", + "url": "https://cdn.mysql.com//Downloads/MySQL-8.0/mysql-8.0.40-winx64.zip" + }, { "version": "9.0.1", "arch": "arm64", diff --git a/tests/versions.test.ts b/tests/versions.test.ts index 9f741f2..87479f0 100644 --- a/tests/versions.test.ts +++ b/tests/versions.test.ts @@ -6,7 +6,7 @@ import { randomUUID } from 'crypto'; import { ServerOptions } from '../types'; import { normalize } from 'path'; -const versions = ['9.0.1', '8.4.2', '8.0.39', '8.1.0', '8.2.0', '8.3.0', '9.1.0', '8.4.3'] +const versions = ['9.0.1', '8.4.2', '8.0.39', '8.1.0', '8.2.0', '8.3.0', '9.1.0', '8.4.3', '8.0.40'] const usernames = ['root', 'dbuser'] const GitHubActionsTempFolder = process.platform === 'win32' ? 'C:\\Users\\RUNNER~1\\mysqlmsn' : '/tmp/mysqlmsn' From 630ab457e89a0b4976f255803361fd07b5a93e02 Mon Sep 17 00:00:00 2001 From: Sebastian-Webster <84299475+Sebastian-Webster@users.noreply.github.com> Date: Thu, 24 Oct 2024 15:24:48 +1300 Subject: [PATCH 4/5] reorder versions array --- tests/versions.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/versions.test.ts b/tests/versions.test.ts index 87479f0..8f45b07 100644 --- a/tests/versions.test.ts +++ b/tests/versions.test.ts @@ -6,7 +6,7 @@ import { randomUUID } from 'crypto'; import { ServerOptions } from '../types'; import { normalize } from 'path'; -const versions = ['9.0.1', '8.4.2', '8.0.39', '8.1.0', '8.2.0', '8.3.0', '9.1.0', '8.4.3', '8.0.40'] +const versions = ['8.0.39', '8.0.40', '8.1.0', '8.2.0', '8.3.0', '8.4.2', '8.4.3', '9.0.1', '9.1.0'] const usernames = ['root', 'dbuser'] const GitHubActionsTempFolder = process.platform === 'win32' ? 'C:\\Users\\RUNNER~1\\mysqlmsn' : '/tmp/mysqlmsn' From 9bda655b70e9b42c6295a7c5c8cc229fd7e6989c Mon Sep 17 00:00:00 2001 From: Sebastian-Webster <84299475+Sebastian-Webster@users.noreply.github.com> Date: Thu, 24 Oct 2024 15:27:08 +1300 Subject: [PATCH 5/5] update supported MySQL version documentation --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 6a20d10..8fcbc9a 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ Requirements for Linux: #### Currently supported MySQL versions - If using the system installed MySQL server: 8.0.20 and newer -- If not using the system installed MySQL server: 8.0.39, 8.1.0, 8.2.0, 8.3.0, 8.4.2, 9.0.1 +- If not using the system installed MySQL server: 8.0.39, 8.0.40, 8.1.0, 8.2.0, 8.3.0, 8.4.2, 8.4.3, 9.0.1, 9.1.0 ## Usage