Skip to content

Releases: MatthiasRobbers/shortbread

1.4.0

10 Apr 13:04
1360d82
Compare
Choose a tag to compare
  • Improve: Shortbread is now an isolating annotation processor, which improves the performance of incremental annotation processing.
    Before, the processor type was 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

1.3.0

31 Mar 11:38
7a264f8
Compare
Choose a tag to compare
  • 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

1.2.0

14 Mar 17:57
d693d48
Compare
Choose a tag to compare
  • 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

1.1.0

21 Jul 19:17
b74c395
Compare
Choose a tag to compare
  • 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

1.0.2

24 Sep 00:55
Compare
Choose a tag to compare
  • 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"
      }
    

1.0.1

04 Mar 14:49
Compare
Choose a tag to compare
  • 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

1.0.0

11 Feb 13:08
Compare
Choose a tag to compare

Initial release