faro-web-sdk
faro-web-sdk copied to clipboard
chore(deps): bump @reduxjs/toolkit from 1.9.7 to 2.2.7
Bumps @reduxjs/toolkit from 1.9.7 to 2.2.7.
Release notes
Sourced from @reduxjs/toolkit's releases.
v2.2.7
This bugfix release fixes issues with "TS type portability" errors, improves build artifact tree shaking behavior, and exports some additional TS types.
Changelog
TS Type Portability
We've had a slew of issues reported around "TS type portability" errors, such as:
The error messages are typically along the lines of:
Type error: The inferred type of
'configureStore'cannot be named without a reference to'@reduxjs/toolkit/node_modules/redux'. This is likely not portable. A type annotation is necessary.
@aryaemami59did some deep investigation and concluded these were due to a mixture of usinginterfaceinstead oftypein most places, not pre-bundling our TS typedefs, and not exporting some of the unique symbols we use internally.Arya put together a highly detailed writeup and set of fixes in [ #4467: Fix: TypeScript Type Portability Issues](#4467), and that appears to resolve all of those issues we've seen. Thank you!
Other Changes
Arya also did significant work to improve RTK's treeshaking, tweaking internal definitions to let bundlers better separate out unused code.
We've exported additional types like
UpdateDefinitionsandRetryOptions, per request.
listenerMiddleware.withTypes()methods now allow passing in anExtraArgumentgeneric.What's Changed
- Fix: TypeScript Type Portability Issues by
@aryaemami59in reduxjs/redux-toolkit#4467- Export UpdateDefinitions from toolkit/query by
@joekrillin reduxjs/redux-toolkit#4519- feat: Adds ExtraArgument to withTypes for listenerMiddleware. by
@antondalgrenin reduxjs/redux-toolkit#4517- Improve treeshakeability of build artifacts by
@aryaemami59in reduxjs/redux-toolkit#4435- Export RetryOptions by
@markeriksonin reduxjs/redux-toolkit#4529Full Changelog: https://github.com/reduxjs/redux-toolkit/compare/v2.2.6...v2.2.7
v2.2.6
This bugfix release:
- Brings internal
useIsomorphicLayoutEffectusage in line with React Redux in React Native environments- Exports
FetchBaseQueryArgstype- Fixes an issue in recent
createEntityAdaptersorting perf improvements that could (in specific cases) cause Immer to throw an errorWhat's Changed
- Fix
useIsomorphicLayoutEffectusage in React Native environments by@aryaemami59in reduxjs/redux-toolkit#4436- Add export for FetchBaseQueryArgs by
@WilsonCWongin reduxjs/redux-toolkit#4465- Fix Immer current usage when calling addManyMutably more than once by
@JacobShaferin reduxjs/redux-toolkit#4420
... (truncated)
Commits
75b4f69Release 2.2.7dd3ef70Merge pull request #4529 from reduxjs/feature/2.3.0-types-exports70f627dExport RetryOptions6a3de08Merge pull request #4435 from aryaemami59/improve-treeshakeability8be6e5fMerge branch 'master' of https://github.com/reduxjs/redux-toolkit into improv...9e7e6f6Merge branch 'master' of https://github.com/reduxjs/redux-toolkit into improv...ee51d76Bumptsupto version 8.2.3ff6db42Bumptsupto version 8.2.220f579bBumptsupto version 8.2.0a1b4e80Bumptsupandesbuild- Additional commits viewable in compare view
You can trigger a rebase of this PR by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Note Automatic rebases have been disabled on this pull request as it has been open for over 30 days.