Releases: bitfinexcom/bfx-report-electron
Releases · bitfinexcom/bfx-report-electron
4.24.0
[4.24.0] - 2024-05-08
Added
- Added
3
retries 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 Widths
via 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
Preferences
menu in the app. PR: bfx-report-ui#809
Changed
- Disabled the
Changelog
menu option if the description of the current version is not available. PR: bfx-report-electron#373 - Enhanced
sub-account
ledger balance recalc to prevent setting non-recalced balances. Preventedfunding trades
sync issue whenend
less 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
dependabot
dependency updates, bumpedejs
from3.1.9
to3.1.10
. PR: bfx-report-ui#813
4.23.0
[4.23.0] - 2024-04-17
Added
- Implemented
isStagingBfxApi
flag handling and showsStaging
prefix 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 Actions
setup-node
tov4
to prevent breaking changes in workflow. PRs: bfx-facs-db-better-sqlite#10, bfx-report#365, bfx-reports-framework#369 - Increased the inner
limit
for the BFX APItrades/{symbol}/hist
endpoint. It's useful for theTransaction Tax Report
in 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
auth
in 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
Reports
navigation menu representation. PR: bfx-report-ui#804
Fixed
- Fixed
action
prop passing for theWS
in case an error. PR: bfx-report-express#38
4.22.0
[4.22.0] - 2024-04-03
Added
- Implemented dynamic width support for the
Reports
tables according to: the tables should stretch and fill horizontally (width 100%). PR: bfx-report-ui#794 - Added
DMG
Mac 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
3
retries with a timeout10sec
if 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
serializedError
field 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
dependabot
dependency updates, bumpedfollow-redirects
from1.15.5
to1.15.6
,webpack-dev-middleware
from5.3.3
to5.3.4
,express
from4.18.2
to4.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
PDFBufferUnderElectronCreationError
error to use WebSockets to inform users for better UX. PRs: bfx-report#354, bfx-reports-framework#359 - Implemented support for
emitReportFileGenerationFailedToOne
ws 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
publicCollsConf
table 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 Actions
to use Nodejsv20
to 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
deprecated
reports 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 / Spot
section 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-log
lib. 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, usesloadFile
method of electron api instead ofbase64
encoding. 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
Ledgers
andTax 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
BFX
auth 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
Movements
report 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 History
section according to the latest UX improvement proposals. PR: bfx-report-ui#778 - Enhanced
loading
andno data
states representation for reports with tables. PR: bfx-report-ui#779 - Set
90sec
timeout for grc requests to have the same timeout as for api requests. PR: bfx-report#351 - Set
90sec
timeout forhtml-pdf
lib. 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
2FA
authorization 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:width
listeners 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 Manager
initialization. PR: bfx-report-ui#767 - Added an option to skip
Mac
build notarizing and signing when running manually. PR: bfx-report-electron#314
Changed
- Enhanced representation of the app
Summary
sections 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
/staging
is detected by existing thestaging
string in the restUrl config option:https://api-pub.bitfinex.com
/https://api.staging.bitfinex.com
. AndisStagingBfxApi
flag is set or updated onsignUp
/signIn
to theuser
table. Than,getUsers
endpoint will return theisStagingBfxApi
flag 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
parentCellHeight
related warnings for the several column configurations. PR: bfx-report-ui#749 - Fixes skipping publishing of artifact for
Mac
byelectron-builder
. The issue came from this PR ofelectron-builder
: electron-builder#7715. PR: bfx-report-electron#290
Security
- Replaced
Lodash
_isEqual
helper usage all across the app with the corresponding one from the internal library for security reasons. PR: bfx-report-ui#750 - Resolved
dependabot
dependency 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
start
param to theSummary by Asset
to 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 locked
andnetwork timeout
. PR: bfx-report-electron#285 - Implemented
ETH2P (ETH2Pending)
,ETH2R (ETH2Rewards)
andETH2U (ETH2Unstaking)
availability in theSymbol
selector. PR: bfx-report-ui#740 - Implemented dynamic selectable date range support for the
Summary by Asset
section. PR: bfx-report-ui#741 - Implemented representation of
Volume (eligible for fee tier calculation) in the last 30 days
in theAccount Fees
table of theSummary
page. PR: bfx-report-ui#743 - Implemented displaying the selected period as a subtitle in the
Summary by Asset
section. PR: bfx-report-ui#745
Changed
- Considered the requested
start
time point instead of the existing one in theledgers
for 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
Profits
column from theSummary by Asset
table temporally. PR: bfx-report-ui#744 - Actualized columns for the
Summary by Asset
section. PR: bfx-report-ui#746
Fixed
- Fixed
Account Balance
unrealized 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
max
andmin
utils from thelib-js-util-base
lib 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 Asset
section for the last 30 days on the newSummary
for theReports
app. Added refreshing for allSummary
sections on theFilter
button click. PR: bfx-report-ui#726 - Added ability to sync daily
candles
once per day to reduce the number of sync requests toBFX API
and as a result improve the situation with theRate Limit
restriction. PR: bfx-reports-framework#334 - Added ability to reference specific user currencies when
candles
sync. The aim is to reduce the amount of requests to theBFX API
candles 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/min
instead of 30 to go through theRate Limit
. PR: bfx-reports-framework#335
Changed
- Set
10 reqs/min
forBFX API
trades
endpoint to help big users go throughRate Limit
for theTax Report
. PR: bfx-reports-framework#337 - Temporarily hidden
Unrealized Profit
selectors from the new appSummary
andAccount Balance
reports. PR: bfx-report-ui#730 - Updated TW Translations. PR: bfx-report-ui#734
- Improved
Balance Change
representation in theSummary by Asset
section. PR: bfx-report-ui#736
Fixed
- Prevented throwing error when
GitHub
server 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 API
with undefined args. PRs: bfx-report#344, lib-js-util-base#15 - Fixed
BFX
auth token refreshing. PR: bfx-reports-framework#336 - Fixed initial synchronization flow, improved data handling for
Summary
sections. PR: bfx-report-ui#731 - Fixed
candles/trades
requests duplication onCandles
report 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
_get
helper 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 Actions
of thebfx-facs-db-better-sqlite
repo. 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
Tether
transactions in theMovements
report. PR: bfx-report-ui#721 - Implemented the possibility of submitting
username/password
andOTP
via theEnter
button during the2FA
sign-up flow. PR: bfx-report-ui#722
Changed
- Bumped
Electronjs
version up tov27
to have under hood Nodejsv18.17.1
, to have Nodejs version similar to UI build requirements. PR: bfx-report-electron#263 - Bumped
better-sqlite3
up to9.0.0
to have the ability to launch the DB driver on Nodejsv18.17.1
under electron env at leastv27
. PR: bfx-facs-db-better-sqlite#7 - Set the dependabot against the
stagin
branch to not trigger test-runner workflow
Fixed
- Fixed the
candles
sync 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/invalidateAuthToken
methods pass whole session object withsetInterval
id, 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-ui
repo. PR: bfx-report-ui#720
Security
- Removed
lodash
lib usage. PRs: bfx-report#340, bfx-reports-framework#328, bfx-report-ui#723