diff --git a/CHANGELOG.md b/CHANGELOG.md index 5af742ff3d..7b268e912a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # Changelog +## 4.1.1 (2017-10-12) +- Performance improvements to reduce execution time of `Bugsnag.init` + ## 4.1.0 (2017-10-02) - The SDK now automatically tracks whether an error is handled or unhandled. - Fix for NPE in MetaData callback [Boris](https://github.com/borhub) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 5d09ce2042..c83d690e5f 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -100,7 +100,7 @@ This process is a little ridiculous... ensuring both kinds of reports are sent. - Update the `CHANGELOG` and `README.md` with any new features -- Update the version numbers in `gradle.properties` and `src/main/java/com/bugsnag/android/Notifier.java` +- Update the version number by running make VERSION=[number] bump - Commit and tag the release diff --git a/Makefile b/Makefile index f75c6b0315..6d35f78b7a 100644 --- a/Makefile +++ b/Makefile @@ -13,3 +13,15 @@ test: release: ./gradlew clean :uploadArchives + +bump: +ifeq ($(VERSION),) + @$(error VERSION is not defined. Run with `make VERSION=number bump`) +endif + @echo Bumping the version number to $(VERSION) + @sed -i '' "s/VERSION_NAME=.*/VERSION_NAME=$(VERSION)/" gradle.properties + @sed -i '' "s/NOTIFIER_VERSION = .*;/NOTIFIER_VERSION = \"$(VERSION)\";/"\ + sdk/src/main/java/com/bugsnag/android/Notifier.java + + + diff --git a/gradle.properties b/gradle.properties index d670122020..92a9b70bca 100644 --- a/gradle.properties +++ b/gradle.properties @@ -11,7 +11,7 @@ org.gradle.jvmargs=-Xmx1536m # This option should only be used with decoupled projects. More details, visit # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects # org.gradle.parallel=true -VERSION_NAME=4.1.0 +VERSION_NAME=4.1.1 GROUP=com.bugsnag POM_SCM_URL=https://github.com/bugsnag/bugsnag-android POM_SCM_CONNECTION=scm:git@github.com:bugsnag/bugsnag-android.git diff --git a/sdk/src/main/java/com/bugsnag/android/Notifier.java b/sdk/src/main/java/com/bugsnag/android/Notifier.java index 7633e9a418..a9b3b864a3 100644 --- a/sdk/src/main/java/com/bugsnag/android/Notifier.java +++ b/sdk/src/main/java/com/bugsnag/android/Notifier.java @@ -9,7 +9,7 @@ */ public class Notifier implements JsonStream.Streamable { static final String NOTIFIER_NAME = "Android Bugsnag Notifier"; - static final String NOTIFIER_VERSION = "4.1.0"; + static final String NOTIFIER_VERSION = "4.1.1"; static final String NOTIFIER_URL = "https://bugsnag.com"; private String name; private String version;