Originally created by: dependabot[bot]
Bumps react-redux from 8.0.5 to 9.2.0.
Sourced from react-redux's releases.
v9.2.0
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
- Improve treeshakeability of build artifacts by
@aryaemami59in reduxjs/react-redux#2176](https://github.com/href="https://redirect.github.com/reduxjs/react-redux/pull/2176">reduxjs/react-redux/issues/2176)- Migrate to React by
@aryaemami59in reduxjs/react-redux#2172](https://github.com/href="https://redirect.github.com/reduxjs/react-redux/pull/2172">reduxjs/react-redux/issues/2172)- Migrate to React 19 (take 2) by
@markeriksonin reduxjs/react-redux#2216](https://github.com/href="https://redirect.github.com/reduxjs/react-redux/pull/2216">reduxjs/react-redux/issues/2216)- Clean up devdeps by
@markeriksonin reduxjs/react-redux#2217](https://github.com/href="https://redirect.github.com/reduxjs/react-redux/pull/2217">reduxjs/react-redux/issues/2217)Full Changelog: https://github.com/reduxjs/react-redux/compare/v9.1.2...v9.2.0
v9.1.2
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:
- React-Redux has a peer dep on RN
- RN has a peer dep on React 18.2
- But the latest React, 18.3 would get installed in the app
- NPM errors with a peer dep mismatch
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
- Fix
useRefusages to be called with an explicit argument ofundefined. by@aryaemami59in reduxjs/react-redux#2164](https://github.com/href="https://redirect.github.com/reduxjs/react-redux/pull/2164">reduxjs/react-redux/issues/2164)
... (truncated)
7e2fdd4 Release 9.2.08c57382 Merge pull request #2217](https://github.com/href="https://redirect.github.com/reduxjs/react-redux/issues/2217">/issues/2217) from reduxjs/feature/react-19-devdep-cleanupd23509b Exclude stray dist folders and website from tsconfigb275a32 Eliminate other stray React import3ba9838 Drop unused Babel devdeps1a81c41 Merge pull request #2216](https://github.com/href="https://redirect.github.com/reduxjs/react-redux/issues/2216">/issues/2216) from reduxjs/migrate-to-react-19c58e397 Migrate to React 19e08518a Fix act related issues in test/hooks/useSelector.spec.tsx1cd1385 Update hoist-non-react-statics implementationa1fc886 Fix type of innerMapStateToProps in Provider.spec.tsxDependabot 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.