odd-platform
odd-platform copied to clipboard
Bump @reduxjs/toolkit from 1.8.2 to 1.8.3 in /odd-platform-ui
Bumps @reduxjs/toolkit from 1.8.2 to 1.8.3.
Release notes
Sourced from @reduxjs/toolkit's releases.
v1.8.3
This bugfix release fixes a few minor issues and bits of behavior, including updating the React-Redux peer dep to
^8.0.2final, stable sorting increateEntityAdapter.updateManyand some initial state handling increateSlice.Changelog
React-Redux Peer Dep
We'd previously published an RTK build that accepted React-Redux v8 beta as a peer dep (for use with RTK Query). Since React-Redux v8 is out now, we've updated the peer dep to
^8.0.2.Entity Adapter Updates
Previously, applying updates via
createEntityAdapter.updateManycaused sorting order to change. Entities that had the same sorting result should have stayed in the same order relative to each other, but if one of those items had any updates, it would sort to the back of that group. This was due to items being removed from the lookup table and re-added, and since JS engines iterate keys in insertion order, the updated item would now end up compared later than before.We've reworked the implementation of
updateManyto avoid that. This also ended up fixing another issue where multiple update entries targeting the same item ID would only have the first applied.
createSliceInitial State
createSlicenow logs an error ifinitialStateisundefined. This is most commonly seen when users misspellinitialState. It also has better handling for values that can't be frozen by Immer such as primitives.RTK Query
Several assorted improvements, including TS types for
BaseQueryand checking if the body can actually be safely stringified.What's Changed
- Add Missing Else to enhanceEndpoints Function by
@kinsonin reduxjs/redux-toolkit#2386- Check initial state is draftable before using immer to freeze it. by
@EskiMojo14in reduxjs/redux-toolkit#2378- Check that body isJsonifiable before stringify by
@ShaunDychkoin reduxjs/redux-toolkit#2330- Respect BaseQuery meta types when enhancing by
@TamasSzigetiin reduxjs/redux-toolkit#2225- Throw new error when initial state is undefined by
@dannielssin reduxjs/redux-toolkit#2461- Rewrite
updateManyto ensure stable sorting order by@markeriksonin reduxjs/redux-toolkit#2464- Bump React-Redux peer dep by
@markeriksonin https://github.com/reduxjs/redux-toolkit/commit/3033a33c3dd2ad743f02a44603bc77174599eebcNew Contributors
Full Changelog: https://github.com/reduxjs/redux-toolkit/compare/v1.8.2...1.8.3
Commits
7f76635Release 1.8.33033a33Bump React-Redux peerdep to ^8.0.2720f143Merge pull request #2468 from reduxjs/revert-2465-feature/utils3da5d74Revert "Ensures there is no slash in url before query params"d63dad9Merge pull request #2458 from reduxjs/docs/ds2-21-updatesb959613🔀 Merge remote-tracking branch 'upstream/master' into docs/ds2-21-updates01cb9f4📝 Fix relative docs linksc057cd6📝 Swap ejectedDocPagefor wrappedDocPage/Layout/Mainb3d4d89Merge pull request #2465 from ygrishajev/feature/utilsa2e2e79Ensures there is no slash in url before query params- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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 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)
Test Results
32 files 32 suites 57s :stopwatch: 160 tests 160 :heavy_check_mark: 0 :zzz: 0 :x: 161 runs 161 :heavy_check_mark: 0 :zzz: 0 :x:
Results for commit ec1cab15.
Test Results
32 files 32 suites 58s :stopwatch: 160 tests 160 :heavy_check_mark: 0 :zzz: 0 :x: 161 runs 161 :heavy_check_mark: 0 :zzz: 0 :x:
Results for commit ec1cab15.
Test Results
32 files 32 suites 52s :stopwatch: 160 tests 160 :heavy_check_mark: 0 :zzz: 0 :x: 161 runs 161 :heavy_check_mark: 0 :zzz: 0 :x:
Results for commit ec1cab15.
Test Results
32 files 32 suites 39s :stopwatch: 160 tests 160 :heavy_check_mark: 0 :zzz: 0 :x: 161 runs 161 :heavy_check_mark: 0 :zzz: 0 :x:
Results for commit 2322a4ea.
Test Results
32 files 32 suites 39s :stopwatch: 160 tests 160 :heavy_check_mark: 0 :zzz: 0 :x: 161 runs 161 :heavy_check_mark: 0 :zzz: 0 :x:
Results for commit 2322a4ea.
Test Results
32 files 32 suites 56s :stopwatch: 160 tests 160 :heavy_check_mark: 0 :zzz: 0 :x: 161 runs 161 :heavy_check_mark: 0 :zzz: 0 :x:
Results for commit 2322a4ea.
Test Results
32 files 32 suites 46s :stopwatch: 160 tests 160 :heavy_check_mark: 0 :zzz: 0 :x: 161 runs 161 :heavy_check_mark: 0 :zzz: 0 :x:
Results for commit 6fef6401.
Test Results
32 files 32 suites 39s :stopwatch: 160 tests 160 :heavy_check_mark: 0 :zzz: 0 :x: 161 runs 161 :heavy_check_mark: 0 :zzz: 0 :x:
Results for commit 6fef6401.
Test Results
33 files 33 suites 45s :stopwatch: 182 tests 182 :heavy_check_mark: 0 :zzz: 0 :x: 205 runs 205 :heavy_check_mark: 0 :zzz: 0 :x:
Results for commit 79c48d46.
Test Results
33 files 33 suites 50s :stopwatch: 182 tests 182 :heavy_check_mark: 0 :zzz: 0 :x: 205 runs 205 :heavy_check_mark: 0 :zzz: 0 :x:
Results for commit 79c48d46.
Test Results
33 files 33 suites 1m 7s :stopwatch: 182 tests 182 :heavy_check_mark: 0 :zzz: 0 :x: 205 runs 205 :heavy_check_mark: 0 :zzz: 0 :x:
Results for commit 79c48d46.
Superseded by #916.