@equinor/fusion-framework-module-services 7.2.0 → 7.2.2-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 +18 -16
- 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 +6 -6
- package/src/version.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 7.2.2-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-framework-module@5.0.7-next.0
|
|
11
|
+
|
|
12
|
+
## 7.2.1
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- [#4157](https://github.com/equinor/fusion-framework/pull/4157) [`6aa8e1f`](https://github.com/equinor/fusion-framework/commit/6aa8e1f5c9d852b25e97aa7d98a63008c64d4581) Thanks [@Noggling](https://github.com/Noggling)! - Internal: patch release to align TypeScript types across packages for consistent type compatibility.
|
|
17
|
+
|
|
18
|
+
- Updated dependencies [[`6aa8e1f`](https://github.com/equinor/fusion-framework/commit/6aa8e1f5c9d852b25e97aa7d98a63008c64d4581)]:
|
|
19
|
+
- @equinor/fusion-framework-module@5.0.6
|
|
20
|
+
|
|
3
21
|
## 7.2.0
|
|
4
22
|
|
|
5
23
|
### Minor Changes
|
|
@@ -7,7 +25,6 @@
|
|
|
7
25
|
- [#4095](https://github.com/equinor/fusion-framework/pull/4095) [`f09b26f`](https://github.com/equinor/fusion-framework/commit/f09b26f100a94bf3c841be9830525aa2c734b180) Thanks [@eikeland](https://github.com/eikeland)! - Add `suggest` and `resolve` methods to People API client for improved people picker functionality.
|
|
8
26
|
|
|
9
27
|
The People service now supports:
|
|
10
|
-
|
|
11
28
|
- **suggest**: Autocomplete/typeahead for people picker with optional system account filtering
|
|
12
29
|
- **resolve**: Batch resolution of person identifiers to full person objects
|
|
13
30
|
|
|
@@ -71,7 +88,6 @@
|
|
|
71
88
|
### Patch Changes
|
|
72
89
|
|
|
73
90
|
- [#3607](https://github.com/equinor/fusion-framework/pull/3607) [`6dfb29e`](https://github.com/equinor/fusion-framework/commit/6dfb29eef67548228c05668b44ad02a34c83b050) Thanks [@dependabot](https://github.com/apps/dependabot)! - chore: bump @faker-js/faker from 9.9.0 to 10.1.0
|
|
74
|
-
|
|
75
91
|
- Updated devDependency @faker-js/faker to v10.1.0
|
|
76
92
|
- ESM-only distribution aligns with project architecture
|
|
77
93
|
- All existing faker APIs remain stable and compatible
|
|
@@ -100,7 +116,6 @@
|
|
|
100
116
|
- [#3442](https://github.com/equinor/fusion-framework/pull/3442) [`3b614f8`](https://github.com/equinor/fusion-framework/commit/3b614f87138f5a52f8ccc50ca8c6598ef3db37d6) Thanks [@asbjornhaland](https://github.com/asbjornhaland)! - Update biome to latest version
|
|
101
117
|
|
|
102
118
|
- [#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
|
|
103
|
-
|
|
104
119
|
- **v4.1.10**: Fixed shape caching issue (#5263) improving validation performance for complex schemas
|
|
105
120
|
- **v4.1.11**: Maintenance release with general improvements
|
|
106
121
|
|
|
@@ -114,7 +129,6 @@
|
|
|
114
129
|
### Minor Changes
|
|
115
130
|
|
|
116
131
|
- [#3394](https://github.com/equinor/fusion-framework/pull/3394) [`c222c67`](https://github.com/equinor/fusion-framework/commit/c222c673bc7cdefff6eb0cd9436bfa3d1f185295) Thanks [@odinr](https://github.com/odinr)! - Updated Zod dependency from v3 to v4 with necessary schema adjustments.
|
|
117
|
-
|
|
118
132
|
- Updated `zod` dependency from `^3.25.76` to `^4.1.8`
|
|
119
133
|
- Fixed `z.record()` usage to explicitly specify key type as `z.string()`
|
|
120
134
|
- Simplified `schemaSelector` function type parameters to align with Zod v4 API
|
|
@@ -129,12 +143,10 @@
|
|
|
129
143
|
- [#3393](https://github.com/equinor/fusion-framework/pull/3393) [`3ce5a18`](https://github.com/equinor/fusion-framework/commit/3ce5a1887c8fb90f24c3367f8926db69cc9a1914) Thanks [@dependabot](https://github.com/apps/dependabot)! - Updated odata-query dependency from 8.0.4 to 8.0.5
|
|
130
144
|
|
|
131
145
|
### Changes
|
|
132
|
-
|
|
133
146
|
- Updated odata-query to fix transform operations order issue
|
|
134
147
|
- This is a patch update with no breaking changes
|
|
135
148
|
|
|
136
149
|
### Links
|
|
137
|
-
|
|
138
150
|
- [GitHub releases](https://github.com/techniq/odata-query/releases/tag/v8.0.5)
|
|
139
151
|
- [Changelog](https://github.com/techniq/odata-query/blob/main/CHANGELOG.md#805)
|
|
140
152
|
|
|
@@ -145,7 +157,6 @@
|
|
|
145
157
|
- [#2910](https://github.com/equinor/fusion-framework/pull/2910) [`07cc985`](https://github.com/equinor/fusion-framework/commit/07cc9857e1427b574e011cc319518e701dba784d) Thanks [@dependabot](https://github.com/apps/dependabot)! - Updated vitest from 2.1.9 to 3.2.4 across all packages.
|
|
146
158
|
|
|
147
159
|
## Breaking Changes
|
|
148
|
-
|
|
149
160
|
- **Node.js Requirements**: Requires Node.js 18+ (already satisfied)
|
|
150
161
|
- **Vite Compatibility**: Updated to work with Vite 7.x (already using Vite 7.1.5)
|
|
151
162
|
- **Snapshot Format**: Snapshots now use backtick quotes (\`) instead of single quotes
|
|
@@ -153,18 +164,15 @@
|
|
|
153
164
|
- **TypeScript Support**: Enhanced TypeScript integration and type definitions
|
|
154
165
|
|
|
155
166
|
## Security Updates
|
|
156
|
-
|
|
157
167
|
- CVE-2025-24963: Browser mode serves arbitrary files (fixed in 2.1.9)
|
|
158
168
|
- CVE-2025-24964: Remote Code Execution vulnerability (fixed in 2.1.9)
|
|
159
169
|
|
|
160
170
|
## Migration Notes
|
|
161
|
-
|
|
162
171
|
- Test snapshots may need regeneration due to quote format changes
|
|
163
172
|
- Some test configurations might need updates for new TypeScript support
|
|
164
173
|
- Peer dependency warnings for @vitest/coverage-v8 are expected and safe to ignore
|
|
165
174
|
|
|
166
175
|
## Links
|
|
167
|
-
|
|
168
176
|
- [Vitest 3.0 Migration Guide](https://vitest.dev/guide/migration)
|
|
169
177
|
- [Vitest 3.2.4 Release Notes](https://github.com/vitest-dev/vitest/releases/tag/v3.2.4)
|
|
170
178
|
|
|
@@ -191,7 +199,6 @@
|
|
|
191
199
|
### Patch Changes
|
|
192
200
|
|
|
193
201
|
- [#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
|
|
194
|
-
|
|
195
202
|
- Updated package.json typesVersions.
|
|
196
203
|
- Ensures backward compatibility with older node versions.
|
|
197
204
|
- Ensured consistency with workspace and repository configuration.
|
|
@@ -283,7 +290,6 @@
|
|
|
283
290
|
> This module is meant for internal use only, and should not be used directly by applications, so the breaking changes should not affect any applications. Ancestor modules should be updated to reflect the changes in this module.
|
|
284
291
|
|
|
285
292
|
**BREAKING CHANGES:**
|
|
286
|
-
|
|
287
293
|
- api client has been updated to reflect the new api endpoints and request/response types
|
|
288
294
|
- models have been replaced with infered `zod` schemas
|
|
289
295
|
- request and responses are now parsed and validated using `zod` schemas
|
|
@@ -325,7 +331,6 @@
|
|
|
325
331
|
- [#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.
|
|
326
332
|
|
|
327
333
|
Removing the `removeComments` option allows TypeScript to preserve comments in the compiled JavaScript output. This can be beneficial for several reasons:
|
|
328
|
-
|
|
329
334
|
1. Improved debugging: Preserved comments can help developers understand the code better during debugging sessions.
|
|
330
335
|
2. Documentation: JSDoc comments and other important code documentation will be retained in the compiled output.
|
|
331
336
|
3. Source map accuracy: Keeping comments can lead to more accurate source maps, which is crucial for debugging and error tracking.
|
|
@@ -377,7 +382,6 @@
|
|
|
377
382
|
Updated the `PeopleApiClient.photo` method to properly type the response as `PersonPhotoApiResponse<TVersion>` instead of `Blob`. This allows for more accurate type checking when using the method.
|
|
378
383
|
|
|
379
384
|
To update your code:
|
|
380
|
-
|
|
381
385
|
- If you are using the `PeopleApiClient.photo` method directly, no changes are needed. The method will now properly type the response.
|
|
382
386
|
- If you have custom type assertions or checks around the response from `PeopleApiClient.photo`, you may need to update them to handle `PersonPhotoApiResponse<TVersion>` instead of `Blob`.
|
|
383
387
|
|
|
@@ -464,7 +468,6 @@
|
|
|
464
468
|
- [#1243](https://github.com/equinor/fusion-framework/pull/1243) [`f277c7fc`](https://github.com/equinor/fusion-framework/commit/f277c7fc54ca2ebe75ba1dda94a0d72eb7c8e15b) Thanks [@odinr](https://github.com/odinr)! - Added person services
|
|
465
469
|
|
|
466
470
|
> **for internal usage only!**
|
|
467
|
-
|
|
468
471
|
- add function for fetching person details
|
|
469
472
|
- add function for querying persons
|
|
470
473
|
- add function for downloading person photo
|
|
@@ -1561,7 +1564,6 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
1561
1564
|
``
|
|
1562
1565
|
|
|
1563
1566
|
- [#1254](https://github.com/equinor/fusion-framework/pull/1254) [`a2d2dee9`](https://github.com/equinor/fusion-framework/commit/a2d2dee987673171ad91daec98cb530649da5849) Thanks [@odinr](https://github.com/odinr)! - Update people client to reflect Fusion API
|
|
1564
|
-
|
|
1565
1567
|
- added models for v2 and v4
|
|
1566
1568
|
- added expand logic for person detail `roles` `positions` `contracts` `manager` `companies`
|
|
1567
1569
|
- changed api client to now include args and init (previously args where extracted from call parameters) to correctly type response models
|
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"}
|