unifactory
unifactory copied to clipboard
build(deps-dev): bump @reduxjs/toolkit from 1.6.0 to 2.2.1
Bumps @reduxjs/toolkit from 1.6.0 to 2.2.1.
Release notes
Sourced from @reduxjs/toolkit
's releases.
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().withLazyLoadedSlices<LazyLoadedSlices>()
would have thrown an error- Now returns a "no-op" reducer that just returns an empty object until first reducer injected
- Allows a new
'throw'
value foroverrideExisting
ininjectEndpoints
, which throws an error if a definition is injected with a name which is already used- Exports more type helpers for RTKQ hook and trigger types
- Exports types related to overriding result types in
enhanceEndpoints
- Fixes state inference for injected slices when undeclared (i.e. not in
LazyLoadedSlices
)- Adds a
action.meta.arg.isPrefetch
value to query thunk actions when prefetchedWhat's Changed
- Revamp type tests setup by
@aryaemami59
in reduxjs/redux-toolkit#4095- Bump Prettier and Prettier related packages by
@aryaemami59
in reduxjs/redux-toolkit#4126- Fix codemods to work with TypeScript 4.7+ by
@aryaemami59
in reduxjs/redux-toolkit#4081- Export types related to overriding the result types by
@aryaemami59
in reduxjs/redux-toolkit#4134- Migrate type tests to Vitest by
@aryaemami59
in reduxjs/redux-toolkit#4127- Fix RetryOptions type test by flipping order by
@EskiMojo14
in reduxjs/redux-toolkit#4136- Format all files by
@aryaemami59
in reduxjs/redux-toolkit#4135- [Docs/Website] skipPollingIfUnfocused added to polling overview and query options by
@riqts
in reduxjs/redux-toolkit#4131- [Docs] Changed create.asyncThunk setup admonition to caution by
@riqts
in reduxjs/redux-toolkit#4150- Temporarily revert node-fetch bump until ESM issues are sorted by
@EskiMojo14
in reduxjs/redux-toolkit#4151- Contributing Markdown Refresh by
@itz-Me-Pj
in reduxjs/redux-toolkit#4139- investigate re-adding size limit action by
@EskiMojo14
in reduxjs/redux-toolkit#4083- Add size limit imports for more commonly used RTK exports by
@EskiMojo14
in reduxjs/redux-toolkit#4155- pure some things by
@EskiMojo14
in reduxjs/redux-toolkit#4157- cut back on suffixes tested for size by
@EskiMojo14
in reduxjs/redux-toolkit#4160- Incorrect builder method referenced by
@kantbtrue
in reduxjs/redux-toolkit#4161- Rename
cli.js
tocli.mjs
by@aryaemami59
in reduxjs/redux-toolkit#4169- Migrate Codegen OpenAPI's unit tests to Vitest by
@aryaemami59
in reduxjs/redux-toolkit#4137- Fix wrong state for injected slices when not declared via
withLazyLoadedSlices
by@aryaemami59
in reduxjs/redux-toolkit#4172- [Docs, createEntityAdapter API]: add missing setOne and setMany signature by
@kyselberg
in reduxjs/redux-toolkit#4173- Corrected the "Observing cache behaviour" example point no.4 by
@721-atikshaikh
in reduxjs/redux-toolkit#4174- feat: add isPrefetch property in query action by
@juliengbt
in reduxjs/redux-toolkit#4177- allow initialising combined slice reducer with no static slices by
@EskiMojo14
in reduxjs/redux-toolkit#4184- Create more Typed wrappers for RTKQ hook types by
@EskiMojo14
in reduxjs/redux-toolkit#4147- proposal fix for axios base query types by
@smff
in reduxjs/redux-toolkit#4186- Provide 'throw' option for
overrideExisting
by@ffluk3
in reduxjs/redux-toolkit#4189- Use vite-tsconfig-paths to make path aliasing easier by
@aryaemami59
in reduxjs/redux-toolkit#4175- Remove trailing commas in
tsconfig.json
files of all CodesandBox examples by@aryaemami59
in reduxjs/redux-toolkit#4190- [Docs] Added withTypes documentation in createDraftSafeSelector by
@riqts
in reduxjs/redux-toolkit#4143- Add second parameter to getInitialState to prefill entities by
@EskiMojo14
in reduxjs/redux-toolkit#4183New Contributors
@itz-Me-Pj
made their first contribution in reduxjs/redux-toolkit#4139@kantbtrue
made their first contribution in reduxjs/redux-toolkit#4161
... (truncated)
Commits
20df6f0
2.2.16f2d782
Merge pull request #4204 from reduxjs/typed-use-mutation-triggera131b32
fix imports and exports9a4cdaa
remove alias65d5a64
rename TypedUseMutationTrigger to TypedMutationTrigger, and add deprecated aliasd712ab3
Merge pull request #4202 from aryaemami59/bump-prettiera181a5c
Format all files0213df5
Removeoverrides
field in.prettierrc.json
f8683a6
Bump prettier for all packages34c3b5f
Merge pull request #4191 from reduxjs/update-entityadapter-docs- 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 rebase
will rebase this PR -
@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it -
@dependabot merge
will merge this PR after your CI passes on it -
@dependabot squash and merge
will squash and merge this PR after your CI passes on it -
@dependabot cancel merge
will cancel a previously requested merge and block automerging -
@dependabot reopen
will reopen this PR if it is closed -
@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot show <dependency name> ignore conditions
will show all of the ignore conditions of the specified dependency -
@dependabot ignore this major version
will 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 version
will 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 dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Dependabot can't resolve your JavaScript dependency files. Because of this, Dependabot cannot update this pull request.