@equinor/fusion-framework-react 7.4.20 → 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,5 +1,20 @@
1
1
  # Change Log
2
2
 
3
+ ## 7.4.21-next.0
4
+
5
+ ### Patch Changes
6
+
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
+
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
+
3
18
  ## 7.4.20
4
19
 
5
20
  ### Patch Changes
@@ -15,12 +30,45 @@
15
30
  - @equinor/fusion-framework-react-module-signalr@3.0.37
16
31
  - @equinor/fusion-observable@8.5.8
17
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
66
+
18
67
  ## 7.4.19
19
68
 
20
69
  ### Patch Changes
21
70
 
22
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.
23
-
24
72
  - Replace deprecated defaultAccount with account property
25
73
  - Ensure proper null/undefined handling for account information
26
74
  - Maintain type safety for AccountInfo return type
@@ -64,7 +112,6 @@
64
112
  ### Patch Changes
65
113
 
66
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
67
-
68
115
  - Updated package.json typesVersions.
69
116
  - Ensures backward compatibility with older node versions.
70
117
  - Ensured consistency with workspace and repository configuration.
@@ -319,12 +366,10 @@
319
366
  > This will introduce breaking changes to the configuration of `AppConfigurator.client`.
320
367
 
321
368
  **Added**
322
-
323
369
  - Introduced `AppClient` class to handle application manifest and configuration queries.
324
370
  - Added `zod` to validate the application manifest.
325
371
 
326
372
  **Changed**
327
-
328
373
  - Updated `AppModuleProvider` to use `AppClient` for fetching application manifests and configurations.
329
374
  - Modified `AppConfigurator` to utilize `AppClient` for client configuration.
330
375
  - Updated `useApps` hook with new input parameter for `filterByCurrentUser` in `fusion-framework-react`.
@@ -410,17 +455,14 @@
410
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.
411
456
 
412
457
  **Updated Framework Component:**
413
-
414
458
  - Added `useModules` hook to import modules from the parent context.
415
459
  - Updated the `createFrameworkProvider` function to accept a `ref` parameter for module instances.
416
460
 
417
461
  **Updated create-framework-provider Function:**
418
-
419
462
  - Added `ref` parameter to the `createFrameworkProvider` function to support module instances.
420
463
  - Updated the example usage in the documentation to reflect the changes.
421
464
 
422
465
  **Misc:**
423
-
424
466
  - Replaced deprecated import of `FusionConfigurator` with `FrameworkConfigurator` (renaming).
425
467
 
426
468
  ### Patch Changes
@@ -463,7 +505,6 @@
463
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.
464
506
 
465
507
  Removing the `removeComments` option allows TypeScript to preserve comments in the compiled JavaScript output. This can be beneficial for several reasons:
466
-
467
508
  1. Improved debugging: Preserved comments can help developers understand the code better during debugging sessions.
468
509
  2. Documentation: JSDoc comments and other important code documentation will be retained in the compiled output.
469
510
  3. Source map accuracy: Keeping comments can lead to more accurate source maps, which is crucial for debugging and error tracking.
@@ -687,7 +728,6 @@
687
728
  ### Patch Changes
688
729
 
689
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>`.
690
-
691
731
  - The initial value for `useObservableState` has been set to `provider.current`.
692
732
  - The assignment of `module` has been updated to handle the case where `modules` is `undefined`.
693
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>`.
@@ -704,7 +744,6 @@
704
744
  ### Major Changes
705
745
 
706
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
707
-
708
747
  - useCurrentAppFeatures
709
748
  - _useFeature (internal)_
710
749
  - _useFeatures (internal)_
@@ -902,7 +941,6 @@
902
941
  ### Minor Changes
903
942
 
904
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
905
-
906
944
  - deprecate [AppModuleProvider.createApp](https://github.com/equinor/fusion-framework/blob/cf08d5ae3cef473e5025fd973a2a7a45a3b22dee/packages/modules/app/src/AppModuleProvider.ts#L171)
907
945
 
908
946
  this should not create any breaking changes since apps was only created from provider.
@@ -917,7 +955,6 @@
917
955
  ### Patch Changes
918
956
 
919
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**
920
-
921
958
  - align all versions of typescript
922
959
  - update types to build
923
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';
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,QAAQ,CAAC"}
1
+ {"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA,2BAA2B;AAC3B,MAAM,CAAC,MAAM,OAAO,GAAG,eAAe,CAAC"}