Changelog History
-
v2.2.0 Changes
October 29, 2020๐ Changes
- ๐ Upgrade Google Play Publisher dependency to v3.0.0.
- ๐ Change min required gradle version to
6.5.0
. - ๐ Change min Android Gradle plugin gradle version to
4.1.0
.
๐ฅ Breaking changes
- ๐ After AGP 4.1 the version name cannot be applied only to specific plugin tasks. In turn, it's applied in the configuration step, causing all builds to contain
versionNameFormat
. AGP 4.2 fixes this issue but is still in alpha. If you're using a lower version of AGP, you can use the version of 2.1.0.
-
v2.1.0 Changes
January 31, 2020๐ Changes
- ๐ Upgrade Google Play Publisher dependency to v2.6.2.
- ๐ Change min required gradle version to 6.0.
-
v2.0.0 Changes
October 15, 2019๐ Changes
Firebase app distribution migration
๐ Google deprecated and migrated Fabric Craslytics Beta to Firebase app distribution.
๐ The documentation specifies the required changes to use the new tool.Migration:
๐ Change plugin dependency setup:
๐ Version 1x:
buildscript { repositories { maven { url "https://plugins.gradle.org/m2/" } maven { url 'https://maven.fabric.io/public' } // Remove it } dependencies { classpath "com.xmartlabs:snapshot-publisher:1.0.4" // Replace version } }
๐ Version 2x:
buildscript { repositories { gradlePluginPortal() google() // Add it } dependencies { classpath "com.xmartlabs:snapshot-publisher:2.0.0" // Replace version } }
๐ Change the previous
fabric
block to the newfirebaseAppDistribution
block:๐ Version 1x:
snapshotPublisher { fabric { distributionEmails = "[email protected]" distributionGroupAliases = "tester-group" distributionNotifications = true // Must be deleted } // ...}
๐ Version 2x:
snapshotPublisher { firebaseAppDistribution { distributionEmails ="[email protected]" distributionGroupAliases = "tester-group" appId = null // New parameter serviceAccountCredentials = "/path/to/your-service-account-key.json" // new parameter } // ...}
appId
: Your app's Firebase App ID.
๐ Required only if you don't have the google services gradle plugin installed.
You can find the App ID in the google-services.json file or in the Firebase console on the General Settings page.
๐ The value in your build.gradle file overrides the value output from the google-services gradle plugin.serviceAccountCredentials
: The path to your service account private key JSON file.
๐ To release to Firebase you must create a Google service account with Firebase Quality Admin role.
If you don't have a service account, you can create one following this guide.
๐ฅ Breaking changes
- ๐ Fabric Craslytics Beta integration was removed
- Google Play's service credential account file path was changed to a credential file path.
Migration:
๐ Version 1x:
snapshotPublisher { googlePlay { serviceAccountCredentials = file("/path/to/your-service-account-key.json") } // ...}
๐ version 2x:
snapshotPublisher { googlePlay { serviceAccountCredentials = "/path/to/your-service-account-key.json" } // ...}
-
v1.0.4 Changes
October 02, 2019 -
v1.0.3 Changes
May 20, 2019๐ Fixes
- ๐ Fix release notes issue when previous commit was a merge commit (#31)
-
v1.0.2 Changes
April 30, 2019๐ New Features
- ๐ Allow to use the
debuggable
build types in Fabric's Beta. (#30)
- ๐ Allow to use the
-
v1.0.1 Changes
April 17, 2019๐ New Features
- โ Added new
history
variable to use inreleaseNotesFormat
given byhistoryFormat
.
It's shown only if the{commitHistory}
is not empty. (#25) - โ Added
includeHistorySinceLastTag
release notes setup variable. It enables to generate the history only for the commits after the latest git's tag. It's useful to show only the changes that changed since the last build. (#25)
๐ Fixes
- ๐ Fix version name issue in generated release notes. (#24)
- โ Added new
-
v1.0.0 Changes
April 12, 2019๐ New Features
- โ Add the ability to include the last commit in the release notes history. (#16)
- ๐ Create preparation tasks. It enables you to create snapshot builds and test them locally without the necessity of deploy it. (#17)
- Include git branch name in the app custom version name options (#18)
๐ Fixes
- ๐ Truncate Fabric Beta's release notes if its length is greater than
16384
characters. (#21)
๐ฅ Breaking changes
- ๐ง
distributionEmails
anddistributionGroupAliases
in Fabric's Beta configuration block are changed to strings instead of a list of strings. These values are built by joining allemails
oraliases
with commas. This change was made in order to make the setup process easier. (#19)
-
v0.0.1 Changes
March 08, 2019๐ Initial version