Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Bump immer and @reduxjs/toolkit #5

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 10, 2023

Bumps immer to 9.0.17 and updates ancestor dependency @reduxjs/toolkit. These dependencies need to be updated together.

Updates immer from 8.0.1 to 9.0.17

Release notes

Sourced from immer's releases.

v9.0.17

9.0.17 (2023年01月02日)

Bug Fixes

v9.0.16

9.0.16 (2022年10月22日)

Bug Fixes

  • protect isDraftable against undefined constructor (#969) (ced4563)

v9.0.15

9.0.15 (2022年06月13日)

Bug Fixes

  • Add "types" to exports for TypeScript 4.7 (#946) (85ce6b7)

v9.0.14

9.0.14 (2022年05月12日)

Bug Fixes

  • Use .esm.js module for backwards compatibility with old build tools (#939) (d30d219)

v9.0.13

9.0.13 (2022年05月11日)

Bug Fixes

  • consistent recipe return type in produceWithPatches (#934) (220d61d)
  • incorrect return type for async produceWithPatches (#933) (9f7623d)

v9.0.12

9.0.12 (2022年01月11日)

Bug Fixes

  • produceWithPatches should not wrap result in Immutable, fixes #850, #881 (d8f2636)

v9.0.11

... (truncated)

Commits
  • 07f5cc9 chore(test): fix production build unit tests
  • ca18dd6 chore(test): fix unit test for 0 vs -0 and clarify
  • 6ec0106 chore(deps): bump eventsource from 1.0.7 to 1.1.2 in /website (#986)
  • 21eeac5 chore(deps): bump terser from 4.6.3 to 4.8.1 (#961)
  • 2eba4cf chore(deps): bump prismjs from 1.25.0 to 1.27.0 in /website (#911)
  • 49f94e1 chore: typo dormal -> normal (#910)
  • 2a548fb chore(deps): bump follow-redirects from 1.14.5 to 1.14.8 in /website (#904)
  • 655ad76 chore(deps): bump shelljs from 0.8.3 to 0.8.5 (#894)
  • 5721bb7 fix: special case NaN in setter (#912)
  • 8aac6ca chore: fix build / test issue
  • Additional commits viewable in compare view

Updates @reduxjs/toolkit from 1.5.1 to 1.9.1

Release notes

Sourced from @​reduxjs/toolkit's releases.

v1.9.1

This bugfix release fixes assorted issues that were reported with RTK 1.9.0, and adds a few additional requested tweaks and improvements.

Changelog

Fixes

The createAsyncThunk.withTypes function was fully broken (it type-checked correctly, but pointed to the wrong function due to a name shadowing issue). That now works correctly.

The maxRetries option for RTKQ was inadvertently filtering out 0 values, and those are now accepted.

fulfillWithValue had incorrect types that made it appear as if the data was nested an additional level deeper. The types are now correct.

The ActionCreatorWithoutPayload type was tweaked to force an error when an action creator is accidentally called with an argument, which happens in cases like onClick={todoAdded}. This avoids accidentally passing values like React event objects as the payload.

Timer handling for batchActions and autoBatchEnhancer now works in more JS runtime environments.

Other Changes

The TagDescription type is now exported from RTKQ.

API endpoints now have a .name field containing the endpoint name, such as "getPokemon".

Calling promise.abort() on a createAsyncThunk promise before an async condition resolves will now be treated as if the condition itself returned false, bailing out and not dispatching anything.

The merge option now receives a third argument containing {arg, baseQueryMeta, fulfilledTimeStamp, requestId}, in case that info is useful in deciding how to merge.

The @reduxjs/rtk-codemods package has been updated to fix cases where the createSliceBuilder codemod didn't preserve fields with function variable arguments, like [todoAdded]: adapter.addOne. That package has been updated to v0.0.3.

What's Changed

Full Changelog: reduxjs/redux-toolkit@v1.9.0...v1.9.1

v1.9.0

This feature release adds several new options for RTK Query's createApi and fetchBaseQuery APIs, adds a new upsertQueryData util, rewrites RTKQ's internals for improved performance, adds a new autoBatchEnhancer, deprecates the "object" syntax for createReducer and createSlice.extraReducers, deprecates and removes broken utils for getting running query promises, improves TS inference, exports additional types, and fixes a number of reported issues.

npm i @reduxjs/toolkit@latest
yarn add @​reduxjs/toolkit@​latest
</tr></table>

... (truncated)

Commits
  • a87a1ba Release 1.9.1
  • a7ceaa2 Merge pull request #2965 from reduxjs/feature/1.9.1-more-fixes
  • eaf7d5e Pass additional metadata to merge
  • 90ff485 Treat thunk abort signal the same as a false condition result
  • 87bebec Merge pull request #2881 from kyletsang/fix-createslicebuilder-codemod
  • b319c41 Merge pull request #2888 from reduxjs/issues/2886
  • a56a194 Merge pull request #2964 from reduxjs/feature/1.9.1-ts-fixes
  • ce9e05d Expose endpoints.someEndpoint.name field
  • 90283e9 Ensure void action creators can't be passed as event handlers
  • 56ed8a4 Export TagDescription type
  • 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 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 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 use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps [immer](https://github.com/immerjs/immer) to 9.0.17 and updates ancestor dependency [@reduxjs/toolkit](https://github.com/reduxjs/redux-toolkit). These dependencies need to be updated together.
Updates `immer` from 8.0.1 to 9.0.17
- [Release notes](https://github.com/immerjs/immer/releases)
- [Commits](immerjs/immer@v8.0.1...v9.0.17)
Updates `@reduxjs/toolkit` from 1.5.1 to 1.9.1
- [Release notes](https://github.com/reduxjs/redux-toolkit/releases)
- [Commits](reduxjs/redux-toolkit@v1.5.1...v1.9.1)
---
updated-dependencies:
- dependency-name: immer
 dependency-type: indirect
- dependency-name: "@reduxjs/toolkit"
 dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jan 10, 2023
Copy link

vercel bot commented Jan 10, 2023
edited
Loading

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
react-redux-todo-app ✅ Ready (Inspect) Visit Preview Jan 10, 2023 at 5:36PM (UTC)

@codebucks27 codebucks27 merged commit 1316438 into main Jan 10, 2023
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/immer-and-reduxjs/toolkit-9.0.17 branch January 10, 2023 17:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

AltStyle によって変換されたページ (->オリジナル) /