Update dependency react-redux to v9.3.0#120
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
e102e49 to
f73bd7c
Compare
f73bd7c to
6dead7e
Compare
6dead7e to
7506399
Compare
7506399 to
6cdf58f
Compare
6cdf58f to
6d578c2
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
9.1.1→9.3.0Release Notes
reduxjs/react-redux (react-redux)
v9.3.0Compare Source
This feature release officially marks the
connectAPI as deprecated.That's it. That's the release. :)
Changelog
connectdeprecationWay back in 2022, I officially marked the original Redux core
createStoremethod as deprecated in Redux 4.2.0. As I clearly stated in that release, the goal of markingcreateStoreas deprecated was to encourage users to migrate to modern Redux Toolkit, especially for those users who don't read our docs (such as beginners following outdated tutorials or in bootcamps, etc). The change was visual-only - adding@deprecatedjust marks the import with a strikethrough in an IDE, and the docblock references the "use modern Redux Toolkit" docs page. No runtime errors, no behavior changes, just an indication that the function is considered obsolete and you shouldn't use it directly any more. I also exported alegacy_createStorealias - same function, no deprecation attribute.It's 4 years later, and I'm finally doing the same thing for
connect:)Again, nothing about
connect's behavior is changing, and we do not intend to remove theconnectAPI. But it's 2026, and hooks are the correct way to use React and React-Redux today.We do strongly encourage users to migrate from
connectto theuseSelector / useDispatchhooks in general. This should result in codebases that are easier to understand and ought to improve performance slightly due to the way updates are handled.As with before, React-Redux now exports a
legacy_connectalias that does not have the deprecation attribute applied.Trusted Publishing Fixed
We had set up trusted publishing for React-Redux a couple years ago and did some releases with that enabled, but at some point I did a follow-up release that still used the previous manual workflow, and that lost the trusted publishing provenance flag. We had recent issues requesting a new release with trusted publishing enabled again, so we've fixed that with this release.
What's Changed
connectas deprecated by @markerikson in #2269Full Changelog: reduxjs/react-redux@v9.2.0...v9.3.0
v9.2.0Compare Source
This feature release updates the React peer dependency to work with React 19, and improves treeshakeability of our build artifacts.
Changelog
React 19 Compat
React 19 was just released! We've updated our peer dep to accept React 19, and updated our runtime and type tests to check against both React 18 and 19.
Also see Redux Toolkit v2.5.0 for the same peer dep update.
Treeshaking
We've done some nitty-gritty optimization work to ensure bundlers correctly treeshake unused parts of the bundle.
What's Changed
Full Changelog: reduxjs/react-redux@v9.1.2...v9.2.0
v9.1.2Compare Source
This bugfix release removes the no-longer-necessary peer dependency on
react-native, and tweaks a few TS types for compat with the upcoming React 19 release.Changes
React Native Peer Dependency Removed
We've always had an awkward peer dependency on both ReactDOM and React Native, because of the need to import the
unstable_batchedUpdatesAPI directly from each reconciler. That's part of what led to the sequence of 9.x patch releases to deal with RN compat.As of 9.0.3, we dropped the batching imports completely, since React 18 now batches by default. That means we didn't even have any remaining imports from
react-native.Meanwhile, React 18.3 just came out, but so did React Native 0.74. RN 0.74 still requires React 18.2.
This caused NPM users to have installation failures when trying to use React-Redux:
We no longer need to list RN as a peer dep, and dropping that also fixes the NPM installation issues as well.
What's Changed
useRefusages to be called with an explicit argument ofundefined. by @aryaemami59 in #2164JSXglobal namespace withReact.JSXby @aryaemami59 in #2163Full Changelog: reduxjs/react-redux@v9.1.1...v9.1.2
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.