Dependency Upgrade: Kotlin 2.1.20
Breaking Changes: The Gradle Plugin and Compose UI library have undergone significant changes, including multiple breaking API changes.
Breaking Change: The Gradle Plugin has moved to a Property based configuration schema with nested configs for better organization.
Breaking Change: The Gradle Plugin's configuration options which were Array or List types have been changed to Set types.
Breaking Change: The Gradle Plugin now only has a singular outputPath property, to specify where the generated file should be written to.
Behaviour Change: The Gradle Plugin will now do parts of the setup during configuration time to improve configuration cache compatibility.
Breaking Change: The Compose UI APIs were overhauled to improve the API and reduce the number of parameters, and make it more flexible for the future.
API changes to simplify the expansion and configuration of the compose UI.
v11.x.y
LibrariesContainer(
itemContentPadding = PaddingValues(16.dp),
itemSpacing = 2.dp
)v12.x.y
LibrariesContainer(
padding = LibraryDefaults.libraryPadding(contentPadding = PaddingValues(16.dp)),
dimensions = LibraryDefaults.libraryDimensions(itemSpacing = 2.dp),
)- v10 includes a major rewrite of the
Gradle Plugin. The oldxmlstring resource format definitions are no longer supported.- All meta information is now written to a single json file
- Old
enchantconfig files are no longer supported
- The UI module dropped a major amount of configurations to lower complexity.
- TODO
- in case your project has custom licenses, check out the new feature to allow the license description be included as raw file. This helps to solve the potential STRING_TOO_LARGE issue.
- Upgraded the library to be in
kotlindependencies. - Update
FastAdapterto v4 - If you use this library too, please check out the migration guide - Update
Android-Iconicsto v4 - If you use this library too, please check out the migration guide
- Upgraded the library to use
androidXdependencies. This means your project will need to depend onandroidXdependencies too. If you still use appcompat please consider using a version older than v6.2.x. - Further details about migrating to androidX and a overview can be found on the official docs. https://developer.android.com/topic/libraries/support-library/refactor
IMPORTANT IF YOU USE THE FASTADAPTER OR MATERIALDRAWER
- You have to update your FastAdapter dependency to v3.0.0 with this release
- See the MIGRATION information of the FastAdapter https://github.com/mikepenz/FastAdapter/blob/develop/MIGRATION.md
IMPORTANT IF YOU USE THE Android-Iconics
- You have to update your Android-Iconics dependency to v2.9.0 with this release
- See the MIGRATION information of the Android-Iconics https://github.com/mikepenz/Android-Iconics/blob/develop/MIGRATION.md#290
IMPORTANT IF YOU USE THE FASTADAPTER OR MATERIALDRAWER
- You have to update your FastAdapter dependency to v2.5.0 with this release
- See the MIGRATION information of the FastAdapter https://github.com/mikepenz/FastAdapter/blob/develop/MIGRATION.md
IMPORTANT IF YOU USE THE FASTADAPTER OR MATERIALDRAWER
- You have to update your FastAdapter dependency to v2.1.0 with this release
- See the MIGRATION information of the FastAdapter https://github.com/mikepenz/FastAdapter/blob/develop/MIGRATION.md
IMPORTANT IF YOU USE THE FASTADAPTER
- You have to update your FastAdapter dependency to v2.0.0 with this release
- See the MIGRATION information of the FastAdapter https://github.com/mikepenz/FastAdapter/blob/develop/MIGRATION.md
IMPORTANT IF YOU USE THE FASTADAPTER
- This release brings a breaking interface change. Your items now have to implement
bindView(ViewHolder holder, List payloads)instead ofbindView(VH holder). - The additional payload can be used to implement a more performant view updating when only parts of
the item have changed. Please also refer to the
DiffUtilswhich may provide the payload.
- Dropping support for API < 14. New MinSdkVersion is 14
- Change
void onLibTaskFinished()tovoid onLibTaskFinished(FastItemAdapter fastItemAdapter)
- renamed
withAnimations()towithSlideInAnimation()and change the default tofalse - now use the
DefaultItemAnimatorto animate the displaying of the elements - you can now define a different
ItemAnimatorviaLibsConfiguration.getInstance().setItemAnimator()
- change
.fragment()to.supportFragment()andLibsFragmenttoLibsSupportFragment
INFO
- moved logic of the fragment to the new
LibsFragmentCompatclass - create new
LibsSupportFragmentwhich extends theandroid.support.v4.app.Fragment - change the
LibsFragmentwhich now extends theandroid.app.Fragment - add new method
.supportFragment()which returnsandroid.support.v4.app.Fragment - change
.fragment()which now returnsandroid.app.Fragment