@equinor/fusion-framework-module-bookmark 3.0.5-next.0 → 3.0.5

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,16 +1,12 @@
1
1
  # Change Log
2
2
 
3
- ## 3.0.5-next.0
3
+ ## 3.0.5
4
4
 
5
5
  ### Patch Changes
6
6
 
7
- - [#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
7
+ - [#3866](https://github.com/equinor/fusion-framework/pull/3866) [`f70d66f`](https://github.com/equinor/fusion-framework/commit/f70d66f1bc826e614140adb2c6ee052f98e3b3da) Thanks [@dependabot](https://github.com/apps/dependabot)! - Internal: Dedupe zod dependency to 4.3.5
8
8
 
9
- - 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)]:
10
- - @equinor/fusion-observable@9.0.0-next.0
11
- - @equinor/fusion-query@7.0.0-next.0
12
- - @equinor/fusion-framework-module@5.0.6-next.0
13
- - @equinor/fusion-log@1.1.8-next.0
9
+ Deduplicated zod dependency to version 4.3.5 across all packages using `pnpm dedupe`. This aligns all packages (AI plugins upgraded from v3.25.76, other packages consolidated from v4.1.8/v4.1.11) to use the same latest stable version, improving consistency and reducing bundle size. All builds, tests, and linting pass successfully.
14
10
 
15
11
  ## 3.0.4
16
12
 
@@ -49,6 +45,7 @@
49
45
  ### Patch Changes
50
46
 
51
47
  - [#3428](https://github.com/equinor/fusion-framework/pull/3428) [`1700ca8`](https://github.com/equinor/fusion-framework/commit/1700ca8851fa108e55e9729fd24f595272766e63) Thanks [@dependabot](https://github.com/apps/dependabot)! - Update zod from 4.1.9 to 4.1.11
48
+
52
49
  - **v4.1.10**: Fixed shape caching issue (#5263) improving validation performance for complex schemas
53
50
  - **v4.1.11**: Maintenance release with general improvements
54
51
 
@@ -68,6 +65,7 @@
68
65
  Updated source code to migrate from zod v3 to v4. Updated zod dependency from v3.25.76 to v4.1.8 and modified schema definitions in the bookmark module to use explicit key and value types for records, simplified function schema definitions, and replaced zod-inferred types with explicit TypeScript interfaces.
69
66
 
70
67
  Key changes in source code:
68
+
71
69
  - Fixed record schema definitions to use explicit key and value types (`z.record(z.string(), z.unknown())`)
72
70
  - Simplified function schema definitions by removing complex chaining (`.args()` and `.returns()`)
73
71
  - Replaced zod-inferred types with explicit TypeScript interfaces for better performance
@@ -77,6 +75,7 @@
77
75
  Breaking changes: Record schemas must specify both key and value types explicitly. Function schema definitions now require explicit typing.
78
76
 
79
77
  Links:
78
+
80
79
  - [Zod v4 Migration Guide](https://github.com/colinhacks/zod/releases/tag/v4.0.0)
81
80
  - [Zod v4.1.8 Release Notes](https://github.com/colinhacks/zod/releases/tag/v4.1.8)
82
81
 
@@ -87,16 +86,19 @@
87
86
  - [#3395](https://github.com/equinor/fusion-framework/pull/3395) [`29f6710`](https://github.com/equinor/fusion-framework/commit/29f6710238baf9b29f42394b30cb8b97f25462c3) Thanks [@odinr](https://github.com/odinr)! - Updated immer from 9.0.16 to 10.1.3 across all packages.
88
87
 
89
88
  ### Breaking Changes
89
+
90
90
  - Immer 10.x introduces stricter TypeScript types for draft functions
91
91
  - `ValidRecipeReturnType` type constraints have changed
92
92
  - Promise return types in draft functions are no longer automatically handled
93
93
 
94
94
  ### Fixes Applied
95
+
95
96
  - Updated BookmarkProvider to handle new immer type constraints
96
97
  - Fixed ObservableInput type assignments in mergeScan operations
97
98
  - Removed async/await from immer draft functions to comply with new type requirements
98
99
 
99
100
  ### Links
101
+
100
102
  - [Immer 10.0.0 Release Notes](https://github.com/immerjs/immer/releases/tag/v10.0.0)
101
103
  - [Immer Migration Guide](https://github.com/immerjs/immer/blob/main/MIGRATION.md)
102
104
 
@@ -105,27 +107,32 @@
105
107
  Updated TypeScript type definitions for UUID operations across multiple packages. This major version update provides improved type safety and compatibility with the latest UUID library features.
106
108
 
107
109
  ### Affected Packages
110
+
108
111
  - @equinor/fusion-framework-module-bookmark: @types/uuid ^9.0.8 → ^11.0.0
109
112
  - @equinor/fusion-framework-module-feature-flag: @types/uuid ^10.0.0 → ^11.0.0
110
113
  - @equinor/fusion-observable: @types/uuid ^10.0.0 → ^11.0.0
111
114
  - @equinor/fusion-query: @types/uuid ^10.0.0 → ^11.0.0
112
115
 
113
116
  ### Links
117
+
114
118
  - [@types/uuid on npm](https://www.npmjs.com/package/@types/uuid)
115
119
  - [DefinitelyTyped @types/uuid](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/uuid)
116
120
 
117
121
  - [#3347](https://github.com/equinor/fusion-framework/pull/3347) [`11143fa`](https://github.com/equinor/fusion-framework/commit/11143fa3002fb8a6c095052a04c7e596c56bafa8) Thanks [@dependabot](https://github.com/apps/dependabot)! - chore: bump uuid from 11.0.3 to 13.0.0
118
122
 
119
123
  ### Breaking Changes
124
+
120
125
  - v13.0.0: Make browser exports the default
121
126
  - v12.0.0: Update to TypeScript 5.2, remove CommonJS support, drop Node 16 support
122
127
 
123
128
  ### New Features
129
+
124
130
  - Improved v4() performance
125
131
  - Added Node 24 to CI matrix
126
132
  - Restored node: prefix support
127
133
 
128
134
  ### Links
135
+
129
136
  - [GitHub releases](https://github.com/uuidjs/uuid/releases/tag/v13.0.0)
130
137
  - [npm changelog](https://www.npmjs.com/package/uuid?activeTab=versions)
131
138
 
@@ -140,12 +147,14 @@
140
147
  - [#3075](https://github.com/equinor/fusion-framework/pull/3075) [`8fffbfb`](https://github.com/equinor/fusion-framework/commit/8fffbfb12daa9748bf5290e5084cd4d409aed253) Thanks [@odinr](https://github.com/odinr)! - Refactored the `Bookmark` type to be an intersection of `BookmarkWithoutData` and an optional `payload` property, improving type safety and flexibility. Updated `useBookmarkNavigate` to use proper TypeScript typing for bookmark events.
141
148
 
142
149
  **Module Bookmark Changes:**
150
+
143
151
  - Refactored `Bookmark` type in `packages/modules/bookmark/src/types.ts`
144
152
  - Added export for `BookmarkProviderEvents` type in `packages/modules/bookmark/src/index.ts`
145
153
  - Updated JSDoc comment from `@note` to `@remarks` in `packages/modules/bookmark/src/BookmarkClient.ts`
146
154
  - Reordered tsconfig references (event before services)
147
155
 
148
156
  **React Changes:**
157
+
149
158
  - Updated `packages/react/modules/bookmark/src/portal/useBookmarkNavigate.ts` to use proper TypeScript typing for bookmark provider events
150
159
  - Removed React paths configuration from `packages/react/app/tsconfig.json`
151
160
 
@@ -180,6 +189,7 @@
180
189
  ### Patch Changes
181
190
 
182
191
  - [#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
192
+
183
193
  - Updated package.json typesVersions.
184
194
  - Ensures backward compatibility with older node versions.
185
195
  - Ensured consistency with workspace and repository configuration.
@@ -333,6 +343,7 @@
333
343
  The new implementation has better state management and error handling, and should be easier to work with than the v1 implementation.
334
344
 
335
345
  **Highlights:**
346
+
336
347
  - has validation of configuration of the module.
337
348
  - uses the `BaseConfigBuilder` pattern for configuration.
338
349
  - has validation of requests and responses using zod schemas.
@@ -344,10 +355,12 @@
344
355
  - has better logging.
345
356
 
346
357
  **Migration:**
358
+
347
359
  - update config for enabling the module
348
360
  - check all direct access to provider interface if they are still valid
349
361
 
350
362
  **Breaking changes:**
363
+
351
364
  - The provider interface has changed
352
365
  - The client interface has changed
353
366
  - The configuration interface has changed
@@ -401,6 +414,7 @@
401
414
  - [#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.
402
415
 
403
416
  Removing the `removeComments` option allows TypeScript to preserve comments in the compiled JavaScript output. This can be beneficial for several reasons:
417
+
404
418
  1. Improved debugging: Preserved comments can help developers understand the code better during debugging sessions.
405
419
  2. Documentation: JSDoc comments and other important code documentation will be retained in the compiled output.
406
420
  3. Source map accuracy: Keeping comments can lead to more accurate source maps, which is crucial for debugging and error tracking.
@@ -1,3 +1,3 @@
1
1
  // Generated by genversion.
2
- export const version = '3.0.5-next.0';
2
+ export const version = '3.0.5';
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,cAAc,CAAC"}
1
+ {"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA,2BAA2B;AAC3B,MAAM,CAAC,MAAM,OAAO,GAAG,OAAO,CAAC"}