@equinor/fusion-framework-react-components-people-provider 1.6.2 → 1.6.4-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 +55 -7
- package/dist/esm/PeopleResolver.js.map +1 -1
- package/dist/esm/version.js +1 -1
- package/dist/esm/version.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/types/PeopleResolver.d.ts +8 -1
- package/dist/types/version.d.ts +1 -1
- package/package.json +12 -12
- package/src/PeopleResolver.tsx +11 -0
- package/src/version.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,29 @@
|
|
|
1
1
|
# @equinor/fusion-framework-react-components-people-provider
|
|
2
2
|
|
|
3
|
+
## 1.6.4-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-react-module@3.1.15-next.0
|
|
11
|
+
- @equinor/fusion-framework-react@7.4.21-next.0
|
|
12
|
+
- @equinor/fusion-query@6.0.5-next.0
|
|
13
|
+
- @equinor/fusion-framework-module-services@7.2.2-next.0
|
|
14
|
+
|
|
15
|
+
## 1.6.3
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- [#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.
|
|
20
|
+
|
|
21
|
+
- Updated dependencies [[`6aa8e1f`](https://github.com/equinor/fusion-framework/commit/6aa8e1f5c9d852b25e97aa7d98a63008c64d4581)]:
|
|
22
|
+
- @equinor/fusion-framework-module-services@7.2.1
|
|
23
|
+
- @equinor/fusion-framework-react@7.4.20
|
|
24
|
+
- @equinor/fusion-framework-react-module@3.1.14
|
|
25
|
+
- @equinor/fusion-query@6.0.4
|
|
26
|
+
|
|
3
27
|
## 1.6.2
|
|
4
28
|
|
|
5
29
|
### Patch Changes
|
|
@@ -19,7 +43,6 @@
|
|
|
19
43
|
- [#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.
|
|
20
44
|
|
|
21
45
|
The People service now supports:
|
|
22
|
-
|
|
23
46
|
- **suggest**: Autocomplete/typeahead for people picker with optional system account filtering
|
|
24
47
|
- **resolve**: Batch resolution of person identifiers to full person objects
|
|
25
48
|
|
|
@@ -50,12 +73,42 @@
|
|
|
50
73
|
- Updated dependencies [[`f09b26f`](https://github.com/equinor/fusion-framework/commit/f09b26f100a94bf3c841be9830525aa2c734b180)]:
|
|
51
74
|
- @equinor/fusion-framework-module-services@7.2.0
|
|
52
75
|
|
|
76
|
+
## 2.0.0-next.0
|
|
77
|
+
|
|
78
|
+
### Major Changes
|
|
79
|
+
|
|
80
|
+
- [#3820](https://github.com/equinor/fusion-framework/pull/3820) [`9f7597e`](https://github.com/equinor/fusion-framework/commit/9f7597ee237ef069dc24cbe39c73b5b26db157dd) Thanks [@odinr](https://github.com/odinr)! - Require React 18+ as peer dependency. React 17 is no longer supported.
|
|
81
|
+
|
|
82
|
+
**Migration:** Update your application to React 18+ to continue using these packages.
|
|
83
|
+
|
|
84
|
+
Closes https://github.com/equinor/fusion-framework/issues/3504
|
|
85
|
+
|
|
86
|
+
- [#3820](https://github.com/equinor/fusion-framework/pull/3820) [`75c068f`](https://github.com/equinor/fusion-framework/commit/75c068fea13c32435ac26bd9043cc156482bfaf1) Thanks [@odinr](https://github.com/odinr)! - Upgrade to React 19 and remove support for React versions lower than 18.
|
|
87
|
+
|
|
88
|
+
**Breaking changes:**
|
|
89
|
+
- Peer dependencies now require React 18 or 19 (`^18.0.0 || ^19.0.0`)
|
|
90
|
+
- React 16 and 17 are no longer supported
|
|
91
|
+
- Dev dependencies upgraded to React 19.2.1 and @types/react 19.2.7
|
|
92
|
+
|
|
93
|
+
**Migration:**
|
|
94
|
+
- Update your React version to 18.0.0 or higher before upgrading these packages
|
|
95
|
+
- If using React 16 or 17, upgrade to React 18 or 19 first
|
|
96
|
+
|
|
97
|
+
### Patch Changes
|
|
98
|
+
|
|
99
|
+
- [#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
|
|
100
|
+
|
|
101
|
+
- 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)]:
|
|
102
|
+
- @equinor/fusion-framework-react-module@4.0.0-next.0
|
|
103
|
+
- @equinor/fusion-framework-react@8.0.0-next.0
|
|
104
|
+
- @equinor/fusion-query@7.0.0-next.0
|
|
105
|
+
- @equinor/fusion-framework-module-services@7.1.6-next.0
|
|
106
|
+
|
|
53
107
|
## 1.5.25
|
|
54
108
|
|
|
55
109
|
### Patch Changes
|
|
56
110
|
|
|
57
111
|
- [#3542](https://github.com/equinor/fusion-framework/pull/3542) [`2d4fd18`](https://github.com/equinor/fusion-framework/commit/2d4fd18394e8545b4616140a93a369d5ae77ccbc) Thanks [@eikeland](https://github.com/eikeland)! - Updated person component dependencies for improved functionality and bug fixes.
|
|
58
|
-
|
|
59
112
|
- Updated `@equinor/fusion-react-person` from `^0.10.3` to `^0.10.10` in app-react-people cookbook
|
|
60
113
|
- Updated `@equinor/fusion-wc-person` from `^3.1.8` to `^3.2.4` in dev-portal and people-resolver packages
|
|
61
114
|
|
|
@@ -333,7 +386,6 @@
|
|
|
333
386
|
### Patch Changes
|
|
334
387
|
|
|
335
388
|
- [#2591](https://github.com/equinor/fusion-framework/pull/2591) [`445760c`](https://github.com/equinor/fusion-framework/commit/445760ce73e1d76303c83c367a394adfb5b7a479) Thanks [@eikeland](https://github.com/eikeland)! - ### Updated Dependencies:
|
|
336
|
-
|
|
337
389
|
- Updated @equinor/fusion-wc-person to ^3.0.5 in package.json.
|
|
338
390
|
|
|
339
391
|
## 1.4.13
|
|
@@ -379,7 +431,6 @@
|
|
|
379
431
|
- [#2494](https://github.com/equinor/fusion-framework/pull/2494) [`e11ad64`](https://github.com/equinor/fusion-framework/commit/e11ad64a42210443bdfd9ab9eb2fb95e7e345251) Thanks [@odinr](https://github.com/odinr)! - Updating fusion-wc-person to fix issues when using selectedPerson = null in PersonSelect component.
|
|
380
432
|
|
|
381
433
|
Updated the following dependencies
|
|
382
|
-
|
|
383
434
|
- `@equinor/fusion-wc-person` from `^3.0.1` to `^3.0.3` in `packages/cli/package.json` and `packages/react/components/people-resolver/package.json`.
|
|
384
435
|
|
|
385
436
|
- Updated dependencies [[`e11ad64`](https://github.com/equinor/fusion-framework/commit/e11ad64a42210443bdfd9ab9eb2fb95e7e345251)]:
|
|
@@ -393,7 +444,6 @@
|
|
|
393
444
|
- [#2493](https://github.com/equinor/fusion-framework/pull/2493) [`4839295`](https://github.com/equinor/fusion-framework/commit/4839295263f07704bc43930351ce34dfb27a4c81) Thanks [@eikeland](https://github.com/eikeland)! - Updating fusion-wc-person to fix issues when using selectedPerson = null in PersonSelect component.
|
|
394
445
|
|
|
395
446
|
Updated the following dependencies
|
|
396
|
-
|
|
397
447
|
- `@equinor/fusion-wc-person` from `^3.0.1` to `^3.0.3` in `packages/cli/package.json` and `packages/react/components/people-resolver/package.json`.
|
|
398
448
|
|
|
399
449
|
- Updated dependencies [[`73af73e`](https://github.com/equinor/fusion-framework/commit/73af73e5582ca27b132210af8ba308b80e036d51)]:
|
|
@@ -464,7 +514,6 @@
|
|
|
464
514
|
- [#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.
|
|
465
515
|
|
|
466
516
|
Removing the `removeComments` option allows TypeScript to preserve comments in the compiled JavaScript output. This can be beneficial for several reasons:
|
|
467
|
-
|
|
468
517
|
1. Improved debugging: Preserved comments can help developers understand the code better during debugging sessions.
|
|
469
518
|
2. Documentation: JSDoc comments and other important code documentation will be retained in the compiled output.
|
|
470
519
|
3. Source map accuracy: Keeping comments can lead to more accurate source maps, which is crucial for debugging and error tracking.
|
|
@@ -532,7 +581,6 @@
|
|
|
532
581
|
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.
|
|
533
582
|
|
|
534
583
|
To update your code:
|
|
535
|
-
|
|
536
584
|
- If you are using the `PeopleApiClient.photo` method directly, no changes are needed. The method will now properly type the response.
|
|
537
585
|
- 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`.
|
|
538
586
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PeopleResolver.js","sourceRoot":"","sources":["../../src/PeopleResolver.tsx"],"names":[],"mappings":";AAAA,OAAO,EAA0B,SAAS,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAElE,OAAO,EACL,qBAAqB,EACrB,mBAAmB,EACnB,iBAAiB,EAEjB,qBAAqB,EACrB,mBAAmB,GACpB,MAAM,2BAA2B,CAAC;
|
|
1
|
+
{"version":3,"file":"PeopleResolver.js","sourceRoot":"","sources":["../../src/PeopleResolver.tsx"],"names":[],"mappings":";AAAA,OAAO,EAA0B,SAAS,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAElE,OAAO,EACL,qBAAqB,EACrB,mBAAmB,EACnB,iBAAiB,EAEjB,qBAAqB,EACrB,mBAAmB,GACpB,MAAM,2BAA2B,CAAC;AAanC,qBAAqB,CAAC;AACtB,mBAAmB,CAAC;AACpB,iBAAiB,CAAC;AAClB,qBAAqB,CAAC;AACtB,mBAAmB,CAAC;AAIpB,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,KAAsD,EAAE,EAAE;IAChG,MAAM,EAAE,QAAQ,EAAE,QAAQ,EAAE,GAAG,KAAK,CAAC;IACrC,MAAM,GAAG,GAAG,MAAM,CAA+B,IAAI,CAAC,CAAC;IAEvD,8CAA8C;IAC9C,SAAS,CAAC,GAAG,EAAE;QACb,IAAI,GAAG,CAAC,OAAO,IAAI,QAAQ,EAAE,CAAC;YAC5B,GAAG,CAAC,OAAO,CAAC,QAAQ,GAAG,QAAQ,CAAC;QAClC,CAAC;IACH,CAAC,EAAE,CAAC,QAAQ,CAAC,CAAC,CAAC;IAEf,OAAO,8BAAqB,GAAG,EAAE,GAAG,YAAG,QAAQ,GAAuB,CAAC;AACzE,CAAC,CAAC"}
|
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"}
|