Skip to content

Conversation

shylasummers
Copy link
Contributor

@shylasummers shylasummers commented Aug 25, 2025

Require Node 20 and React 19 for v5

@github-actions github-actions bot added documentation Related to documentation. msal-node Related to msal-node package msal-react Related to @azure/msal-react extensions Related to extensions for the base libraries labels Aug 25, 2025
@shylasummers shylasummers marked this pull request as ready for review September 3, 2025 19:20
@Copilot Copilot AI review requested due to automatic review settings September 3, 2025 19:20
@shylasummers shylasummers requested review from a team as code owners September 3, 2025 19:20
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR removes support for older versions of React and Node.js across the MSAL.js packages, modernizing the minimum version requirements. The changes update Node.js minimum from 16 to 20 and React minimum from 16.8+ to 19+ only.

  • Updates Node.js engine requirements from >=16 to >=20 for msal-node and msal-node-extensions packages
  • Restricts React peer dependency from supporting versions 16-19 to only React 19+ for msal-react
  • Adds migration documentation explaining the breaking changes for React version support

Reviewed Changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
lib/msal-react/package.json Updates Node.js engine to >=20 and restricts React peer dependency to ^19 only
lib/msal-node/package.json Updates Node.js engine requirement from >=16 to >=20
extensions/msal-node-extensions/package.json Updates Node.js engine requirement from >=16 to >=20
lib/msal-react/docs/migration-guide-v4.md Adds migration documentation explaining dropped support for React 16-18
change/@azure-msal-react-b1af7c8a-4f45-4c69-848b-0783f1742b39.json Beachball change file for msal-react major version bump
change/@azure-msal-node-extensions-eac56a55-4344-42a1-8435-6f3828298792.json Beachball change file for msal-node-extensions major version bump
change/@azure-msal-node-7488300d-5258-4de2-81ef-c1682ee7ccda.json Beachball change file for msal-node major version bump

@shylasummers shylasummers merged commit 561d1e4 into msal-v5 Sep 4, 2025
9 checks passed
@shylasummers shylasummers deleted the removeOldDependencies branch September 4, 2025 16:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Related to documentation. extensions Related to extensions for the base libraries msal-node Related to msal-node package msal-react Related to @azure/msal-react
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants