Skip to content

2.3.0

Choose a tag to compare

@zed-alpha zed-alpha released this 22 Nov 11:01
· 40 commits to main since this release

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: The colorCompat parameters are no longer nullable. Unspecified is used now instead of null.
  • view: Previously, Views that use color compat without the clip feature would be moved automatically to the required Background plane if not already there. This no longer happens; an explicit error message is logged instead in debug builds.

Changes:

  • compose: The ExperimentalColorCompat annotation has been deprecated and removed from the relevant Modifiers. The internal feature that this was awaiting didn't pan out and has been halted.
  • view: The MaterialComponentsViewPathProvider singleton has been deprecated and replaced with the MaterialShapeDrawableViewPathProvider class, 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 on Views at the root of their respective onscreen hierarchies.
  • view:lint: Corrected false warnings on certain non-View tags.