Changelog
Stay up to date with Compose Unstyled's new shiny features and improvements
To receive updates straight into your email, subscribe below.
1.39.0
Preparing for 2.0
Instead of breaking your build on every shiny new change we want to make, we follow the following strategy:
- Never introduce breaking API changes (unless some part of the library is broken).
- Plan breaking API changes by deprecating the old API (marked with
@Deprecated
) and pointing you towards the new implementation. - You can safely use deprecated functionality until the next major release of the library (which is going to be
2.0
). - Provide you with a migration plan when the next major release is available.
Any other major changes will be listed in the Upcoming Changes page.
New APIs
- 🆕
TriStateCheckbox
component. - 🆕
buildModifier { }
styling function. - 🆕
Modifier.focusRing()
styling modifier. - Made the following state constructors public:
DialogState
,BottomSheetState
andModalBottomSheetState
. This is done so that you can easily create state objects for your own sheet implementations that hold the Unstyled version.
UX Improvements
ModalBottomSheet
now animates itsScrim
away as soon as we know it will be dismissed instead of waiting for its bottom sheet to be fully dismissed. This results in a smoother UX without having to wait for animations to end (Discussion)
Bug fixes
Modifier.outline()
now requires a positive number to be passed in the offset parameter.
Other
- Upgrade Compose to 1.8.2 and Kotlin to 2.2.0
- Document
Modal
- Add Compose Hot Reload