All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Generating snapshots for third party libraries is now removed along with the
emerge.experimental.firstPartySnapshots
option. #581
- Support new
@EmergeSnapshotConfig
annotation from snapshots version 1.3.4. #538 - Local snapshots task now only generates previews for first-party snapshots from 4.3.0. #533
- Support ignoring private previews for first-party snapshot generation. #532
- Remove
includePreviewParamPreviews
configuration option. #535
- Behavior Change: Do not generate snapshots for third party libraries containing compose
previews. To re-enable the old behavior including third party snapshots use
emerge.experimental.firstPartySnapshots=false
in yourgradle.properties
. - Add Develocity Build Scan links for upload urls #525
- Disable caching of
LocalSnapshots
task since it depends on emulator state #511
- Shade/relocate dependencies to avoid conflicts with other plugins #453
- Drop support for AGP 7.X versions and Java 11, minimum version is now AGP 8.0.0 and Java 17
- Another fix for parsing git information on bitbucket #442
- Correctly parse git information on bitbucket and non https urls #439
- Correctly parse git/github/gitlab urls in all environments #419
- Fix bug where metadata was overwriting set values. #405
- Fix: logging and resolving dependencies at configuration time. #403
- Add cacheable task annotations. #380
Changes since 4.0.4-beta01:
- Skip non-
classes*.dex
files in local snapshotting. #312
- Update property access to support Gradle Plugin isolation (thanks @wbonnefond!). #307
- Add
includePreviewParamPreviews
as property to snapshots extension. #303
- Remove
previousSha
from PR uploads. #281
- Support @PreviewParameter annotated params in snapshots. (Requires snapshots library 1.3.0-rc01 or later). #271
- Add
previousSha
field to upload for use with history tracking. #274
4.0.0 brings support for Reaper, Emerge's library to detect dead code at runtime, as well as cleanups, bug fixes and pre-flight tasks for all products to check configuration before uploading.
Changes since 4.0.0-rc02:
- Adds size preflight check. #245
- Ignore GitHub/GitLab info in preflight checks if other is set. #247
- Add VCS info to preflight checks. #239
- Adds snapshot preflight check. #238
- Include GitHub event data in upload for debugging. #237
- Fix reaper preflight check to detect libraries without hooking minify task. #234
- Make reaper opt-in by specifying variants with
enabledVariants
property. #227 - Better handle
dryRun
to not cause a crash. #229 - Cleanup and move task registration logic into separate files in relevant packages. #225
- Hook default bundle task rather than having explicit initialize task. #223
- Make preflight reaper task args optional. #222
- Split emergeInitializeReaper task to validate & upload. #213
- Reaper instrumentation to use invoke-static rather than invoke-virtual. #199
- Add preflight task for Reaper. #197
- Set reaper manifest keys even when not enabled. #192
- Add Reaper instrumentation and tasks.
- Support
device
Preview annotation parameter in local snapshotting. #183
- Fix issue where Multipreview templates weren't retained. #176
- Add
includePrivatePreviews
snapshot configuration argument. #168 - Support
heightDp
,widthDp
,showBackground
,backgroundColor
preview annotation parameters. #167 - Support
showSystemUi
preview annotation parameter. #169 - Minor updates to info output. #170
- Add enabled field to each product configuration options. #158
- Add unit tests for SnapshotsPreviewRuntimeRetentionTransform. #159
- Remove plugin KSP setup & make runtime preview transform default behavior. #141
- Fix issue with ArtifactMetadata filename. #152
- Adds transform for marking preview annotations as runtime retention #139.
- Adds support for using new snapshot invoking using
LocalSnapshots
task #147. - Fix configuration cache violations. #143, #149
- Consistent build directory #133
- Don't skip private previews for
LocalSnapshots
task #164 - Update readme for 3.0.0 release. #162
- Remove plugin KSP setup & make runtime preview transform default behavior. #141
- Fix issue with ArtifactMetadata filename. #152
- Adds transform for marking preview annotations as runtime retention #139.
- Adds support for using new snapshot invoking using
LocalSnapshots
task #147. - Fix configuration cache violations. #143, #149
- Consistent build directory #133
- Add
--class
argument to local snapshots task to allow for specifying specific test classes. #131
- Add
tag.setFromVariant()
helper function to set the tag from the Android build variant. #128 - Add
gitLab
configration block to match docs & long-term plugin plans. #127
- Uses
tag
in favor of deprecatedbuildType
field. #118 - Set a custom user agent for uploads. #118
- Updates the generated snapshot URL. #119
- Fix for Git configuration cache issues. #52
- Add
apiVersion
param for snapshots. #109
- Additional debug logging. #94
- Add new
snapshots.experimentalInternalSnapshotsEnabled
property for generating snapshots from internal Preview functions. #92
- Additional debug logging. #83
- Additional debug logging. #80
- Additional debug logging. #78
- Issue where baseSha (among other extension properties) would throw an error if Git/GitHub fallbacks were not available. #63
- Support for outputting upload response info to build folder. #48
- Configuration cache issue due to not
using
@Internal
#44
- Support for generating snapshot tests from dependent modules. #32
- Support for generating snapshot tests from main sourceSet. #20