@equinor/fusion-framework-react-components-bookmark 1.1.3-cli-search-index.0 → 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,22 +1,40 @@
1
1
  # Change Log
2
2
 
3
- ## 1.1.3-cli-search-index.0
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
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-react@7.4.20-cli-search-index.0
11
- - @equinor/fusion-framework-react-module-bookmark@5.0.2-cli-search-index.0
12
- - @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), [`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
13
32
 
14
33
  ## 1.1.2
15
34
 
16
35
  ### Patch Changes
17
36
 
18
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.
19
-
20
38
  - Replace deprecated defaultAccount with account property
21
39
  - Ensure proper account information access for bookmark sharing logic
22
40
 
@@ -32,14 +50,12 @@
32
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
33
51
 
34
52
  **Workspace-wide changes:**
35
-
36
53
  - Remove 19 rule overrides from `biome.json` to use Biome's strict "error" defaults
37
54
  - Enable `correctness/useUniqueElementIds` accessibility rule globally
38
55
  - Reduce configuration size by 40% (60+ → ~35 lines)
39
56
  - Eliminate all custom linting rule customizations
40
57
 
41
58
  **Package-specific changes:**
42
-
43
59
  - Replace static IDs with React `useId()` hooks in bookmark and dev-portal components
44
60
  - Fix `suspicious/noAssignInExpressions` violations in context, legacy-interopt, and observable packages
45
61
  - Update 11 React components for accessibility compliance
@@ -59,12 +75,10 @@
59
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
60
76
 
61
77
  ### Changes
62
-
63
78
  - Updated @equinor/eds-utils dependency to latest version
64
79
  - Added Firefox detection utility support
65
80
 
66
81
  ### Links
67
-
68
82
  - [GitHub releases](https://github.com/equinor/design-system/releases)
69
83
  - [Changelog](https://github.com/equinor/design-system/blob/develop/packages/eds-utils/CHANGELOG.md)
70
84
 
@@ -73,7 +87,6 @@
73
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
74
88
 
75
89
  ### New Features
76
-
77
90
  - ✨ Always show "add new option" in Autocomplete when onAddNewOption is provided
78
91
  - ✨ Tabs call onChange with provided value if present
79
92
  - ✨ Add disabled prop to Tooltip
@@ -81,7 +94,6 @@
81
94
  - ✨ Add support for adding new options in Autocomplete
82
95
 
83
96
  ### Bug Fixes
84
-
85
97
  - 🐛 Autocomplete - Don't call onOptionsChange when clicking "Add new"
86
98
  - 🐛 Table - Fix Firefox table header wrapping issue
87
99
  - 🐛 Tabs documentation type mismatch - update onChange parameter from number to number | string
@@ -93,28 +105,24 @@
93
105
  - 🐛 Menu: Ensure onClose is called when a MenuItem without onClick is clicked
94
106
 
95
107
  ### Links
96
-
97
108
  - [GitHub releases](https://github.com/equinor/design-system/releases/tag/eds-core-react%400.49.0)
98
109
  - [npm changelog](https://www.npmjs.com/package/@equinor/eds-core-react?activeTab=versions)
99
110
 
100
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
101
112
 
102
113
  ### Changes
103
-
104
114
  - Updated @equinor/eds-core-react dependency to latest version across all packages
105
115
  - Fixed peerDependencies version mismatch in bookmark package
106
116
  - Includes bug fixes for Autocomplete and Table components
107
117
  - Adds new Autocomplete features for "add new option" functionality
108
118
 
109
119
  ### Affected Packages
110
-
111
120
  - packages/dev-portal
112
121
  - packages/react/components/bookmark
113
122
  - cookbooks/app-react-feature-flag
114
123
  - cookbooks/app-react-people
115
124
 
116
125
  ### Links
117
-
118
126
  - [GitHub releases](https://github.com/equinor/design-system/releases)
119
127
  - [Full Changelog](https://github.com/equinor/design-system/compare/eds-core-react@0.48.0...eds-core-react@0.49.0)
120
128
 
@@ -391,7 +399,6 @@
391
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:**
392
400
 
393
401
  Updated the `Bookmark` component to use the `useBookmarkComponentContext` hook for accessing the bookmark provider and state.
394
-
395
402
  - Replaced the `useBookmark` hook with `useBookmarkComponentContext` in the `Bookmark` component.
396
403
  - Updated the `BookmarkProvider` component to use `createContext` and `useContext` for managing the bookmark provider state.
397
404
  - Modified the `CreateBookmarkModal` and `EditBookmarkModal` components to use the `useBookmarkComponentContext` hook.
@@ -422,12 +429,10 @@
422
429
  > This will introduce breaking changes to the configuration of `AppConfigurator.client`.
423
430
 
424
431
  **Added**
425
-
426
432
  - Introduced `AppClient` class to handle application manifest and configuration queries.
427
433
  - Added `zod` to validate the application manifest.
428
434
 
429
435
  **Changed**
430
-
431
436
  - Updated `AppModuleProvider` to use `AppClient` for fetching application manifests and configurations.
432
437
  - Modified `AppConfigurator` to utilize `AppClient` for client configuration.
433
438
  - Updated `useApps` hook with new input parameter for `filterByCurrentUser` in `fusion-framework-react`.
@@ -545,7 +550,6 @@
545
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.
546
551
 
547
552
  Removing the `removeComments` option allows TypeScript to preserve comments in the compiled JavaScript output. This can be beneficial for several reasons:
548
-
549
553
  1. Improved debugging: Preserved comments can help developers understand the code better during debugging sessions.
550
554
  2. Documentation: JSDoc comments and other important code documentation will be retained in the compiled output.
551
555
  3. Source map accuracy: Keeping comments can lead to more accurate source maps, which is crucial for debugging and error tracking.
@@ -822,7 +826,6 @@
822
826
  ### Patch Changes
823
827
 
824
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
825
-
826
829
  - support for [styled-components@6](https://styled-components.com/releases#v6.0.0)
827
830
 
828
831
  ## 0.2.9
@@ -916,7 +919,6 @@
916
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
917
920
 
918
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)
919
-
920
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)
921
923
  - removed `@types/style-components` from `@equinor/fusion-framework-react-components-bookmark`
922
924
 
@@ -955,7 +957,6 @@
955
957
  ### Patch Changes
956
958
 
957
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**
958
-
959
960
  - align all versions of typescript
960
961
  - update types to build
961
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
@@ -972,7 +973,6 @@
972
973
  the bookmark module might not been enable, which makes the application crash.
973
974
 
974
975
  **TODO:**
975
-
976
976
  - [ ] create a simpler hook for using bookmark
977
977
  - [ ] create a hook for exposing the module
978
978
  - [ ] create better documentation
@@ -1,3 +1,3 @@
1
1
  // Generated by genversion.
2
- export const version = '1.1.3-cli-search-index.0';
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,0BAA0B,CAAC"}
1
+ {"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA,2BAA2B;AAC3B,MAAM,CAAC,MAAM,OAAO,GAAG,cAAc,CAAC"}