Releases: MatthiasRobbers/shortbread
Releases · MatthiasRobbers/shortbread
1.4.0
- 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 classShortbreadGenerated
. 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 thanprivate
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
- 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
1.1.0
- New: Support for incremental annotation processing
- Switch from Support annotations library to
androidx.annotation
- Java 8 is now required
- Minimum SDK increased from
9
to14
(app shortcuts are still not available before25
) - Update: Android Gradle plugin to
3.6.4
- Some small changes to bring everything to 2020
1.0.2
1.0.1
- 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
Initial release