Skip to content

Latest commit

 

History

History
67 lines (53 loc) · 2.96 KB

CHANGELOG.md

File metadata and controls

67 lines (53 loc) · 2.96 KB

Change Log

Version 1.4.0 (2021-04-10)

  • Improve: Shortbread is now an isolating annotation processor, which improves the performance of incremental annotation processing. Before, the processor was of type aggregating and it would generate a single class ShortbreadGenerated. Now it generates one class for each activity that contains shortcuts, e.g. MoviesActivity_Shortcuts. The generated classes are still only used by the library itself, the consumer does not interact with them.
  • Improve: Shortcut methods/functions don't have to be public anymore. Any visibility higher than private is enough.
  • Fix: When using R2, resource values sometimes were not properly read when the incremental annotation processing was incremental
  • New: The module :sample-library shows how to use Shortbread in a library module

Version 1.3.0 (2021-03-31)

  • New: Shortbread is now initialized automatically using App Startup
  • Deprecated: Shortbread.create(context) - no need to call this anymore as the shortcuts are set automatically during app startup
  • Fix: Resource values sometimes were not properly read when the incremental annotation processing was incremental
  • Improve: ActivityLifecycleCallbacks will not be registered if there are no method shortcuts

Version 1.2.0 (2021-03-14)

  • New: Support for non-final resource IDs. See README.md for detailed usage instructions.
  • Update: androidx.annotation:annotation to 1.1.0
  • Update: Android Gradle plugin to 4.1.2
  • Migrated publishing from JCenter to Maven Central

Version 1.1.0 (2020-07-21)

  • New: Support for incremental annotation processing
  • Switch from Support annotations library to androidx.annotation
  • Java 8 is now required
  • Minimum SDK increased from 9 to 14 (app shortcuts are still not available before 25)
  • Update: Android Gradle plugin to 3.6.4
  • Some small changes to bring everything to 2020

Version 1.0.2 (2017-09-24)

  • Fix: Annotated methods are called before onCreate() (#13)

  • Update: Support annotations library to 26.0.2. This requires the new Google Maven Repository:

    google()

    or

    maven {
        url "https://maven.google.com"
    }

Version 1.0.1 (2017-03-04)

  • Fix: Shortbread.create(context) can now also be called if there are no @Shortcut annotations in the code, which before produced a crash. Previously created shortcuts are now removed.
  • Fix: Internal NullPointerException when an activity containing method shortcuts is not launched via a method shortcut
  • Add Javadoc for the public API

Version 1.0.0 (2017-02-11)

Initial release