Describe the bug
The minor version update from @jsonforms/material-renderers 3.6.0 to 3.7.0 drops support for versions of MUI < 7. That creates instability in applications that use MUI 6. npm will install both MUI instances, causing themes, components, and context to break.
SemVer requires minor version be backwards compatible. This change should be behind a major version of @jsonforms/material-renderers, or v3 should be patched to continue supporting the MUI versions allowed in 3.0-3.6.
Expected behavior
I install the minor version update of json-forms libraries, and my application builds and runs without issues.
Steps to reproduce the issue
- Install MUI 6 as a application dependency
- Install @jsonforms/material-renderers 3.6.0 as a dependency
- Verify that only one version of MUI is installed
- Update @jsonforms/material-renderers to 3.7.0
- Two major versions of MUI are installed.
Screenshots
No response
Which Version of JSON Forms are you using?
v3.7.0
Package
React Material Renderers
Additional context
No response