Closed renovate[bot] closed 3 months ago
Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 2.x
releases. But if you manually upgrade to 2.x
then Renovate will re-enable minor
and patch
updates automatically.
If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.
This PR contains the following updates:
1.9.7
->2.2.6
Release Notes
reduxjs/redux-toolkit (@reduxjs/toolkit)
### [`v2.2.6`](https://togithub.com/reduxjs/redux-toolkit/compare/v2.2.5...a9362fbcec6cb66bdb3e6dc52bbf3d69ea6f2b22) [Compare Source](https://togithub.com/reduxjs/redux-toolkit/compare/v2.2.5...v2.2.6) ### [`v2.2.5`](https://togithub.com/reduxjs/redux-toolkit/releases/tag/v2.2.5) [Compare Source](https://togithub.com/reduxjs/redux-toolkit/compare/v2.2.4...v2.2.5) This **bugfix release** fixes an issue in the recent `createEntityAdapter` sorting perf improvements that could (in specific cases) cause Immer to throw an error when trying to read a plain JS value instead of a proxy-wrapped value. #### What's Changed - Fix missed spot where use of `current` may fail if the value is not a draft by [@markerikson](https://togithub.com/markerikson) in [https://github.com/reduxjs/redux-toolkit/pull/4412](https://togithub.com/reduxjs/redux-toolkit/pull/4412) **Full Changelog**: https://github.com/reduxjs/redux-toolkit/compare/v2.2.4...v2.2.5 ### [`v2.2.4`](https://togithub.com/reduxjs/redux-toolkit/compare/v2.2.3...72b3ac65a2adc510280f19ec6689aebbf2bf1df4) [Compare Source](https://togithub.com/reduxjs/redux-toolkit/compare/v2.2.3...v2.2.4) ### [`v2.2.3`](https://togithub.com/reduxjs/redux-toolkit/releases/tag/v2.2.3) [Compare Source](https://togithub.com/reduxjs/redux-toolkit/compare/v2.2.2...v2.2.3) This minor release fixes the types for functions that accept a React Context instance to match the [changes in React Redux v9](https://redux-toolkit.js.org/usage/migrating-rtk-2#custom-context-typing). #### What's Changed - Update React Redux dependency to v9, and update docs to use `.withTypes` by [@aryaemami59](https://togithub.com/aryaemami59) in [https://github.com/reduxjs/redux-toolkit/pull/4308](https://togithub.com/reduxjs/redux-toolkit/pull/4308) **Full Changelog**: https://github.com/reduxjs/redux-toolkit/compare/v2.2.2...v2.2.3 ### [`v2.2.2`](https://togithub.com/reduxjs/redux-toolkit/releases/tag/v2.2.2) [Compare Source](https://togithub.com/reduxjs/redux-toolkit/compare/v2.2.1...v2.2.2) This patch release fixes an incorrect build setting for the `legacy-esm` artifacts, and fixes an issue with RTKQ query hooks didn't always remove the cache entries if arguments were changed rapidly. #### Changes ##### `legacy-esm` Artifact Transpilation The `legacy-esm` build artifacts are intended for use by Webpack 4. Those were *supposed* to be transpiled to target `"es2017"`, but were in fact still set to target `"esnext"` - an oversight during the 2.0 development cycle. This release fixes that setting, so those artifacts are now correctly transpiled. ##### Other Fixes RTKQ query hooks now handle additional actions around argument changes that should result in cache entries being removed. Additionally, 2.2.1 contained a fix to an incorrectly named type: `TypedUseMutationTrigger` is now `TypedMutationTrigger`. #### What's Changed - rename TypedUseMutationTrigger to TypedMutationTrigger, and add deprecated alias by [@EskiMojo14](https://togithub.com/EskiMojo14) in [https://github.com/reduxjs/redux-toolkit/pull/4204](https://togithub.com/reduxjs/redux-toolkit/pull/4204) - Fixed memory leak in rapid hook arg changing by [@riqts](https://togithub.com/riqts) in [https://github.com/reduxjs/redux-toolkit/pull/4268](https://togithub.com/reduxjs/redux-toolkit/pull/4268) - Fix incorrect legacy-esm target by [@markerikson](https://togithub.com/markerikson) in [https://github.com/reduxjs/redux-toolkit/pull/4284](https://togithub.com/reduxjs/redux-toolkit/pull/4284) **Full Changelog**: https://github.com/reduxjs/redux-toolkit/compare/v2.2.0...v2.2.2 ### [`v2.2.1`](https://togithub.com/reduxjs/redux-toolkit/compare/v2.2.0...v2.2.1) [Compare Source](https://togithub.com/reduxjs/redux-toolkit/compare/v2.2.0...v2.2.1) ### [`v2.2.0`](https://togithub.com/reduxjs/redux-toolkit/releases/tag/v2.2.0) [Compare Source](https://togithub.com/reduxjs/redux-toolkit/compare/v2.1.0...v2.2.0) This *minor release*: - Adds a second parameter to `entityAdapter.getInitialState(additionalProps, entities)` to allow prefilling state - Equivalent to `entityAdapter.setAll(entityAdapter.getInitialState(additionalProps), entities)` - First parameter can be `undefined` if no additional properties are desired - Allows initialising `combineSlices` with no static reducers - Previously `const combinedReducer = combineSlices().withLazyLoadedSlicesConfiguration
π Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
π¦ Automerge: Disabled by config. Please merge this manually once you are satisfied.
β» Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
π Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.