From 283eeb7de5716adca87bf5c3213109c4a3925347 Mon Sep 17 00:00:00 2001 From: Jan Prochazka Date: Thu, 6 Jan 2022 08:08:40 +0100 Subject: [PATCH 1/4] fix --- app/src/electron.js | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/app/src/electron.js b/app/src/electron.js index f8ccd71d..8e657b3d 100644 --- a/app/src/electron.js +++ b/app/src/electron.js @@ -205,14 +205,18 @@ function createWindow() { slashes: true, }); mainWindow.on('close', () => { - fs.writeFileSync( - configRootPath, - JSON.stringify({ - winBounds: mainWindow.getBounds(), - winIsMaximized: mainWindow.isMaximized(), - }), - 'utf-8' - ); + try { + fs.writeFileSync( + configRootPath, + JSON.stringify({ + winBounds: mainWindow.getBounds(), + winIsMaximized: mainWindow.isMaximized(), + }), + 'utf-8' + ); + } catch (err) { + console.log('Error saving config-root:', err.message); + } }); mainWindow.loadURL(startUrl); if (os.platform() == 'linux') { From 5970abc85e7b72c77a980d917cf029cc60ba70c4 Mon Sep 17 00:00:00 2001 From: Jan Prochazka Date: Thu, 6 Jan 2022 08:08:55 +0100 Subject: [PATCH 2/4] v4.5.1-beta.3 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 980c9eef..018c568b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "private": true, - "version": "4.5.1-beta.2", + "version": "4.5.1-beta.3", "name": "dbgate-all", "workspaces": [ "packages/*", From 3c30dd59e45f2371260647ce80046ed463b62b6a Mon Sep 17 00:00:00 2001 From: Jan Prochazka Date: Thu, 6 Jan 2022 13:51:47 +0100 Subject: [PATCH 3/4] changelog --- CHANGELOG.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7d410da7..f03423de 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,9 @@ # ChangeLog +### 4.5.1 +- FIXED: MongoId detection +- FIXED: #203 disabled spellchecker +- FIXED: Prevented display filters in form view twice +- FIXED: Query designer fixes ### 4.5.0 - ADDED: #220 functions, materialized views and stored procedures in code completion From a18549cf5b8edbdacdcf6cae25089210fce433fa Mon Sep 17 00:00:00 2001 From: Jan Prochazka Date: Thu, 6 Jan 2022 13:51:56 +0100 Subject: [PATCH 4/4] v4.5.1 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 018c568b..5a1dc396 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "private": true, - "version": "4.5.1-beta.3", + "version": "4.5.1", "name": "dbgate-all", "workspaces": [ "packages/*",