Bump react-redux from 9.1.0 to 9.2.0 in /frontend
Type: Pull Request
State: Open
Association: None
Comments: 0
(3 months ago)
(3 months ago)
dependencies javascript
Bumps react-redux from 9.1.0 to 9.2.0.
Release notes
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- Migrate to React by
@aryaemami59in reduxjs/react-redux#2172- Migrate to React 19 (take 2) by
@markeriksonin reduxjs/react-redux#2216- Clean up devdeps by
@markeriksonin reduxjs/react-redux#2217Full 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
... (truncated)
Commits
7e2fdd4Release 9.2.08c57382Merge pull request #2217 from reduxjs/feature/react-19-devdep-cleanupd23509bExclude stray dist folders and website from tsconfigb275a32Eliminate other stray React import3ba9838Drop unused Babel devdeps1a81c41Merge pull request #2216 from reduxjs/migrate-to-react-19c58e397Migrate to React 19e08518aFixactrelated issues intest/hooks/useSelector.spec.tsx1cd1385Updatehoist-non-react-staticsimplementationa1fc886Fix type ofinnerMapStateToPropsinProvider.spec.tsx- Additional commits viewable in compare view
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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Pull Request Statistics
1
2
+19
-20
Package Dependencies
react-redux
npm
9.1.0 → 9.2.0
Minor
/frontend
Technical Details
| ID: | 4973453 |
| UUID: | 2737653118 |
| Node ID: | PR_kwDOPcRV386jLUV- |
| Host: | GitHub |
| Repository: | BestAssist/Hotel-Reservation-React-Redux-Sagas-Example---JavaScript-Python- |
| Merge State: | Unknown |