Skip to content

Commit 7b867a7

Browse files
Fix 4285 by adding support for MUI v6
- Updated `@rjsf/mui` to update the dev dependencies for `@mui/*` to v6 and the peer dependencies to add MUI v6 - Updated the playground to update `@mui/*` to v6 - Also changed the dropdown name from `material-ui-5` to `mui` and switched `Layout` to use the `PropsWithChildren` for its props - Updated the `Form.test.tsx` to add information to the fake node to allow the tests to work with v6 - Ran `npm run test:update` to update the snapshots due to the v6 and emotion upgrades - Updated the test snapshots for `@rjsf/chakra-ui` which also uses emotion - Updated `CHANGELOG.md` accordingly, bumping to `5.21.0`
1 parent 018621e commit 7b867a7

File tree

14 files changed

+4123
-6219
lines changed

14 files changed

+4123
-6219
lines changed

CHANGELOG.md

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,19 +16,30 @@ should change the heading of the (upcoming) version to include a major version b
1616
1717
-->
1818

19-
# 5.20.2
19+
# 5.21.0
20+
21+
## @rjsf/core
22+
23+
- Updated `Form` to fix `focusOnError()` to support the ids that include dots, fixing [#4279](https://github.com/rjsf-team/react-jsonschema-form/issues/4279)
24+
25+
## @rjsf/mui
26+
27+
- Updated the peer dependencies for `@mui/material` and `@mui/icon-material`, fixing [4283](https://github.com/rjsf-team/react-jsonschema-form/issues/4283)
2028

2129
## @rjsf/utils
2230

2331
- Fixes an issue with dependencies computeDefaults to ensure we can get the dependencies defaults [#4271](https://github.com/rjsf-team/react-jsonschema-form/issues/4271)
2432
- Updated `deepEquals()` to use `fast-equals.createCustomEqual()` instead of `lodash.isEqualWith()`, fixing [#4291](https://github.com/rjsf-team/react-jsonschema-form/issues/4291)
2533
- Switched uses of `lodash.isEqual()` to `deepEquals()` in many of the utility functions as well
2634

27-
2835
## @validator-ajv8
2936

3037
- Use `@rjsf/utils` `deepEquals()` instead of `lodash.isEqual()` to improve performance, fixing [#4291](https://github.com/rjsf-team/react-jsonschema-form/issues/4291)
3138

39+
## Dev / docs / playground
40+
41+
- Updated the playground to use `@mui/*` version 6, changing the name of the dropdown from `material-ui-5` to `mui`
42+
3243
# 5.20.1
3344

3445
## Dev / docs / playground

0 commit comments

Comments
 (0)