Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prepare v0.28.2 #1312

Merged
merged 4 commits into from
Apr 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions docs/src/pages/en/changelog.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ order: 10

## v0.28

### v0.28.2 - (Apr 12, 2024)

See https://github.com/mtxr/vscode-sqltools/releases/tag/v0.28.2

### v0.28.1 - (Nov 13, 2023)

See https://github.com/mtxr/vscode-sqltools/releases/tag/v0.28.1
Expand Down
4 changes: 4 additions & 0 deletions packages/driver.mysql/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ This package is part of [vscode-sqltools](https://vscode-sqltools.mteixeira.dev/

## Changelog

### 0.6.1

- Delete SSL config if SSL is disabled on MySQL driver. [#1271](https://github.com/mtxr/vscode-sqltools/pull/1271) - thanks [@Fludem](https://github.com/Fludem).

### 0.6.0

- Support TiDB. Support SSL / TLS options in the `Connection Assistant` panel. Switch from `mysql` library to `mysql2`. [#1113](https://github.com/mtxr/vscode-sqltools/pull/1113) - thanks [@Icemap](https://github.com/Icemap).
Expand Down
2 changes: 1 addition & 1 deletion packages/driver.mysql/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "sqltools-driver-mysql",
"displayName": "SQLTools MySQL/MariaDB/TiDB",
"description": "SQLTools MySQL/MariaDB/TiDB",
"version": "0.6.0",
"version": "0.6.1",
"engines": {
"vscode": "^1.72.0"
},
Expand Down
9 changes: 8 additions & 1 deletion packages/driver.mysql/src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,14 @@ export async function activate(extContext: vscode.ExtensionContext): Promise<IDr
propsToRemove.push('askForPassword');
}
propsToRemove.forEach(p => delete connInfo[p]);

connInfo.mysqlOptions = connInfo.mysqlOptions || {};
if (connInfo.mysqlOptions.enableSsl === 'Disabled') {
delete connInfo.mysqlOptions.ssl;
}
if (typeof connInfo.mysqlOptions.ssl === 'object' && Object.keys(connInfo.mysqlOptions.ssl).length === 0) {
connInfo.mysqlOptions.enableSsl = 'Disabled';
delete connInfo.mysqlOptions.ssl;
}
return connInfo;
},
parseBeforeEditConnection: ({ connInfo }) => {
Expand Down
4 changes: 4 additions & 0 deletions packages/driver.pg/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ This package is part of [vscode-sqltools](https://vscode-sqltools.mteixeira.dev/

## Changelog

### 0.5.3

- Fix problem connecting to AWS RDS postgresql. [#1265](https://github.com/mtxr/vscode-sqltools/pull/1265) - thanks [@jqknono](https://github.com/jqknono)

### 0.5.2

- List schemas in alphabetical order. [#1176](https://github.com/mtxr/vscode-sqltools/issues/1176) - thanks [@bombillazo](https://github.com/bombillazo)
Expand Down
2 changes: 1 addition & 1 deletion packages/driver.pg/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "sqltools-driver-pg",
"displayName": "SQLTools PostgreSQL/Cockroach Driver",
"description": "SQLTools PostgreSQL/Cockroach Driver",
"version": "0.5.2",
"version": "0.5.3",
"engines": {
"vscode": "^1.72.0"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "sqltools",
"displayName": "SQLTools",
"description": "Connecting users to many of the most commonly used databases. Welcome to database management done right.",
"version": "0.28.2-SNAPSHOT",
"version": "0.28.2",
"publisher": "mtxr",
"license": "MIT",
"preview": false,
Expand Down
Loading