Releases: bitfinexcom/bfx-report-electron
Releases · bitfinexcom/bfx-report-electron
4.33.0
[4.33.0] - 2025-02-19
Added
- Implemented
Electronapp 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 theAltkey 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 theWindowsandLinuxapp users. On theMacwe have to hide the menu in the UI and show the native electron menu bar due to someMacOSspecifics, 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 Limitbypassing. Here we implementedDecorrelated Jitterdescribed 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 Limitfor theSyncandTax Report. PR: bfx-report#420
Changed
- Changed font family to
Intersimilar to used on the main platform. PR: bfx-report-ui#896 - Reworked and optimized
ThemeSwitchercomponent in a more performant way and reduced redundant code. PR: bfx-report-ui#897 - Changed the font family from
RobototoInterin 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-pdftopuppeteerforpdfcreation as the first one repo is notmaintainedanymore. PRs: bfx-reports-framework#432, bfx-report#419
Fixed
- Fixed setting
IS_AUTO_UPDATE_DISABLEDconfig flag for thedevmode. PR: bfx-report-electron#484 - Fixed the UI setup flow for the
devmode. 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
Altkey 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
Filterbutton toGenerateand also disabled it during the initial synchronization to preventTax Reportgeneration 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
Reportstranslations and extended coverage for newly added elements/features. PR: bfx-report-ui#891 - Improved theme setting flow and fixed issues noted after the latest
Electronversion update. PR: bfx-report-ui#893
Fixed
- Fixed
isAuthTokenGenerationErrorflag 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-dbmodule. PR: bfx-report-electron#441 - Added translation support to the
import-dbmodule. PR: bfx-report-electron#442 - Added
progressperc to theloading windowfor theexport-dbmodule as it can take significant time for large DB. PR: bfx-report-electron#445 - Added
progressperc to theloading windowfor theimport-dbmodule as it can take significant time for large DB. bfx-report-electron#449 - Added translation support to the
remove-dbmodule. PR: bfx-report-electron#450 - Added translation support to the
manage-worker-messagesmodule. Add translation support to thebackup-dbandmigration-dbmodules. Fixed showing modal dialogs in sequence. PR: bfx-report-electron#456 - Added translation support to the
show-about-modal-dialogmodule. 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
TimeRangePreservePrefcomponent 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
languageschema param check and addedenfallback language to prevent returning the translation keykey.nestedKey.etcif a value is missing for a certain language and added the ability to try to take one from the defaultentranslation file. PR: bfx-report#415
Fixed
- Fixed docker desktop container user permissions breaks. Fixed
chown:changing ownership of 'path-to-file': Operation not permittedwhen 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 Assetssection for the webAccount Summarypage. Improved sections titles styling. PR: bfx-report-ui#880 - Implemented
UIlanguage selection binding withElectronJSwrapper. 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 managermodule. PR: bfx-report-electron#428 - Added translation support to the
native notificationsmodule. PR: bfx-report-electron#429 - Added translation support to the
auto-updatermodule. PRs: bfx-report-electron#430, bfx-report-electron#438 - Added translation support to the
restore DBmodule. PR: bfx-report-electron#431 - Added translation support to the
show-docsmodule, and added the ability to set themarkdownuser manual with different languages intoi18next(if doc for the corresponding lang does not exist takesenby default). PR: bfx-report-electron#434 - Added translation support to the
print-to-pdfmodule. PR: bfx-report-electron#435 - Added translation support to the
change-reports-foldermodule. PR: bfx-report-electron#436 - Added translation support to the
change-sync-frequencymodule. PR: bfx-report-electron#437 - Added translation support to the
enforce-macos-app-locationmodule. 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.etcif a value is missing for a certain language and added the ability to try to take one from the defaultentranslation file. PR: bfx-report-electron#426 - Reworked
sedcommands to be able to run the buildbashscripts on both OSsUbuntuandMacOSas they have slightly different implementation. PR: bfx-report-electron#427
Fixed
- Fixed
2FAlogin flow to prevent the token request duplication possibility noted in some user scenarios. PR: bfx-report-ui#881 - Fixed issue with
Wineto buildWindowsrelease under container. PR: bfx-report-electron#425 - Fixed loading UI fonts to all modal windows. PR: bfx-report-electron#432
Security
- Bumped
cookiefrom0.6.0to0.7.1,expressfrom4.21.0to4.21.1. PR: bfx-report-ui#879 - Bumped
electronfrom27.3.11to27.3.5. PR: bfx-report-electron#424
4.29.0
[4.29.0] - 2024-10-16
Added
- Implemented
Active Positionssection on the appSummarypage. PR: bfx-report-ui#873 - Added
Active Positionssection to the webAccount Summarypage. PR: bfx-report-ui#874 - Improved
fallbacklanguages for i18next https://www.i18next.com/principles/fallback. PR: bfx-report#406 - Added translation flow to electronjs wrapper. PR: bfx-report-electron#412
Changed
- Reworked
ColumnsSelectDialogin a more performant way and improved props linting. PR: bfx-report-ui#868 - Moved
Account Feesbelow other sections on the appSummarypage. PR: bfx-report-ui#871 - Reworked and optimized the
Account Balancesection in a more performant way and reduced redundant code. PR: bfx-report-ui#872 - Actualized assets section title/subtitle on the
Summarypage, improved currencies formatting. PR: bfx-report-ui#875 - Improved fetching
opened positionsfor the ending point of thebalancereport. PR: bfx-reports-framework#421 - Moved window modules into the common folder. This small refactoring is part of adding translation support into the electronjs wrapper. PR: bfx-report-electron#410
Fixed
- Fixed
opened positionsconsideration inbalancesandwin/lossreports. PR: bfx-reports-framework#420 - Updated
macOSonGH Actionsfrom12to15due to caught warning on the last release: https://github.com/bitfinexcom/bfx-report-electron/actions/runs/11010191592. PR: bfx-report-electron#413 - Fixed
dotenvimporting forprodenv. PR: bfx-report-electron#414 - Fixed
Dockercontainer preparation for release building. PR: bfx-report-electron#417
Security
- Bumped
rollupfrom2.79.1to2.79.2. PR: bfx-report-ui#870 - Bumped
expressfrom4.18.2to4.21.0,wsfrom8.2.3to8.18.0,grenache-nodejs-httpfrom0.7.12to0.7.13,grenache-nodejs-linkfrom0.7.12to1.0.0. PR: bfx-report-express#42
4.28.0
[4.28.0] - 2024-09-25
Added
- Implemented dynamic height calculation for the
Concentration Riskpie chart to prevent overflow issues possibility spotted in some cases. PR: bfx-report-ui#859 - Implemented
Last Sync timehandling and representation (approximately in hours) for theReports. PR: bfx-report-ui#863 - Implemented
Profitssection (port of theWin/Losschart with several predefined parameters) on the appSummarypage. Removed charts smoothness for better precision. PR: bfx-report-ui#864 - Added logic to have separated translations by language in
JSONfiles usingi18nextlib for easier translation maintenance. PRs: bfx-report#402, bfx-reports-framework#417
Changed
- Improved user notification and auth flow behavior for the cases when the user tries to re-add an existing account via email/password. PR: bfx-report-ui#860
Fixed
- Improved
Docker/Terraformdeployment, fixedhtml-pdfmodule usage under Docker container with using docker container based on theDebianimage to makehtml-pdfmodule workable, fixed deprecation warnings. PR: bfx-reports-framework#415 - Fixed an infrequent case for
process.send()when the app is on its way to being closed and the child process channel is closed but the worker still sends a message to the main one. PR: bfx-reports-framework#416
Security
- Bumped
path-to-regexpfrom1.8.0to1.9.0,expressfrom4.19.2to4.21.0. PR: bfx-report-ui#858
4.27.0
[4.27.0] - 2024-09-11
Added
- Added
DNSavailability error processing:net::ERR_NAME_NOT_RESOLVED. PR: bitfinexcom/bfx-report#395 - Added
socket hang uperror processing asENeterror. PR: bfx-report#396 - Added common net
net::ERR_error processing asENeterror. PR: bfx-report#397 - Implemented endpoint to get the last finished sync timestamp for the UI/UX. PR: bfx-reports-framework#410
- Implemented the possibility of
Cancelthe generation process for the tax report. PR: bfx-report-ui#854
Changed
- Improved the interruption flow of getting data from the
BFX APIfor the tax report, provided event-driven flow after delay processing, speeded up interruption not to wait for timeout in case of a slow internet connection. PRs: bfx-report#399, bfx-reports-framework#411 - Reworked DB model usage to use the new model interface implemented, speeded up the work by avoiding the usage of
cloneDeepfn based onJSON.parse(JSON.stringify(obj))for the models. PR: bfx-reports-framework#412 - Removed duplicate buttons with the same functionality, improved and unified reports refreshing flow. PR: bfx-report-ui#852
- Reworked and enhanced navigation tabs positioning and representation to be more consistent all across the app. Adjusted app
Summarysection spacing. PR: bfx-report-ui#853
Fixed
- Fixed
node-fetchtimeout error processing for slow network connection. PR: bfx-report#398
Security
- Bumped
webpackfrom5.90.0to5.94.0,axiosfrom1.6.7to1.7.4. PR: bfx-report-ui#851
4.26.0
[4.26.0] - 2024-08-28
Added
- Added ability to send
IPCmessages when the sync is ready. PR: bfx-reports-framework#405 - Added ability to show native notifications in case another screen is displayed and the app window is not hidden with multiple workspaces mode in
Ubuntu/Mac. PR: bfx-report-electron#389 - Added ability to show the native notification in the electron app in case the
syncis being processed in the background with the hidden main window. There we check if the main window is invisible and show a notification otherwise don't. PR: bfx-report-electron#390
Changed
- Enhanced and unified
LoginsandChange Logsreports column configuration getters and reduced redundant code. PR: bfx-report-ui#840 - Reworked and optimized the
TimeFrameSelectorcomponent in a more performant way and reduced redundant code. PR: bfx-report-ui#841 - Reworked cell generation configurations more concisely and optimally for
Wallets,Weighted AveragesandConcentration Riskreports. PR: bfx-report-ui#842 - Reworked and optimized
LedgersCategorySelectin a more concise and performant way. PR: bfx-report-ui#843 - Reworked and optimized
Movements,Trades,OrdersandPositionsreports column configuration getters. Implemented unifiedgetFeeCellandgetActionCellhelpers for better reusability. PR: bfx-report-ui#844 - Reworked
CandlesTimeframein a more performant way and improved props linting. PR: bfx-report-ui#845 - Enhanced and unified
Snapshotssections column configuration getters and reduced redundant code. PR: bfx-report-ui#846 - Removed deprecated methods and fields without breaking the logic and UI functionality. PRs: bfx-report#389, bfx-reports-framework#403
- Improved DB file cleanups for test coverage hooks. PRs: bfx-report#390, bitfinexcom/lokue#3
- Removed unused public colls conf accessor endpoints to use the common
getAllPublicCollsConfs/editAllPublicCollsConfsones without breaking the logic and UI functionality. PR: bfx-reports-framework#404 - Implemented a class for DB models to typify and unify model objects. PR: bfx-reports-framework#406
- Proxied
ENeterror tester for import in electron env. PR: bfx-reports-framework#407
Fixed
- Extended network error processing. Related to these issues: bfx-report-electron#396, bfx-report-electron#274. PR: bfx-report#392
- Improved the tax report ccy conversion by adding
6retries with10secdelay for gettingpub-tradesif returns non-array. PR: bfx-reports-framework#402 - Extended network error processing and prevented showing the error modal dialog. Related to these issues: bfx-report-electron#396, bfx-report-electron#274. PR: bfx-report-electron#397
4.25.0
[4.25.0] - 2024-07-31
Added
- Added transaction tax report. PRs: bfx-reports-framework#373, bfx-reports-framework#378, bfx-reports-framework#379, bfx-reports-framework#380, bfx-reports-framework#381, bfx-reports-framework#382, bfx-reports-framework#383, bfx-reports-framework#384, bfx-reports-framework#385
- Increased the math precision of the trx tax report using
bignumber.js. PR: bfx-reports-framework#386 - Added test coverage for the transaction tax report. PR: bfx-reports-framework#387
- Added unit test for core
look-up-tradesfn of the transaction tax report. PR: bfx-reports-framework#388 - Added ability to select
EXCHANGEtrades for the trx tax report. PR: bfx-reports-framework#389 - Added
_isInvoicePayOrder,_isAirdropOnWallet,_isMarginFundingPayment,_isAffiliateRebate,_isStakingPaymentsledgers to movements. PR: bfx-reports-framework#391 - Added ability to show taxable payment amounts in the tax report. PR: bfx-reports-framework#392
- Added perc progress of the trx tax report based on transactions that should be converted to USD using the pub-trade endpoint. PR: bfx-reports-framework#394
- Added ability to send
IPCmessages when the trx tax report is ready. This is used in the electronjs environment to show a native OS notification to the app in case the tax report is being generated in the background. PR: bfx-reports-framework#397 - Added ability to overwrite common interrupter when query bfx api. PR: bfx-report#371
- Added interruption ability in case rate limit. When getting
Rate Limitorcool downdue toRate Limitfor 1min occurs, it needs to provide a feature to interrupt the tax report and sync being processed. PR: bfx-report#373 - Added
TRYto the FOREX ccy list. PR: bfx-report#377 - Added
CSV/PDFformatter for the tax reportsourcefield to follow the UI view, eg showAIRDROP_ON_WALLETasAirdrop on wallet. PR: bfx-report#381 - Added
sourcefield toCSV/PDFof the tax report to follow the UI view. PR: bfx-reports-framework#398 - Added ability to show the native notification in the electron app in case the tax report is being generated in the background. There we check if the main window is invisible show a notification otherwise don't. PR: bfx-report-electron#386
- Implemented UI representation for the new Tax Report. PR: bfx-report-ui#816
- Implemented dismissable
Disclaimermessage for the newTax Report. PR: bfx-report-ui#831 - Implemented
Sourcecolumn representation for the new Tax Report and formatted likeAirdrop on wallet. PR: bfx-report-ui#836 - Implemented generation
progressrepresentation for the newTax Report. Implemented notification onTax Reportgeneration finish. PR: bfx-report-ui#837
Changed
- Refactored DB models to be moved to separate files for easier supporting and readability. PR: bfx-reports-framework#393
- Refactored sync schema to be moved to separate files for easier supporting and readability. PR: bfx-reports-framework#395
- Refactored and optimizes
CollapsedTablecomponent. PR: bfx-report-ui#815 - Reworked and optimized
Spotreport column configuration getters. PR: bfx-report-ui#817 - Refactored and optimized the
DateFormatSelectorcomponent. PR: bfx-report-ui#818 - Reworked and optimized
Funding Bids & Offers,Funding Loans (Unused)andFunding Credits (Used)reports column configuration getters. Extended unified cell getter customizability for the cases when the tooltip content should be formatted differently from the main cell content. PR: bfx-report-ui#819 - Reworked and optimized the
LangMenucomponent in a more performant way and reduces redundant code to avoid potential issues in the future. PR: bfx-report-ui#820 - Enhanced and unified
Ledgers,Funding Earnings,Staking EarningsandAffiliates Earningsreports configuration getters. PR: bfx-report-ui#821 - Reworked and optimized the
Exportmenu toggler component in a more performant way and reduces redundant code. PR: bfx-report-ui#822 - Reworked and optimized
Public Trades,Public FundingandDerivativesreports column configuration getters. Implemented unifiedformatTypeutility for better reusability. PR: bfx-report-ui#823 - Reworked and optimized the
NavSwitchercomponent and improved props linting. PR: bfx-report-ui#824 - Reworked and optimized
Invoicesreport columns configuration getters. Implemented unifiedgetLinkCellandgetJsonFormattedCellutilities for better reusability. PR: bfx-report-ui#827 - Reworked and optimized the
ShowMillisecondscomponent in a more performant way and reduces redundant code. PR: bfx-report-ui#828 - Prevented the
Tax Reportloading state still active in cases when theemitTrxTaxReportGenerationInBackgroundToOneevent returns anerrorduring report generation. PR: bfx-report-ui#832
Fixed
- Strengthened consistency data for export. PR: bfx-report#372
- Fixed pub-trade price lookup for the trx tax report. PR: bfx-reports-framework#390
- Fixed the tax report if bfx-api
pub-tradesendpoint does not return array. PR: bfx-reports-framework#396 - Prevented requests duplication on
Tax Reportrefreshing in some cases. PR: bfx-report-ui#833 - Fixed issue with showing the sync state in some cases when the scheduler launches the synchronization. PR: bfx-report-ui#835
- Fixed
disablingtheAuthenticatebutton during the2FAlogin flow to prevent the possibility of requests with the same token duplication and related errors. PR: bfx-report-ui#838
Security
- Added
dependabotconfig for the ability to open new PRs against thestagingbranch. Also bumpedpugversion to3.0.3to have a security improvement. PR: bfx-report#380 - Bumped
bracesfrom3.0.2to3.0.3. PR: bfx-report-ui#826
4.24.0
[4.24.0] - 2024-05-08
Added
- Added
3retries for the test run before it fails, increased timeouts for mocha hooks. PRs: bfx-report#368, bfx-report-electron#374, bfx-reports-framework#372, bfx-reports-framework#374 - Implemented the possibility to
Reset Column Widthsvia the context menu (right click) on column headers. PR: bfx-report-ui#808 - Implemented the possibility to customize (1-7 days range supported) authorization token TTL via the
Preferencesmenu in the app. PR: bfx-report-ui#809
Changed
- Disabled the
Changelogmenu option if the description of the current version is not available. PR: bfx-report-electron#373 - Enhanced
sub-accountledger balance recalc to prevent setting non-recalced balances. Preventedfunding tradessync issue whenendless thanstart. Related to this issue: bfx-report-electron#375. PR: bfx-reports-framework#375 - Enhanced default column widths calculation flow using dynamic calculated average and widths multipliers based on the column types. PR: bfx-report-ui#810
Security
- Resolved
dependabotdependency updates, bumpedejsfrom3.1.9to3.1.10. PR: bfx-report-ui#813