From 77610dfde9c5e5aac513c4c1a8d860b5170e50fb Mon Sep 17 00:00:00 2001 From: Daniel Griesser Date: Fri, 27 Oct 2017 15:23:21 +0200 Subject: [PATCH] feat: Add tag and master builds for travis --- .travis.yml | 4 +- CHANGELOG.md | 166 +++++++++++++++++++++++++-------------------------- package.json | 2 +- 3 files changed, 85 insertions(+), 87 deletions(-) diff --git a/.travis.yml b/.travis.yml index 1d69e0bec7..5c6e958ef7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,4 @@ -branches: - only: - - master +if: branch = master OR tag IS present matrix: include: - language: node_js diff --git a/CHANGELOG.md b/CHANGELOG.md index d18de56b2d..314fc81220 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,10 +1,10 @@ # Changelog -## 0.30.1 +## v0.30.1 Deploy and release over Probot -## 0.30.0 +## v0.30.0 Refactored iOS to use shared component from sentry-cocoa. Also squashed many little bugs on iOS. @@ -12,14 +12,14 @@ Also squashed many little bugs on iOS. - Fixed #281 - Fixed #280 -## 0.29.0 +## v0.29.0 - Fixed #275 - Fixed #274 - Fixed #272 - Fixed #253 -## 0.28.0 +## v0.28.0 We had to rename `project.ext.sentry` to `project.ext.sentryCli` because our own proguard gradle plugin was conflicting with the name. The docs already reflect this change. @@ -33,7 +33,7 @@ This change shouldn't impact anyone using `react-native-sentry` since most of th Bump `sentry-cocoa` to `3.8.3` -## 0.27.0 +## v0.27.0 We decided to deactivate stack trace merging by default on iOS since it seems to unstable right now. To activate it set: @@ -46,44 +46,44 @@ Sentry.config("___DSN___", { We are looking into ways making this more stable and plan to re-enable it again in the future. -## 0.26.0 +## v0.26.0 - Added `setShouldSendCallback` #250 -## 0.25.0 +## v0.25.0 - Fix a bug in gradle script that trigged the sourcemap upload twice - Fixed #245 - Fixed #234 -## 0.24.2 +## v0.24.2 - Fixed https://github.com/getsentry/react-native-sentry/issues/241 -## 0.24.1 +## v0.24.1 - Bump `sentry-cli` version to `1.20.0` -## 0.24.0 +## v0.24.0 - Fix frame urls when only using `raven-js` - Upgrade `sentry-java` to `1.5.3` - Upgrade `sentry-cocoa` to `3.8.1` - Added support for `sampleRate` option -## 0.23.2 +## v0.23.2 - Fixed #228 again ¯\\_(ツ)_/¯ -## 0.23.1 +## v0.23.1 - Fixed #228 -## 0.23.0 +## v0.23.0 - Add more event properties for `setEventSentSuccessfully` callback on Android -## 0.22.0 +## v0.22.0 - Fixed #158 - Add @@ -99,61 +99,61 @@ should be before: `apply from: "../../node_modules/react-native-sentry/sentry.gradle"` This enables `sentry-cli` debug output on android builds, also adds flavor aware `sentry.properties` files. -## 0.21.2 +## v0.21.2 - Fixing device farm tests -## 0.21.1 +## v0.21.1 - Store event on release and send on next startup. -## 0.21.0 +## v0.21.0 - Fixed an issue where javascript error wasn't sent everytime -## 0.20.0 +## v0.20.0 - Bump `sentry-cocoa` to `3.6.0` -## 0.19.0 +## v0.19.0 - Make `userId` optional for user context - Bump `sentry-cocoa` to `3.5.0` -## 0.18.0 +## v0.18.0 - Bump `sentry-java` to `1.5.1` - Fix linking step - Bump `raven-js` to `3.17.0` -## 0.17.1 +## v0.17.1 - Fixed #190 -## 0.17.0 +## v0.17.0 - Fix `disableNativeIntegration` proptery to use right transport -## 0.16.2 +## v0.16.2 - Remove send callback when native integration isn't available. -## 0.16.1 +## v0.16.1 - Removed strange submodule -## 0.16.0 +## v0.16.0 - Bump `sentry-java` to `1.4.0` - Bump `sentry-cocoa` to `3.4.2` - Fixed #182 - Fixed path detection of sentry-cli -## 0.15.1 +## v0.15.1 - Fixed last release -## 0.15.0 +## v0.15.0 - Added compatiblity for react-native `0.47.0` - Fixed #169 @@ -162,177 +162,177 @@ This enables `sentry-cli` debug output on android builds, also adds flavor aware Also added integration tests running on AWS Device Farm. -## 0.14.16 +## v0.14.16 - Fixed #124 -## 0.14.12 +## v0.14.12 - Updated to `sentry-cocoa` `3.1.2` - Fixed #156 -## 0.14.11 +## v0.14.11 - Fixed #166 -## 0.14.10 +## v0.14.10 - Fixed #161 -## 0.14.9 +## v0.14.9 Fixed #163 -## 0.14.8 +## v0.14.8 - Fixed #159 - Fixes breadcrumb tracking on android -## 0.14.7 +## v0.14.7 - Improve performance for `react-native >= 0.46` -## 0.14.6 +## v0.14.6 - Bump `sentry-cocoa` and `KSCrash` -## 0.14.5 +## v0.14.5 - Push Podspec to `sentry-cocoa` `3.1.2` -## 0.14.4 +## v0.14.4 - Removed example project from repo - Make sure native client is only initialized once -## 0.14.3 +## v0.14.3 - Revert to `23.0.1` android build tools -## 0.14.2 +## v0.14.2 - Fixes #131 -## 0.14.1 +## v0.14.1 - Bump `raven-js` `3.16.1` - Fixes #136 -## 0.14.0 +## v0.14.0 - Allowing calls to Sentry without calling `install()` - Add internal logging if `logLevel >= SentryLog.Debug` - Use `sentry-cocoa` `3.1.2` -## 0.13.3 +## v0.13.3 - Fixes #67 -## 0.13.2 +## v0.13.2 - Fixes #116 - Fixes #51 -## 0.13.1 +## v0.13.1 - Fixed Android version dependency -## 0.13.0 +## v0.13.0 - Overhauled internal handling of exceptions - Updated iOS and Android native dependencies -## 0.12.12 +## v0.12.12 - Fixes #105 - Added option `disableNativeIntegration` -## 0.12.11 +## v0.12.11 - Use sentry-cocoa `3.0.9` - Fixes #100 -## 0.12.10 +## v0.12.10 - Update `raven-js` to `3.16.0` - Update `sentry-cocoa` to `3.0.8` - Fixes #64 - Fixes #57 -## 0.12.8 +## v0.12.8 - Fix typo -## 0.12.9 +## v0.12.9 - Add support on iOS for stacktrace merging and `react-native 0.45` -## 0.12.7 +## v0.12.7 - Fixes #92 -## 0.12.6 +## v0.12.6 - Fixes #95 -## 0.12.5 +## v0.12.5 - Fixes #91 #87 #82 #63 #54 #48 -## 0.12.3 +## v0.12.3 - Fixed #90 -## 0.12.2 +## v0.12.2 - Fixed #90 -## 0.12.4 +## v0.12.4 - Fixed #94 -## 0.12.1 +## v0.12.1 - Use `3.0.7` `sentry-cocoa` in Podspec -## 0.12.0 +## v0.12.0 - Removed `RSSwizzle` use `SentrySwizzle` instead -## 0.11.8 +## v0.11.8 Update Podspec to use `Sentry/KSCrash` -## 0.11.7 +## v0.11.7 - Fix `duplicate symbol` `RSSwizzle` when using CocoaPods -## 0.11.6 +## v0.11.6 - Use `sentry-cocoa` `3.0.1` -## 0.11.5 +## v0.11.5 - Fix https://github.com/getsentry/react-native-sentry/issues/77 -## 0.11.4 +## v0.11.4 - Use android buildToolsVersion 23.0.1 -## 0.11.3 +## v0.11.3 - Fix Xcode archive to not build generic archive -## 0.11.2 +## v0.11.2 - Fix Xcode archiving -## 0.11.1 +## v0.11.1 - Using latest version of `sentry-cocoa` -## 0.11.0 +## v0.11.0 This is a big release because we switched our internal iOS client from swift to objc which drastically improve the setup experience and compatibility. @@ -340,49 +340,49 @@ We also added support for codepush, please check the docs https://docs.sentry.io After updating run `react-native unlink react-native-sentry` and `react-native link react-native-sentry` again in order to setup everything correctly. -## 0.10.0 +## v0.10.0 - Greatly improved the linking process. Check out our docs for more information https://docs.sentry.io/clients/react-native/ -## 0.9.1 +## v0.9.1 - Update to sentry 2.1.11 which fixes a critical bug regarding sending requests on iOS -## 0.9.0 +## v0.9.0 - Improve link and unlink scripts -## 0.8.5 +## v0.8.5 - Fixed: bad operand types for binary operator -## 0.8.4 +## v0.8.4 - Put execution on iOS into a background thread - Add parameter checks on android -## 0.8.3 +## v0.8.3 - Bump sentry version to 2.1.10 to fix releases -## 0.8.2 +## v0.8.2 - Updated podspec thx @alloy -## 0.8.1 +## v0.8.1 - Added command to package json to inject MainApplication.java into RNSentryPackage -## 0.8.0 +## v0.8.0 - Added native android support - raven-js is always used we use the native clients for sending events and add more context to them -## 0.7.0 +## v0.7.0 - Bump KSCrash and Sentry version -## 0.6.0 +## v0.6.0 Use `raven-js` internally instead switching between native and raven-js. @@ -390,7 +390,7 @@ Native client will be used when available. Alot of API changes to more like `raven-js` -## 0.5.3 +## v0.5.3 - Fix import for @@ -402,21 +402,21 @@ Alot of API changes to more like `raven-js` #endif ``` -## 0.5.2 +## v0.5.2 - Prefix filepath with `app://` if RavenClient is used -## 0.5.1 +## v0.5.1 - Fix `npm test` - Added `forceRavenClient` option which forces to use RavenClient instead of the NativeClient -## 0.5.0 +## v0.5.0 - Added support for installation with cocoapods see https://docs.sentry.io/clients/react-native/#setup-with-cocoapods - Lowered minimum version requirement for `react-native` to `0.38.0` -## 0.4.0 +## v0.4.0 - Added `ignoreModulesExclude` to exclude modules that are ignored by default for stacktrace merging - Added `ignoreModulesInclude` to add additional modules that should be ignored for stacktrace merging diff --git a/package.json b/package.json index 2d23cc676c..6a80862d8b 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", - "preversion:changelog": "grep -q -F \"## $npm_package_version\" CHANGELOG.md", + "preversion:changelog": "grep -q -F \"## v$npm_package_version\" CHANGELOG.md", "version": "npm run preversion:changelog && node ./scripts/version-bump.js && git add -A", "precommit": "lint-staged", "test-typescript": "node_modules/typescript/bin/tsc --noImplicitAny --allowJs typescript/Sentry-tests.ts"