🎉 🎉 🎉 Happy new year 🎉 🎉 🎉
We're progressing fast on the 4.0 roadmap. This new alpha version uses material-ui v5, react-router v6 and react-query for data fetching instead of Redux. This last change should solve an entire category of bugs with minor BCs, and allow a lot more customization thanks to the awesome react-query features.
Here are the big changes you can find in this prerelease:
- ✅ Upgrade material-ui to v5 (#6650)
- ✅ Remove
redux-saga
and saga-based side effects (#6684) - ✅ Remove declarative side effects support in dataProvider (#6687)
- ✅ Remove
connected-react-router
(#6704) - ✅ Remove support for undoable prop now that we have mutationMode (#6711)
- ✅ Upgrade react-router to V6 (#6873)
- ✅ Remove permissions injection in main route controllers (#6921)
- ✅ Switch WithPermissions wrapping to a useAuthenticated hook in main controllers (based on a boolean so that users can create an anonymous show view with
<Show authenticated={false}>
) (#6921) - ✅ Replace Redux-based query cache by react-query
- ✅ Cleanup data reducers (#7001)
- ✅ Use MUI autocomplete instead of our own (#6924, #6971)
- ✅ Remove useGetMatching (use getList instead) (#6916)
Check the 4.0.0-alpha.1 milestone for the list of PRs merged in this release.
Check the 4.0 Roadmap for details about the changes left for the 4.0 stable release.