From ad713fcf35e14288831cef778fa6e715c46b2832 Mon Sep 17 00:00:00 2001 From: Fabio Di Stasio Date: Sun, 27 Feb 2022 14:07:24 +0100 Subject: [PATCH 1/2] chore(release): 0.4.4 --- CHANGELOG.md | 18 ++++++++++++++++++ package.json | 2 +- 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index eef86af4..093656ec 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,24 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. +### [0.4.4](https://github.com/Fabio286/antares/compare/v0.4.3...v0.4.4) (2022-02-27) + + +### Features + +* execution notification for ROLLBACK and COMMIT ([76743e8](https://github.com/Fabio286/antares/commit/76743e8f7c02b824cb21540bfbcbe66ba43de8fa)) +* **MySQL:** manual commit mode ([4ed2f9a](https://github.com/Fabio286/antares/commit/4ed2f9a93937b4293436a64318b7d6ae3a0d93c2)) +* **PostgreSQL:** manual commit mode ([d81e091](https://github.com/Fabio286/antares/commit/d81e0911ab82fb75745ab11e67e867a00d8ac273)) +* reminder for uncommitted changes closing a tab ([5bfff64](https://github.com/Fabio286/antares/commit/5bfff649e92f6fe5aba4b16aa4c8d5a5a70b31b2)) +* **SQLite:** manual commit mode ([7dcd444](https://github.com/Fabio286/antares/commit/7dcd4441c49fafc0f47e12c2129708fe1092e1a4)) + + +### Bug Fixes + +* bigint support, closes [#197](https://github.com/Fabio286/antares/issues/197) ([b703955](https://github.com/Fabio286/antares/commit/b7039553ccaac4fd59e521530c4a053922854130)) +* **MySQL:** default value not displayed for DECIMAL fields ([fa3f3e1](https://github.com/Fabio286/antares/commit/fa3f3e1fd8101f19f18df71e90d60fd37cdddaee)) +* zero-padded bit fields beyond length ([265f28b](https://github.com/Fabio286/antares/commit/265f28b4d94cde4608a1d6d3d306824134808ec2)) + ### [0.4.3](https://github.com/Fabio286/antares/compare/v0.4.2...v0.4.3) (2022-01-30) diff --git a/package.json b/package.json index cf93c684..4920ee1c 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "antares", "productName": "Antares", - "version": "0.4.3", + "version": "0.4.4", "description": "A modern, fast and productivity driven SQL client with a focus in UX.", "license": "MIT", "repository": "https://github.com/Fabio286/antares.git", From 4479a9600b5e59ef1bcf9135d661b4d7900a4bde Mon Sep 17 00:00:00 2001 From: Fabio Di Stasio Date: Mon, 28 Feb 2022 14:19:07 +0100 Subject: [PATCH 2/2] fix: wrong schema and table size on explore bar --- src/main/libs/clients/MySQLClient.js | 2 +- src/main/libs/clients/PostgreSQLClient.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/libs/clients/MySQLClient.js b/src/main/libs/clients/MySQLClient.js index 7d60c64f..43cdc5d7 100644 --- a/src/main/libs/clients/MySQLClient.js +++ b/src/main/libs/clients/MySQLClient.js @@ -286,7 +286,7 @@ export class MySQLClient extends AntaresCore { break; } - const tableSize = table.Data_length + table.Index_length; + const tableSize = Number(table.Data_length) + Number(table.Index_length); schemaSize += tableSize; return { diff --git a/src/main/libs/clients/PostgreSQLClient.js b/src/main/libs/clients/PostgreSQLClient.js index ed7ec319..d666bccd 100644 --- a/src/main/libs/clients/PostgreSQLClient.js +++ b/src/main/libs/clients/PostgreSQLClient.js @@ -238,7 +238,7 @@ export class PostgreSQLClient extends AntaresCore { if (schemas.has(db.database)) { // TABLES const remappedTables = tablesArr.filter(table => table.Db === db.database).map(table => { - const tableSize = +table.data_length + table.index_length; + const tableSize = Number(table.data_length) + Number(table.index_length); schemaSize += tableSize; return {