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-dev): bump redux from 4.2.1 to 5.0.1 #161

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

Conversation

dependabot[bot]
Copy link
Contributor

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

Bumps redux from 4.2.1 to 5.0.1.

Release notes

Sourced from redux's releases.

v5.0.0

This major release:

  • Converts the codebase to TypeScript
  • Updates the packaging for better ESM/CJS compatibility and modernizes the build output
  • Requires that action.type must be a string
  • Continues to mark createStore as deprecated
  • Deprecates the AnyAction type in favor of an UnknownAction type that is used everywhere
  • Removes the PreloadedState type in favor of a new generic argument for the Reducer type.

This release has breaking changes.

This release is part of a wave of major versions of all the Redux packages: Redux Toolkit 2.0, Redux core 5.0, React-Redux 9.0, Reselect 5.0, and Redux Thunk 3.0.

For full details on all of the breaking changes and other significant changes to all of those packages, see the "Migrating to RTK 2.0 and Redux 5.0" migration guide in the Redux docs.

[!NOTE] The Redux core, Reselect, and Redux Thunk packages are included as part of Redux Toolkit, and RTK users do not need to manually upgrade them - you'll get them as part of the upgrade to RTK 2.0. (If you're not using Redux Toolkit yet, please start migrating your existing legacy Redux code to use Redux Toolkit today!)

# RTK
npm install @reduxjs/toolkit
yarn add @reduxjs/toolkit
Standalone
npm install redux
yarn add redux

Changelog

ESM/CJS Package Compatibility

The biggest theme of the Redux v5 and RTK 2.0 releases is trying to get "true" ESM package publishing compatibility in place, while still supporting CJS in the published package.

The primary build artifact is now an ESM file, dist/redux.mjs. Most build tools should pick this up. There's also a CJS artifact, and a second copy of the ESM file named redux.legacy-esm.js to support Webpack 4 (which does not recognize the exports field in package.json). Additionally, all of the build artifacts now live under ./dist/ in the published package.

Modernized Build Output

We now publish modern JS syntax targeting ES2020, including optional chaining, object spread, and other modern syntax. If you need to

Build Tooling

We're now building the package using https://github.com/egoist/tsup. We also now include sourcemaps for the ESM and CJS artifacts.

Dropping UMD Builds

Redux has always shipped with UMD build artifacts. These are primarily meant for direct import as script tags, such as in a CodePen or a no-bundler build environment.

... (truncated)

Commits
Maintainer changes

This version was pushed to npm by phryneas, a new releaser for redux since your current version.


Dependabot compatibility score

You can trigger a rebase of this PR 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)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Dec 23, 2023
@github-actions github-actions bot enabled auto-merge (squash) December 23, 2023 16:51
Copy link

codecov bot commented Dec 23, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (7144af3) to head (ad80436).
Report is 54 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #161   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            6         5    -1     
  Lines          139        56   -83     
  Branches        39        16   -23     
=========================================
- Hits           139        56   -83     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/redux-5.0.1 branch from 1e2933d to f9e0f9f Compare December 25, 2023 10:25
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/redux-5.0.1 branch from f9e0f9f to 855de86 Compare December 26, 2023 10:21
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/redux-5.0.1 branch from 855de86 to e99e80d Compare December 29, 2023 18:52
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/redux-5.0.1 branch from e99e80d to 5c94f54 Compare January 2, 2024 10:33
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/redux-5.0.1 branch from 5c94f54 to e0d051b Compare January 2, 2024 10:45
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/redux-5.0.1 branch from e0d051b to 29ef4e8 Compare January 2, 2024 18:50
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/redux-5.0.1 branch from 29ef4e8 to 477d10a Compare January 5, 2024 10:40
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/redux-5.0.1 branch from 477d10a to c5dc56e Compare January 8, 2024 10:48
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/redux-5.0.1 branch from c5dc56e to 85cb642 Compare January 9, 2024 10:22
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/redux-5.0.1 branch from 85cb642 to 11b51c2 Compare January 9, 2024 10:24
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/redux-5.0.1 branch from 11b51c2 to d269994 Compare January 9, 2024 10:27
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/redux-5.0.1 branch from d269994 to 99eaf73 Compare January 10, 2024 10:38
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/redux-5.0.1 branch from 99eaf73 to 1fbdde9 Compare January 10, 2024 10:40
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/redux-5.0.1 branch from 1fbdde9 to 8f87ae1 Compare January 10, 2024 10:42
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/redux-5.0.1 branch from 8f87ae1 to e882761 Compare January 11, 2024 10:46
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/redux-5.0.1 branch from e882761 to 0fc67f7 Compare January 15, 2024 10:32
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/redux-5.0.1 branch from 0fc67f7 to 73bcefc Compare January 15, 2024 10:36
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/redux-5.0.1 branch from 73bcefc to aa6b929 Compare January 18, 2024 10:24
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/redux-5.0.1 branch from aa6b929 to 2a39e6a Compare January 19, 2024 10:24
Bumps [redux](https://github.com/reduxjs/redux) from 4.2.1 to 5.0.1.
- [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.1)

---
updated-dependencies:
- dependency-name: redux
  dependency-type: direct:development
  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.1 branch from 2a39e6a to ad80436 Compare January 22, 2024 10:12
Copy link

stale bot commented Mar 17, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Mar 17, 2024
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 javascript Pull requests that update Javascript code wontfix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants