Skip to content

v0.21.0

Choose a tag to compare

@leecalcote leecalcote released this 02 May 07:37
· 270 commits to master since this release
2cc3185

Major: MUI v7 → v9 ecosystem upgrade

This release lifts sistent to the MUI v9 ecosystem and stops bundling its own copy of MUI, eliminating the long-standing duplicate-Theme issue that surfaced in downstream consumers (most visibly meshery-cloud's make ui-build: error TS2322: Type 'SxProps<Theme>' is not assignable to type 'SxProps<Theme>').

Highlights

  • @mui/material and @mui/system move from dependencies to peerDependencies with ^9.0.0 — sistent declares the contract, the consumer owns the instance.
  • @mui/icons-material added to peerDependencies similarly.
  • @sistent/mui-datatables bumped to ^7.0.0 for v9 compatibility.
  • v9 prop-shape migrations applied internally:
    • Autocomplete.renderTagsrenderValue (UserSearchField, WorkspaceEnvironmentSelection)
    • Typography.fontWeight top-level prop → sx: { fontWeight } (~10 sites)
    • Popover.PaperPropsslotProps.paper (HelperTextPopover)
    • Tooltip.componentsPropsslotProps (CustomTooltip)
    • Typography.fontFamily top-level prop → sx: { fontFamily } (FilterSection)

Why this is a minor bump (0.20 → 0.21)

The peer-dep range change is breaking for consumers still on @mui/material v7, but matches this project's existing semver convention for MUI-major bumps. Downstream consumers (meshery-cloud, meshery) need to be on @mui/material@^9 to install this release.

Migration

Consumers must already be on @mui/material@^9.0.0. No source changes required at the consumer level beyond the version bump.

PR: #1460
Companion release: @sistent/mui-datatables@7.0.0