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

build(deps): bump redux from 4.2.1 to 5.0.0 #2163

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 4, 2023

Bumps redux from 4.2.1 to 5.0.0.

Release notes

Sourced from redux's releases.

v5.0.0-rc.1

This release candidate adds a new isAction predicate that can be used as a TS type guard, and exports the existing internal isPlainObject util.

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.

npm install redux@next
yarn add redux@next

Changes

isAction Predicate

We recently added an isAction predicate to RTK, then realized it's better suited for the Redux core. This can be used anywhere you have a value that could be a Redux action object, and you need to check if it is actually an action. This is specifically useful for use with the updated Redux middleware TS types, where the default value is now unknown and you need to use a type guard to tell TS that the current value is actually an action:

We've also exported the isPlainObject util that's been in the Redux codebase for years as well.

What's Changed

Full Changelog: reduxjs/redux@v5.0.0-rc.0...v5.0.0-rc.1

v5.0.0-rc.0

This release candidate has no actual source code changes since the previous v5.0.0-beta.0 release.

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.

npm install redux@next
yarn add redux@next

Full Changelog: reduxjs/redux@v5.0.0-beta.0...v5.0.0-rc.0

v5.0.0-beta.0

This beta release alters our TS types to add and use a new UnknownAction type where possible for better type safety, and includes all prior changes from the 5.0 alphas. This release has breaking changes from 4.x.

... (truncated)

Commits

Dependabot compatibility score

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 dependabot bot added the dependencies Pull requests that update a dependency file label Dec 4, 2023
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/redux-5.0.0 branch 15 times, most recently from ea47c24 to 77d85d0 Compare December 11, 2023 06:32
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/redux-5.0.0 branch 11 times, most recently from 7fdd4b2 to 3d143c8 Compare December 18, 2023 06:28
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/redux-5.0.0 branch 3 times, most recently from f47fb7d to efd9b87 Compare December 19, 2023 06:20
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/redux-5.0.0 branch 5 times, most recently from ba896f6 to 6d80a25 Compare December 21, 2023 13:40
Bumps [redux](https://github.com/reduxjs/redux) from 4.2.1 to 5.0.0.
- [Release notes](https://github.com/reduxjs/redux/releases)
- [Changelog](https://github.com/reduxjs/redux/blob/master/CHANGELOG.md)
- [Commits](reduxjs/redux@v4.2.1...v5.0.0)

---
updated-dependencies:
- dependency-name: redux
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/redux-5.0.0 branch from 6d80a25 to fe7e5b6 Compare December 22, 2023 06:10
Copy link
Contributor Author

dependabot bot commented on behalf of github Dec 25, 2023

Superseded by #2203.

@dependabot dependabot bot closed this Dec 25, 2023
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/redux-5.0.0 branch December 25, 2023 06:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants