Skip to content
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.

v0.4.0

Compare
Choose a tag to compare
@github-actions github-actions released this 05 Jan 10:14
· 63 commits to main since this release

New Maven group name

To better seperate the libraries released under my domain, I'm moved all of the libraries to the dev.chrisbanes.insetter group.

- implementation 'dev.chrisbanes:insetter:XXX'
+ implementation 'dev.chrisbanes.insetter:insetter:0.4.0'

- implementation 'dev.chrisbanes:insetter-dbx:XXX'
+ implementation 'dev.chrisbanes.insetter:insetter-dbx:0.4.0'

- implementation 'dev.chrisbanes:insetter-widgets:XXX'
+ implementation 'dev.chrisbanes.insetter:insetter-widgets:0.4.0'

Note: Only the Maven dependency group name has changed. The package name is unaffected.

Re-written in Kotlin

The whole library has now been converted to Kotlin to increase development speed. For this release, we've kept the exact existing API, so anyone using this from Java should see no API changes.

Going forward we will be updating the API to improve the ergonomics for Kotlin users. We will of course maintain compatability for Java users, but not necessarily the exact API we currently have.

KTX library has been removed

Since the whole library is now written in Kotlin, we no longer require a seperate KTX library. The KTX library has been removed in v0.4.0, and it's extension functions moved to the main library. This means you can safely remove the ktx dependency and use the main library like so:

- implementation 'dev.chrisbanes:insetter-ktx:XXX'
+ implementation 'dev.chrisbanes.insetter:insetter:0.4.0'

New website and docs

We now have a proper documentation website with API docs 🎉: https://chrisbanes.github.io/insetter/

Bug fixes

Thanks to @VitaliyBelyaev and @mercuriy94 for lots of bug fixes (see below). Sorry for taking so long to release them!

Future

I'll soon begin working on updating Insetter to include support for the new inset types introduced in Android 11, as well as exploring support for WindowInsetsAnimation. Coming soon...

All changes