@equinor/fusion-framework-react 7.4.20-msal-v5.1 → 7.4.21-next.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,36 +1,74 @@
1
1
  # Change Log
2
2
 
3
- ## 7.4.20-msal-v5.1
3
+ ## 7.4.21-next.0
4
4
 
5
5
  ### Patch Changes
6
6
 
7
- - [#3944](https://github.com/equinor/fusion-framework/pull/3944) [`312755f`](https://github.com/equinor/fusion-framework/commit/312755f01c7592329aec847ee4956fe9bf58458f) Thanks [@dependabot](https://github.com/apps/dependabot)! - pre-release msal v5
7
+ - [#3820](https://github.com/equinor/fusion-framework/pull/3820) [`f647825`](https://github.com/equinor/fusion-framework/commit/f647825cb5712763b09dafda21fd996211c78b78) Thanks [@odinr](https://github.com/odinr)! - relase next
8
8
 
9
- - Updated dependencies [[`312755f`](https://github.com/equinor/fusion-framework/commit/312755f01c7592329aec847ee4956fe9bf58458f)]:
10
- - @equinor/fusion-framework@7.4.3-msal-v5.1
11
- - @equinor/fusion-framework-module-feature-flag@1.1.28-msal-v5.0
12
- - @equinor/fusion-framework-module@5.0.6-msal-v5.0
13
- - @equinor/fusion-framework-react-module-http@10.0.1-msal-v5.1
14
- - @equinor/fusion-framework-react-module@3.1.14-msal-v5.0
15
- - @equinor/fusion-framework-react-module-signalr@3.0.36-msal-v5.1
16
- - @equinor/fusion-observable@8.5.8-msal-v5.0
9
+ - Updated dependencies [[`f647825`](https://github.com/equinor/fusion-framework/commit/f647825cb5712763b09dafda21fd996211c78b78)]:
10
+ - @equinor/fusion-framework-react-module-signalr@3.0.38-next.0
11
+ - @equinor/fusion-framework-module-feature-flag@1.1.29-next.0
12
+ - @equinor/fusion-framework-react-module@3.1.15-next.0
13
+ - @equinor/fusion-framework-react-module-http@10.0.2-next.0
14
+ - @equinor/fusion-observable@8.5.9-next.0
15
+ - @equinor/fusion-framework@7.4.14-next.0
16
+ - @equinor/fusion-framework-module@5.0.7-next.0
17
17
 
18
- ## 7.4.20-msal-v5.0
18
+ ## 7.4.20
19
19
 
20
20
  ### Patch Changes
21
21
 
22
- - Updated dependencies []:
23
- - @equinor/fusion-framework@7.4.3-msal-v5.0
24
- - @equinor/fusion-framework-module-feature-flag@1.1.27
25
- - @equinor/fusion-framework-react-module-http@10.0.1-msal-v5.0
26
- - @equinor/fusion-framework-react-module-signalr@3.0.36-msal-v5.0
22
+ - [#4157](https://github.com/equinor/fusion-framework/pull/4157) [`6aa8e1f`](https://github.com/equinor/fusion-framework/commit/6aa8e1f5c9d852b25e97aa7d98a63008c64d4581) Thanks [@Noggling](https://github.com/Noggling)! - Internal: patch release to align TypeScript types across packages for consistent type compatibility.
23
+
24
+ - Updated dependencies [[`6aa8e1f`](https://github.com/equinor/fusion-framework/commit/6aa8e1f5c9d852b25e97aa7d98a63008c64d4581)]:
25
+ - @equinor/fusion-framework@7.4.13
26
+ - @equinor/fusion-framework-module-feature-flag@1.1.28
27
+ - @equinor/fusion-framework-module@5.0.6
28
+ - @equinor/fusion-framework-react-module-http@10.0.1
29
+ - @equinor/fusion-framework-react-module@3.1.14
30
+ - @equinor/fusion-framework-react-module-signalr@3.0.37
31
+ - @equinor/fusion-observable@8.5.8
32
+
33
+ ## 8.0.0-next.0
34
+
35
+ ### Major Changes
36
+
37
+ - [#3820](https://github.com/equinor/fusion-framework/pull/3820) [`9f7597e`](https://github.com/equinor/fusion-framework/commit/9f7597ee237ef069dc24cbe39c73b5b26db157dd) Thanks [@odinr](https://github.com/odinr)! - Require React 18+ as peer dependency. React 17 is no longer supported.
38
+
39
+ **Migration:** Update your application to React 18+ to continue using these packages.
40
+
41
+ Closes https://github.com/equinor/fusion-framework/issues/3504
42
+
43
+ - [#3820](https://github.com/equinor/fusion-framework/pull/3820) [`75c068f`](https://github.com/equinor/fusion-framework/commit/75c068fea13c32435ac26bd9043cc156482bfaf1) Thanks [@odinr](https://github.com/odinr)! - Upgrade to React 19 and remove support for React versions lower than 18.
44
+
45
+ **Breaking changes:**
46
+ - Peer dependencies now require React 18 or 19 (`^18.0.0 || ^19.0.0`)
47
+ - React 16 and 17 are no longer supported
48
+ - Dev dependencies upgraded to React 19.2.1 and @types/react 19.2.7
49
+
50
+ **Migration:**
51
+ - Update your React version to 18.0.0 or higher before upgrading these packages
52
+ - If using React 16 or 17, upgrade to React 18 or 19 first
53
+
54
+ ### Patch Changes
55
+
56
+ - [#3820](https://github.com/equinor/fusion-framework/pull/3820) [`265bb76`](https://github.com/equinor/fusion-framework/commit/265bb767249989eeb1971e83f3fba94879e0813b) Thanks [@odinr](https://github.com/odinr)! - relase next
57
+
58
+ - Updated dependencies [[`265bb76`](https://github.com/equinor/fusion-framework/commit/265bb767249989eeb1971e83f3fba94879e0813b), [`d252b0d`](https://github.com/equinor/fusion-framework/commit/d252b0d442b7c8c1b50bf2768cf9ecbbb55a76f8), [`d252b0d`](https://github.com/equinor/fusion-framework/commit/d252b0d442b7c8c1b50bf2768cf9ecbbb55a76f8), [`d252b0d`](https://github.com/equinor/fusion-framework/commit/d252b0d442b7c8c1b50bf2768cf9ecbbb55a76f8), [`9f7597e`](https://github.com/equinor/fusion-framework/commit/9f7597ee237ef069dc24cbe39c73b5b26db157dd), [`75c068f`](https://github.com/equinor/fusion-framework/commit/75c068fea13c32435ac26bd9043cc156482bfaf1)]:
59
+ - @equinor/fusion-framework-react-module-signalr@4.0.0-next.0
60
+ - @equinor/fusion-framework-module-feature-flag@2.0.0-next.0
61
+ - @equinor/fusion-framework-react-module@4.0.0-next.0
62
+ - @equinor/fusion-framework-react-module-http@11.0.0-next.0
63
+ - @equinor/fusion-observable@9.0.0-next.0
64
+ - @equinor/fusion-framework@7.4.3-next.0
65
+ - @equinor/fusion-framework-module@5.0.6-next.0
27
66
 
28
67
  ## 7.4.19
29
68
 
30
69
  ### Patch Changes
31
70
 
32
71
  - [#3714](https://github.com/equinor/fusion-framework/pull/3714) [`11fe961`](https://github.com/equinor/fusion-framework/commit/11fe961794e4960ccb987bc320268cc9b263f1f8) Thanks [@odinr](https://github.com/odinr)! - Fix MSAL v4 compatibility in React framework useCurrentUser hook.
33
-
34
72
  - Replace deprecated defaultAccount with account property
35
73
  - Ensure proper null/undefined handling for account information
36
74
  - Maintain type safety for AccountInfo return type
@@ -74,7 +112,6 @@
74
112
  ### Patch Changes
75
113
 
76
114
  - [#3088](https://github.com/equinor/fusion-framework/pull/3088) [`7441b13`](https://github.com/equinor/fusion-framework/commit/7441b13aa50dd7362d1629086a27b6b4e571575d) Thanks [@eikeland](https://github.com/eikeland)! - chore: update package typesVersions
77
-
78
115
  - Updated package.json typesVersions.
79
116
  - Ensures backward compatibility with older node versions.
80
117
  - Ensured consistency with workspace and repository configuration.
@@ -329,12 +366,10 @@
329
366
  > This will introduce breaking changes to the configuration of `AppConfigurator.client`.
330
367
 
331
368
  **Added**
332
-
333
369
  - Introduced `AppClient` class to handle application manifest and configuration queries.
334
370
  - Added `zod` to validate the application manifest.
335
371
 
336
372
  **Changed**
337
-
338
373
  - Updated `AppModuleProvider` to use `AppClient` for fetching application manifests and configurations.
339
374
  - Modified `AppConfigurator` to utilize `AppClient` for client configuration.
340
375
  - Updated `useApps` hook with new input parameter for `filterByCurrentUser` in `fusion-framework-react`.
@@ -420,17 +455,14 @@
420
455
  - [#2425](https://github.com/equinor/fusion-framework/pull/2425) [`843edd9`](https://github.com/equinor/fusion-framework/commit/843edd96f2a01ebd814766105902977cdc1cdf8e) Thanks [@odinr](https://github.com/odinr)! - These changes ensure that the `Framework` component and `createFrameworkProvider` function are consistent with the updated configuration approach and support module instances from the parent context.
421
456
 
422
457
  **Updated Framework Component:**
423
-
424
458
  - Added `useModules` hook to import modules from the parent context.
425
459
  - Updated the `createFrameworkProvider` function to accept a `ref` parameter for module instances.
426
460
 
427
461
  **Updated create-framework-provider Function:**
428
-
429
462
  - Added `ref` parameter to the `createFrameworkProvider` function to support module instances.
430
463
  - Updated the example usage in the documentation to reflect the changes.
431
464
 
432
465
  **Misc:**
433
-
434
466
  - Replaced deprecated import of `FusionConfigurator` with `FrameworkConfigurator` (renaming).
435
467
 
436
468
  ### Patch Changes
@@ -473,7 +505,6 @@
473
505
  - [#2320](https://github.com/equinor/fusion-framework/pull/2320) [`1dd85f3`](https://github.com/equinor/fusion-framework/commit/1dd85f3a408a73df556d1812a5f280945cc100ee) Thanks [@odinr](https://github.com/odinr)! - Removed the `removeComments` option from the `tsconfig.base.json` file.
474
506
 
475
507
  Removing the `removeComments` option allows TypeScript to preserve comments in the compiled JavaScript output. This can be beneficial for several reasons:
476
-
477
508
  1. Improved debugging: Preserved comments can help developers understand the code better during debugging sessions.
478
509
  2. Documentation: JSDoc comments and other important code documentation will be retained in the compiled output.
479
510
  3. Source map accuracy: Keeping comments can lead to more accurate source maps, which is crucial for debugging and error tracking.
@@ -697,7 +728,6 @@
697
728
  ### Patch Changes
698
729
 
699
730
  - [#1766](https://github.com/equinor/fusion-framework/pull/1766) [`fdbe12f`](https://github.com/equinor/fusion-framework/commit/fdbe12f258aeb98d91094f16f2d8ce229d7b13ee) Thanks [@odinr](https://github.com/odinr)! - - The return type of the `useCurrentApp` function has been changed. The `currentApp` property can now be `undefined` or `null`, in addition to `CurrentApp<TModules, TEnv>`.
700
-
701
731
  - The initial value for `useObservableState` has been set to `provider.current`.
702
732
  - The assignment of `module` has been updated to handle the case where `modules` is `undefined`.
703
733
  - The return type of the `useCurrentAppModules` function has been changed. The `modules` property can now be `undefined` or `null`, in addition to `AppModulesInstance<TModules>`.
@@ -714,7 +744,6 @@
714
744
  ### Major Changes
715
745
 
716
746
  - [#1747](https://github.com/equinor/fusion-framework/pull/1747) [`8b031c3`](https://github.com/equinor/fusion-framework/commit/8b031c31f314deeffdf395fc847e4279b61aab7e) Thanks [@odinr](https://github.com/odinr)! - refactor framework feature flag hooks
717
-
718
747
  - useCurrentAppFeatures
719
748
  - _useFeature (internal)_
720
749
  - _useFeatures (internal)_
@@ -912,7 +941,6 @@
912
941
  ### Minor Changes
913
942
 
914
943
  - [#927](https://github.com/equinor/fusion-framework/pull/927) [`8bc4c5d6`](https://github.com/equinor/fusion-framework/commit/8bc4c5d6ed900e424efcab5572047c106d7ec04a) Thanks [@odinr](https://github.com/odinr)! - Create and expose interface for App
915
-
916
944
  - deprecate [AppModuleProvider.createApp](https://github.com/equinor/fusion-framework/blob/cf08d5ae3cef473e5025fd973a2a7a45a3b22dee/packages/modules/app/src/AppModuleProvider.ts#L171)
917
945
 
918
946
  this should not create any breaking changes since apps was only created from provider.
@@ -927,7 +955,6 @@
927
955
  ### Patch Changes
928
956
 
929
957
  - [#905](https://github.com/equinor/fusion-framework/pull/905) [`a7858a1c`](https://github.com/equinor/fusion-framework/commit/a7858a1c01542e2dc94370709f122b4b99c3219c) Thanks [@odinr](https://github.com/odinr)! - **🚧 Chore: dedupe packages**
930
-
931
958
  - align all versions of typescript
932
959
  - update types to build
933
960
  - a couple of typecasts did not [satisfies](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-5-0.html#satisfies-support-in-jsdoc) and was recasted as `unknwon`, marked with `TODO`, should be fixed in future
@@ -1,3 +1,3 @@
1
1
  // Generated by genversion.
2
- export const version = '7.4.20-msal-v5.1';
2
+ export const version = '7.4.21-next.0';
3
3
  //# sourceMappingURL=version.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA,2BAA2B;AAC3B,MAAM,CAAC,MAAM,OAAO,GAAG,kBAAkB,CAAC"}
1
+ {"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA,2BAA2B;AAC3B,MAAM,CAAC,MAAM,OAAO,GAAG,eAAe,CAAC"}