Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release version 4.15.0 #279

Merged
merged 7 commits into from
Nov 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,35 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [4.15.0] - 2023-11-29

### Added

- Added `Summary by Asset` section for the last 30 days on the new `Summary` for the `Reports` app. Added refreshing for all `Summary` sections on the `Filter` button click. PR: [bfx-report-ui#726](https://github.com/bitfinexcom/bfx-report-ui/pull/726)
- Added ability to sync daily `candles` once per day to reduce the number of sync requests to `BFX API` and as a result improve the situation with the `Rate Limit` restriction. PR: [bfx-reports-framework#334](https://github.com/bitfinexcom/bfx-reports-framework/pull/334)
- Added ability to reference specific user currencies when `candles` sync. The aim is to reduce the amount of requests to the `BFX 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 limit `20 reqs/min` instead of 30 to go through the `Rate Limit`. PR: [bfx-reports-framework#335](https://github.com/bitfinexcom/bfx-reports-framework/pull/335)

### Changed

- Set `10 reqs/min` for `BFX API` `trades` endpoint to help big users go through `Rate Limit` for the `Tax Report`. PR: [bfx-reports-framework#337](https://github.com/bitfinexcom/bfx-reports-framework/pull/337)
- Temporarily hidden `Unrealized Profit` selectors from the new app `Summary` and `Account Balance` reports. PR: [bfx-report-ui#730](https://github.com/bitfinexcom/bfx-report-ui/pull/730)
- Updated TW Translations. PR: [bfx-report-ui#734](https://github.com/bitfinexcom/bfx-report-ui/pull/734)
- Improved `Balance Change` representation in the `Summary by Asset` section. PR: [bfx-report-ui#736](https://github.com/bitfinexcom/bfx-report-ui/pull/736)

### Fixed

- Prevented throwing error when `GitHub` server can't respond to auto-update requests. It fixed the following issues: [bfx-report-electron#239](https://github.com/bitfinexcom/bfx-report-electron/issues/239), [bfx-report-electron#264](https://github.com/bitfinexcom/bfx-report-electron/issues/264). PR: [bfx-report-electron#265](https://github.com/bitfinexcom/bfx-report-electron/pull/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](https://github.com/bitfinexcom/bfx-report/pull/343)
- Fixed getting data from `BFX API` with undefined args. PRs: [bfx-report#344](https://github.com/bitfinexcom/bfx-report/pull/344), [lib-js-util-base#15](https://github.com/bitfinexcom/lib-js-util-base/pull/15)
- Fixed `BFX` auth token refreshing. PR: [bfx-reports-framework#336](https://github.com/bitfinexcom/bfx-reports-framework/pull/336)
- Fixed initial synchronization flow, improved data handling for `Summary` sections. PR: [bfx-report-ui#731](https://github.com/bitfinexcom/bfx-report-ui/pull/731)
- Fixed `candles/trades` requests duplication on `Candles` report refreshing. PR: [bfx-report-ui#732](https://github.com/bitfinexcom/bfx-report-ui/pull/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](https://github.com/bitfinexcom/bfx-report-ui/pull/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](https://github.com/bitfinexcom/bfx-report-ui/pull/727)

## [4.14.0] - 2023-11-01

### Added
Expand Down
2 changes: 1 addition & 1 deletion bfx-report-ui
Submodule bfx-report-ui updated 68 files
+4,472 −3,042 package-lock.json
+2 −2 package.json
+13 −1 public/locales/en/translations.json
+33 −33 public/locales/zh-TW/translations.json
+11 −9 src/components/AccountBalance/AccountBalance.js
+2 −2 src/components/AccountSummary/AccountSummary.feeTierVolume.js
+7 −8 src/components/AccountSummary/AccountSummary.js
+75 −0 src/components/AppSummary/AppSummary.byAsset.js
+208 −0 src/components/AppSummary/AppSummary.columns.js
+4 −0 src/components/AppSummary/AppSummary.container.js
+25 −84 src/components/AppSummary/AppSummary.fees.js
+35 −0 src/components/AppSummary/AppSummary.helpers.js
+39 −36 src/components/AppSummary/AppSummary.js
+9 −5 src/components/AppSummary/AppSummary.value.js
+152 −46 src/components/AppSummary/_AppSummary.scss
+1 −1 src/components/ErrorDialog/ErrorDialog.js
+5 −3 src/components/PublicTrades/PublicTrades.columns.js
+2 −3 src/components/SubAccounts/SubAccount/SubAccount.js
+3 −3 src/components/Trades/Trades.columns.js
+5 −1 src/state/accountBalance/saga.js
+2 −2 src/state/audit/reducer.js
+5 −1 src/state/auth/saga.js
+2 −2 src/state/base/saga.js
+1 −2 src/state/candles/saga.js
+2 −2 src/state/changeLogs/reducer.js
+2 −2 src/state/columns/selectors.js
+2 −2 src/state/derivatives/reducer.js
+2 −2 src/state/filters/reducer.js
+4 −5 src/state/filters/selectors.js
+2 −3 src/state/filters/utils.js
+2 −2 src/state/fundingCreditHistory/reducer.js
+2 −2 src/state/fundingLoanHistory/reducer.js
+2 −2 src/state/fundingOfferHistory/reducer.js
+2 −2 src/state/invoices/utils.js
+2 −2 src/state/ledgers/utils.js
+3 −3 src/state/logins/reducer.js
+2 −2 src/state/movements/reducer.js
+3 −3 src/state/orderTrades/reducer.js
+2 −2 src/state/orders/reducer.js
+2 −3 src/state/pagination/reducer.js
+2 −2 src/state/positions/reducer.js
+2 −2 src/state/publicFunding/reducer.js
+2 −2 src/state/publicTrades/reducer.js
+2 −0 src/state/reducers.js
+2 −2 src/state/routing/selectors.js
+3 −3 src/state/sagas.helper.js
+2 −0 src/state/sagas.js
+34 −0 src/state/summaryByAsset/actions.js
+6 −0 src/state/summaryByAsset/constants.js
+36 −0 src/state/summaryByAsset/reducer.js
+53 −0 src/state/summaryByAsset/saga.js
+15 −0 src/state/summaryByAsset/selectors.js
+8 −0 src/state/sync/actions.js
+2 −0 src/state/sync/constants.js
+7 −0 src/state/sync/reducer.js
+8 −8 src/state/sync/saga.js
+2 −0 src/state/sync/selectors.js
+2 −2 src/state/tickers/reducer.js
+2 −2 src/state/timeRange/reducer.js
+2 −2 src/state/trades/reducer.js
+2 −3 src/state/utils.js
+ src/styles/fonts/Roboto-Medium.woff2
+8 −0 src/styles/fonts/roboto.css
+4 −0 src/styles/index.scss
+1 −0 src/ui/Charts/Chart/Chart.js
+10 −2 src/ui/DataTable/DataTable.js
+1 −0 src/ui/SectionHeader/_SectionHeader.scss
+4 −5 src/utils/columns.js
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bfx-report-electron",
"version": "4.14.0",
"version": "4.15.0",
"repository": "https://github.com/bitfinexcom/bfx-report-electron",
"description": "Reporting tool",
"author": "bitfinex.com",
Expand Down
13 changes: 10 additions & 3 deletions src/error-manager/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -205,9 +205,16 @@ const initLogger = () => {
if (message.level === 'error') {
const error = message.data.join(os.EOL)

// Don't open a new issue when can't download differentially
// it would fallback to full download
if (/Cannot download differentially/gi.test(error)) {
/*
* Don't open a new issue when:
* - It can't download differentially it would fallback to full download
* - GitHub server can't respond to the auto-update requests
*/
if (
/Cannot download differentially/gi.test(error) ||
/ERR_CONNECTION_REFUSED/gi.test(error) ||
/objects\.githubusercontent\.com/gi.test(error)
) {
return message
}

Expand Down