kryptovero.github.io
kryptovero.github.io copied to clipboard
Bump @reduxjs/toolkit from 1.9.7 to 2.1.0
Bumps @reduxjs/toolkit from 1.9.7 to 2.1.0.
Release notes
Sourced from @reduxjs/toolkit's releases.
v2.1.0
This minor release:
- adds withTypes methods to
listenerMiddlewareandcreateDraftSafeSelector- adds a
skipPollingIfUnfocusedoption to RTK Query- adds the ability to customise the
createSelectorinstance used by RTK Query- reworks slice selector logic to avoid depending on
thisvalue- fixes the order and inference of
create.asyncThunktype parameters- fixes requirements for meta fields returned from
queryFns- marks promises that will never reject as safe, in preparation for typescript-eslint/typescript-eslint#7008
What's Changed
- Update docs to avoid circular type by
@EskiMojo14in reduxjs/redux-toolkit#3948- Copy "Migrating to Modern Redux" and "RTK is Redux" docs from core site by
@markeriksonin reduxjs/redux-toolkit#3956- Fix store path rtk-query pokemon api tutorial by
@suspiciousRaccoonin reduxjs/redux-toolkit#3611- tweak RTKQ without hooks section, and add note regarding memoization by
@EskiMojo14in reduxjs/redux-toolkit#3963- Add section regarding overriding deps by
@EskiMojo14in reduxjs/redux-toolkit#3968- Add section re: RR custom context typing change by
@EskiMojo14in reduxjs/redux-toolkit#3995- Add Expo demo app to CI workflow by
@aryaemami59in reduxjs/redux-toolkit#3985- docs: fix a typo in queries markdown file by
@fatihgncin reduxjs/redux-toolkit#4013- Preserve nullable store state type by avoiding intersection with {} by
@EskiMojo14in reduxjs/redux-toolkit#4011- Upgrade version of "graphql-request" by
@phryneasin reduxjs/redux-toolkit#4026- [graphql-request-base-query] update RTK peerDependency by
@phryneasin reduxjs/redux-toolkit#4027- fix: improve selectFromResult memoization by
@thisjeremiahin reduxjs/redux-toolkit#4029- Rename "createSliceWithThunks" and "createThunkSlice" to "createAppSlice" by
@EskiMojo14in reduxjs/redux-toolkit#4035- Bump Vitest to latest version by
@aryaemami59in reduxjs/redux-toolkit#4047- fix inference and order of async thunk generics by
@EskiMojo14in reduxjs/redux-toolkit#4061- Fix markdown links on Next.js page by
@DmitryScalettain reduxjs/redux-toolkit#4069- Introduce pre-typed listener middleware via
listenerMiddleware.withTypes<RootState, AppDispatch>()method by@aryaemami59in reduxjs/redux-toolkit#4049- Add
.withTypestocreateDraftSafeSelectorby@aryaemami59in reduxjs/redux-toolkit#4080- Task/remove all settled by
@bever1337in reduxjs/redux-toolkit#3917- Allow customising createSelector instance used by RTKQ by
@EskiMojo14in reduxjs/redux-toolkit#4048- cacheLifecycle fix for fixedCacheKey in mutationThunk by
@riqtsin reduxjs/redux-toolkit#4082- avoid relying on
thisin createSlice by@EskiMojo14in reduxjs/redux-toolkit#4071- documentation: fix grammar in redux and redux toolkit comparison by
@untilhamzain reduxjs/redux-toolkit#4086- Update
tsconfig.typetests.jsonto include all TS files by@aryaemami59in reduxjs/redux-toolkit#4091- Remove abort event listner for AbortController by
@Fongerin reduxjs/redux-toolkit#3951- Docs: unused value 'isRejected' in code snippet by
@alphonsotranin reduxjs/redux-toolkit#3301- fix/kitchen-sink-isAuthenticated: fixed isAuthenticated state change on login fullfilled by
@shrijan00003in reduxjs/redux-toolkit#3588- Fix
composeWithDevToolsspy by@aryaemami59in reduxjs/redux-toolkit#4093- require queryFn meta to match base query by
@EskiMojo14in reduxjs/redux-toolkit#4098- Added 'SafePromise' branded Promises for createAsyncThunk by
@JoshuaKGoldbergin reduxjs/redux-toolkit#4102- Add React Native demo app to CI workflow by
@aryaemami59in reduxjs/redux-toolkit#3984- Modernize unit test setup by
@aryaemami59in reduxjs/redux-toolkit#4114- Add missing reducer field to ConfigureStoreOptions docs by
@nickgirardoin reduxjs/redux-toolkit#4116- Option for queries to pause polling when unfocused by
@riqtsin reduxjs/redux-toolkit#4055New Contributors
@suspiciousRaccoonmade their first contribution in reduxjs/redux-toolkit#3611@fatihgncmade their first contribution in reduxjs/redux-toolkit#4013@thisjeremiahmade their first contribution in reduxjs/redux-toolkit#4029
... (truncated)
Commits
f5b07febump RTK to 2.1.0bb28db3Merge pull request #4055 from riqts/Pause-Polling-When-Unfocused8cbf2a1skipPollOnFocused lost to skipPollingIfUnfocused and yarn format4ae5a9bPolling skipPollOnFocusLost behavior changed to skip if any subscription has ...e676ee8Removed redundant createListenerMiddleware from testsb9d37c3changed polling test name to represent actual behaviour65b448fUpdate skipPollOnFocusLost to use listenerMiddleware823c3b7Format skipPollOnFocusLost test65a6ae3Added mockClear() to mockBaseQuery in failing teste7fce61Add tests for 'skipPollOnFocusLost' option- Additional commits viewable in compare view
Maintainer changes
This version was pushed to npm by phryneas, a new releaser for @reduxjs/toolkit since your current version.
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 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)