Releases: bitfinexcom/bfx-report-electron
Releases · bitfinexcom/bfx-report-electron
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
4.13.0
[4.13.0] - 2023-10-18
Added
- Added
test
runner andHTML report
maker workflows to the GitHub Actions which launch after creating PRs against themaster
branch. PRs: bfx-report#337, bfx-reports-framework#325, bfx-report-electron#259 - Implemented
Account Fees
,Account Value
andLEO level
sections on the newSummary
page, added minor styling adjustments. PR: bfx-report-ui#716
Security
- Removed
lodash
lib usage. PRs: bfx-report#336, bfx-report-ui#717, lib-js-util-base#6
4.12.0
[4.12.0] - 2023-10-04
Added
- Added ability to inform user that the
platform
is marked in themaintenance
mode byWebSocket
. PRs: bfx-report#331, bfx-reports-framework#321, bfx-api-mock-srv#56 - Added
Vietnamese
language. PRs: bfx-report-ui#711, bfx-report-ui#712
Changed
- Actualized synchronization progress handling flow according to the latest backend updates. PR: bfx-report-ui#710
Fixed
- Fixed
MaxListenersExceededWarning
for complicated csv reports using thetransform
csv stream waiting for writing to completeone by one
instead of pipelining all csv streamssimultaneously
. And it also fixedMaxListenersExceededWarning
for theprocess message manager
. PRs: bfx-report#333, bfx-reports-framework#322 - Fixed
Movements
extra info representation for fiat transfers. PR: bfx-report-ui#707
Security
- Removed
lodash
lib usage. PRs: bfx-report#332, bfx-facs-deflate#4, bfx-report-express#34, bfx-report-electron#255
4.11.0
[4.11.0] - 2023-09-20
Added
- Added ability to show success dialog for
CSV
exporting only after theemitCsvGenerationCompletedToOne
event was sent by the backend for better understanding by users when the exporting process actually completed. PR: bfx-report-ui#698 - Added the possibility of tweaking the ability to auto-start sync after the auto-update of the electron app via the
Preferences
menu:shouldNotSyncOnStartupAfterUpdate
flag received on sign in. PR: bfx-report-ui#699 - Implemented extra information handling and representation for the
Movements
report. PR: bfx-report-ui#702 - Implemented
LNX (LN-BTC)
availability in theSymbol
selector. PR: bfx-report-ui#703
Changed
- Decreased
candles
request limit to30 reqs/min
to preventRate Limit
restriction. PR: bfx-reports-framework#316 - Improved server availability error message to be persistent. PR: bfx-reports-framework#317
- Updated
Nodejs
tov18
inDocker
containers and fixes UI dependencies installation under container. PR: bfx-reports-framework#318 - Bumped
Electron
version up tov25
to have under hoodNodejs
v18
. PRs: bfx-report-electron#251, bfx-report-ui#701 - Prevented showing error modal dialog due to
inet
issue. When the sync starts we send a ping request toBFX API
to check that API is available. The idea is to not show error modal dialog for issues, just show error toast via UI when fetching the corresponding error with progress event via WS. PR: bfx-report-electron#252 - Reworked and enhanced
Columns
filter to display the actual selected filters quantity for better clearance to the users. Reworked refresh button representation according to the design updates. PR: bfx-report-ui#697 - Improved user notification when data should be synced. Implemented synchronization auto-initiation if not syncing at the moment. PR: bfx-report-ui#700
- Updated translations for UI. PR: bfx-report-ui#704
Fixed
- Bumped
better-sqlite3
driver up to8.6.0
to have this fix:random "database is locked" timeouts
better-sqlite3#597. And also to have the ability to launch the db driver onNodejs
v18
under Electron env. PR: bfx-facs-db-better-sqlite#6 - Fixed the
always-on-top
state for theloading
window. Commit: bfx-report-electron#251/commit#be0af27
4.10.0
Release [4.10.0] - 2023-08-23
Added
- Added currency lists for platform consistency. PRs: bfx-report#323, bfx-reports-framework#310, bfx-report-ui#688
- Added support to DB migration for
temp
tables,temp
tables will be removed for the non-completed sync if DB schema is changed. PR: bfx-reports-framework#311 - Added ability to overwrite
RPC
timeout to havehttpRpcTimeout
andwsRpcTimeout
options that can be overwritten in the electron environment to10mins
for complicated reports which can have a lot of internal calls to theBFX API
that can take significant time. It fixed the following issues: bfx-report-electron#238, bfx-report-electron#240, bfx-report-electron#241. PRs: bfx-report-express#31, bfx-report-electron#242 - Implemented colored displaying on mobiles
amounts
,volumes
, etc, the same way as on the desktop for better readability. PR: bfx-report-ui#691
Changed
- Improved tables representation according to the latest design updates. PR: bfx-report-ui#682
- Enhanced
Reports
filter panels representation. PR: bfx-report-ui#693
Fixed
- Fixed the error message of the
json rpc
response. The idea is to have extra data in case we catch an error fromBFX API
side and on the UI use a transparent error message which can containBFX API
error reasons. PRs: bfx-report#327, bfx-report-ui#692 - Fixed notifications positioning on page scrolling: When setting Table Scroll is turned off, the results of using
Sum
can appear below or above the part of the table that's currently visible. Fixed to be anchored to a specific part of the currently visible screen rather than a specific point in the table. PR: bfx-report-ui#686 - Fixed redundant
getUsers
calls for the hosted version. PR: bfx-report-ui#689 - Fixed issue with crashing
Change Logs
report when users remove the2FA
option from their account. PR: bfx-report-ui#690
4.9.3
[4.9.3] - 2023-08-09
Fixed
- Fixed
start
timestamp ofBFX API
queries to be at leastDate.UTC(2013)
=1356998400000
ms. The issue is the following: some restrictions of theBFX API
are changed for theFunding Credits History
, if we setstart: 0
throwsInternal Server Error
from theAPI
side. It's an issue for thesync
mode (as we start syncing with0
) and setting the default value for requests. PRs: bfx-report#324, bfx-reports-framework#307