Skip to content

Dropping MUI 6 Support is a breaking change, but released as a minor version update to @jsonforms/material-renderers #2547

@mattgif

Description

@mattgif

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

  1. Install MUI 6 as a application dependency
  2. Install @jsonforms/material-renderers 3.6.0 as a dependency
  3. Verify that only one version of MUI is installed
  4. Update @jsonforms/material-renderers to 3.7.0
  5. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions