@equinor/fusion-framework-module-msal 4.1.0 → 5.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # Change Log
2
2
 
3
+ ## 5.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - [#3394](https://github.com/equinor/fusion-framework/pull/3394) [`c222c67`](https://github.com/equinor/fusion-framework/commit/c222c673bc7cdefff6eb0cd9436bfa3d1f185295) Thanks [@odinr](https://github.com/odinr)! - feat: migrate to zod v4
8
+
9
+ Updated source code to migrate from zod v3 to v4. Updated zod dependency from v3.25.76 to v4.1.8 and modified authentication configuration schemas in the MSAL module to be compatible with zod v4's stricter type checking and updated API.
10
+
11
+ Key changes in source code:
12
+
13
+ - Updated `AuthClientConfigSchema` and `AuthConfigSchema` for zod v4 compatibility
14
+ - Enhanced version schema transformation to work with zod v4
15
+ - Improved validation of client configuration (clientId, tenantId, redirectUri)
16
+ - Better type safety for provider configuration and version handling
17
+
18
+ Breaking changes: Schema validation behavior may differ due to zod v4's stricter type checking. Error message format has changed from zod v3 to v4 format. Function schema definitions now require explicit typing.
19
+
20
+ Links:
21
+
22
+ - [Zod v4 Migration Guide](https://github.com/colinhacks/zod/releases/tag/v4.0.0)
23
+ - [Zod v4.1.8 Release Notes](https://github.com/colinhacks/zod/releases/tag/v4.1.8)
24
+
3
25
  ## 4.1.0
4
26
 
5
27
  ### Minor Changes
@@ -3,6 +3,6 @@ export const ModuleName = 'msal';
3
3
  export var MsalModuleVersion;
4
4
  (function (MsalModuleVersion) {
5
5
  MsalModuleVersion["V2"] = "v2";
6
- MsalModuleVersion["Latest"] = "4.1.0";
6
+ MsalModuleVersion["Latest"] = "5.0.0";
7
7
  })(MsalModuleVersion || (MsalModuleVersion = {}));
8
8
  //# sourceMappingURL=static.js.map
@@ -1,3 +1,3 @@
1
1
  // Generated by genversion.
2
- export const version = '4.1.0';
2
+ export const version = '5.0.0';
3
3
  //# sourceMappingURL=version.js.map