@equinor/fusion-framework-react-components-bookmark 1.1.2 → 2.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,11 +1,40 @@
1
1
  # Change Log
2
2
 
3
+ ## 2.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
23
+
24
+ ### Patch Changes
25
+
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
27
+
28
+ - Updated dependencies [[`265bb76`](https://github.com/equinor/fusion-framework/commit/265bb767249989eeb1971e83f3fba94879e0813b), [`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-bookmark@6.0.0-next.0
30
+ - @equinor/fusion-observable@9.0.0-next.0
31
+ - @equinor/fusion-framework-react@8.0.0-next.0
32
+
3
33
  ## 1.1.2
4
34
 
5
35
  ### Patch Changes
6
36
 
7
37
  - [#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 bookmark SharedIcon component.
8
-
9
38
  - Replace deprecated defaultAccount with account property
10
39
  - Ensure proper account information access for bookmark sharing logic
11
40
 
@@ -21,14 +50,12 @@
21
50
  - [#3515](https://github.com/equinor/fusion-framework/pull/3515) [`6cb288b`](https://github.com/equinor/fusion-framework/commit/6cb288b9e1ec4fae68ae6899735c176837bb4275) Thanks [@odinr](https://github.com/odinr)! - ## Global Biome Configuration Modernization
22
51
 
23
52
  **Workspace-wide changes:**
24
-
25
53
  - Remove 19 rule overrides from `biome.json` to use Biome's strict "error" defaults
26
54
  - Enable `correctness/useUniqueElementIds` accessibility rule globally
27
55
  - Reduce configuration size by 40% (60+ → ~35 lines)
28
56
  - Eliminate all custom linting rule customizations
29
57
 
30
58
  **Package-specific changes:**
31
-
32
59
  - Replace static IDs with React `useId()` hooks in bookmark and dev-portal components
33
60
  - Fix `suspicious/noAssignInExpressions` violations in context, legacy-interopt, and observable packages
34
61
  - Update 11 React components for accessibility compliance
@@ -48,12 +75,10 @@
48
75
  - [#3363](https://github.com/equinor/fusion-framework/pull/3363) [`adb5176`](https://github.com/equinor/fusion-framework/commit/adb5176d2e4d14fb4c055ecd43d4c21c751a9a1d) Thanks [@dependabot](https://github.com/apps/dependabot)! - Updated @equinor/eds-utils from 0.8.5 to 0.9.0
49
76
 
50
77
  ### Changes
51
-
52
78
  - Updated @equinor/eds-utils dependency to latest version
53
79
  - Added Firefox detection utility support
54
80
 
55
81
  ### Links
56
-
57
82
  - [GitHub releases](https://github.com/equinor/design-system/releases)
58
83
  - [Changelog](https://github.com/equinor/design-system/blob/develop/packages/eds-utils/CHANGELOG.md)
59
84
 
@@ -62,7 +87,6 @@
62
87
  - [#3400](https://github.com/equinor/fusion-framework/pull/3400) [`aed6c53`](https://github.com/equinor/fusion-framework/commit/aed6c5385df496a86d06dc0af9dacafc255ea605) Thanks [@dependabot](https://github.com/apps/dependabot)! - chore: bump @equinor/eds-core-react from 0.45.1 to 0.49.0
63
88
 
64
89
  ### New Features
65
-
66
90
  - ✨ Always show "add new option" in Autocomplete when onAddNewOption is provided
67
91
  - ✨ Tabs call onChange with provided value if present
68
92
  - ✨ Add disabled prop to Tooltip
@@ -70,7 +94,6 @@
70
94
  - ✨ Add support for adding new options in Autocomplete
71
95
 
72
96
  ### Bug Fixes
73
-
74
97
  - 🐛 Autocomplete - Don't call onOptionsChange when clicking "Add new"
75
98
  - 🐛 Table - Fix Firefox table header wrapping issue
76
99
  - 🐛 Tabs documentation type mismatch - update onChange parameter from number to number | string
@@ -82,28 +105,24 @@
82
105
  - 🐛 Menu: Ensure onClose is called when a MenuItem without onClick is clicked
83
106
 
84
107
  ### Links
85
-
86
108
  - [GitHub releases](https://github.com/equinor/design-system/releases/tag/eds-core-react%400.49.0)
87
109
  - [npm changelog](https://www.npmjs.com/package/@equinor/eds-core-react?activeTab=versions)
88
110
 
89
111
  - [#3366](https://github.com/equinor/fusion-framework/pull/3366) [`daa362e`](https://github.com/equinor/fusion-framework/commit/daa362e7d92ad362e46d666c434d0f09687abad5) Thanks [@dependabot](https://github.com/apps/dependabot)! - Update @equinor/eds-core-react from 0.48.0 to 0.49.0
90
112
 
91
113
  ### Changes
92
-
93
114
  - Updated @equinor/eds-core-react dependency to latest version across all packages
94
115
  - Fixed peerDependencies version mismatch in bookmark package
95
116
  - Includes bug fixes for Autocomplete and Table components
96
117
  - Adds new Autocomplete features for "add new option" functionality
97
118
 
98
119
  ### Affected Packages
99
-
100
120
  - packages/dev-portal
101
121
  - packages/react/components/bookmark
102
122
  - cookbooks/app-react-feature-flag
103
123
  - cookbooks/app-react-people
104
124
 
105
125
  ### Links
106
-
107
126
  - [GitHub releases](https://github.com/equinor/design-system/releases)
108
127
  - [Full Changelog](https://github.com/equinor/design-system/compare/eds-core-react@0.48.0...eds-core-react@0.49.0)
109
128
 
@@ -380,7 +399,6 @@
380
399
  - [#2410](https://github.com/equinor/fusion-framework/pull/2410) [`9d1cb90`](https://github.com/equinor/fusion-framework/commit/9d1cb9003fa10e7ccaa95c20ef86f0a618034641) Thanks [@odinr](https://github.com/odinr)! - **@equinor/fusion-framework-react-module-bookmark:**
381
400
 
382
401
  Updated the `Bookmark` component to use the `useBookmarkComponentContext` hook for accessing the bookmark provider and state.
383
-
384
402
  - Replaced the `useBookmark` hook with `useBookmarkComponentContext` in the `Bookmark` component.
385
403
  - Updated the `BookmarkProvider` component to use `createContext` and `useContext` for managing the bookmark provider state.
386
404
  - Modified the `CreateBookmarkModal` and `EditBookmarkModal` components to use the `useBookmarkComponentContext` hook.
@@ -411,12 +429,10 @@
411
429
  > This will introduce breaking changes to the configuration of `AppConfigurator.client`.
412
430
 
413
431
  **Added**
414
-
415
432
  - Introduced `AppClient` class to handle application manifest and configuration queries.
416
433
  - Added `zod` to validate the application manifest.
417
434
 
418
435
  **Changed**
419
-
420
436
  - Updated `AppModuleProvider` to use `AppClient` for fetching application manifests and configurations.
421
437
  - Modified `AppConfigurator` to utilize `AppClient` for client configuration.
422
438
  - Updated `useApps` hook with new input parameter for `filterByCurrentUser` in `fusion-framework-react`.
@@ -534,7 +550,6 @@
534
550
  - [#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.
535
551
 
536
552
  Removing the `removeComments` option allows TypeScript to preserve comments in the compiled JavaScript output. This can be beneficial for several reasons:
537
-
538
553
  1. Improved debugging: Preserved comments can help developers understand the code better during debugging sessions.
539
554
  2. Documentation: JSDoc comments and other important code documentation will be retained in the compiled output.
540
555
  3. Source map accuracy: Keeping comments can lead to more accurate source maps, which is crucial for debugging and error tracking.
@@ -811,7 +826,6 @@
811
826
  ### Patch Changes
812
827
 
813
828
  - [#1348](https://github.com/equinor/fusion-framework/pull/1348) [`0acc8827`](https://github.com/equinor/fusion-framework/commit/0acc8827e5e2df8b5b2aeac5e1a2cd29c4384e78) Thanks [@dependabot](https://github.com/apps/dependabot)! - build(deps): bump @equinor/eds-core-react from 0.32.4 to 0.33.0
814
-
815
829
  - support for [styled-components@6](https://styled-components.com/releases#v6.0.0)
816
830
 
817
831
  ## 0.2.9
@@ -905,7 +919,6 @@
905
919
  - [#1129](https://github.com/equinor/fusion-framework/pull/1129) [`f672d0bb`](https://github.com/equinor/fusion-framework/commit/f672d0bba71a7ea6cd08135778fda67ff38f3ac3) Thanks [@dependabot](https://github.com/apps/dependabot)! - build(deps): bump @equinor/eds-core-react from 0.30.0 to 0.32.4
906
920
 
907
921
  - [#1122](https://github.com/equinor/fusion-framework/pull/1122) [`1a055b21`](https://github.com/equinor/fusion-framework/commit/1a055b21e07f84bc5d35cc891586aa9aa0bdf661) Thanks [@dependabot](https://github.com/apps/dependabot)! - Update styled-components to [^6.0.7](https://github.com/styled-components/styled-components/releases/tag/v6.0.7)
908
-
909
922
  - upgraded dev deps of `@equinor/fusion-framework-react-components-bookmark` to react 18, see style-components [changelog](https://github.com/styled-components/styled-components/releases/tag/v6.0.0)
910
923
  - removed `@types/style-components` from `@equinor/fusion-framework-react-components-bookmark`
911
924
 
@@ -944,7 +957,6 @@
944
957
  ### Patch Changes
945
958
 
946
959
  - [#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**
947
-
948
960
  - align all versions of typescript
949
961
  - update types to build
950
962
  - 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
@@ -961,7 +973,6 @@
961
973
  the bookmark module might not been enable, which makes the application crash.
962
974
 
963
975
  **TODO:**
964
-
965
976
  - [ ] create a simpler hook for using bookmark
966
977
  - [ ] create a hook for exposing the module
967
978
  - [ ] create better documentation
@@ -1,3 +1,3 @@
1
1
  // Generated by genversion.
2
- export const version = '1.1.2';
2
+ export const version = '2.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,OAAO,CAAC"}
1
+ {"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA,2BAA2B;AAC3B,MAAM,CAAC,MAAM,OAAO,GAAG,cAAc,CAAC"}