Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency @mui/material to v5.13.0 #545

Merged
merged 1 commit into from
May 10, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 6, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@mui/material (source) 5.12.2 -> 5.13.0 age adoption passing confidence

Release Notes

mui/material-ui

v5.13.0

Compare Source

May 10, 2023

A big thanks to the 18 contributors who made this release possible. Here are some highlights ✨:

  • 🚀 Base UI is now in beta - all planned breaking changes are now complete!
  • 🗺 We have a new project roadmap on GitHub where you can learn about what's coming next.
  • 🐛 Various bug fixes, 📚 documentation and 🧪 testing improvements
@mui/material@5.13.0
@mui/joy@5.0.0-alpha.79
@mui/base@5.0.0-beta.0
Docs
Core

All contributors of this release in alphabetical order: @​akash191095, @​DanailH, @​danilo-leal, @​DerTimonius, @​gerdadesign, @​hbjORbj, @​kriskw1999, @​michaldudak, @​mnajdova, @​oliviertassinari, @​PunitSoniME, @​romgrk, @​sai6855, @​ulrichstark, @​uuxxx, @​wewakekumar, @​ZeeshanTamboli, @​zignis

v5.12.3

Compare Source

May 2, 2023

A big thanks to the 18 contributors who made this release possible. Here are some highlights ✨:

  • all planned breaking changes for Base UI are done. The first beta release should come next week 🎉
  • 🐛 bug fixes and 📚 documentation improvements.
@mui/material@5.12.3
@mui/joy@5.0.0-alpha.78
@mui/base@5.0.0-alpha.128
Breaking changes
  • The component prop is no longer supported because it can be replaced with the slots API. This is how the transformation will look like:

     <Button
    -  component="span"
    +  slots={{ root: "span" }}
     />

    If using TypeScript, the custom component type should be added as a generic on the Button component.

    -<Button
    +<Button<typeof CustomComponent>
       slots={{ root: CustomComponent }}
       customProp="foo"
     />

    There is codemod that you can run in your project to do the transformation:

    npx @&#8203;mui/codemod v5.0.0/base-remove-component-prop <path>

    The full documentation about the codemod can be found here.

    This is the list of PR related to this change:

  • ​[base] Improve API consistency (#​36970) @​michaldudak

    Brought consistency to Base UI components and hooks' parameters and return values:

    1. Whenever a hook needs a ref, it's now called <slot_name>Ref, which matches the get<slot_name>Props in the return value.
    2. All hooks that accept external refs now return merged refs, making combining multiple hooks on one element easier. This was proven necessary in several compound components (like menuItem being both a button and a list item). The type of this value is React.RefCallback as using the more general React.Ref caused variance issues.
    3. Type of accepted refs is standardized to React.Ref<Element>
    4. Naming and typing of the forwarded ref in unstyled components were standardized - it's forwardedRef: React.ForwardedRef (unless a more specific type is needed).
    5. The shape of the definition of unstyled components was standardized - it's React.forwardRef(function Component(props: Props, forwardedRef: React.Ref) { ... });. Specifically, the generic parameters of forwardRef were removed as they are specified in function arguments.
Changes
Docs
Core

All contributors of this release in alphabetical order: @​cherniavskii, @​DavidBoyer11, @​hbjORbj, @​jakub-stastny, @​joserodolfofreitas, @​maxdestors, @​michaldudak, @​mj12albert, @​mnajdova, @​navedqb, @​nicolas-ot, @​oliviertassinari, @​PunitSoniME, @​sai6855, @​samuelsycamore, @​siriwatknp, @​varunmulay22, @​ZeeshanTamboli


Configuration

📅 Schedule: Branch creation - "every weekend" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/material-ui-monorepo branch 4 times, most recently from 844ecad to fd1ec90 Compare May 10, 2023 11:49
@renovate renovate bot changed the title Update dependency @mui/material to v5.12.3 Update dependency @mui/material to v5.13.0 May 10, 2023
@renovate renovate bot force-pushed the renovate/material-ui-monorepo branch from fd1ec90 to f9d1669 Compare May 10, 2023 11:55
@ranger-ross ranger-ross merged commit c9f2de8 into main May 10, 2023
@ranger-ross ranger-ross deleted the renovate/material-ui-monorepo branch May 10, 2023 11:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant