@equinor/fusion-framework-module-bookmark 3.0.6 → 3.0.7-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 +12 -18
- package/dist/esm/version.js +1 -1
- package/dist/esm/version.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/types/version.d.ts +1 -1
- package/package.json +10 -10
- package/src/version.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 3.0.7-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-observable@8.5.9-next.0
|
|
11
|
+
- @equinor/fusion-query@6.0.5-next.0
|
|
12
|
+
- @equinor/fusion-framework-module@5.0.7-next.0
|
|
13
|
+
- @equinor/fusion-log@1.1.9-next.0
|
|
14
|
+
|
|
3
15
|
## 3.0.6
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
@@ -57,7 +69,6 @@
|
|
|
57
69
|
### Patch Changes
|
|
58
70
|
|
|
59
71
|
- [#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
|
|
60
|
-
|
|
61
72
|
- **v4.1.10**: Fixed shape caching issue (#5263) improving validation performance for complex schemas
|
|
62
73
|
- **v4.1.11**: Maintenance release with general improvements
|
|
63
74
|
|
|
@@ -77,7 +88,6 @@
|
|
|
77
88
|
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.
|
|
78
89
|
|
|
79
90
|
Key changes in source code:
|
|
80
|
-
|
|
81
91
|
- Fixed record schema definitions to use explicit key and value types (`z.record(z.string(), z.unknown())`)
|
|
82
92
|
- Simplified function schema definitions by removing complex chaining (`.args()` and `.returns()`)
|
|
83
93
|
- Replaced zod-inferred types with explicit TypeScript interfaces for better performance
|
|
@@ -87,7 +97,6 @@
|
|
|
87
97
|
Breaking changes: Record schemas must specify both key and value types explicitly. Function schema definitions now require explicit typing.
|
|
88
98
|
|
|
89
99
|
Links:
|
|
90
|
-
|
|
91
100
|
- [Zod v4 Migration Guide](https://github.com/colinhacks/zod/releases/tag/v4.0.0)
|
|
92
101
|
- [Zod v4.1.8 Release Notes](https://github.com/colinhacks/zod/releases/tag/v4.1.8)
|
|
93
102
|
|
|
@@ -98,19 +107,16 @@
|
|
|
98
107
|
- [#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.
|
|
99
108
|
|
|
100
109
|
### Breaking Changes
|
|
101
|
-
|
|
102
110
|
- Immer 10.x introduces stricter TypeScript types for draft functions
|
|
103
111
|
- `ValidRecipeReturnType` type constraints have changed
|
|
104
112
|
- Promise return types in draft functions are no longer automatically handled
|
|
105
113
|
|
|
106
114
|
### Fixes Applied
|
|
107
|
-
|
|
108
115
|
- Updated BookmarkProvider to handle new immer type constraints
|
|
109
116
|
- Fixed ObservableInput type assignments in mergeScan operations
|
|
110
117
|
- Removed async/await from immer draft functions to comply with new type requirements
|
|
111
118
|
|
|
112
119
|
### Links
|
|
113
|
-
|
|
114
120
|
- [Immer 10.0.0 Release Notes](https://github.com/immerjs/immer/releases/tag/v10.0.0)
|
|
115
121
|
- [Immer Migration Guide](https://github.com/immerjs/immer/blob/main/MIGRATION.md)
|
|
116
122
|
|
|
@@ -119,32 +125,27 @@
|
|
|
119
125
|
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.
|
|
120
126
|
|
|
121
127
|
### Affected Packages
|
|
122
|
-
|
|
123
128
|
- @equinor/fusion-framework-module-bookmark: @types/uuid ^9.0.8 → ^11.0.0
|
|
124
129
|
- @equinor/fusion-framework-module-feature-flag: @types/uuid ^10.0.0 → ^11.0.0
|
|
125
130
|
- @equinor/fusion-observable: @types/uuid ^10.0.0 → ^11.0.0
|
|
126
131
|
- @equinor/fusion-query: @types/uuid ^10.0.0 → ^11.0.0
|
|
127
132
|
|
|
128
133
|
### Links
|
|
129
|
-
|
|
130
134
|
- [@types/uuid on npm](https://www.npmjs.com/package/@types/uuid)
|
|
131
135
|
- [DefinitelyTyped @types/uuid](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/uuid)
|
|
132
136
|
|
|
133
137
|
- [#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
|
|
134
138
|
|
|
135
139
|
### Breaking Changes
|
|
136
|
-
|
|
137
140
|
- v13.0.0: Make browser exports the default
|
|
138
141
|
- v12.0.0: Update to TypeScript 5.2, remove CommonJS support, drop Node 16 support
|
|
139
142
|
|
|
140
143
|
### New Features
|
|
141
|
-
|
|
142
144
|
- Improved v4() performance
|
|
143
145
|
- Added Node 24 to CI matrix
|
|
144
146
|
- Restored node: prefix support
|
|
145
147
|
|
|
146
148
|
### Links
|
|
147
|
-
|
|
148
149
|
- [GitHub releases](https://github.com/uuidjs/uuid/releases/tag/v13.0.0)
|
|
149
150
|
- [npm changelog](https://www.npmjs.com/package/uuid?activeTab=versions)
|
|
150
151
|
|
|
@@ -159,14 +160,12 @@
|
|
|
159
160
|
- [#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.
|
|
160
161
|
|
|
161
162
|
**Module Bookmark Changes:**
|
|
162
|
-
|
|
163
163
|
- Refactored `Bookmark` type in `packages/modules/bookmark/src/types.ts`
|
|
164
164
|
- Added export for `BookmarkProviderEvents` type in `packages/modules/bookmark/src/index.ts`
|
|
165
165
|
- Updated JSDoc comment from `@note` to `@remarks` in `packages/modules/bookmark/src/BookmarkClient.ts`
|
|
166
166
|
- Reordered tsconfig references (event before services)
|
|
167
167
|
|
|
168
168
|
**React Changes:**
|
|
169
|
-
|
|
170
169
|
- Updated `packages/react/modules/bookmark/src/portal/useBookmarkNavigate.ts` to use proper TypeScript typing for bookmark provider events
|
|
171
170
|
- Removed React paths configuration from `packages/react/app/tsconfig.json`
|
|
172
171
|
|
|
@@ -201,7 +200,6 @@
|
|
|
201
200
|
### Patch Changes
|
|
202
201
|
|
|
203
202
|
- [#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
|
|
204
|
-
|
|
205
203
|
- Updated package.json typesVersions.
|
|
206
204
|
- Ensures backward compatibility with older node versions.
|
|
207
205
|
- Ensured consistency with workspace and repository configuration.
|
|
@@ -355,7 +353,6 @@
|
|
|
355
353
|
The new implementation has better state management and error handling, and should be easier to work with than the v1 implementation.
|
|
356
354
|
|
|
357
355
|
**Highlights:**
|
|
358
|
-
|
|
359
356
|
- has validation of configuration of the module.
|
|
360
357
|
- uses the `BaseConfigBuilder` pattern for configuration.
|
|
361
358
|
- has validation of requests and responses using zod schemas.
|
|
@@ -367,12 +364,10 @@
|
|
|
367
364
|
- has better logging.
|
|
368
365
|
|
|
369
366
|
**Migration:**
|
|
370
|
-
|
|
371
367
|
- update config for enabling the module
|
|
372
368
|
- check all direct access to provider interface if they are still valid
|
|
373
369
|
|
|
374
370
|
**Breaking changes:**
|
|
375
|
-
|
|
376
371
|
- The provider interface has changed
|
|
377
372
|
- The client interface has changed
|
|
378
373
|
- The configuration interface has changed
|
|
@@ -426,7 +421,6 @@
|
|
|
426
421
|
- [#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.
|
|
427
422
|
|
|
428
423
|
Removing the `removeComments` option allows TypeScript to preserve comments in the compiled JavaScript output. This can be beneficial for several reasons:
|
|
429
|
-
|
|
430
424
|
1. Improved debugging: Preserved comments can help developers understand the code better during debugging sessions.
|
|
431
425
|
2. Documentation: JSDoc comments and other important code documentation will be retained in the compiled output.
|
|
432
426
|
3. Source map accuracy: Keeping comments can lead to more accurate source maps, which is crucial for debugging and error tracking.
|
package/dist/esm/version.js
CHANGED
package/dist/esm/version.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA,2BAA2B;AAC3B,MAAM,CAAC,MAAM,OAAO,GAAG,
|
|
1
|
+
{"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA,2BAA2B;AAC3B,MAAM,CAAC,MAAM,OAAO,GAAG,cAAc,CAAC"}
|