@equinor/fusion-framework-module-bookmark 3.0.4 → 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 -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.5-next.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
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
|
|
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
|
|
14
|
+
|
|
3
15
|
## 3.0.4
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
@@ -37,7 +49,6 @@
|
|
|
37
49
|
### Patch Changes
|
|
38
50
|
|
|
39
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
|
|
40
|
-
|
|
41
52
|
- **v4.1.10**: Fixed shape caching issue (#5263) improving validation performance for complex schemas
|
|
42
53
|
- **v4.1.11**: Maintenance release with general improvements
|
|
43
54
|
|
|
@@ -57,7 +68,6 @@
|
|
|
57
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.
|
|
58
69
|
|
|
59
70
|
Key changes in source code:
|
|
60
|
-
|
|
61
71
|
- Fixed record schema definitions to use explicit key and value types (`z.record(z.string(), z.unknown())`)
|
|
62
72
|
- Simplified function schema definitions by removing complex chaining (`.args()` and `.returns()`)
|
|
63
73
|
- Replaced zod-inferred types with explicit TypeScript interfaces for better performance
|
|
@@ -67,7 +77,6 @@
|
|
|
67
77
|
Breaking changes: Record schemas must specify both key and value types explicitly. Function schema definitions now require explicit typing.
|
|
68
78
|
|
|
69
79
|
Links:
|
|
70
|
-
|
|
71
80
|
- [Zod v4 Migration Guide](https://github.com/colinhacks/zod/releases/tag/v4.0.0)
|
|
72
81
|
- [Zod v4.1.8 Release Notes](https://github.com/colinhacks/zod/releases/tag/v4.1.8)
|
|
73
82
|
|
|
@@ -78,19 +87,16 @@
|
|
|
78
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.
|
|
79
88
|
|
|
80
89
|
### Breaking Changes
|
|
81
|
-
|
|
82
90
|
- Immer 10.x introduces stricter TypeScript types for draft functions
|
|
83
91
|
- `ValidRecipeReturnType` type constraints have changed
|
|
84
92
|
- Promise return types in draft functions are no longer automatically handled
|
|
85
93
|
|
|
86
94
|
### Fixes Applied
|
|
87
|
-
|
|
88
95
|
- Updated BookmarkProvider to handle new immer type constraints
|
|
89
96
|
- Fixed ObservableInput type assignments in mergeScan operations
|
|
90
97
|
- Removed async/await from immer draft functions to comply with new type requirements
|
|
91
98
|
|
|
92
99
|
### Links
|
|
93
|
-
|
|
94
100
|
- [Immer 10.0.0 Release Notes](https://github.com/immerjs/immer/releases/tag/v10.0.0)
|
|
95
101
|
- [Immer Migration Guide](https://github.com/immerjs/immer/blob/main/MIGRATION.md)
|
|
96
102
|
|
|
@@ -99,32 +105,27 @@
|
|
|
99
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.
|
|
100
106
|
|
|
101
107
|
### Affected Packages
|
|
102
|
-
|
|
103
108
|
- @equinor/fusion-framework-module-bookmark: @types/uuid ^9.0.8 → ^11.0.0
|
|
104
109
|
- @equinor/fusion-framework-module-feature-flag: @types/uuid ^10.0.0 → ^11.0.0
|
|
105
110
|
- @equinor/fusion-observable: @types/uuid ^10.0.0 → ^11.0.0
|
|
106
111
|
- @equinor/fusion-query: @types/uuid ^10.0.0 → ^11.0.0
|
|
107
112
|
|
|
108
113
|
### Links
|
|
109
|
-
|
|
110
114
|
- [@types/uuid on npm](https://www.npmjs.com/package/@types/uuid)
|
|
111
115
|
- [DefinitelyTyped @types/uuid](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/uuid)
|
|
112
116
|
|
|
113
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
|
|
114
118
|
|
|
115
119
|
### Breaking Changes
|
|
116
|
-
|
|
117
120
|
- v13.0.0: Make browser exports the default
|
|
118
121
|
- v12.0.0: Update to TypeScript 5.2, remove CommonJS support, drop Node 16 support
|
|
119
122
|
|
|
120
123
|
### New Features
|
|
121
|
-
|
|
122
124
|
- Improved v4() performance
|
|
123
125
|
- Added Node 24 to CI matrix
|
|
124
126
|
- Restored node: prefix support
|
|
125
127
|
|
|
126
128
|
### Links
|
|
127
|
-
|
|
128
129
|
- [GitHub releases](https://github.com/uuidjs/uuid/releases/tag/v13.0.0)
|
|
129
130
|
- [npm changelog](https://www.npmjs.com/package/uuid?activeTab=versions)
|
|
130
131
|
|
|
@@ -139,14 +140,12 @@
|
|
|
139
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.
|
|
140
141
|
|
|
141
142
|
**Module Bookmark Changes:**
|
|
142
|
-
|
|
143
143
|
- Refactored `Bookmark` type in `packages/modules/bookmark/src/types.ts`
|
|
144
144
|
- Added export for `BookmarkProviderEvents` type in `packages/modules/bookmark/src/index.ts`
|
|
145
145
|
- Updated JSDoc comment from `@note` to `@remarks` in `packages/modules/bookmark/src/BookmarkClient.ts`
|
|
146
146
|
- Reordered tsconfig references (event before services)
|
|
147
147
|
|
|
148
148
|
**React Changes:**
|
|
149
|
-
|
|
150
149
|
- Updated `packages/react/modules/bookmark/src/portal/useBookmarkNavigate.ts` to use proper TypeScript typing for bookmark provider events
|
|
151
150
|
- Removed React paths configuration from `packages/react/app/tsconfig.json`
|
|
152
151
|
|
|
@@ -181,7 +180,6 @@
|
|
|
181
180
|
### Patch Changes
|
|
182
181
|
|
|
183
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
|
|
184
|
-
|
|
185
183
|
- Updated package.json typesVersions.
|
|
186
184
|
- Ensures backward compatibility with older node versions.
|
|
187
185
|
- Ensured consistency with workspace and repository configuration.
|
|
@@ -335,7 +333,6 @@
|
|
|
335
333
|
The new implementation has better state management and error handling, and should be easier to work with than the v1 implementation.
|
|
336
334
|
|
|
337
335
|
**Highlights:**
|
|
338
|
-
|
|
339
336
|
- has validation of configuration of the module.
|
|
340
337
|
- uses the `BaseConfigBuilder` pattern for configuration.
|
|
341
338
|
- has validation of requests and responses using zod schemas.
|
|
@@ -347,12 +344,10 @@
|
|
|
347
344
|
- has better logging.
|
|
348
345
|
|
|
349
346
|
**Migration:**
|
|
350
|
-
|
|
351
347
|
- update config for enabling the module
|
|
352
348
|
- check all direct access to provider interface if they are still valid
|
|
353
349
|
|
|
354
350
|
**Breaking changes:**
|
|
355
|
-
|
|
356
351
|
- The provider interface has changed
|
|
357
352
|
- The client interface has changed
|
|
358
353
|
- The configuration interface has changed
|
|
@@ -406,7 +401,6 @@
|
|
|
406
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.
|
|
407
402
|
|
|
408
403
|
Removing the `removeComments` option allows TypeScript to preserve comments in the compiled JavaScript output. This can be beneficial for several reasons:
|
|
409
|
-
|
|
410
404
|
1. Improved debugging: Preserved comments can help developers understand the code better during debugging sessions.
|
|
411
405
|
2. Documentation: JSDoc comments and other important code documentation will be retained in the compiled output.
|
|
412
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
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"}
|