Skip to content
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

[Snyk] Upgrade @reduxjs/toolkit from 1.9.0 to 1.9.1 #7

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

snyk-bot
Copy link

Snyk has created this PR to upgrade @reduxjs/toolkit from 1.9.0 to 1.9.1.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


  • The recommended version is 1 version ahead of your current version.
  • The recommended version was released 22 days ago, on 2022-11-30.
Release notes
Package name: @reduxjs/toolkit
  • 1.9.1 - 2022-11-30

    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: v1.9.0...v1.9.1

  • 1.9.0 - 2022-11-04
    Read more
from @reduxjs/toolkit GitHub release notes
Commit messages
Package name: @reduxjs/toolkit
  • 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
  • 1f78b68 Merge pull request #2958 from OliverRadini/issues/2934
  • 7f9a52a Retry now checks whether potential retry counts are undefined, rather than boolean, in order to avoid filtering out 0's
  • 73cd603 revert changes, just change return type of single-argument `fulfillWithValue` signature
  • 8909f10 fulfillWithValue should infer return value
  • 026221a Merge pull request #2887 from reduxjs/bugfix/1.9-polyfills
  • cd7c208 Fall back to setTimeout polyfill for rAF in SSR scenarios
  • 1cb135e Add extra check for global in queueMicrotask polyfills
  • 69ee99a Merge pull request #2885 from reduxjs/pr/fix-cat-withTypes
  • 9b1acb3 Add test for cAT.withTypes() runtime
  • 3f78f9d Update createAsyncThunk.ts
  • c114399 Fix Identifier/MemberExpression values in createSliceBuilder codemod
  • f7a8282 Release 1.9.0

Compare


Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

🧐 View latest project report

🛠 Adjust upgrade PR settings

🔕 Ignore this dependency or unsubscribe from future upgrade PRs

@netlify
Copy link

netlify bot commented Dec 21, 2022

Deploy Preview for disney-world ready!

Name Link
🔨 Latest commit 3429685
🔍 Latest deploy log https://app.netlify.com/sites/disney-world/deploys/63a3441948f04b00089b8f80
😎 Deploy Preview https://deploy-preview-7--disney-world.netlify.app/
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant