@equinor/fusion-framework-react 7.4.20-cli-search-index.0 → 8.0.0-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,26 +1,44 @@
1
1
  # Change Log
2
2
 
3
- ## 7.4.20-cli-search-index.0
3
+ ## 8.0.0-next.0
4
+
5
+ ### Major Changes
6
+
7
+ - [#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.
8
+
9
+ **Migration:** Update your application to React 18+ to continue using these packages.
10
+
11
+ Closes https://github.com/equinor/fusion-framework/issues/3504
12
+
13
+ - [#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.
14
+
15
+ **Breaking changes:**
16
+ - Peer dependencies now require React 18 or 19 (`^18.0.0 || ^19.0.0`)
17
+ - React 16 and 17 are no longer supported
18
+ - Dev dependencies upgraded to React 19.2.1 and @types/react 19.2.7
19
+
20
+ **Migration:**
21
+ - Update your React version to 18.0.0 or higher before upgrading these packages
22
+ - If using React 16 or 17, upgrade to React 18 or 19 first
4
23
 
5
24
  ### Patch Changes
6
25
 
7
- - [#3757](https://github.com/equinor/fusion-framework/pull/3757) [`db880d1`](https://github.com/equinor/fusion-framework/commit/db880d1fbdb62ba4667f11229d1e6c3a4cea06fc) Thanks [@odinr](https://github.com/odinr)! - preview release
26
+ - [#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
8
27
 
9
- - Updated dependencies [[`db880d1`](https://github.com/equinor/fusion-framework/commit/db880d1fbdb62ba4667f11229d1e6c3a4cea06fc)]:
10
- - @equinor/fusion-framework@7.4.3-cli-search-index.0
11
- - @equinor/fusion-framework-module-feature-flag@1.1.27-cli-search-index.0
12
- - @equinor/fusion-framework-module@5.0.6-cli-search-index.0
13
- - @equinor/fusion-framework-react-module-http@10.0.1-cli-search-index.0
14
- - @equinor/fusion-framework-react-module@3.1.14-cli-search-index.0
15
- - @equinor/fusion-framework-react-module-signalr@3.0.36-cli-search-index.0
16
- - @equinor/fusion-observable@8.5.7-cli-search-index.0
28
+ - 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)]:
29
+ - @equinor/fusion-framework-react-module-signalr@4.0.0-next.0
30
+ - @equinor/fusion-framework-module-feature-flag@2.0.0-next.0
31
+ - @equinor/fusion-framework-react-module@4.0.0-next.0
32
+ - @equinor/fusion-framework-react-module-http@11.0.0-next.0
33
+ - @equinor/fusion-observable@9.0.0-next.0
34
+ - @equinor/fusion-framework@7.4.3-next.0
35
+ - @equinor/fusion-framework-module@5.0.6-next.0
17
36
 
18
37
  ## 7.4.19
19
38
 
20
39
  ### Patch Changes
21
40
 
22
41
  - [#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
42
  - Replace deprecated defaultAccount with account property
25
43
  - Ensure proper null/undefined handling for account information
26
44
  - Maintain type safety for AccountInfo return type
@@ -64,7 +82,6 @@
64
82
  ### Patch Changes
65
83
 
66
84
  - [#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
85
  - Updated package.json typesVersions.
69
86
  - Ensures backward compatibility with older node versions.
70
87
  - Ensured consistency with workspace and repository configuration.
@@ -319,12 +336,10 @@
319
336
  > This will introduce breaking changes to the configuration of `AppConfigurator.client`.
320
337
 
321
338
  **Added**
322
-
323
339
  - Introduced `AppClient` class to handle application manifest and configuration queries.
324
340
  - Added `zod` to validate the application manifest.
325
341
 
326
342
  **Changed**
327
-
328
343
  - Updated `AppModuleProvider` to use `AppClient` for fetching application manifests and configurations.
329
344
  - Modified `AppConfigurator` to utilize `AppClient` for client configuration.
330
345
  - Updated `useApps` hook with new input parameter for `filterByCurrentUser` in `fusion-framework-react`.
@@ -410,17 +425,14 @@
410
425
  - [#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
426
 
412
427
  **Updated Framework Component:**
413
-
414
428
  - Added `useModules` hook to import modules from the parent context.
415
429
  - Updated the `createFrameworkProvider` function to accept a `ref` parameter for module instances.
416
430
 
417
431
  **Updated create-framework-provider Function:**
418
-
419
432
  - Added `ref` parameter to the `createFrameworkProvider` function to support module instances.
420
433
  - Updated the example usage in the documentation to reflect the changes.
421
434
 
422
435
  **Misc:**
423
-
424
436
  - Replaced deprecated import of `FusionConfigurator` with `FrameworkConfigurator` (renaming).
425
437
 
426
438
  ### Patch Changes
@@ -463,7 +475,6 @@
463
475
  - [#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
476
 
465
477
  Removing the `removeComments` option allows TypeScript to preserve comments in the compiled JavaScript output. This can be beneficial for several reasons:
466
-
467
478
  1. Improved debugging: Preserved comments can help developers understand the code better during debugging sessions.
468
479
  2. Documentation: JSDoc comments and other important code documentation will be retained in the compiled output.
469
480
  3. Source map accuracy: Keeping comments can lead to more accurate source maps, which is crucial for debugging and error tracking.
@@ -687,7 +698,6 @@
687
698
  ### Patch Changes
688
699
 
689
700
  - [#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
701
  - The initial value for `useObservableState` has been set to `provider.current`.
692
702
  - The assignment of `module` has been updated to handle the case where `modules` is `undefined`.
693
703
  - 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 +714,6 @@
704
714
  ### Major Changes
705
715
 
706
716
  - [#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
717
  - useCurrentAppFeatures
709
718
  - _useFeature (internal)_
710
719
  - _useFeatures (internal)_
@@ -902,7 +911,6 @@
902
911
  ### Minor Changes
903
912
 
904
913
  - [#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
914
  - deprecate [AppModuleProvider.createApp](https://github.com/equinor/fusion-framework/blob/cf08d5ae3cef473e5025fd973a2a7a45a3b22dee/packages/modules/app/src/AppModuleProvider.ts#L171)
907
915
 
908
916
  this should not create any breaking changes since apps was only created from provider.
@@ -917,7 +925,6 @@
917
925
  ### Patch Changes
918
926
 
919
927
  - [#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
928
  - align all versions of typescript
922
929
  - update types to build
923
930
  - 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-cli-search-index.0';
2
+ export const version = '8.0.0-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,2BAA2B,CAAC"}
1
+ {"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA,2BAA2B;AAC3B,MAAM,CAAC,MAAM,OAAO,GAAG,cAAc,CAAC"}