diff --git a/CHANGELOG.md b/CHANGELOG.md index 0b53a932..91709b4f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,20 +1,31 @@ # Change Log +-Added some ProvidableCompositionLocals and improved Compose sample + +## Compose [1.0.0-alpha04] - 2022-05-17 + +- Added optional label to main FAB + ## Compose [1.0.0-alpha03] - 2022-05-16 + - Added optional label to main FAB ## Compose [1.0.0-alpha02] - 2022-05-15 + - Fixed access to top-members of the AAR (more info here: https://stackoverflow.com/q/72244263/293878) ## Compose [1.0.0-alpha01] - 2022-05-14 + - First release of SpeedDial for Compose ## Classic View [3.3.0] - 2022-05-14 + - fixed #168: Stack overflow when setting contentDescription to main FAB - preventing user to be forced out of touch mode (thank you @zhanghai for the PR) - updated several dependencies ## Classic View [3.2.0] - 2021-05-22 + - fixed #159: Publish latest version to Maven Central, now that JCenter will be sunset - fixed #149: Accessibility issues: - the closest Action Item to the Main FAB is now focused @@ -23,10 +34,13 @@ - updated several dependencies ## Classic View [3.1.1] - 2019-09-10 + - fixed #11: Re-enabling FAB size -- Revert `com.google.android.material` to `1.0.0` (version `1.1.0-beta01` can still be used, just specify this version explicitly on your build.gradle file). +- Revert `com.google.android.material` to `1.0.0` (version `1.1.0-beta01` can still be used, just specify this version explicitly on your build.gradle + file). ## Classic View [3.1.0] - 2019-09-10 + - fixed #113: Main FAB opened image is not centered when using Theme.MaterialComponents - fixed #101: Add ability to Disable Main Fab - API changes: @@ -34,15 +48,18 @@ - migrated Sample project to Kotlin ## Classic View [3.0.0] - 2019-07-27 + - fixed #92: Migrate to AndroidX - fixed #100: Use unique view IDs - fixed #109: Added resource ID for main FAB - updated gradle and Android gradle plugin ## Classic View [2.0.1] - 2018-09-28 + - fixed #95: support 28 workaround does not work on minified release apk ## Classic View [2.0.0] - 2018-09-23 + - updated support library to v28.0.0 - workaround for https://issuetracker.google.com/issues/111316656 <- **PLEASE STAR THIS ISSUE** - fixed #79: Does not change label text language when app language is changed dynamically @@ -50,24 +67,30 @@ - API changes: - added support to String resources for labels - `SpeedDialActionItem.getLabel()` now requires a `Context` - - added `SpeedDialActionItem.Builder()` constructor that accepts a `SpeedDialActionItem` to be used for default values (useful to modify an existing Action Item without replacing it completely) + - added `SpeedDialActionItem.Builder()` constructor that accepts a `SpeedDialActionItem` to be used for default values (useful to modify an + existing Action Item without replacing it completely) - added `SpeedDialActionItem.createFabWithLabelView()` - - all the `SpeedDialView` add and replace methods now return an instance of the `FabWithLabelView` they create (useful to modify an existing Action Item without replacing it completely) + - all the `SpeedDialView` add and replace methods now return an instance of the `FabWithLabelView` they create (useful to modify an existing + Action Item without replacing it completely) - added `FabWithLabelView.getSpeedDialActionItemBuilder()` (useful to modify an existing Action Item without replacing it completely) ## Classic View [1.0.2] - 2018-06-30 + - fixed #65: Main FAB not centered when using RTL - fixed #71: Animation feels slower than Google Inbox - fixed #72: FAB vertical padding should be 16dp instead of 18dp ## Classic View [1.0.1] - 2018-06-15 + - fixed #62: Click between Label and FAB handled as a dismiss action - fixed #60: Label transparent background not being applied ## Classic View [1.0.0] - 2018-06-03 + - first stable release (no changes from 1.0-alpha06) ## Classic View [1.0-alpha06] - 2018-05-12 + - updated gradle plugin to 3.1.2 - several API changes: - added `sdOverlayLayout` attribute @@ -87,9 +110,10 @@ - renamed `sdMainFabCloseRotateAngle` to `sdMainFabAnimationRotateAngle` ## Classic View [1.0-alpha05] - 2018-04-15 + - added Menu Resource support (no color customization possible) -- `Drawable`s are not parcelables so is not possible to restore them when the view is recreated - for example after an orientation change. If possible always use the `DrawableRes`. +- `Drawable`s are not parcelables so is not possible to restore them when the view is recreated for example after an orientation change. If possible + always use the `DrawableRes`. - fixed Expansion mode and rotate angle not persisted on orientation change - fixed inverted behavior for `SpeedDialView.setMainFabClosedBackgroundColor` and `SpeedDialView.setMainFabOpenedBackgroundColor` @@ -99,6 +123,7 @@ - optional no animation for open/close/toggle ## Classic View [1.0-alpha04] - 2018-04-14 + - android support library 27.1.1 - lowered minSdk from 15 to 14 - several API changes: @@ -123,13 +148,15 @@ - renamed attributes `sdFabOpenedSrc` to `sdMainFabOpenedSrc` - removed attributes `sdFabRotateOnToggle` - added attributes `sdMainFabAnimationRotateAngle` - - minor fixes +- minor fixes ## Classic View [1.0-alpha03] - 2018-04-02 + - fixed #4: FAB icons rotate only once - renamed attribute close_src to sdFabOpenedSrc - added attributes `sdFabRotateOnToggle` and `sdExpansionMode` - fixed various minor UI issues ## Classic View [1.0-alpha02] - 2018-04-01 + - first public release diff --git a/README.md b/README.md index 05038ced..a9f20a0f 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,7 @@ Dependencies entry (latest version on Maven Central ![Maven Central Compose](htt ```groovy // Compose only -implementation "com.leinardi.android:speed-dial.compose:1.0.0-alpha03" +implementation "com.leinardi.android:speed-dial.compose:1.0.0-alpha04" // Classic View only implementation "com.leinardi.android:speed-dial:3.3.0" diff --git a/build-conventions/src/main/groovy/speeddial.config-conventions.gradle b/build-conventions/src/main/groovy/speeddial.config-conventions.gradle index 2f4b85ff..c5fdf613 100644 --- a/build-conventions/src/main/groovy/speeddial.config-conventions.gradle +++ b/build-conventions/src/main/groovy/speeddial.config-conventions.gradle @@ -24,8 +24,8 @@ ext.config = [ 'targetSdk' : 31, 'version_code' : commitCount.isNumber() ? commitCount as int : 0, 'version_name_view' : '3.3.0', - 'version_name_compose' : '1.0.0-alpha03', - 'version_name_sample' : '4.1.0', + 'version_name_compose' : '1.0.0-alpha04', + 'version_name_sample' : '4.2.0', ], params : [