- Breaking Change: Deprecated APIs from v12.x.y were removed
- Breaking Change: The
Gradle Pluginwas split into 2. The main plugin that is registering all the manual tasks, and an Android specific one automatically registering the Android auto generation task.- For most projects the manual tasks are recommended. Only if you require or want to use the generation as part of the android build, use the
.androidplugin. - The main plugin (
com.mikepenz.aboutlibraries.plugin) provides tasks likeexportLibraryDefinitionsthat need to be manually executed - The Android plugin (
com.mikepenz.aboutlibraries.plugin.android) automatically hooks into the Android build process
- For most projects the manual tasks are recommended. Only if you require or want to use the generation as part of the android build, use the
// To use the Android auto registering plugin - add the following to your module:
id("com.mikepenz.aboutlibraries.plugin.android")- Breaking Change: The
AndroidConfigclass and itsregisterAndroidTasksproperty were removed, replaced by the Android-specific plugin - Breaking Change: Reworked the
LibraryColorsinterface to be more descriptive and more flexible- Renamed
backgroundColortolibraryBackgroundColor - Renamed
contentColortolibraryContentColor - Added new background, content color variants for the dialog
- Renamed
- Breaking Change: Renamed
nameTextStylesinlibraryTextStyles/LibraryTextStylestonameTextStyle(to align with other styles). - Breaking Change: Introduced new
libraryPadding()default function to replace the existing one. This moves to use a new class to hold chip paddings. - Breaking Change: Wrappers around the
LibrariesContainerwere deprecated in favor ofremember*functions. To be removed in release13.x.y. - Breaking Change: The
LicenseDialogBodynow also accepts theModifierto include padding in text instead of scrollable container - Deprecate: Deprecate series of APIs to cleanup and simplify API surface, and simplify maintenance.
- Note: Updated README to suggest new non deprecated API for using
LibrariesContaineron Android.
- Dependency Upgrade: Kotlin 2.1.20
- Breaking Change: The
Gradle PluginandCompose UIlibrary have undergone significant changes, including multiple breaking API changes. - Breaking Change: The
Gradle Pluginhas moved to aPropertybased configuration schema with nested configs for better organization. - Breaking Change: The
Gradle Plugin'sconfiguration options which wereArrayorListtypes have been changed toSettypes. - Breaking Change: The
Gradle Pluginnow only has a singularoutputPathproperty, to specify where the generated file should be written to. - Behaviour Change: The
Gradle Pluginwill 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