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.7 to 2.2.1 #1643

Merged
merged 2 commits into from
Mar 27, 2024

Conversation

mo-auto
Copy link
Member

@mo-auto mo-auto commented Mar 23, 2024

This PR was automatically created by Snyk using the credentials of a real user.


Snyk has created this PR to upgrade @reduxjs/toolkit from 1.9.7 to 2.2.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.


Warning: This is a major version upgrade, and may be a breaking change.

  • The recommended version is 21 versions ahead of your current version.
  • The recommended version was released a month ago, on 2024-02-14.
Release notes
Package name: @reduxjs/toolkit
  • 2.2.1 - 2024-02-14

    Release 2.2.1

  • 2.2.0 - 2024-02-12
    Read more
  • 2.1.0 - 2024-01-24
    Read more
  • 2.0.1 - 2023-12-04

    Release 2.0.1

  • 2.0.0 - 2023-12-04
    Read more
  • 2.0.0-rc.3 - 2023-12-02

    This release candidate updates to the latest Reselect 5.0 RC to pick up the rename of defaultMemoize to lruMemoize.

    Note that we hope to release Redux Toolkit 2.0, Redux core 5.0, and React-Redux 9.0 by this weekend!

    See the preview Redux Toolkit 2.0 + Redux core 5.0 Migration Guide for an overview of breaking changes in RTK 2.0 and Redux core.

    The 2.0 integration branch contains the docs preview for the 2.0 changes. Not all changes are documented yet, but you can see API reference pages for most of the new features here:

    v2.0.0-rc.2 release picked up Reselect's dev mode checks for result functions that just return their input, like x => x. Turns out that some of RTK Query's internal selector usage did that in some cases :) That resulted in a ton of warnings being printed. We've updated our internals to fix that.

    Reselect Changes

    The Reselect defaultMemoize function has now been renamed to lruMemoize, since it's no longer the default. See the Reselect v5.0.0-rc.1 release notes for more details.

    What's Changed

    Full Changelog: v2.0.0-rc.2...v2.0.0-rc.3

  • 2.0.0-rc.2 - 2023-12-01

    This release candidate updates to the latest Reselect 5.0 RC to pick up the change to use weakMapMemoize as the default inside createSelector.

    Note that we hope to release Redux Toolkit 2.0, Redux core 5.0, and React-Redux 9.0 by the start of December! (If we don't hit that, we'll aim for January, after the holidays.)

    See the preview Redux Toolkit 2.0 + Redux core 5.0 Migration Guide for an overview of breaking changes in RTK 2.0 and Redux core.

    The 2.0 integration branch contains the docs preview for the 2.0 changes. Not all changes are documented yet, but you can see API reference pages for most of the new features here:

    Reselect v5.0.0-rc.0 makes the breaking change to use weakMapMemoize as the default memoization implementation for createSelector. This memoizer has an effectively infinite cache size, which should cut down on the number of recalculations in a typical app, and help improve performance overall. This is a breaking change, but one that should be invisible to most users.

    It also adds a new dev-mode check for result functions that look like x => x, which is almost always a mistake.

    See the Reselect v5.0.0-rc.0 release notes for more details.

    What's Changed

    Full Changelog: v2.0.0-rc.1...v2.0.0-rc.2

  • 2.0.0-rc.1 - 2023-11-24

    This release candidate updates to the latest Redux 5.0 RC to use its exported isAction and isPlainObject util methods, renames the pre-minified ESM production build to redux-toolkit.browser.mjs and drops the ESM precompiled dev build, and updates build tooling.

    Note that we hope to release Redux Toolkit 2.0, Redux core 5.0, and React-Redux 9.0 by the start of December! (If we don't hit that, we'll aim for January, after the holidays.)

    See the preview Redux Toolkit 2.0 + Redux core 5.0 Migration Guide for an overview of breaking changes in RTK 2.0 and Redux core.

    The 2.0 integration branch contains the docs preview for the 2.0 changes. Not all changes are documented yet, but you can see API reference pages for most of the new features here:

    tags in the browser. Those were previously named as redux-toolkit.modern.development.mjs and redux-toolkit.modern.production.mjs.

    We've renamed the production artifact to redux-toolkit.browser.mjs to be consistent with the other Redux-related packages, and removed the dev build artifact on the grounds that we don't think there's enough likely usage to include it. If you think you would specifically benefit from having an ESM browser-compatible dev artifact, let us know!

    What's Changed

    Full Changelog: v2.0.0-rc.0...v2.0.0-rc.1

  • 2.0.0-rc.0 - 2023-11-16
    Read more
  • 2.0.0-beta.4 - 2023-10-28
  • 2.0.0-beta.3 - 2023-10-11
  • 2.0.0-beta.2 - 2023-09-25
  • 2.0.0-beta.1 - 2023-08-26
  • 2.0.0-beta.0 - 2023-05-30
  • 2.0.0-alpha.6 - 2023-05-16
  • 2.0.0-alpha.5 - 2023-04-18
  • 2.0.0-alpha.4 - 2023-04-03
  • 2.0.0-alpha.3 - 2023-04-03
  • 2.0.0-alpha.2 - 2023-02-15
  • 2.0.0-alpha.1 - 2023-01-21
  • 2.0.0-alpha.0 - 2023-01-14
  • 1.9.7 - 2023-10-04
from @reduxjs/toolkit GitHub release notes
Commit messages
Package name: @reduxjs/toolkit
  • 20df6f0 2.2.1
  • 6f2d782 Merge pull request #4204 from reduxjs/typed-use-mutation-trigger
  • a131b32 fix imports and exports
  • 9a4cdaa remove alias
  • 65d5a64 rename TypedUseMutationTrigger to TypedMutationTrigger, and add deprecated alias
  • d712ab3 Merge pull request #4202 from aryaemami59/bump-prettier
  • a181a5c Format all files
  • 0213df5 Remove `overrides` field in `.prettierrc.json`
  • f8683a6 Bump prettier for all packages
  • 34c3b5f Merge pull request #4191 from reduxjs/update-entityadapter-docs
  • 581f35c document prefilling initialstate
  • 2341224 v2.2.0
  • 23f1114 Merge pull request #4183 from reduxjs/getinitialstate-entities
  • 5ea4c31 Merge pull request #4143 from riqts/document-withTypes-for-2.1.0
  • 6f4194d Merge pull request #4190 from aryaemami59/reformat-files
  • 5aa2594 Reformat all files one more time
  • 7a5b39a Slightly modify prettier config
  • d09ab21 Change test timeout for codegen
  • 8eff730 Merge pull request #4175 from aryaemami59/use-tsconfigPaths
  • 554aac6 Add `pool: "forks"` to vitest config of codegen
  • c979069 Reformat files to remove trailing commas in tsconfig files
  • 6cd1d69 Add `overrides` in prettier config for tsconfig files in CSB examples
  • a89db66 Merge pull request #4189 from ffluk3/throw-on-override
  • a060b45 duplicate error message so it can get mangled

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

@mo-auto mo-auto added comp-admin-ui Component affected by issue or PR kind-dependencies Pull requests that update a dependency file labels Mar 23, 2024
Signed-off-by: Jeet Viramgama <jviramgama5@gmail.com>
Copy link

sonarcloud bot commented Mar 26, 2024

Quality Gate Passed Quality Gate passed for 'flex_admin_ui'

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@jv18creator
Copy link
Contributor

Ref: Breaking changes found in @reduxjs/toolkit v2.0.0

@jv18creator jv18creator self-assigned this Mar 26, 2024
@duttarnab duttarnab merged commit ee491be into main Mar 27, 2024
3 checks passed
@duttarnab duttarnab deleted the snyk-upgrade-5635b89262b99e1605d814ea3cbdebbe branch March 27, 2024 10:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp-admin-ui Component affected by issue or PR kind-dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants