Releases: bitfinexcom/bfx-report-electron
Releases · bitfinexcom/bfx-report-electron
4.31.0
[4.31.0] - 2024-12-04
Added
- Added translation support to the
export-db
module. PR: bfx-report-electron#441 - Added translation support to the
import-db
module. PR: bfx-report-electron#442 - Added
progress
perc to theloading window
for theexport-db
module as it can take significant time for large DB. PR: bfx-report-electron#445 - Added
progress
perc to theloading window
for theimport-db
module as it can take significant time for large DB. bfx-report-electron#449 - Added translation support to the
remove-db
module. PR: bfx-report-electron#450 - Added translation support to the
manage-worker-messages
module. Add translation support to thebackup-db
andmigration-db
modules. Fixed showing modal dialogs in sequence. PR: bfx-report-electron#456 - Added translation support to the
show-about-modal-dialog
module. 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
TimeRangePreservePref
component 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
language
schema param check and addeden
fallback language to prevent returning the translation keykey.nestedKey.etc
if a value is missing for a certain language and added the ability to try to take one from the defaulten
translation file. PR: bfx-report#415
Fixed
- Fixed docker desktop container user permissions breaks. Fixed
chown
:changing ownership of 'path-to-file': Operation not permitted
when 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 Assets
section for the webAccount Summary
page. Improved sections titles styling. PR: bfx-report-ui#880 - Implemented
UI
language selection binding withElectronJS
wrapper. 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 manager
module. PR: bfx-report-electron#428 - Added translation support to the
native notifications
module. PR: bfx-report-electron#429 - Added translation support to the
auto-updater
module. PRs: bfx-report-electron#430, bfx-report-electron#438 - Added translation support to the
restore DB
module. PR: bfx-report-electron#431 - Added translation support to the
show-docs
module, and added the ability to set themarkdown
user manual with different languages intoi18next
(if doc for the corresponding lang does not exist takesen
by default). PR: bfx-report-electron#434 - Added translation support to the
print-to-pdf
module. PR: bfx-report-electron#435 - Added translation support to the
change-reports-folder
module. PR: bfx-report-electron#436 - Added translation support to the
change-sync-frequency
module. PR: bfx-report-electron#437 - Added translation support to the
enforce-macos-app-location
module. 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.etc
if a value is missing for a certain language and added the ability to try to take one from the defaulten
translation file. PR: bfx-report-electron#426 - Reworked
sed
commands to be able to run the buildbash
scripts on both OSsUbuntu
andMacOS
as they have slightly different implementation. PR: bfx-report-electron#427
Fixed
- Fixed
2FA
login flow to prevent the token request duplication possibility noted in some user scenarios. PR: bfx-report-ui#881 - Fixed issue with
Wine
to buildWindows
release under container. PR: bfx-report-electron#425 - Fixed loading UI fonts to all modal windows. PR: bfx-report-electron#432
Security
- Bumped
cookie
from0.6.0
to0.7.1
,express
from4.21.0
to4.21.1
. PR: bfx-report-ui#879 - Bumped
electron
from27.3.11
to27.3.5
. PR: bfx-report-electron#424
4.29.0
[4.29.0] - 2024-10-16
Added
- Implemented
Active Positions
section on the appSummary
page. PR: bfx-report-ui#873 - Added
Active Positions
section to the webAccount Summary
page. PR: bfx-report-ui#874 - Improved
fallback
languages 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
ColumnsSelectDialog
in a more performant way and improved props linting. PR: bfx-report-ui#868 - Moved
Account Fees
below other sections on the appSummary
page. PR: bfx-report-ui#871 - Reworked and optimized the
Account Balance
section in a more performant way and reduced redundant code. PR: bfx-report-ui#872 - Actualized assets section title/subtitle on the
Summary
page, improved currencies formatting. PR: bfx-report-ui#875 - Improved fetching
opened positions
for the ending point of thebalance
report. 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 positions
consideration inbalances
andwin/loss
reports. PR: bfx-reports-framework#420 - Updated
macOS
onGH Actions
from12
to15
due to caught warning on the last release: https://github.com/bitfinexcom/bfx-report-electron/actions/runs/11010191592. PR: bfx-report-electron#413 - Fixed
dotenv
importing forprod
env. PR: bfx-report-electron#414 - Fixed
Docker
container preparation for release building. PR: bfx-report-electron#417
Security
- Bumped
rollup
from2.79.1
to2.79.2
. PR: bfx-report-ui#870 - Bumped
express
from4.18.2
to4.21.0
,ws
from8.2.3
to8.18.0
,grenache-nodejs-http
from0.7.12
to0.7.13
,grenache-nodejs-link
from0.7.12
to1.0.0
. PR: bfx-report-express#42
4.28.0
[4.28.0] - 2024-09-25
Added
- Implemented dynamic height calculation for the
Concentration Risk
pie chart to prevent overflow issues possibility spotted in some cases. PR: bfx-report-ui#859 - Implemented
Last Sync time
handling and representation (approximately in hours) for theReports
. PR: bfx-report-ui#863 - Implemented
Profits
section (port of theWin/Loss
chart with several predefined parameters) on the appSummary
page. Removed charts smoothness for better precision. PR: bfx-report-ui#864 - Added logic to have separated translations by language in
JSON
files usingi18next
lib 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
/Terraform
deployment, fixedhtml-pdf
module usage under Docker container with using docker container based on theDebian
image to makehtml-pdf
module 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-regexp
from1.8.0
to1.9.0
,express
from4.19.2
to4.21.0
. PR: bfx-report-ui#858
4.27.0
[4.27.0] - 2024-09-11
Added
- Added
DNS
availability error processing:net::ERR_NAME_NOT_RESOLVED
. PR: bitfinexcom/bfx-report#395 - Added
socket hang up
error processing asENet
error. PR: bfx-report#396 - Added common net
net::ERR_
error processing asENet
error. 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
Cancel
the generation process for the tax report. PR: bfx-report-ui#854
Changed
- Improved the interruption flow of getting data from the
BFX API
for 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
cloneDeep
fn 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
Summary
section spacing. PR: bfx-report-ui#853
Fixed
- Fixed
node-fetch
timeout error processing for slow network connection. PR: bfx-report#398
Security
- Bumped
webpack
from5.90.0
to5.94.0
,axios
from1.6.7
to1.7.4
. PR: bfx-report-ui#851
4.26.0
[4.26.0] - 2024-08-28
Added
- Added ability to send
IPC
messages 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
sync
is 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
Logins
andChange Logs
reports column configuration getters and reduced redundant code. PR: bfx-report-ui#840 - Reworked and optimized the
TimeFrameSelector
component 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 Averages
andConcentration Risk
reports. PR: bfx-report-ui#842 - Reworked and optimized
LedgersCategorySelect
in a more concise and performant way. PR: bfx-report-ui#843 - Reworked and optimized
Movements
,Trades
,Orders
andPositions
reports column configuration getters. Implemented unifiedgetFeeCell
andgetActionCell
helpers for better reusability. PR: bfx-report-ui#844 - Reworked
CandlesTimeframe
in a more performant way and improved props linting. PR: bfx-report-ui#845 - Enhanced and unified
Snapshots
sections 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
/editAllPublicCollsConfs
ones 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
ENet
error 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
6
retries with10sec
delay for gettingpub-trades
if 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-trades
fn of the transaction tax report. PR: bfx-reports-framework#388 - Added ability to select
EXCHANGE
trades for the trx tax report. PR: bfx-reports-framework#389 - Added
_isInvoicePayOrder
,_isAirdropOnWallet
,_isMarginFundingPayment
,_isAffiliateRebate
,_isStakingPayments
ledgers 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
IPC
messages 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 Limit
orcool down
due toRate Limit
for 1min occurs, it needs to provide a feature to interrupt the tax report and sync being processed. PR: bfx-report#373 - Added
TRY
to the FOREX ccy list. PR: bfx-report#377 - Added
CSV
/PDF
formatter for the tax reportsource
field to follow the UI view, eg showAIRDROP_ON_WALLET
asAirdrop on wallet
. PR: bfx-report#381 - Added
source
field toCSV
/PDF
of 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
Disclaimer
message for the newTax Report
. PR: bfx-report-ui#831 - Implemented
Source
column representation for the new Tax Report and formatted likeAirdrop on wallet
. PR: bfx-report-ui#836 - Implemented generation
progress
representation for the newTax Report
. Implemented notification onTax Report
generation 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
CollapsedTable
component. PR: bfx-report-ui#815 - Reworked and optimized
Spot
report column configuration getters. PR: bfx-report-ui#817 - Refactored and optimized the
DateFormatSelector
component. 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
LangMenu
component 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 Earnings
andAffiliates Earnings
reports configuration getters. PR: bfx-report-ui#821 - Reworked and optimized the
Export
menu toggler component in a more performant way and reduces redundant code. PR: bfx-report-ui#822 - Reworked and optimized
Public Trades
,Public Funding
andDerivatives
reports column configuration getters. Implemented unifiedformatType
utility for better reusability. PR: bfx-report-ui#823 - Reworked and optimized the
NavSwitcher
component and improved props linting. PR: bfx-report-ui#824 - Reworked and optimized
Invoices
report columns configuration getters. Implemented unifiedgetLinkCell
andgetJsonFormattedCell
utilities for better reusability. PR: bfx-report-ui#827 - Reworked and optimized the
ShowMilliseconds
component in a more performant way and reduces redundant code. PR: bfx-report-ui#828 - Prevented the
Tax Report
loading state still active in cases when theemitTrxTaxReportGenerationInBackgroundToOne
event returns anerror
during 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-trades
endpoint does not return array. PR: bfx-reports-framework#396 - Prevented requests duplication on
Tax Report
refreshing 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
disabling
theAuthenticate
button during the2FA
login flow to prevent the possibility of requests with the same token duplication and related errors. PR: bfx-report-ui#838
Security
- Added
dependabot
config for the ability to open new PRs against thestaging
branch. Also bumpedpug
version to3.0.3
to have a security improvement. PR: bfx-report#380 - Bumped
braces
from3.0.2
to3.0.3
. PR: bfx-report-ui#826
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