2.3.0
The main purpose of this release is to finally remove all of the deprecated ClippedShadow* elements, but there are several internal improvements too, as usual, and a handful of public API changes.
Breaking changes:
compose: ThecolorCompatparameters are no longer nullable.Unspecifiedis used now instead of null.view: Previously,Views that use color compat without the clip feature would be moved automatically to the requiredBackgroundplane if not already there. This no longer happens; an explicit error message is logged instead in debug builds.
Changes:
compose: TheExperimentalColorCompatannotation has been deprecated and removed from the relevantModifiers. The internal feature that this was awaiting didn't pan out and has been halted.view: TheMaterialComponentsViewPathProvidersingleton has been deprecated and replaced with theMaterialShapeDrawableViewPathProviderclass, which adds caching and a couple of companion utility members.
Bug fixes:
compose: Fixed an edge case bug with color compat where changing from black to color or back would fail.view: The library's features now work correctly onViews at the root of their respective onscreen hierarchies.view:lint: Corrected false warnings on certain non-Viewtags.