Skip to content

Conversation

arunvishnun
Copy link
Contributor

@arunvishnun arunvishnun commented Jun 19, 2025

Overview

This PR upgrades the Electrode subapp packages and related dependencies to support React 19 and the latest versions of the React ecosystem. The changes ensure compatibility with React 19, Redux 5, React Router 7, and other modern libraries, aligning all peer and direct dependencies accordingly.


Detailed Changes

1. React 19 Upgrade

  • All relevant packages (subapp-react, subapp-redux, xarc-opt-react, xarc-react-router) now require react@^19.1.0 and react-dom@^19.1.0 as peer dependencies.
  • DevDependencies and direct dependencies have also been updated to use React 19.

2. Redux and React Router Updates

  • subapp-redux:
    • Now requires redux@^5.0.0 and @reduxjs/toolkit@>=2 (both as peer and dev dependencies).
    • react-redux updated to ^8.0.1 (peer and dev).
  • subapp-react and xarc-react-router:
    • Now require react-router@^7.1.5 or ^7.2.0 as peer and/or direct dependencies.

3. Dependency Alignment and Modernization

  • All packages have updated their dependencies and peerDependencies to align with the latest versions of React, Redux, React Router, and related libraries.
  • DevDependencies for Babel, testing, and build tools have been updated to recent versions for better compatibility and performance.
  • The lockfile (pnpm-lock.yaml) has been updated to reflect all dependency changes.

4. Package Version Bumps

  • subapp-react bumped to 2.0.0
  • subapp-redux bumped to 3.0.1
  • xarc-opt-react bumped to 3.0.1
  • xarc-react-router bumped to 2.0.0

5. No Major API Changes

  • No breaking API changes were introduced in the code itself; the changes are focused on dependency updates and version alignment.

Impacts

  • Projects using these packages must now use React 19+ and compatible versions of Redux, React Router, and related libraries.
  • You may need to update your application code if it was using older versions of these libraries.
  • The upgrade ensures access to the latest features, performance improvements, and security patches from the React ecosystem.
  • The codebase is now aligned with the latest React and Redux releases, reducing technical debt and making future upgrades easier.

Summary

This PR is a modernization and alignment update, bringing Electrode subapp packages up to date with React 19 and the latest ecosystem libraries.

@arunvishnun arunvishnun requested a review from a team as a code owner June 19, 2025 17:22
@arunvishnun arunvishnun changed the title Xarc react update v3 chore: upgrade subapp packages and related dependencies to support React 19 Jun 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant