Releases: bitfinexcom/bfx-report-electron
Releases · bitfinexcom/bfx-report-electron
4.6.0
[4.6.0] - 2023-05-10
Added
- Added
symbol
field to thecurrencies
model in order to have the same payload as from thebfx-report
. PR: bfx-reports-framework#278
Changed
- Bumped ElectronJS version up to
v21.3.3
to have NodeJSv16
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 thebfx-reports-framework
due to migration NodeJS tov16
. 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
andAdd 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 addingsub-accounts
to the users registered viaAPI keys
. Actualizes related elements styling and fields descriptions. PR: bfx-report-ui#644 - Updated
pt-BR
,ru
andtr
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
[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 variableIS_AUTO_UPDATE_DISABLED
from string to boolean. PR: bfx-report-electron#198
4.5.1
[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 themThe 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. MadeRemember 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. AddedBitfinex
logo. PR: bfx-report-ui#637
Fixed
- Fixed
emitBfxUnamePwdAuthRequired
WebSocket event handling on which the user should be logged out and re-login viausername/password
andTwo-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 forMultiple Accounts
in some specific cases. PR: bfx-report-ui#636
4.5.0
[4.5.0] - 2023-04-12
Added
- Added the
Weighted Averages
report to the web version. The main part of logic moved to thebfx-report
and the behavior is the same as in the previous PR bfx-reports-framework#246. PRs: bfx-report#289, bfx-reports-framework#266, bfx-report-ui#631 - Added ability to set the selected
TTL
of the BFX auth token to the backend side. PR: bfx-reports-framework#268 - Implemented logic for injection and usage of customizable ports for
API_URL
andWS_ADDRESS
if available onelectronLoad
custom event in the framework mode, it's related to these previous changes: bfx-report-electron#187, bfx-report-ui#619. PR: bfx-report-ui#630
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 commonisENetError
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 thegetPublicTrades
request in some cases. AdjustedSymbol 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
[4.4.0] - 2023-03-29
Added
- Implemented
username/password
auth support withTwo-Factor Authentication
for simple users in a framework mode and corresponding logic to handle variousReports
authorization flow-related specifics. ImprovedReports
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 theUnauthorized 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 theCORS
issue for the BFXusername/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 toAdd Account
for better clearance to the users of how auth flow works in theReports
app. Hid theRemove Account
button in thePreferences
menu during syncing to avoid causing related errors. Prevented theRemember 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 betrue
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
Changed
- Improved the lookup of the free ports for the backend side of the app and fixes the issue: #171. PRs: bfx-report-electron#187, bfx-report-ui#619
- Reworked
getUsers
call without auth params that are redundant for this public endpoint. PR: bfx-report-ui#618
Fixed
- Fixed issues with some symbols representation in the
Symbol Filter
dropdown list. PR: bfx-report-ui#617
4.3.0
[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 navigationitem -> sub item -> tabs
approach. Reworks and unifies sub-sections switching flow for better reusability across various reports and cleans redundant duplicated logic. MovesLogins History
,Sub Accounts
andChange 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
[4.2.0]
Added
- Added the weighted averages report representation and corresponding functionalities. PR: bfx-report-ui#607
- Added the ability to make releases using
GitHub Actions
against theBFX API Staging
manually. PR: bfx-report-electron#179
Fixed
- Fixed sync progress percentage calculation. PR: bfx-reports-framework#250
- Fixed handling some
null
responses from theAccount Summary
endpoint. PR: bfx-reports-framework#251 - Fixed navigation menu representation on some mobile screens. PR: bfx-report-ui#606
- Fixed issue with dropping selected pairs on
Derivatives
refreshing. PR: bfx-report-ui#608
4.1.0
[4.1.0] - 2023-01-18
Added
- Added the possibility of removing the account from the
Preferences
menu. PR: bfx-report-ui#600 - Added estimated time info of the synchronization process. PRs: bfx-reports-framework#245, bfx-report-ui#601
- Added the possibility for users to sign out by email property. PR: bfx-reports-framework#247
- Added the weighted averages report to the backend side. PR: bfx-reports-framework#246
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 tostd 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
[4.0.0]
Added
- Added
ENET
errors for reconnection when fetching data from theBFX api_v2
. PR: bfx-report#273 - Added ability to use the
inner max
request limit to theBFX 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 forbeta
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 theBFX 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
to400
for performance - Used
inner max
request limit toBFX api_v2
for syncing data to speed up
- Implemened
- Actualized Spanish translations PR: bfx-report-ui#562
- Improved invoices for not merchant users. PR: bfx-report-ui#565
- Increased
Fee Perc
precision in theTrades
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 fromPublic 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 mainSub 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
andFees
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 theMaster Account
hadn't been selected or registered, fixedSign 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
- Updated dependencies versions to fix vulnerabilities. PRs: bfx-facs-db-better-sqlite#4, bfx-report-express#28, bfx-report#276, bfx-reports-framework#242