Skip to content

Commit cd2ebbc

Browse files
Fix: fixes the antd peer dependencies for the @ant-design/icons (#3966)
Fixes: #3507 to allow v5 `@ant-design/icons` - Updated the `antd` package.json to add `@ant-design/icons` v5 to the peer dependencies - Updated the `CHANGELOG.md` accordinglyl
1 parent 2a3c7c8 commit cd2ebbc

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

CHANGELOG.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,14 @@ should change the heading of the (upcoming) version to include a major version b
1717
-->
1818
# 5.14.2
1919

20+
## @rjsf/antd
21+
22+
- Fixed the `peerDependencies` for `@ant-design/icons` to also support v5, fixing [#3507](https://github.com/rjsf-team/react-jsonschema-form/issues/3507)
23+
24+
## @rjsf/core
25+
26+
- avoid call `retrieveSchema` twice during `getStateFromProps` and `mustValidate` is true [#3959](https://github.com/rjsf-team/react-jsonschema-form/pull/3959)
27+
2028
## @rjsf/mui
2129
- Resolve the React error caused by the propagation of the `hideError` property to the DOM element, fixing [#3945](https://github.com/rjsf-team/react-jsonschema-form/issues/3945)
2230

@@ -27,10 +35,6 @@ should change the heading of the (upcoming) version to include a major version b
2735

2836
- Update `sanitizeDataForNewSchema()` to avoid spreading strings and Arrays into the returned value when the old schema is of type `string` or `array` and the new schema is of type `object`. Fixing [#3922](https://github.com/rjsf-team/react-jsonschema-form/issues/3922)
2937

30-
## @rjsf/core
31-
32-
- avoid call `retrieveSchema` twice during `getStateFromProps` and `mustValidate` is true [#3959](https://github.com/rjsf-team/react-jsonschema-form/pull/3959)
33-
3438
# 5.14.1
3539

3640
## @rjsf/utils

packages/antd/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"node": ">=14"
3434
},
3535
"peerDependencies": {
36-
"@ant-design/icons": "^4.0.0",
36+
"@ant-design/icons": "^4.0.0 || ^5.0.0",
3737
"@rjsf/core": "^5.12.x",
3838
"@rjsf/utils": "^5.12.x",
3939
"antd": "^4.24.0 || ^5.8.5",

0 commit comments

Comments
 (0)