Closed beverloo closed 2 months ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
react-hook-form-material-ui | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Sep 1, 2024 4:08pm |
Please take a look! I think I've built and tested everything I can in the library, however a double check would definitely be appreciated.
I had expected that code changes would've been necessary, but there were none. There are a number of deprecations in v6 that RHF-MUI is subject to, particularly moving to slots
for e.g. InputProps
, but adopting those won't be required until at least v7.
@beverloo thanks for taking your time I published 7.1.0 with the compatibility for MUI v6
The PR was validated by (successfully) linting and building all targets, and comparing the storybook with the published version having found no visual or behavioural differences. Since no code changes were necessary this might not even need a new major release :)
There are two notable changes from the migration guide that have not been adopted yet: https://mui.com/material-ui/migration/upgrade-to-v6/
When a MUI X dependency is used (i.e. @mui/x-date-pickers) then, when wanting to use it together with MUI v6, the minimum version is MUI X v7.15 as that adds the peer dependency allowance. However, since it still supports v5 as well, I did not update the minimum MUI X version in package.json.
Fixes #273