Summary
This release includes substantial performance improvements by Martin Stone around how PD Live implements, handles and queues async requests, as well as terminating running async requests in response to the incident query being changed. The connection status beacon now shows the number of waiting and running async requests being made to the PagerDuty REST API. It also adds a configurable "API Call Rate Limit" to the Settings menu.
Details of async request improvements
- switch back to pdParallelFetch for getIncidents in redux/incidents/sagas to improve performance and stop making too many requests
- get rid of useless nested loop in pdParallelFetch (my bad)
- use throttledPdAxiosRequest in pdParallelfetch
- re-filter the list of incidents in refreshIncidents to stop making too many calls for notes and alerts
- set more sensible Bottleneck defaults (200/min instead of 1900/min)
- added API call rate limit (100-2000) as a user configurable setting
- stop truncating the incidents list to max incidents limit (no need to do this when we rate limit appropriately)
- change the query settings modal to warn that fetching will be slow instead of saying only X incidents will be retrieved
- abort any in-flight notes and alerts requests when getting or refreshing incidents
- show the number of queued and running API calls in the status beacon tooltip
- #357 Add Português and Português (Brasil) translations
- Many dependency updates
What's Changed
- Bump loader-utils from 1.4.0 to 1.4.1 by @dependabot in #352
- Bump @cypress/webpack-dev-server from 2.5.0 to 3.1.0 by @dependabot in #355
- Bump @wojtekmaj/enzyme-adapter-react-17 from 0.6.7 to 0.8.0 by @dependabot in #354
- Bump @cypress/react from 6.2.1 to 7.0.1 by @dependabot in #360
- Bump loader-utils from 1.4.1 to 1.4.2 by @dependabot in #358
- [Enhancement] Add Português and Português (Brasil) translations by @gsreynolds in #357
- Bump @datadog/browser-rum from 4.23.1 to 4.24.1 by @dependabot in #368
- Bump @craco/craco from 7.0.0-alpha.3 to 7.0.0 by @dependabot in #372
- Bump web-vitals from 3.0.4 to 3.1.0 by @dependabot in #370
- Bump cy2 from 3.1.7 to 3.2.0 by @dependabot in #371
- Bump prettier from 2.7.1 to 2.8.0 by @dependabot in #376
- Bump @datadog/browser-rum from 4.24.1 to 4.25.0 by @dependabot in #373
- [Snyk] Upgrade autoprefixer from 10.4.12 to 10.4.13 by @snyk-bot in #369
- Bump use-debounce from 8.0.4 to 9.0.2 by @dependabot in #381
- Bump axios from 1.1.3 to 1.2.1 by @dependabot in #383
- Bump @datadog/browser-rum from 4.25.0 to 4.26.0 by @dependabot in #384
- Bump i18next-parser from 6.6.0 to 7.0.3 by @dependabot in #375
- Bump i18next-parser from 7.0.3 to 7.1.0 by @dependabot in #389
- [Snyk] Upgrade @braintree/sanitize-url from 6.0.0 to 6.0.2 by @giranm in #392
- Bump cy2 from 3.2.0 to 3.4.3 by @dependabot in #388
- Bump react-select from 5.6.0 to 5.7.0 by @dependabot in #385
- Bump @datadog/browser-rum from 4.26.0 to 4.28.0 by @dependabot in #393
- Bump react-i18next from 12.0.0 to 12.1.1 by @dependabot in #396
- Bump react-dual-listbox from 3.0.1 to 4.0.0 by @dependabot in #395
- Bump i18next from 22.0.4 to 22.4.5 by @dependabot in #394
- Bump wait-on from 6.0.1 to 7.0.1 by @dependabot in #402
- Bump cypress-fail-fast from 5.0.1 to 7.0.0 by @dependabot in #397
- Bump @cypress/webpack-dev-server from 3.1.0 to 3.2.2 by @dependabot in #411
- Bump eslint-config-prettier from 8.5.0 to 8.6.0 by @dependabot in #410
- Bump i18next-parser from 7.1.0 to 7.2.0 by @dependabot in #414
- Bump react-i18next from 12.1.1 to 12.1.4 by @dependabot in #418
- Bump eslint-plugin-jsx-a11y from 6.6.1 to 6.7.0 by @dependabot in #422
- Bump eslint-plugin-react from 7.31.8 to 7.32.1 by @dependabot in #430
- Bump eslint-plugin-import from 2.26.0 to 2.27.5 by @dependabot in #429
- Bump json5 from 1.0.1 to 1.0.2 by @dependabot in #417
- Revert "Bump json5 from 1.0.1 to 1.0.2" by @giranm in #434
- [Snyk] Upgrade axios from 1.2.1 to 1.2.2 by @giranm in #436
- Bump i18next-parser from 7.2.0 to 7.6.0 by @dependabot in #433
- Bump use-debounce from 9.0.2 to 9.0.3 by @dependabot in #431
- [Snyk] Upgrade i18next from 22.4.5 to 22.4.8 by @snyk-bot in #438
- [Snyk] Upgrade @datadog/browser-rum from 4.28.0 to 4.29.0 by @snyk-bot in #439
- Bump @cypress/webpack-dev-server from 3.2.2 to 3.2.3 by @dependabot in #440
- Bump @datadog/browser-rum from 4.28.0 to 4.32.1 by @dependabot in #443
- Bump http-cache-semantics from 4.1.0 to 4.1.1 by @dependabot in #444
- Bump react-datepicker from 4.8.0 to 4.10.0 by @dependabot in #448
- [Snyk] Upgrade immer from 9.0.15 to 9.0.18 by @giranm in #445
- Bump redux from 4.2.0 to 4.2.1 by @dependabot in #446
- Bump react-i18next from 12.1.4 to 12.1.5 by @dependabot in #447
- many fixes for async requests behavior by @martindstone in #453
- [Release] v0.6.0 beta.0 by @gsreynolds in #456
Full Changelog: v0.5.1-beta.0...v0.6.0-beta.0