material-ui: Breaking change introduced in v5.11.11

Duplicates

  • I have searched the existing issues

Latest version

  • I have tested the latest version

Steps to reproduce 🕹

I believe following error is due to breaking changes introduced in version 5.11.11. We are forced to lock version numbers in our package.json

Not long ago we had to deal with another MUI patch release introducing breaking changes. Can you please stop doing this and bump minor version if you are introducing breaking changes, so we can follow a sane upgrade process? Please!

ERROR in ./node_modules/@mui/material/Badge/Badge.js 9:0-42 Module not found: Error: Can’t resolve ‘@mui/base/useBadge’ in ‘/app/node_modules/@mui/material/Badge’ resolve ‘@mui/base/useBadge’ in ‘/app/node_modules/@mui/material/Badge’ Parsed request is a module using description file: /app/node_modules/@mui/material/Badge/package.json (relative path: .) aliased with mapping ‘@mui/base’: ‘/app/node_modules/@mui/base’ to ‘/app/node_modules/@mui/base/useBadge’ using description file: /app/node_modules/@mui/material/Badge/package.json (relative path: .)

Current behavior 😯

Patch release introduces breaking changes.

Expected behavior 🤔

Patch release SHOULDN’T be introducing breaking changes.

Context 🔦

No response

Your environment 🌎

npx @mui/envinfo
  Don't forget to mention which browser you used.
  Output from `npx @mui/envinfo` goes here.

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Reactions: 1
  • Comments: 18 (10 by maintainers)

Most upvoted comments

@michaldudak can you calrify? @mui/base being transitive, we don’t have it in our package.json. How is the update suppose to have happened?