You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This pre-release introduces a major upgrade from MSAL v2 to MSAL v4 with full backward compatibility. The upgrade addresses security improvements, performance enhancements, and provides access to the latest Microsoft authentication features.
🚀 Getting Started with the Pre-Release
To upgrade to the MSAL v4 pre-release, run:
pnpm upgrade "@equinor/fusion-framework*@next"
This will upgrade all Fusion Framework packages to their pre-release versions tagged with next.
No breaking changes for existing consumer code - All current MSAL v2 API calls continue to work exactly as before.
🚀 Migration Guide
Current code works unchanged:
// Framework configuration still works exactly the sameconstframework=awaitcreateFramework({modules: [enableMSAL()],});// Provider usage remains unchangedconsttoken=awaitframework.modules.auth.acquireToken({scopes: [\"User.Read\"],});
New v4 features available:
// Enhanced configuration with new optionsconstframework=awaitcreateFramework({modules: [enableMSAL()],});// Improved token acquisition with MSAL v4 request structureconsttoken=awaitframework.modules.auth.acquireToken({request: {scopes: [\"User.Read\"]},behavior: \"popup\",
silent: true,});
🐛 Bug Fixes & Improvements
Fixed MSAL v4 compatibility issues in React app hooks
Updated HTTP module to use new MSAL token acquisition API format
Fixed SignalR module compatibility with MSAL v4
Updated CLI auth commands to use new MSAL Node API format
Fixed legacy interopt compatibility with MSAL v4
📚 Documentation Updates
Improved all cookbook README documentation for better developer experience
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
🎯 Overview
This pre-release introduces a major upgrade from MSAL v2 to MSAL v4 with full backward compatibility. The upgrade addresses security improvements, performance enhancements, and provides access to the latest Microsoft authentication features.
🚀 Getting Started with the Pre-Release
To upgrade to the MSAL v4 pre-release, run:
pnpm upgrade "@equinor/fusion-framework*@next"This will upgrade all Fusion Framework packages to their pre-release versions tagged with
next.🔥 Key Highlights
@equinor/[email protected]📦 What's Changed
@equinor/[email protected]- MSAL v4 upgrade@equinor/[email protected]- API format updates@equinor/[email protected]- Measurement exports📋 All Pre-Release Packages
The following 21 packages are available in this pre-release:
Core Framework
@equinor/[email protected]@equinor/[email protected]@equinor/[email protected]@equinor/[email protected]@equinor/[email protected]@equinor/[email protected]Framework Modules
@equinor/[email protected]@equinor/[email protected]⭐ (Major upgrade)@equinor/[email protected]⭐@equinor/[email protected]@equinor/[email protected]@equinor/[email protected]⭐@equinor/[email protected]React Packages
@equinor/[email protected]@equinor/[email protected]@equinor/[email protected]@equinor/[email protected]@equinor/[email protected]@equinor/[email protected]@equinor/[email protected]Vite Plugins
@equinor/[email protected]Note: Packages marked with ⭐ have notable version changes in this pre-release.
For Internal API (not consumer-facing):
acquireAccessToken(options)→acquireAccessToken(options: AcquireTokenOptionsLegacy)acquireToken(options)→acquireToken(options: AcquireTokenOptionsLegacy)logout(options?)→logout(options?): Promise<boolean>(now returns boolean)handleRedirect()→handleRedirect(): Promise<AuthenticationResult | null>(now returns result)initialize(): Promise<void>methodNo breaking changes for existing consumer code - All current MSAL v2 API calls continue to work exactly as before.
🚀 Migration Guide
Current code works unchanged:
New v4 features available:
🐛 Bug Fixes & Improvements
📚 Documentation Updates
🔗 Related Links
🙏 Acknowledgments
Thanks to all contributors for this major release!
🤖 Beep Bopp – Release notes created by Fusion Assistant!
Beta Was this translation helpful? Give feedback.
All reactions