4.25.0
·
490 commits
to master
since this release
[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