Skip to content

Commit

Permalink
Fix: fixes the antd peer dependencies for the @ant-design/icons (#3966)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
heath-freenome authored Nov 17, 2023
1 parent 2a3c7c8 commit cd2ebbc
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
12 changes: 8 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,14 @@ should change the heading of the (upcoming) version to include a major version b
-->
# 5.14.2

## @rjsf/antd

- Fixed the `peerDependencies` for `@ant-design/icons` to also support v5, fixing [#3507](https://github.com/rjsf-team/react-jsonschema-form/issues/3507)

## @rjsf/core

- avoid call `retrieveSchema` twice during `getStateFromProps` and `mustValidate` is true [#3959](https://github.com/rjsf-team/react-jsonschema-form/pull/3959)

## @rjsf/mui
- 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)

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

- 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)

## @rjsf/core

- avoid call `retrieveSchema` twice during `getStateFromProps` and `mustValidate` is true [#3959](https://github.com/rjsf-team/react-jsonschema-form/pull/3959)

# 5.14.1

## @rjsf/utils
Expand Down
2 changes: 1 addition & 1 deletion packages/antd/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"node": ">=14"
},
"peerDependencies": {
"@ant-design/icons": "^4.0.0",
"@ant-design/icons": "^4.0.0 || ^5.0.0",
"@rjsf/core": "^5.12.x",
"@rjsf/utils": "^5.12.x",
"antd": "^4.24.0 || ^5.8.5",
Expand Down

0 comments on commit cd2ebbc

Please sign in to comment.