Releases: bitfinexcom/bfx-report-electron
Releases · bitfinexcom/bfx-report-electron
4.23.0
[4.23.0] - 2024-04-17
Added
- Implemented
isStagingBfxApiflag handling and showsStagingprefix for the corresponding keys stored in the DB to improve the manual testing process convenience. PR: bfx-report-ui#800 - Implemented the possibility of manually adjusting columns width and persisting these between sessions. Added the ability to set the auto-calculated dynamic defaults via the context menu. Improved charts responsiveness. PR: bfx-report-ui#805
Changed
- Updated
GH Actionssetup-nodetov4to prevent breaking changes in workflow. PRs: bfx-facs-db-better-sqlite#10, bfx-report#365, bfx-reports-framework#369 - Increased the inner
limitfor the BFX APItrades/{symbol}/histendpoint. It's useful for theTransaction Tax Reportin case of currency conversion to USD to reduce the amount of calls and help users to go throughRate Limit. PR: bfx-report#363 - Speeded up
authin case token expiration to prevent redundant awaiting. PR: bfx-report#364 - Reverted tables responsiveness in the UI. PR: bfx-report-ui#801
- Reverted the option to revert table width as an always dynamic component. PR: bfx-report-ui#802
- Extended and improved click tracking all across the
Reports. PR: bfx-report-ui#803 - Enhanced
Reportsnavigation menu representation. PR: bfx-report-ui#804
Fixed
- Fixed
actionprop passing for theWSin case an error. PR: bfx-report-express#38
4.22.0
[4.22.0] - 2024-04-03
Added
- Implemented dynamic width support for the
Reportstables according to: the tables should stretch and fill horizontally (width 100%). PR: bfx-report-ui#794 - Added
DMGMac dist release uploading in case of manual build on a fork. Related to this issue: bfx-report-electron#352. PR: bfx-report-electron#357 - Added handling unexpected BFX API errors, added
3retries with a timeout10secif catches any unexpected errors during report generation or DB sync in framework mode. Related to these issues: bfx-report-electron#354, bfx-report-electron#355. PR: bfx-report#359 - Added additional processing for JSON DB file of the
LokiJS. In some rare cases due to an unexpected termination of the app process, the JSON file used for LokiJS can not be finished recording correctly. Related to this issue: bfx-report-electron#353. PR: bfx-reports-framework#365
Changed
- Improved export type selection, added Export Format selector (similar to Date Format) with 2 options: 1-export as CSV (should be selected by default), 2-export as PDF. PR: bfx-report-ui#795
- Extended error logs for sync proc, the idea is to add
serializedErrorfield to the error object with a serialized error string that contains composed error metadata for easier debugging of the user's error reports. This field will be used for logging in case catching error occurs during sync in the framework mode. PRs: bfx-report#360, bfx-reports-framework#366
Security
- Resolved
dependabotdependency updates, bumpedfollow-redirectsfrom1.15.5to1.15.6,webpack-dev-middlewarefrom5.3.3to5.3.4,expressfrom4.18.2to4.19.2. PRs: bfx-report-ui#792, bfx-report-ui#797
4.21.0
[4.21.0] - 2024-03-20
Added
- Added ability to handle
PDFBufferUnderElectronCreationErrorerror to use WebSockets to inform users for better UX. PRs: bfx-report#354, bfx-reports-framework#359 - Implemented support for
emitReportFileGenerationFailedToOnews events on UI side to inform users about report generation failing. PR: bfx-report-ui#787 - Added missing translations for PDF reports. PRs: bfx-report#356, bfx-reports-framework#362
- Added DB migration for
publicCollsConftable name with Cyrillicc. PR: bfx-reports-framework#360 - Added migration for public colls conf endpoint name with Cyrillic
c. PR: bfx-report-ui#788 - Added ability to upload dist release if repo owner is customized using manual build run. PR: bfx-report-electron#347
Changed
- Updated
GH Actionsto use Nodejsv20to prevent breaking changes in workflow. PRs: bfx-report#355, bfx-reports-framework#361, bfx-report-electron#344, bfx-facs-db-better-sqlite#9 - Migrated from the
deprecatedreports generation methods usage to the actual ones according to the latest backend changes. PR: bfx-report-ui#784 - Allowed all pairs removal at the
Market History / Spotsection according to the latest UX improvement proposals: We should allow the user to remove the current pair and display an empty table that saysNo history to display. PR: bfx-report-ui#786 - Improved print PDF under Electronjs. Turned off ipc log transport between render and main process as unused, it prevents ipc transport error from
electron-loglib. Suppressed error modal window if pdf gen failed: the idea here is to inform the user if something goes wrong using WS event for better UX instead of showing a modal window error as it is annoying in most cases. Improved pdf generation performance for big html templates, usesloadFilemethod of electron api instead ofbase64encoding. Bumped up Electronjs minor version to have the last fixes. PR: bfx-report-electron#342
Fixed
- Prevented duplication possibility for items in the selectors of the UI. PR: bfx-report-ui#785
4.20.0
[4.20.0] - 2024-03-06
Added
- Added missing translations for
2FA. PR: bfx-report-ui#774 - Implemented exporting to PDF support for
LedgersandTax Reports. PRs: bfx-report#347, bfx-reports-framework#352, bfx-report-electron#319, bfx-ext-pdf-js#4, bfx-report#349, bfx-reports-framework#354, bfx-report-ui#775 - Added detection for
BFXauth error:ERR_AUTH_API: ERR_TOKEN_ALREADY_USED. PR: bfx-report#348 - Added improvements to the token refresh flow: stop the auth token refresh interval if catch an auth error. PR: bfx-reports-framework#353
- Added option to set repo owner for auto-update in manual run. PR: bfx-report-electron#331
Changed
- Reworked navigation for the
Movementsreport according to the latest UX improvement proposals: remove tabs from wallets & movements, make movements a separate navigation item underMy History. PR: bfx-report-ui#771 - Reworked navigation for the
My Historysection according to the latest UX improvement proposals. PR: bfx-report-ui#778 - Enhanced
loadingandno datastates representation for reports with tables. PR: bfx-report-ui#779 - Set
90sectimeout for grc requests to have the same timeout as for api requests. PR: bfx-report#351 - Set
90sectimeout forhtml-pdflib. PR: bfx-reports-framework#355 - Optimized GitHub Actions Workflow for release build. PR: bfx-report-electron#322
- Updated Actions to use Nodejs
v20. PR: bfx-report-electron#323
Fixed
- Updated UI engines configuration to prevent issues. PR: bfx-report-ui#772
- Fixed
2FAauthorization flow according to: After the first push of the auth button, we should lock the button (till we get any response from this endpoint) to prevent sending several of the same requests. PR: bfx-report-ui#776 - Fixed the potential possibility of duplicated sending for correct
OTP: it should keep btn disabled until the successful auth will be completed. PR: bfx-report-ui#780 - Fixed 11
auto-update-toast:widthlisteners added. PR: bfx-report-electron#330
4.19.0
[4.19.0] - 2024-02-14
Added
- Added ability to close the drawer on mobile when clicking on a item of the menu. PR: bfx-report-ui#764
- Added environment configuration during the
Google Tag Managerinitialization. PR: bfx-report-ui#767 - Added an option to skip
Macbuild notarizing and signing when running manually. PR: bfx-report-electron#314
Changed
- Enhanced representation of the app
Summarysections loading states according to the latest design updates. Added showing loading states for them during initial sync. PR: bfx-report-ui#768
4.17.0
[4.17.0] - 2024-01-10
Added
- Added ability to define what kind of API keys are stored
prod/staging. Theprod/stagingis detected by existing thestagingstring in the restUrl config option:https://api-pub.bitfinex.com/https://api.staging.bitfinex.com. AndisStagingBfxApiflag is set or updated onsignUp/signInto theusertable. Than,getUsersendpoint will return theisStagingBfxApiflag to be shown in the UI for each user on the login stage. PR: bfx-reports-framework#347 - Added automated testing for electron app binaries. The flow: build release on GitHub Actions, use unpacked builds for E2E tests, launch E2E test on Linux and Mac and Win OSs independently, provide E2E test reports for every OS launch. PR: bfx-report-electron#276
Fixed
- Fixed
parentCellHeightrelated warnings for the several column configurations. PR: bfx-report-ui#749 - Fixes skipping publishing of artifact for
Macbyelectron-builder. The issue came from this PR ofelectron-builder: electron-builder#7715. PR: bfx-report-electron#290
Security
- Replaced
Lodash_isEqualhelper usage all across the app with the corresponding one from the internal library for security reasons. PR: bfx-report-ui#750 - Resolved
dependabotdependency updates: bfx-report-electron#269, bfx-report-electron#270, bfx-report-electron#272, bfx-report-electron#273, bfx-report-electron#280. PR: bfx-report-electron#289
4.16.0
[4.16.0] - 2023-12-13
Added
- Added the
startparam to theSummary by Assetto be able to select a period more than30d. PR: bfx-reports-framework#342 - Added exchange volume and trading fee values to the the
Summary by Asset. PR: bfx-reports-framework/pull/344 - Added exceptions for the error modal window. It should cover the follow cases:
database is lockedandnetwork timeout. PR: bfx-report-electron#285 - Implemented
ETH2P (ETH2Pending),ETH2R (ETH2Rewards)andETH2U (ETH2Unstaking)availability in theSymbolselector. PR: bfx-report-ui#740 - Implemented dynamic selectable date range support for the
Summary by Assetsection. PR: bfx-report-ui#741 - Implemented representation of
Volume (eligible for fee tier calculation) in the last 30 daysin theAccount Feestable of theSummarypage. PR: bfx-report-ui#743 - Implemented displaying the selected period as a subtitle in the
Summary by Assetsection. PR: bfx-report-ui#745
Changed
- Considered the requested
starttime point instead of the existing one in theledgersfor theAccount Balance. The idea is to show users the Account Balance started from the wallet snapshot of the start time point. PR: bfx-reports-framework#341 - Removed the
Profitscolumn from theSummary by Assettable temporally. PR: bfx-report-ui#744 - Actualized columns for the
Summary by Assetsection. PR: bfx-report-ui#746
Fixed
- Fixed
Account Balanceunrealized profit. The issue is in passing the correct timestamp for currency conversion of PL values of daily positions snapshot. PR: bfx-reports-framework#340 - Fixed initialization requests order for all reports according to the proposals to prevent received data inconsistency in some cases. PR: bfx-report-ui#742
Security
- Used
maxandminutils from thelib-js-util-baselib instead of thelodash. PRs: bfx-reports-framework#343, lib-js-util-base#19
4.15.0
[4.15.0] - 2023-11-29
Added
- Added
Summary by Assetsection for the last 30 days on the newSummaryfor theReportsapp. Added refreshing for allSummarysections on theFilterbutton click. PR: bfx-report-ui#726 - Added ability to sync daily
candlesonce per day to reduce the number of sync requests toBFX APIand as a result improve the situation with theRate Limitrestriction. PR: bfx-reports-framework#334 - Added ability to reference specific user currencies when
candlessync. The aim is to reduce the amount of requests to theBFX APIcandles endpoint and speed up the sync essentially. Also for better UX, added approximate candles sync time estimation considering the amount of syncing currencies. And set candles limit20 reqs/mininstead of 30 to go through theRate Limit. PR: bfx-reports-framework#335
Changed
- Set
10 reqs/minforBFX APItradesendpoint to help big users go throughRate Limitfor theTax Report. PR: bfx-reports-framework#337 - Temporarily hidden
Unrealized Profitselectors from the new appSummaryandAccount Balancereports. PR: bfx-report-ui#730 - Updated TW Translations. PR: bfx-report-ui#734
- Improved
Balance Changerepresentation in theSummary by Assetsection. PR: bfx-report-ui#736
Fixed
- Prevented throwing error when
GitHubserver can't respond to auto-update requests. It fixed the following issues: bfx-report-electron#239, bfx-report-electron#264. PR: bfx-report-electron#265 - Fixed double requests while syncing
candles. The issue is: when we sync data in the framework mode, candles request can give only one item, in this case, we shouldn't process the part of logic with handling of containing the same timestamps in all items. PR: bfx-report#343 - Fixed getting data from
BFX APIwith undefined args. PRs: bfx-report#344, lib-js-util-base#15 - Fixed
BFXauth token refreshing. PR: bfx-reports-framework#336 - Fixed initial synchronization flow, improved data handling for
Summarysections. PR: bfx-report-ui#731 - Fixed
candles/tradesrequests duplication onCandlesreport refreshing. PR: bfx-report-ui#732 - Fixed synchronization state checking flow and fixed a couple of potential issues that have been spotted in some syncing scenarios. PR: bfx-report-ui#735
Security
- Replaced
Lodash_gethelper usage all across the app with the corresponding one from the internal library for security reasons. PR: bfx-report-ui#727
4.14.0
[4.14.0] - 2023-11-01
Added
- Added test runner and report to the
GitHub Actionsof thebfx-facs-db-better-sqliterepo. PR: bfx-facs-db-better-sqlite#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 - Implemented currency name representation depending on the transport layer used for the
Tethertransactions in theMovementsreport. PR: bfx-report-ui#721 - Implemented the possibility of submitting
username/passwordandOTPvia theEnterbutton during the2FAsign-up flow. PR: bfx-report-ui#722
Changed
- Bumped
Electronjsversion up tov27to have under hood Nodejsv18.17.1, to have Nodejs version similar to UI build requirements. PR: bfx-report-electron#263 - Bumped
better-sqlite3up to9.0.0to have the ability to launch the DB driver on Nodejsv18.17.1under electron env at leastv27. PR: bfx-facs-db-better-sqlite#7 - Set the dependabot against the
staginbranch to not trigger test-runner workflow
Fixed
- Fixed the
candlessync for thecurrency converter, to convert the first ledgers to USD it needs to provide some overlap of candles (5 days). PR: bfx-reports-framework#329 - Fixed deep clone of arguments with
lib-js-util-base, the issue is the following: when callinggenerateToken/invalidateAuthTokenmethods pass whole session object withsetIntervalid, and that id cannot be serialized withJSON.stringify, it should be omitted. PR: bfx-reports-framework#331 - Fixed the dependabot config path for the
bfx-report-uirepo. PR: bfx-report-ui#720
Security
- Removed
lodashlib usage. PRs: bfx-report#340, bfx-reports-framework#328, bfx-report-ui#723
4.13.0
[4.13.0] - 2023-10-18
Added
- Added
testrunner andHTML reportmaker workflows to the GitHub Actions which launch after creating PRs against themasterbranch. PRs: bfx-report#337, bfx-reports-framework#325, bfx-report-electron#259 - Implemented
Account Fees,Account ValueandLEO levelsections on the newSummarypage, added minor styling adjustments. PR: bfx-report-ui#716
Security
- Removed
lodashlib usage. PRs: bfx-report#336, bfx-report-ui#717, lib-js-util-base#6