Skip to content

Releases: bitfinexcom/bfx-report-electron

4.6.0

10 May 12:30
03da223
Compare
Choose a tag to compare

[4.6.0] - 2023-05-10

Added

  • Added symbol field to the currencies model in order to have the same payload as from the bfx-report. PR: bfx-reports-framework#278

Changed

  • Bumped ElectronJS version up to v21.3.3 to have NodeJS v16 under the hood to resolve the ability to build UI and ElectronJS releases using the same NodeJS version. PRs: bfx-report-electron#201, bfx-report-ui#640, bfx-facs-db-better-sqlite#5
  • Resolved deprecation warning fs.rmdir for the bfx-reports-framework due to migration NodeJS to v16. PR: bfx-reports-framework#276
  • Improved selected dates range representation for better clearance to the users. PR: bfx-report-ui#643
  • Reworked and improved Sign In and Add Accounts sections according to the latest design updates to enhance users experienc. Reworked and unifies several related sub-sections for better composition and reusability. Implemented new flow for adding sub-accounts to the users registered via API keys. Actualizes related elements styling and fields descriptions. PR: bfx-report-ui#644
  • Updated pt-BR, ru and tr translations for the UI. PR: bfx-report-ui#646

Fixed

  • Fixed Test pairs/symbols handling to prevent pairs duplication/overlapping and fixed incorrect request symbol params providing in some cases. PR: bfx-report-ui#641
  • Fixed a display issue on Test pairs/symbols in production. PR: bfx-report-ui#642

4.5.2

28 Apr 09:41
aa956f0
Compare
Choose a tag to compare

[4.5.2] - 2023-04-28

Fixed

  • Fixed the auto-update issue to turn on by default. The issue is in the parsing of the environment variable IS_AUTO_UPDATE_DISABLED from string to boolean. PR: bfx-report-electron#198

4.5.1

26 Apr 11:15
721acbd
Compare
Choose a tag to compare

[4.5.1] - 2023-04-26

Added

  • Added ability to name multiple accounts on sign-up to the backend. For example, if a user has some sub-accounts where run Bitcoin strategies, the user can call them The BTC group. For older created accounts, it will not be there. PR: bfx-reports-framework#271
  • Added a dedicated flag to recognize an account registering type: via API keys or without for the UI porpuses to cover new user login flow. PR: bfx-reports-framework#273

Changed

  • Reworked and improved Add Account authorization section according to the latest design updates to enhance users experience. Made Remember Me feature always active and removes unused corresponding checkboxes from all auth sections. Reworked and unifies several related sub-sections for better composition and reusability. Actualizes elements styling and fields descriptions. PR: bfx-report-ui#635
  • Improved Forgot Password authorization section according to the latest design updates to enhance users experience. Reworked and unified several related sub-sections for better composition and reusability. Actualized elements styling and descriptions. Added Bitfinex logo. PR: bfx-report-ui#637

Fixed

  • Fixed emitBfxUnamePwdAuthRequired WebSocket event handling on which the user should be logged out and re-login via username/password and Two-Factor Authentication to receive a new auth token. PR: bfx-report-ui#634
  • Fixed issues with the availability to the selection of restricted users with isRestrictedToBeAddedToSubAccount flag for Multiple Accounts in some specific cases. PR: bfx-report-ui#636

4.5.0

12 Apr 09:51
1ccb4c9
Compare
Choose a tag to compare

[4.5.0] - 2023-04-12

Added

Changed

  • Added the temporarily_unavailable BFX error handler, it's related to issues when the main platform is under maintenance. Instead showing an error modal dialog under the electron app would show the network issue message. And also it added some retries for fetching data as it was done earlier for the common isENetError checker. PR: bfx-report#290

Fixed

  • Disallowed user removal when sync going to prevent unexpected behavior. PR: bfx-reports-framework#267
  • Fixed issues with incorrect pairs formatting and providing a symbol param for the getPublicTrades request in some cases. Adjusted Symbol Filter width to fit better for all available pairs. PR: bfx-report-ui#626
  • Fixed issues with incorrect TEST symbols/pairs mapping. Fixed selector width to fit better for all available pairs. PR: bfx-report-ui#628

4.4.0

29 Mar 10:15
fc70c16
Compare
Choose a tag to compare

[4.4.0] - 2023-03-29

Added

  • Implemented username/password auth support with Two-Factor Authentication for simple users in a framework mode and corresponding logic to handle various Reports authorization flow-related specifics. Improved Reports login modal styling according to the actual theme. PR: bfx-report-ui#622
  • Added ability to auto-start sync after the auto-update of the electron app. The idea is to have a configurable option (by default turned on) to force sync after the auto-update or DB migration due to changes in the DB schema, the aim is to bring data consistency after significant updates. PRs: bfx-report-electron#190, bfx-reports-framework#261
  • Added isAuthTokenGenerationError: true flag into the Unauthorized 401 response in cases when token is expired for better UX of 2FA. PRs: bfx-report#285, bfx-reports-framework#262
  • Added login/verify proxy endpoints to resolve the CORS issue for the BFX username/password auth for /v2/login and /v2/login/verify links. PRs: bfx-reports-framework#263, bfx-report#286

Changed

  • Changed the Sign Up section title and button to Add Account for better clearance to the users of how auth flow works in the Reports app. Hid the Remove Account button in the Preferences menu during syncing to avoid causing related errors. Prevented the Remember Me from being prefilled by default. Updated passwords titles. PR: bfx-report-ui#623
  • Fixed the getUsers endpoint response, isRestrictedToBeAddedToSubAccount flag doesn't show the correct state, it should be true in a case when the user signed in with the BFX auth token (using BFX username/password). PR: bfx-reports-framework#260

4.3.1

16 Mar 09:35
f9f8b08
Compare
Choose a tag to compare

Changed

Fixed

  • Fixed issues with some symbols representation in the Symbol Filter dropdown list. PR: bfx-report-ui#617

4.3.0

02 Mar 12:31
8466a98
Compare
Choose a tag to compare

[4.3.0] - 2023-03-01

Added

  • Added BFX auth token support to the backend of the framework mode. PRs: bfx-report#281, bfx-reports-framework#256
  • Added ability to send emitCsvGenerationCompletedToOne event by the WS when CSV reports generation is finished in the background queue, only for the framework mode. In the UI we will show a spinner on the export btn and the corresponding popup at an appropriate time after finishing generation (in some cases it can take a lot of time). PRs: bfx-report#282, bfx-reports-framework#257

Changed

  • Restructures Reports main navigation using navigation item -> sub item -> tabs approach. Reworks and unifies sub-sections switching flow for better reusability across various reports and cleans redundant duplicated logic. Moves Logins History, Sub Accounts and Change Logs reports to the account dropdown menu. PR: bfx-report-ui#612
  • Reworks mobile navigation as a drawer according to the latest design updates. Implements dynamic chevrons for the navigation menus collapsible sections. Removes duplicated time frame selector from the header. Minor fixes and redundant code cleanup. PR: bfx-report-ui#613
  • Reworks the main layout as cards according to the latest design updates. Actualizes navigation menu collapsible sections icons. Updates colors and various styling improvements. PR: bfx-report-ui#614

4.2.0

02 Feb 10:06
6e9985e
Compare
Choose a tag to compare

[4.2.0]

Added

Fixed

4.1.0

18 Jan 17:46
9c267a3
Compare
Choose a tag to compare

[4.1.0] - 2023-01-18

Added

Fixed

  • Fixed error handling, added an option to not throw ENET error in the case when there are going to make retries to resume the internet connection. API requests should not be logged to std error stream when making an internal call and can have some attempts due to an internet connection issue. It's important for sync to avoid showing redundant error modal dialogs in the electron app. PR: bfx-report#278

4.0.0

14 Dec 15:50
af2d6b6
Compare
Choose a tag to compare

[4.0.0]

Added

  • Added ENET errors for reconnection when fetching data from the BFX api_v2. PR: bfx-report#273
  • Added ability to use the inner max request limit to the BFX api_v2 to seed up syncing data. PR: bfx-report#274
  • Added ability to display minimum derivative fees between sub-accounts. PR: bfx-reports-framework#241
  • Added ability to turn off the auto-update while building releases using the env var IS_AUTO_UPDATE_DISABLED=1 or the popup of GitHub Actions for beta releases bfx-report-electron#170
  • Added reports for Turkey. PR: bfx-report-ui#561
  • Implemented selected auth type persisting if the Remember Me option is selected for improving UX during page/app reloading. PR: bfx-report-ui#568
  • Implemented sub-accounts handling progress indicator, to improve UX for the cases when creation/updating requests can take some time due to slow network connection, etc. PR: bfx-report-ui#573

Changed

  • Provided a new Sync Core to use temp tables during sync processing. PR: bfx-reports-framework#240. The main idea is to put data fetched from the BFX api_v2 to temp tables to have consistent data in the main tables and allow users to request reports from all sections any time even sync is going on, except the first sync when the DB is empty. When the sync is finished and temp tables are filled all data will be moved to the main tables in one atomic transaction thus users don't have to experience transitional processes. Basic changes:
    • Implemened new Sync Core to use temp tables
    • Improved transaction flow to fix the database is locked issue
    • Improved handling ENET errors from the BFX api_v2, added fetching data retries. Related to PR: bfx-report#275
    • Added DB migration v31
    • Added create and update timestamps to service tables for easier debugging
    • Significantly reduced the number of requests to the BFX api_v2, which increases the speed of the sync
    • Fixed WebSocket timeout connection issue
    • Reduced pragma analysis_limit to 400 for performance
    • Used inner max request limit to BFX api_v2 for syncing data to speed up
  • Actualized Spanish translations PR: bfx-report-ui#562
  • Improved invoices for not merchant users. PR: bfx-report-ui#565
  • Increased Fee Perc precision in the Trades report to 3 decimals for better representation. PR: bfx-report-ui#570

Fixed

  • Fixed WebSocket GRENACHE_WS_IS_CLOCED error. PR: bfx-reports-framework#239
  • Fixed URL to get API keys when sign-in. PRs: bfx-report-electron#172, bfx-report-ui#582
  • Fixed incorrect rate filter param type and value passing from Public Funding report. PR: bfx-report-ui#553
  • Fixed reports exporting. PR: bfx-report-ui#558
  • Fixed wrong auth via WebSockets for sub-accounts. PR: bfx-report-ui#566
  • Prevented redirection to the Sign In screen after the successful adding a sub-account for improving UX if the user wants to add several sub-accounts in a row. PR: bfx-report-ui#571
  • Fixed the possibility of creating several sub-accounts with one request in the Multiple Accounts sign up modal same way as we have in the main Sub Accounts section. PR: bfx-report-ui#572
  • Fixed missed time frame start/end params provided during exporting in CSV for Average Win/Loss, Traded Volume, Account Balance, Loan and Fees reports. PR: bfx-report-ui#575
  • Prevented the possibility for already created sub-accounts to being selected for the creation of new one. PR: bfx-report-ui#576
  • Fixed issue with the staled Master Account still selected after the dropping database, restarting the backend and reloading the app. PR: bfx-report-ui#577
  • Prevented the possibility of Sub Account creation submission if the Master Account hadn't been selected or registered, fixed Sign Up modal overlay styling. PR: bfx-report-ui#578
  • Fixed issue with stuck sync progress percentage when the main worker is restarted while the synchronization is in progress and UI performs a successful reconnection via WebSockets. PR: bfx-report-ui#579
  • Fixed USDt symbols and pairs parsing. PR: bfx-report-ui#580
  • Fixed sign-out issue by providing token. PR: bfx-report-ui#583
  • Fixed issues with unavailability for selection registered users while creating Sub Accounts in some cases. PR: bfx-report-ui#584

Security