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