@equinor/fusion-framework-module-services 7.2.1 → 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 +9 -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,14 @@
|
|
|
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
|
+
|
|
3
12
|
## 7.2.1
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
|
@@ -16,7 +25,6 @@
|
|
|
16
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.
|
|
17
26
|
|
|
18
27
|
The People service now supports:
|
|
19
|
-
|
|
20
28
|
- **suggest**: Autocomplete/typeahead for people picker with optional system account filtering
|
|
21
29
|
- **resolve**: Batch resolution of person identifiers to full person objects
|
|
22
30
|
|
|
@@ -80,7 +88,6 @@
|
|
|
80
88
|
### Patch Changes
|
|
81
89
|
|
|
82
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
|
|
83
|
-
|
|
84
91
|
- Updated devDependency @faker-js/faker to v10.1.0
|
|
85
92
|
- ESM-only distribution aligns with project architecture
|
|
86
93
|
- All existing faker APIs remain stable and compatible
|
|
@@ -109,7 +116,6 @@
|
|
|
109
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
|
|
110
117
|
|
|
111
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
|
|
112
|
-
|
|
113
119
|
- **v4.1.10**: Fixed shape caching issue (#5263) improving validation performance for complex schemas
|
|
114
120
|
- **v4.1.11**: Maintenance release with general improvements
|
|
115
121
|
|
|
@@ -123,7 +129,6 @@
|
|
|
123
129
|
### Minor Changes
|
|
124
130
|
|
|
125
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.
|
|
126
|
-
|
|
127
132
|
- Updated `zod` dependency from `^3.25.76` to `^4.1.8`
|
|
128
133
|
- Fixed `z.record()` usage to explicitly specify key type as `z.string()`
|
|
129
134
|
- Simplified `schemaSelector` function type parameters to align with Zod v4 API
|
|
@@ -138,12 +143,10 @@
|
|
|
138
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
|
|
139
144
|
|
|
140
145
|
### Changes
|
|
141
|
-
|
|
142
146
|
- Updated odata-query to fix transform operations order issue
|
|
143
147
|
- This is a patch update with no breaking changes
|
|
144
148
|
|
|
145
149
|
### Links
|
|
146
|
-
|
|
147
150
|
- [GitHub releases](https://github.com/techniq/odata-query/releases/tag/v8.0.5)
|
|
148
151
|
- [Changelog](https://github.com/techniq/odata-query/blob/main/CHANGELOG.md#805)
|
|
149
152
|
|
|
@@ -154,7 +157,6 @@
|
|
|
154
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.
|
|
155
158
|
|
|
156
159
|
## Breaking Changes
|
|
157
|
-
|
|
158
160
|
- **Node.js Requirements**: Requires Node.js 18+ (already satisfied)
|
|
159
161
|
- **Vite Compatibility**: Updated to work with Vite 7.x (already using Vite 7.1.5)
|
|
160
162
|
- **Snapshot Format**: Snapshots now use backtick quotes (\`) instead of single quotes
|
|
@@ -162,18 +164,15 @@
|
|
|
162
164
|
- **TypeScript Support**: Enhanced TypeScript integration and type definitions
|
|
163
165
|
|
|
164
166
|
## Security Updates
|
|
165
|
-
|
|
166
167
|
- CVE-2025-24963: Browser mode serves arbitrary files (fixed in 2.1.9)
|
|
167
168
|
- CVE-2025-24964: Remote Code Execution vulnerability (fixed in 2.1.9)
|
|
168
169
|
|
|
169
170
|
## Migration Notes
|
|
170
|
-
|
|
171
171
|
- Test snapshots may need regeneration due to quote format changes
|
|
172
172
|
- Some test configurations might need updates for new TypeScript support
|
|
173
173
|
- Peer dependency warnings for @vitest/coverage-v8 are expected and safe to ignore
|
|
174
174
|
|
|
175
175
|
## Links
|
|
176
|
-
|
|
177
176
|
- [Vitest 3.0 Migration Guide](https://vitest.dev/guide/migration)
|
|
178
177
|
- [Vitest 3.2.4 Release Notes](https://github.com/vitest-dev/vitest/releases/tag/v3.2.4)
|
|
179
178
|
|
|
@@ -200,7 +199,6 @@
|
|
|
200
199
|
### Patch Changes
|
|
201
200
|
|
|
202
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
|
|
203
|
-
|
|
204
202
|
- Updated package.json typesVersions.
|
|
205
203
|
- Ensures backward compatibility with older node versions.
|
|
206
204
|
- Ensured consistency with workspace and repository configuration.
|
|
@@ -292,7 +290,6 @@
|
|
|
292
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.
|
|
293
291
|
|
|
294
292
|
**BREAKING CHANGES:**
|
|
295
|
-
|
|
296
293
|
- api client has been updated to reflect the new api endpoints and request/response types
|
|
297
294
|
- models have been replaced with infered `zod` schemas
|
|
298
295
|
- request and responses are now parsed and validated using `zod` schemas
|
|
@@ -334,7 +331,6 @@
|
|
|
334
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.
|
|
335
332
|
|
|
336
333
|
Removing the `removeComments` option allows TypeScript to preserve comments in the compiled JavaScript output. This can be beneficial for several reasons:
|
|
337
|
-
|
|
338
334
|
1. Improved debugging: Preserved comments can help developers understand the code better during debugging sessions.
|
|
339
335
|
2. Documentation: JSDoc comments and other important code documentation will be retained in the compiled output.
|
|
340
336
|
3. Source map accuracy: Keeping comments can lead to more accurate source maps, which is crucial for debugging and error tracking.
|
|
@@ -386,7 +382,6 @@
|
|
|
386
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.
|
|
387
383
|
|
|
388
384
|
To update your code:
|
|
389
|
-
|
|
390
385
|
- If you are using the `PeopleApiClient.photo` method directly, no changes are needed. The method will now properly type the response.
|
|
391
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`.
|
|
392
387
|
|
|
@@ -473,7 +468,6 @@
|
|
|
473
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
|
|
474
469
|
|
|
475
470
|
> **for internal usage only!**
|
|
476
|
-
|
|
477
471
|
- add function for fetching person details
|
|
478
472
|
- add function for querying persons
|
|
479
473
|
- add function for downloading person photo
|
|
@@ -1570,7 +1564,6 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
1570
1564
|
``
|
|
1571
1565
|
|
|
1572
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
|
|
1573
|
-
|
|
1574
1567
|
- added models for v2 and v4
|
|
1575
1568
|
- added expand logic for person detail `roles` `positions` `contracts` `manager` `companies`
|
|
1576
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"}
|