@equinor/fusion-framework-module-bookmark 3.0.4-next.1 → 3.0.5-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 -32
- package/dist/esm/version.js +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/types/version.d.ts +1 -1
- package/package.json +11 -11
- package/src/version.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,28 +1,26 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
-
## 3.0.
|
|
3
|
+
## 3.0.5-next.0
|
|
4
4
|
|
|
5
5
|
### Patch Changes
|
|
6
6
|
|
|
7
|
-
- [`
|
|
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
|
|
8
8
|
|
|
9
|
-
- Updated dependencies [[`
|
|
10
|
-
- @equinor/fusion-
|
|
11
|
-
- @equinor/fusion-
|
|
12
|
-
- @equinor/fusion-
|
|
13
|
-
- @equinor/fusion-
|
|
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
|
|
14
14
|
|
|
15
|
-
## 3.0.4
|
|
15
|
+
## 3.0.4
|
|
16
16
|
|
|
17
17
|
### Patch Changes
|
|
18
18
|
|
|
19
|
-
- [`
|
|
19
|
+
- [#3786](https://github.com/equinor/fusion-framework/pull/3786) [`9b6fc05`](https://github.com/equinor/fusion-framework/commit/9b6fc05d8305b179f11ed9f0bc993f2d88305136) Thanks [@dependabot](https://github.com/apps/dependabot)! - chore: bump immer from 10.2.0 to 11.0.0
|
|
20
20
|
|
|
21
|
-
- Updated dependencies [[`
|
|
22
|
-
- @equinor/fusion-
|
|
23
|
-
- @equinor/fusion-
|
|
24
|
-
- @equinor/fusion-observable@8.5.7-next.0
|
|
25
|
-
- @equinor/fusion-query@6.0.2-next.0
|
|
21
|
+
- Updated dependencies [[`9b6fc05`](https://github.com/equinor/fusion-framework/commit/9b6fc05d8305b179f11ed9f0bc993f2d88305136)]:
|
|
22
|
+
- @equinor/fusion-observable@8.5.7
|
|
23
|
+
- @equinor/fusion-query@6.0.2
|
|
26
24
|
|
|
27
25
|
## 3.0.3
|
|
28
26
|
|
|
@@ -51,7 +49,6 @@
|
|
|
51
49
|
### Patch Changes
|
|
52
50
|
|
|
53
51
|
- [#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
|
|
54
|
-
|
|
55
52
|
- **v4.1.10**: Fixed shape caching issue (#5263) improving validation performance for complex schemas
|
|
56
53
|
- **v4.1.11**: Maintenance release with general improvements
|
|
57
54
|
|
|
@@ -71,7 +68,6 @@
|
|
|
71
68
|
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.
|
|
72
69
|
|
|
73
70
|
Key changes in source code:
|
|
74
|
-
|
|
75
71
|
- Fixed record schema definitions to use explicit key and value types (`z.record(z.string(), z.unknown())`)
|
|
76
72
|
- Simplified function schema definitions by removing complex chaining (`.args()` and `.returns()`)
|
|
77
73
|
- Replaced zod-inferred types with explicit TypeScript interfaces for better performance
|
|
@@ -81,7 +77,6 @@
|
|
|
81
77
|
Breaking changes: Record schemas must specify both key and value types explicitly. Function schema definitions now require explicit typing.
|
|
82
78
|
|
|
83
79
|
Links:
|
|
84
|
-
|
|
85
80
|
- [Zod v4 Migration Guide](https://github.com/colinhacks/zod/releases/tag/v4.0.0)
|
|
86
81
|
- [Zod v4.1.8 Release Notes](https://github.com/colinhacks/zod/releases/tag/v4.1.8)
|
|
87
82
|
|
|
@@ -92,19 +87,16 @@
|
|
|
92
87
|
- [#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.
|
|
93
88
|
|
|
94
89
|
### Breaking Changes
|
|
95
|
-
|
|
96
90
|
- Immer 10.x introduces stricter TypeScript types for draft functions
|
|
97
91
|
- `ValidRecipeReturnType` type constraints have changed
|
|
98
92
|
- Promise return types in draft functions are no longer automatically handled
|
|
99
93
|
|
|
100
94
|
### Fixes Applied
|
|
101
|
-
|
|
102
95
|
- Updated BookmarkProvider to handle new immer type constraints
|
|
103
96
|
- Fixed ObservableInput type assignments in mergeScan operations
|
|
104
97
|
- Removed async/await from immer draft functions to comply with new type requirements
|
|
105
98
|
|
|
106
99
|
### Links
|
|
107
|
-
|
|
108
100
|
- [Immer 10.0.0 Release Notes](https://github.com/immerjs/immer/releases/tag/v10.0.0)
|
|
109
101
|
- [Immer Migration Guide](https://github.com/immerjs/immer/blob/main/MIGRATION.md)
|
|
110
102
|
|
|
@@ -113,32 +105,27 @@
|
|
|
113
105
|
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.
|
|
114
106
|
|
|
115
107
|
### Affected Packages
|
|
116
|
-
|
|
117
108
|
- @equinor/fusion-framework-module-bookmark: @types/uuid ^9.0.8 → ^11.0.0
|
|
118
109
|
- @equinor/fusion-framework-module-feature-flag: @types/uuid ^10.0.0 → ^11.0.0
|
|
119
110
|
- @equinor/fusion-observable: @types/uuid ^10.0.0 → ^11.0.0
|
|
120
111
|
- @equinor/fusion-query: @types/uuid ^10.0.0 → ^11.0.0
|
|
121
112
|
|
|
122
113
|
### Links
|
|
123
|
-
|
|
124
114
|
- [@types/uuid on npm](https://www.npmjs.com/package/@types/uuid)
|
|
125
115
|
- [DefinitelyTyped @types/uuid](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/uuid)
|
|
126
116
|
|
|
127
117
|
- [#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
|
|
128
118
|
|
|
129
119
|
### Breaking Changes
|
|
130
|
-
|
|
131
120
|
- v13.0.0: Make browser exports the default
|
|
132
121
|
- v12.0.0: Update to TypeScript 5.2, remove CommonJS support, drop Node 16 support
|
|
133
122
|
|
|
134
123
|
### New Features
|
|
135
|
-
|
|
136
124
|
- Improved v4() performance
|
|
137
125
|
- Added Node 24 to CI matrix
|
|
138
126
|
- Restored node: prefix support
|
|
139
127
|
|
|
140
128
|
### Links
|
|
141
|
-
|
|
142
129
|
- [GitHub releases](https://github.com/uuidjs/uuid/releases/tag/v13.0.0)
|
|
143
130
|
- [npm changelog](https://www.npmjs.com/package/uuid?activeTab=versions)
|
|
144
131
|
|
|
@@ -153,14 +140,12 @@
|
|
|
153
140
|
- [#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.
|
|
154
141
|
|
|
155
142
|
**Module Bookmark Changes:**
|
|
156
|
-
|
|
157
143
|
- Refactored `Bookmark` type in `packages/modules/bookmark/src/types.ts`
|
|
158
144
|
- Added export for `BookmarkProviderEvents` type in `packages/modules/bookmark/src/index.ts`
|
|
159
145
|
- Updated JSDoc comment from `@note` to `@remarks` in `packages/modules/bookmark/src/BookmarkClient.ts`
|
|
160
146
|
- Reordered tsconfig references (event before services)
|
|
161
147
|
|
|
162
148
|
**React Changes:**
|
|
163
|
-
|
|
164
149
|
- Updated `packages/react/modules/bookmark/src/portal/useBookmarkNavigate.ts` to use proper TypeScript typing for bookmark provider events
|
|
165
150
|
- Removed React paths configuration from `packages/react/app/tsconfig.json`
|
|
166
151
|
|
|
@@ -195,7 +180,6 @@
|
|
|
195
180
|
### Patch Changes
|
|
196
181
|
|
|
197
182
|
- [#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
|
|
198
|
-
|
|
199
183
|
- Updated package.json typesVersions.
|
|
200
184
|
- Ensures backward compatibility with older node versions.
|
|
201
185
|
- Ensured consistency with workspace and repository configuration.
|
|
@@ -349,7 +333,6 @@
|
|
|
349
333
|
The new implementation has better state management and error handling, and should be easier to work with than the v1 implementation.
|
|
350
334
|
|
|
351
335
|
**Highlights:**
|
|
352
|
-
|
|
353
336
|
- has validation of configuration of the module.
|
|
354
337
|
- uses the `BaseConfigBuilder` pattern for configuration.
|
|
355
338
|
- has validation of requests and responses using zod schemas.
|
|
@@ -361,12 +344,10 @@
|
|
|
361
344
|
- has better logging.
|
|
362
345
|
|
|
363
346
|
**Migration:**
|
|
364
|
-
|
|
365
347
|
- update config for enabling the module
|
|
366
348
|
- check all direct access to provider interface if they are still valid
|
|
367
349
|
|
|
368
350
|
**Breaking changes:**
|
|
369
|
-
|
|
370
351
|
- The provider interface has changed
|
|
371
352
|
- The client interface has changed
|
|
372
353
|
- The configuration interface has changed
|
|
@@ -420,7 +401,6 @@
|
|
|
420
401
|
- [#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.
|
|
421
402
|
|
|
422
403
|
Removing the `removeComments` option allows TypeScript to preserve comments in the compiled JavaScript output. This can be beneficial for several reasons:
|
|
423
|
-
|
|
424
404
|
1. Improved debugging: Preserved comments can help developers understand the code better during debugging sessions.
|
|
425
405
|
2. Documentation: JSDoc comments and other important code documentation will be retained in the compiled output.
|
|
426
406
|
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