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

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,43 @@
1
1
  # Change Log
2
2
 
3
+ ## 5.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#3442](https://github.com/equinor/fusion-framework/pull/3442) [`3b614f8`](https://github.com/equinor/fusion-framework/commit/3b614f87138f5a52f8ccc50ca8c6598ef3db37d6) Thanks [@asbjornhaland](https://github.com/asbjornhaland)! - Update biome to latest version
8
+
9
+ - [#3428](https://github.com/equinor/fusion-framework/pull/3428) [`1700ca8`](https://github.com/equinor/fusion-framework/commit/1700ca8851fa108e55e9729fd24f595272766e63) Thanks [@dependabot](https://github.com/apps/dependabot)! - Update zod from 4.1.9 to 4.1.11
10
+
11
+ - **v4.1.10**: Fixed shape caching issue (#5263) improving validation performance for complex schemas
12
+ - **v4.1.11**: Maintenance release with general improvements
13
+
14
+ This patch update enhances schema validation performance without changing any APIs.
15
+
16
+ - Updated dependencies [[`3b614f8`](https://github.com/equinor/fusion-framework/commit/3b614f87138f5a52f8ccc50ca8c6598ef3db37d6)]:
17
+ - @equinor/fusion-framework-module@5.0.2
18
+
19
+ ## 5.0.0
20
+
21
+ ### Major Changes
22
+
23
+ - [#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
24
+
25
+ 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.
26
+
27
+ Key changes in source code:
28
+
29
+ - Updated `AuthClientConfigSchema` and `AuthConfigSchema` for zod v4 compatibility
30
+ - Enhanced version schema transformation to work with zod v4
31
+ - Improved validation of client configuration (clientId, tenantId, redirectUri)
32
+ - Better type safety for provider configuration and version handling
33
+
34
+ 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.
35
+
36
+ Links:
37
+
38
+ - [Zod v4 Migration Guide](https://github.com/colinhacks/zod/releases/tag/v4.0.0)
39
+ - [Zod v4.1.8 Release Notes](https://github.com/colinhacks/zod/releases/tag/v4.1.8)
40
+
3
41
  ## 4.1.0
4
42
 
5
43
  ### 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.1";
7
7
  })(MsalModuleVersion || (MsalModuleVersion = {}));
8
8
  //# sourceMappingURL=static.js.map
@@ -19,7 +19,7 @@ export class ConsoleLogger extends Logger {
19
19
  }
20
20
  /** @inheritdoc */
21
21
  loggerCallback(lvl, msg, _containsPii) {
22
- console[this.getLogType(lvl)](`%c FUSION::MSAL %c %s`, 'border: 1px solid;', 'border: none;', msg);
22
+ console[this.getLogType(lvl)]('%c FUSION::MSAL %c %s', 'border: 1px solid;', 'border: none;', msg);
23
23
  }
24
24
  /**
25
25
  * Map log level to console log function type
@@ -1,3 +1,3 @@
1
1
  // Generated by genversion.
2
- export const version = '4.1.0';
2
+ export const version = '5.0.1';
3
3
  //# sourceMappingURL=version.js.map