@cubejs-backend/mysql-aurora-serverless-driver 1.7.38 → 1.7.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [1.7.40](https://github.com/cube-js/cube/compare/v1.7.39...v1.7.40) (2026-09-16)
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
- **bigquery-driver:** Upgrade @google-cloud/storage to 8 ([#11905](https://github.com/cube-js/cube/issues/11905)) ([4822088](https://github.com/cube-js/cube/commit/48220888e0227c46d3d9bc7e1726caeba734fb2a))
|
|
11
|
+
- **mysql-aurora-serverless-driver:** Migrate from aws-sdk v2 to @aws-sdk/client-rds-data ([#11904](https://github.com/cube-js/cube/issues/11904)) ([8d67b00](https://github.com/cube-js/cube/commit/8d67b0002816f4e8161e22982ceaac25b16d1d00))
|
|
12
|
+
|
|
13
|
+
## [1.7.39](https://github.com/cube-js/cube/compare/v1.7.38...v1.7.39) (2026-09-15)
|
|
14
|
+
|
|
15
|
+
**Note:** Version bump only for package @cubejs-backend/mysql-aurora-serverless-driver
|
|
16
|
+
|
|
6
17
|
## [1.7.38](https://github.com/cube-js/cube/compare/v1.7.37...v1.7.38) (2026-09-14)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @cubejs-backend/mysql-aurora-serverless-driver
|
package/driver/index.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { RDSDataClientConfig } from '@aws-sdk/client-rds-data';
|
|
2
2
|
|
|
3
3
|
declare module '@cubejs-backend/mysql-aurora-serverless-driver' {
|
|
4
4
|
export interface ConnectionOptions {
|
|
5
5
|
secretArn?: string,
|
|
6
6
|
resourceArn?: string,
|
|
7
7
|
database?: string,
|
|
8
|
-
options?:
|
|
8
|
+
options?: RDSDataClientConfig
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
export default class AuroraServerlessMySqlDriver {
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@cubejs-backend/mysql-aurora-serverless-driver",
|
|
3
3
|
"description": "Cube Aurora Serverless Mysql database driver",
|
|
4
4
|
"author": "Cube Dev, Inc.",
|
|
5
|
-
"version": "1.7.
|
|
5
|
+
"version": "1.7.40",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
8
|
"url": "https://github.com/cube-js/cube.git",
|
|
@@ -16,19 +16,18 @@
|
|
|
16
16
|
"scripts": {
|
|
17
17
|
"test": "npm run unit && npm run integration",
|
|
18
18
|
"unit": "jest ./**/*.test.js",
|
|
19
|
-
"integration": "jest ./**/*.integration.js",
|
|
19
|
+
"integration": "NODE_OPTIONS=--experimental-vm-modules jest ./**/*.integration.js",
|
|
20
20
|
"integration:mysql-aurora-serverless": "npm run integration"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@
|
|
24
|
-
"@cubejs-backend/
|
|
23
|
+
"@aws-sdk/client-rds-data": "^3.1048.0",
|
|
24
|
+
"@cubejs-backend/base-driver": "1.7.40",
|
|
25
|
+
"@cubejs-backend/shared": "1.7.40",
|
|
25
26
|
"@types/mysql": "^2.15.19",
|
|
26
|
-
"
|
|
27
|
-
"data-api-client": "^1.1.0"
|
|
27
|
+
"data-api-client": "^2.4.1"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@cubejs-backend/linter": "1.7.
|
|
31
|
-
"@types/data-api-client": "^1.2.1",
|
|
30
|
+
"@cubejs-backend/linter": "1.7.40",
|
|
32
31
|
"@types/jest": "^29",
|
|
33
32
|
"jest": "^29",
|
|
34
33
|
"testcontainers": "^10.28.0"
|
|
@@ -37,5 +36,5 @@
|
|
|
37
36
|
"publishConfig": {
|
|
38
37
|
"access": "public"
|
|
39
38
|
},
|
|
40
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "c4f66278c24bf634aca1c1b23c0c2e7d06d901b6"
|
|
41
40
|
}
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
const path = require('path');
|
|
3
3
|
|
|
4
4
|
const { DockerComposeEnvironment, Wait } = require('testcontainers');
|
|
5
|
-
const AWS = require('aws-sdk');
|
|
6
5
|
const AuroraServerlessMySqlDriver = require('../driver/AuroraServerlessMySqlDriver');
|
|
7
6
|
|
|
8
7
|
const DUMMY_SECRET_ARN = 'arn:aws:secretsmanager:us-east-1:123456789012:secret:dummy';
|
|
@@ -28,19 +27,13 @@ describe('AuroraServerlessMySqlDriver', () => {
|
|
|
28
27
|
.withWaitStrategy('mysql', Wait.forHealthCheck())
|
|
29
28
|
.up();
|
|
30
29
|
|
|
31
|
-
// Configure the AWS SDK so that it doesn't get mad
|
|
32
|
-
// AWS.config.credentials = new AWS.Credentials({ accessKeyId: 'awstest', secretAccessKey: 'awstest' });
|
|
33
|
-
AWS.config.accessKeyId = 'awstest';
|
|
34
|
-
AWS.config.secretAccessKey = 'awstest';
|
|
35
|
-
AWS.config.region = 'us-east-1';
|
|
36
|
-
AWS.config.sslEnabled = false;
|
|
37
|
-
|
|
38
30
|
driver = new AuroraServerlessMySqlDriver({
|
|
39
31
|
secretArn: DUMMY_SECRET_ARN,
|
|
40
32
|
resourceArn: DUMMY_RESOURCE_ARN,
|
|
41
33
|
database: 'mysql',
|
|
42
34
|
options: {
|
|
43
|
-
|
|
35
|
+
region: 'us-east-1',
|
|
36
|
+
credentials: { accessKeyId: 'awstest', secretAccessKey: 'awstest' },
|
|
44
37
|
endpoint: `http://${env.getContainer('router').getHost()}:${env.getContainer('router').getMappedPort(80)}`,
|
|
45
38
|
}
|
|
46
39
|
});
|