From d0ca4e4bdd519e5d128cf256d4966176abbba8d3 Mon Sep 17 00:00:00 2001 From: Vladimir Voronkov Date: Thu, 19 Oct 2023 09:17:58 +0300 Subject: [PATCH 1/8] Set dependabot against staging branch --- .github/dependabot.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 00000000..1a9eb6fd --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,15 @@ +version: 2 +updates: + - package-ecosystem: "npm" + target-branch: "staging" + directory: "/" + schedule: + interval: "weekly" + day: "thursday" + time: "00:00" + timezone: "Etc/UTC" + commit-message: + prefix: "[npm] " + labels: + - "npm" + - "dependencies" From a0c2d6a9347418727864e6ae09a5d2a5dd8b7e5c Mon Sep 17 00:00:00 2001 From: Vladimir Voronkov Date: Wed, 25 Oct 2023 12:48:45 +0300 Subject: [PATCH 2/8] Bump electron up to 27 --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 94599ccf..9512e058 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "author": "bitfinex.com", "main": "index.js", "engine": { - "node": ">=18.15.0" + "node": ">=18.17.1" }, "license": "Apache-2.0", "dependencies": { @@ -36,7 +36,7 @@ "devDependencies": { "@mapbox/node-pre-gyp": "1.0.6", "app-builder-bin": "4.1.0", - "electron": "25.8.1", + "electron": "27.0.2", "electron-builder": "23.6.0", "mocha": "10.2.0", "standard": "16.0.4" From f1052882bb4e265024cccc9eed219a63acd0be10 Mon Sep 17 00:00:00 2001 From: Vladimir Voronkov Date: Wed, 25 Oct 2023 12:50:08 +0300 Subject: [PATCH 3/8] Bump nodejs ver up to 18.17.1 in docker containers --- Dockerfile.linux-builder | 2 +- Dockerfile.mac-builder | 2 +- Dockerfile.win-builder | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile.linux-builder b/Dockerfile.linux-builder index 63c6a8a4..c0354e3a 100644 --- a/Dockerfile.linux-builder +++ b/Dockerfile.linux-builder @@ -1,6 +1,6 @@ FROM electronuserland/builder:18 -ARG NODE_VERSION="18.15.0" +ARG NODE_VERSION="18.17.1" ENV IS_BFX_API_STAGING=${IS_BFX_API_STAGING:-0} ENV IS_DEV_ENV=${IS_DEV_ENV:-0} diff --git a/Dockerfile.mac-builder b/Dockerfile.mac-builder index 0e524f91..ad1ea892 100644 --- a/Dockerfile.mac-builder +++ b/Dockerfile.mac-builder @@ -1,6 +1,6 @@ FROM electronuserland/builder:18 -ARG NODE_VERSION="18.15.0" +ARG NODE_VERSION="18.17.1" ENV IS_BFX_API_STAGING=${IS_BFX_API_STAGING:-0} ENV IS_DEV_ENV=${IS_DEV_ENV:-0} diff --git a/Dockerfile.win-builder b/Dockerfile.win-builder index 7ca0c7fc..ee59f7ee 100644 --- a/Dockerfile.win-builder +++ b/Dockerfile.win-builder @@ -1,6 +1,6 @@ FROM electronuserland/builder:18-wine -ARG NODE_VERSION="18.15.0" +ARG NODE_VERSION="18.17.1" ENV IS_BFX_API_STAGING=${IS_BFX_API_STAGING:-0} ENV IS_DEV_ENV=${IS_DEV_ENV:-0} From 555d4ba1bd2498952b97426c81bfc1285650fedc Mon Sep 17 00:00:00 2001 From: Vladimir Voronkov Date: Wed, 25 Oct 2023 12:51:37 +0300 Subject: [PATCH 4/8] Bump nodejs ver up to 18.17.1 for install script --- scripts/helpers/install-nodejs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/helpers/install-nodejs.sh b/scripts/helpers/install-nodejs.sh index b4948797..dbde52c4 100755 --- a/scripts/helpers/install-nodejs.sh +++ b/scripts/helpers/install-nodejs.sh @@ -13,7 +13,7 @@ script as required NodeJS version!${COLOR_NORMAL}" >&2 exit 1 fi -version="${1:-"18.15.0"}" +version="${1:-"18.17.1"}" echo -e "\n${COLOR_BLUE}Installing the NodeJS v$version...${COLOR_NORMAL}" From 53fa2b5b7d352da4c86ad708c35be7230ec483a6 Mon Sep 17 00:00:00 2001 From: Vladimir Voronkov Date: Wed, 25 Oct 2023 12:52:50 +0300 Subject: [PATCH 5/8] Bump nodejs ver up to 18.17.1 for gh actions --- .github/workflows/build-electron-app.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-electron-app.yml b/.github/workflows/build-electron-app.yml index 1fb34b59..f020e287 100644 --- a/.github/workflows/build-electron-app.yml +++ b/.github/workflows/build-electron-app.yml @@ -110,7 +110,7 @@ jobs: echo "IS_BFX_API_STAGING=1" >> $GITHUB_ENV - uses: actions/setup-node@v3 with: - node-version: 18.15.0 + node-version: 18.17.1 - name: Cache Electron binaries id: electron-cache uses: actions/cache@v3 From 425f3c91b9bb7fcb3c841699c9c822d5f12503da Mon Sep 17 00:00:00 2001 From: Vladimir Voronkov Date: Tue, 31 Oct 2023 11:46:01 +0200 Subject: [PATCH 6/8] Bump version up to v4.14.0 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 9512e058..82a23bec 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "bfx-report-electron", - "version": "4.13.0", + "version": "4.14.0", "repository": "https://github.com/bitfinexcom/bfx-report-electron", "description": "Reporting tool", "author": "bitfinex.com", From 46c96555c67aa6cdf90b4ae6585fede27e7e9400 Mon Sep 17 00:00:00 2001 From: Vladimir Voronkov Date: Tue, 31 Oct 2023 12:14:17 +0200 Subject: [PATCH 7/8] Add changelog for v4.14.0 --- CHANGELOG.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4b67ff68..6cfd4714 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,31 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [4.14.0] - 2023-11-01 + +### Added + +- Added test runner and report to the `GitHub Actions` of the `bfx-facs-db-better-sqlite` repo. PR: [bfx-facs-db-better-sqlite#8](https://github.com/bitfinexcom/bfx-facs-db-better-sqlite/pull/8) +- Added an endpoint to get the `summary by asset` (for 30 day period) for the new summary page of the framework mode. PR: [bfx-reports-framework#330](https://github.com/bitfinexcom/bfx-reports-framework/pull/330) +- Implemented currency name representation depending on the transport layer used for the `Tether` transactions in the `Movements` report. PR: [bfx-report-ui#721](https://github.com/bitfinexcom/bfx-report-ui/pull/721) +- Implemented the possibility of submitting `username/password` and `OTP` via the `Enter` button during the `2FA` sign-up flow. PR: [bfx-report-ui#722](https://github.com/bitfinexcom/bfx-report-ui/pull/722) + +### Changed + +- Bumped `Electronjs` version up to `v27` to have under hood Nodejs `v18.17.1`, to have Nodejs version similar to UI build requirements. PR: [bfx-report-electron#263](https://github.com/bitfinexcom/bfx-report-electron/pull/263) +- Bumped `better-sqlite3` up to `9.0.0` to have the ability to launch the DB driver on Nodejs `v18.17.1` under electron env at least `v27`. PR: [bfx-facs-db-better-sqlite#7](https://github.com/bitfinexcom/bfx-facs-db-better-sqlite/pull/7) +- Set the [dependabot](https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file) against the `stagin` branch to not trigger test-runner workflow + +### Fixed + +- Fixed the `candles` sync for the `currency converter`, to convert the first ledgers to USD it needs to provide some overlap of candles (5 days). PR: [bfx-reports-framework#329](https://github.com/bitfinexcom/bfx-reports-framework/pull/329) +- Fixed deep clone of arguments with `lib-js-util-base`, the issue is the following: when calling `generateToken/invalidateAuthToken` methods pass whole session object with `setInterval` id, and that id cannot be serialized with `JSON.stringify`, it should be omitted. PR: [bfx-reports-framework#331](https://github.com/bitfinexcom/bfx-reports-framework/pull/331) +- Fixed the [dependabot](https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file) config path for the `bfx-report-ui` repo. PR: [bfx-report-ui#720](https://github.com/bitfinexcom/bfx-report-ui/pull/720) + +### Security + +- Removed `lodash` lib usage. PRs: [bfx-report#340](https://github.com/bitfinexcom/bfx-report/pull/340), [bfx-reports-framework#328](https://github.com/bitfinexcom/bfx-reports-framework/pull/328), [bfx-report-ui#723](https://github.com/bitfinexcom/bfx-report-ui/pull/723) + ## [4.13.0] - 2023-10-18 ### Added From 51109893dc343800c24f691cf44ac27baa683752 Mon Sep 17 00:00:00 2001 From: Vladimir Voronkov Date: Wed, 1 Nov 2023 08:03:35 +0200 Subject: [PATCH 8/8] Update sub-modules --- bfx-report-ui | 2 +- bfx-reports-framework | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bfx-report-ui b/bfx-report-ui index 5db1647f..a11ddc2e 160000 --- a/bfx-report-ui +++ b/bfx-report-ui @@ -1 +1 @@ -Subproject commit 5db1647f91a87e33c8da5c3d6352abf406f7bffc +Subproject commit a11ddc2e57543e83ac17741b7c34d37abe3c2618 diff --git a/bfx-reports-framework b/bfx-reports-framework index 3f48d503..3a031952 160000 --- a/bfx-reports-framework +++ b/bfx-reports-framework @@ -1 +1 @@ -Subproject commit 3f48d5039c57c12318f52ab523bcc1f9e413a04c +Subproject commit 3a0319521ed114321265fbcd70e28decd1d3ca07