@equinor/fusion-framework-react-components-people-provider 1.5.26-next.2 → 2.0.0-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 CHANGED
@@ -1,43 +1,41 @@
1
1
  # @equinor/fusion-framework-react-components-people-provider
2
2
 
3
- ## 1.5.26-next.2
3
+ ## 2.0.0-next.0
4
4
 
5
- ### Patch Changes
6
-
7
- - [`2022136`](https://github.com/equinor/fusion-framework/commit/2022136108a49cf2ccd8109e7e720aa2fbc135f1) Thanks [@odinr](https://github.com/odinr)! - relase next of all packages
5
+ ### Major Changes
8
6
 
9
- - Updated dependencies [[`2022136`](https://github.com/equinor/fusion-framework/commit/2022136108a49cf2ccd8109e7e720aa2fbc135f1)]:
10
- - @equinor/fusion-framework-react@7.4.19-next.2
11
- - @equinor/fusion-framework-module-services@7.1.5-next.1
12
- - @equinor/fusion-framework-react-module@3.1.14-next.1
13
- - @equinor/fusion-query@6.0.2-next.1
7
+ - [#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.
14
8
 
15
- ## 1.5.26-next.1
9
+ **Migration:** Update your application to React 18+ to continue using these packages.
16
10
 
17
- ### Patch Changes
11
+ Closes https://github.com/equinor/fusion-framework/issues/3504
18
12
 
19
- - [`895a49a`](https://github.com/equinor/fusion-framework/commit/895a49aaa815a6cd317e60f40875b1763bd6bded) Thanks [@odinr](https://github.com/odinr)! - relase next of all packages
13
+ - [#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.
20
14
 
21
- - Updated dependencies [[`895a49a`](https://github.com/equinor/fusion-framework/commit/895a49aaa815a6cd317e60f40875b1763bd6bded)]:
22
- - @equinor/fusion-framework-react@7.4.19-next.1
23
- - @equinor/fusion-framework-module-services@7.1.5-next.0
24
- - @equinor/fusion-framework-react-module@3.1.14-next.0
25
- - @equinor/fusion-query@6.0.2-next.0
15
+ **Breaking changes:**
16
+ - Peer dependencies now require React 18 or 19 (`^18.0.0 || ^19.0.0`)
17
+ - React 16 and 17 are no longer supported
18
+ - Dev dependencies upgraded to React 19.2.1 and @types/react 19.2.7
26
19
 
27
- ## 1.5.26-next.0
20
+ **Migration:**
21
+ - Update your React version to 18.0.0 or higher before upgrading these packages
22
+ - If using React 16 or 17, upgrade to React 18 or 19 first
28
23
 
29
24
  ### Patch Changes
30
25
 
31
- - Updated dependencies [[`d6be2c4`](https://github.com/equinor/fusion-framework/commit/d6be2c4f2e01bab008b4d1f78f9adecb06647e66)]:
32
- - @equinor/fusion-framework-react@7.4.19-next.0
33
- - @equinor/fusion-framework-module-services@7.1.4
26
+ - [#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
27
+
28
+ - 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)]:
29
+ - @equinor/fusion-framework-react-module@4.0.0-next.0
30
+ - @equinor/fusion-framework-react@8.0.0-next.0
31
+ - @equinor/fusion-query@7.0.0-next.0
32
+ - @equinor/fusion-framework-module-services@7.1.6-next.0
34
33
 
35
34
  ## 1.5.25
36
35
 
37
36
  ### Patch Changes
38
37
 
39
38
  - [#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.
40
-
41
39
  - Updated `@equinor/fusion-react-person` from `^0.10.3` to `^0.10.10` in app-react-people cookbook
42
40
  - Updated `@equinor/fusion-wc-person` from `^3.1.8` to `^3.2.4` in dev-portal and people-resolver packages
43
41
 
@@ -315,7 +313,6 @@
315
313
  ### Patch Changes
316
314
 
317
315
  - [#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:
318
-
319
316
  - Updated @equinor/fusion-wc-person to ^3.0.5 in package.json.
320
317
 
321
318
  ## 1.4.13
@@ -361,7 +358,6 @@
361
358
  - [#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.
362
359
 
363
360
  Updated the following dependencies
364
-
365
361
  - `@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`.
366
362
 
367
363
  - Updated dependencies [[`e11ad64`](https://github.com/equinor/fusion-framework/commit/e11ad64a42210443bdfd9ab9eb2fb95e7e345251)]:
@@ -375,7 +371,6 @@
375
371
  - [#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.
376
372
 
377
373
  Updated the following dependencies
378
-
379
374
  - `@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`.
380
375
 
381
376
  - Updated dependencies [[`73af73e`](https://github.com/equinor/fusion-framework/commit/73af73e5582ca27b132210af8ba308b80e036d51)]:
@@ -446,7 +441,6 @@
446
441
  - [#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.
447
442
 
448
443
  Removing the `removeComments` option allows TypeScript to preserve comments in the compiled JavaScript output. This can be beneficial for several reasons:
449
-
450
444
  1. Improved debugging: Preserved comments can help developers understand the code better during debugging sessions.
451
445
  2. Documentation: JSDoc comments and other important code documentation will be retained in the compiled output.
452
446
  3. Source map accuracy: Keeping comments can lead to more accurate source maps, which is crucial for debugging and error tracking.
@@ -514,7 +508,6 @@
514
508
  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.
515
509
 
516
510
  To update your code:
517
-
518
511
  - If you are using the `PeopleApiClient.photo` method directly, no changes are needed. The method will now properly type the response.
519
512
  - 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`.
520
513
 
@@ -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;AAEnC,qBAAqB,CAAC;AACtB,mBAAmB,CAAC;AACpB,iBAAiB,CAAC;AAClB,qBAAqB,CAAC;AACtB,mBAAmB,CAA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CAAC,CAAC;IAEf,OAAO,8BAAqB,GAAG,EAAE,GAAG,YAAG,QAAQ,GAAuB,CAAC;AACzE,CAAC,CAAC"}
@@ -1,3 +1,3 @@
1
1
  // Generated by genversion.
2
- export const version = '1.5.26-next.2';
2
+ export const version = '2.0.0-next.0';
3
3
  //# sourceMappingURL=version.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA,2BAA2B;AAC3B,MAAM,CAAC,MAAM,OAAO,GAAG,eAAe,CAAC"}
1
+ {"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA,2BAA2B;AAC3B,MAAM,CAAC,MAAM,OAAO,GAAG,cAAc,CAAC"}