Releases: bitfinexcom/bfx-report-electron
Releases · bitfinexcom/bfx-report-electron
4.36.2
[4.36.2] - 2025-07-16
Added
- Implemented a class for the sync schema models to typify and unify model objects. PR: bfx-reports-framework#459
Changed
- Reworked sync schema model usage to use the new model interface implemented in the previous PR
#459
. It speeded up the work by avoiding the usage ofcloneDeep
fn based onJSON.parse(JSON.stringify(obj))
for the models. PR: bfx-reports-framework#461 - Improved the
isUserMerchant
checking flow and hides theMerchant History
section(Invoices) for non-merchant users. Removed the outdatedNonMerchant
screen and related unused handlers. PR: bfx-report-ui#936 - Disabled
Snapshots
refresh button during initial synchronization to prevent report generation errors. Added a corresponding notice to communicate this to the user. PR: bfx-report-ui#937 - Improved currency and fees formatting in the
Movements
details modal. PR: bfx-report-ui#939
Fixed
- Fixed symbols/pairs duplication. When sync data is moved from the temp tables to the main ones it's needed to remove previous data for the updatable collections such as symbols, etc to prevent deleted currencies from getting stuck. PR: bfx-reports-framework#463
- Prevented duplication possibility for selectors items noted in some cases.PR: bfx-report-ui#940
- Hidden the
Export
from the header and account menu for theSummary
as we currently don't support exporting for this page. PR: bfx-report-ui#941
Security
- Updated
Grenache
dependencies due to the last Grenache updates, removed unsupportedrequest
lib, fixed high severity vulnerabilities bynpm audit
. PRs: bfx-report-express#49, bfx-report#435, bfx-reports-framework#462, bfx-report-electron#541
4.36.1
[4.36.1] - 2025-05-28
Added
- Added
isUserMerchant
flag into user info model. PR: bfx-api-node-models#89 - Added
isUserMerchant
flag into the response ofverifyUser
endpoint. PR: bfx-report#432 - Added
isUserMerchant
flag into the response of thesignUp
andsignIn
endpoints for the UI to removeMerchant
nav item for non merchant users. PR: bfx-reports-framework#457
Changed
- Implemented redirection to the main platform login page (only for web production) on logout or in cases where there is no auth available. PR: bfx-report-ui#932
- Improved currency formatting in the
Trading fees charged in the last 30 days
section. PR: bfx-report-ui#931 - Disabled
Fees Report
refresh button during initial synchronization to prevent report generation errors. Added a corresponding notice to communicate this to the user. PR: bfx-report-ui#933
4.36.0
[4.36.0] - 2025-05-14
Added
- Added
package-lock
file, bumped dev dependencies and bumped upNODEJS
tov20
for theGH Actions
. PR: bfx-facs-db-better-sqlite#12 - Implemented user notifications about inaccurate
Tax Report
calculations due todelisted
tokens. PR: bfx-report-ui#926 - Implemented the possibility to
Deduct Fees
in theTax Report
. PR: bfx-report-ui#928
Changed
- Made two loading windows for a startup without a parent window independently and for common purposes as a modal window with a parent window to prevent the main window interaction when showing the loading window for some sensitive cases such as import/export DB. PR: bfx-report-electron#535
- Disabled
Loan Report
refresh button during initial synchronization to prevent report generation errors. Added a corresponding notice to communicate this to the user. PR: bfx-report-ui#927
Fixed
- Fixed the sync requested by the user via the UI button in case the sync was added by the scheduler and the app was closed before completing earlier. PR: bfx-reports-framework#454
4.35.0
[4.35.0] - 2025-04-23
Added
- Added warning message styles for PDF reports. PR: bfx-report#429
- Added ability to continue the
Tax Report
generation withoutdelisted
currencies. PR: bfx-reports-framework#449 - Added ability to deduct trading fees in the
Tax Report
. Added a flagshouldFeesBeDeducted
to use that via a checkbox in the UI. PR: bfx-reports-framework#450 - Added native behavior to minimize and close the loading window. The main reason is to provide the ability to
minimize
and thenrestore
the loading window on all OSs as each OS has a specific behavior. Also added a close button to be able to interrupt the app startup. PR: bfx-report-electron#530 - Implemented
Credit Line
wallet representation in theBalances
section. AddedCredit Line
wallet support in the columns filters. PR: bfx-report-ui#920 - Implemented UI theme selection binding with Electron wrapper. The main idea is to have synchronized theme in UI and Electron-specific menus, modals, etc. PR: bfx-report-ui#921
Changed
- Actualized the
Tax Report
data handling. PR: bfx-report-ui#922 - Disabled
Concentration Risk
refresh button during initial synchronization to prevent report generation errors. Added a corresponding notice to communicate this to the user. PR: bfx-report-ui#923
4.34.1
[4.34.1] - 2025-04-09
Added
- Added ability to avoid queuing sync by scheduler if sync is already in progress to prevent redundant sync in case a user has lots of data and sync takes time until the run of the scheduler. PR: bfx-reports-framework#446
- Added
Margin trading
andDerivative
support to theTax Report
sources. PR: bfx-report-ui#909
Changed
- Changed the order of getting the price of the pub trades moving from the end to the start by timestamps to overcome some rare cases. Related to this issue: bfx-report-electron#493. PR: bfx-reports-framework#445
- Disabled
Average Win/Loss
refresh button during initial synchronization to prevent report generation errors. Added a corresponding notice to communicate this to the user. PR: bfx-report-ui#916 - Improved derivative currencies formatting (like
ETHF0
->ETH (deriv)
etc.) for a more consistent looking and representation. PR: bfx-report-ui#910 - Improved sync info popup proportions for a better look after the changing used font family. PR: bfx-report-ui#901
- Disabled
Traded Volume
refresh button during initial synchronization to prevent report generation errors. Added a corresponding notice to communicate this to the user. PR: bfx-report-ui#906
Fixed
- Fixed
auto-update-toast:width
listener by addinguid
to definealert
instance and ajusts toast position and theme colors. Related to this issue: bfx-report-electron#526. PR: bfx-report-electron#527 - Fixed query builder for
null
operator for sub-query. PR: bfx-reports-framework#444 - Prevented
getLastFinishedSyncMts
requests and sync progress checking after the logout to avoid auth errors. PR: bfx-report-ui#917 - Fixed the
Electron
menu functionality to be available before login. PR: bfx-report-ui#907
4.34.0
[4.34.0] - 2025-03-26
Added
- Added
light/dark
themes to the electron wrapper and adds ability to couple with the UI. PR: bfx-report-electron#511 - Added the rest of translation files to the electron wrapper. PR: bfx-report-electron#517
- Added ability to display
Login to Reports with token
screen after the logout (like it was before the previous updates) and removed the outdated title from it. Implemented logging out from the main platform onReports
logout. PR: bfx-report-ui#902
Changed
- Increased
WebSockets
ping interval betweenHTTP
server andGrenache
worker for performance due to heavy sync cases. PR: bfx-report-express#44 - Removed seeing
changelog
on startup. PR: bfx-report-electron#514 - Increased app initialization timeout to
30min
to be able to execute sqlitevacuum
command on launch. PR: bfx-report-electron#516
Fixed
- Fixed local path showing when exporting report files. PR: bfx-report#422
- Made comprehensive sync performance improvement. PR: bfx-reports-framework#437
- Fixed
WebSocket
reconnection flow for long sync cases to prevent losing sync finishing event. PR: bfx-report-ui#904 - Fixed incorrect symbols processing during redirection from
Orders
toOrder Trades
section for paper trading pairs and related errors. PR: bfx-report-ui#905 - Fixed the synchronization type checking flow to prevent the possibility of an incorrect state setting in some cases. Allowed fetching of previously synced reports during the auto-sync after the app update. PR: bfx-report-ui#908
Security
- Updated deps with vulnerabilities and added
package-lock
file due to the last security requirements. PRs: bfx-report-ui#912, bfx-report#424, bfx-report#427, bfx-reports-framework#439, bfx-reports-framework#441, bfx-report-express#45, bfx-report-electron#518, bfx-report-electron#520 - Updated
axios
to1.8.4
in the UI. PR: bfx-report-ui#911
4.33.0
[4.33.0] - 2025-02-19
Added
- Implemented
Electron
app menu bar and corresponding functionality in the UI title instead of the native one. This is very useful as it saves overall space and at the same time constantly displays the menu and does not require the user to press theAlt
key to display it (as the practice has shown, because of the last one, many inexperienced users do not even know about the existence of menu functions). Available for theWindows
andLinux
app users. On theMac
we have to hide the menu in the UI and show the native electron menu bar due to someMacOS
specifics, it's impossible to have proper menu item control from the UI. PR: bfx-report-ui#898 - Added exponential backoff and jitter for bfx-api requests to improve
Rate Limit
bypassing. Here we implementedDecorrelated Jitter
described in AWS article https://aws.amazon.com/blogs/architecture/exponential-backoff-and-jitter/ And added a small improvement to shift the starting point of jitter for each iteration. In practice, it helps better to move through theRate Limit
for theSync
andTax Report
. PR: bfx-report#420
Changed
- Changed font family to
Inter
similar to used on the main platform. PR: bfx-report-ui#896 - Reworked and optimized
ThemeSwitcher
component in a more performant way and reduced redundant code. PR: bfx-report-ui#897 - Changed the font family from
Roboto
toInter
in the Electron env to prevent throwing error due to the last UI changes (electron layouts use font source from the UI sub-module). PR: bfx-report-electron#494 - Disabled native title menu bar to use UI implementation via Electron renderer IPC bridge. PR: bfx-report-electron#504
- Migrated from
html-pdf
topuppeteer
forpdf
creation as the first one repo is notmaintained
anymore. PRs: bfx-reports-framework#432, bfx-report#419
Fixed
- Fixed setting
IS_AUTO_UPDATE_DISABLED
config flag for thedev
mode. PR: bfx-report-electron#484 - Fixed the UI setup flow for the
dev
mode. PR: bfx-report-electron#485 - Fixed error metadata processing, related to this test pipeline: https://github.com/bitfinexcom/bfx-report/actions/runs/12114987593/job/33772854879 PR: bfx-report#418
4.32.0
[4.32.0] - 2025-01-22
Added
- Added the backend logic to move the electron app menu bar to the UI title instead of the electron one so that we can customize the electron menu, as the native electron menu API doesn't provide that. It allows us to build the menu in the UI in one small line with the main app title and typical window buttons (minimize, maximize, and close in the top corner). This is very useful as it saves overall space and at the same time constantly displays the menu and does not require the user to press the
Alt
key to display it (as practice has shown, because of the last one, many inexperienced users do not even know about the existence of menu functions). PRs: bfx-report-electron#478, bfx-facs-db-better-sqlite#11 - Added a small typical
_
button (in the top right corner) to minimize the loading window. PR: bfx-report-electron#479 - Added the logout flow for web users and prevented the issue when logged-out users are still logged in after the page refreshing. PR: bfx-report-ui#889
Changed
- Renamed
Filter
button toGenerate
and also disabled it during the initial synchronization to preventTax Report
generation errors. Implemented corresponding notice for the users during the initial sync. PR: bfx-report-ui#888 - Actualized app download link generation flow. PR: bfx-report-ui#890
- Actualized
Reports
translations and extended coverage for newly added elements/features. PR: bfx-report-ui#891 - Improved theme setting flow and fixed issues noted after the latest
Electron
version update. PR: bfx-report-ui#893
Fixed
- Fixed
isAuthTokenGenerationError
flag processing in query response for the 2FA re-login after token expiration. PR: bfx-report-ui#892
4.31.0
[4.31.0] - 2024-12-04
Added
- Added translation support to the
export-db
module. PR: bfx-report-electron#441 - Added translation support to the
import-db
module. PR: bfx-report-electron#442 - Added
progress
perc to theloading window
for theexport-db
module as it can take significant time for large DB. PR: bfx-report-electron#445 - Added
progress
perc to theloading window
for theimport-db
module as it can take significant time for large DB. bfx-report-electron#449 - Added translation support to the
remove-db
module. PR: bfx-report-electron#450 - Added translation support to the
manage-worker-messages
module. Add translation support to thebackup-db
andmigration-db
modules. Fixed showing modal dialogs in sequence. PR: bfx-report-electron#456 - Added translation support to the
show-about-modal-dialog
module. PR: bfx-report-electron#457
Changed
- Optimized electron translation file data structure to prevent some common duplication and redundant nesting for easier support. PR: bfx-report-electron#468
- Reworked and optimized the
TimeRangePreservePref
component in a more performant way and reduced redundant code. PR: bfx-report-ui#885 - Extended data logging by showing public request params to simplify debugging BFX API issues. PR: bfx-report#414
- Removed
language
schema param check and addeden
fallback language to prevent returning the translation keykey.nestedKey.etc
if a value is missing for a certain language and added the ability to try to take one from the defaulten
translation file. PR: bfx-report#415
Fixed
- Fixed docker desktop container user permissions breaks. Fixed
chown
:changing ownership of 'path-to-file': Operation not permitted
when using it indockerfile
. PR: bfx-report-electron#460 - Fixed error metadata processing for logging. PRs: bfx-report#418, bfx-reports-framework#428
4.30.0
[4.30.0] - 2024-11-13
Added
- Implemented
Your Assets
section for the webAccount Summary
page. Improved sections titles styling. PR: bfx-report-ui#880 - Implemented
UI
language selection binding withElectronJS
wrapper. PR: bfx-report-ui#882 - Extended ElectronJS app wrapper translations. Improved the app-init-error layout. Fixed logs collection for bug report. PR: bfx-report-electron#422
- Added translation support to the
error manager
module. PR: bfx-report-electron#428 - Added translation support to the
native notifications
module. PR: bfx-report-electron#429 - Added translation support to the
auto-updater
module. PRs: bfx-report-electron#430, bfx-report-electron#438 - Added translation support to the
restore DB
module. PR: bfx-report-electron#431 - Added translation support to the
show-docs
module, and added the ability to set themarkdown
user manual with different languages intoi18next
(if doc for the corresponding lang does not exist takesen
by default). PR: bfx-report-electron#434 - Added translation support to the
print-to-pdf
module. PR: bfx-report-electron#435 - Added translation support to the
change-reports-folder
module. PR: bfx-report-electron#436 - Added translation support to the
change-sync-frequency
module. PR: bfx-report-electron#437 - Added translation support to the
enforce-macos-app-location
module. PR: bfx-report-electron#439
Changed
- Improved the loading window workflow to bring more consistency in the sequence of showing windows. Added ability to send/listen events for the app-init layout via the context bridge between the main and renderer ipc to be secure. Fixed issue with focusing the main window on the launch. PR: bfx-report-electron#424
- Prevented returning the translation key
key.nestedKey.etc
if a value is missing for a certain language and added the ability to try to take one from the defaulten
translation file. PR: bfx-report-electron#426 - Reworked
sed
commands to be able to run the buildbash
scripts on both OSsUbuntu
andMacOS
as they have slightly different implementation. PR: bfx-report-electron#427
Fixed
- Fixed
2FA
login flow to prevent the token request duplication possibility noted in some user scenarios. PR: bfx-report-ui#881 - Fixed issue with
Wine
to buildWindows
release under container. PR: bfx-report-electron#425 - Fixed loading UI fonts to all modal windows. PR: bfx-report-electron#432
Security
- Bumped
cookie
from0.6.0
to0.7.1
,express
from4.21.0
to4.21.1
. PR: bfx-report-ui#879 - Bumped
electron
from27.3.11
to27.3.5
. PR: bfx-report-electron#424