You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* add enabled flag to SentryOptions
* add enabled flag to external options, add tests
* add changelog
* Update CHANGELOG.md
Co-authored-by: Alexander Dinauer <[email protected]>
* only check for dsn null after checking whether sentry is enabled
* format
* add test for disabling sentry by option flag with dsn = null
* add test to verify that exception is thrown when Senty is initialized with dsn = null and enabled = true
* fix changelog after merge
* add enabled flag to AndroidManifest.xml
* Format code
---------
Co-authored-by: Alexander Dinauer <[email protected]>
Co-authored-by: Sentry Github Bot <[email protected]>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,7 @@
15
15
- Add autoconfigure modules for Spring Boot called `sentry-spring-boot` and `sentry-spring-boot-jakarta` ([#2880](https://github.com/getsentry/sentry-java/pull/2880))
16
16
- The autoconfigure modules `sentry-spring-boot` and `sentry-spring-boot-jakarta` have a `compileOnly` dependency on `spring-boot-starter` which is needed for our auto installation in [sentry-android-gradle-plugin](https://github.com/getsentry/sentry-android-gradle-plugin)
17
17
- The starter modules `sentry-spring-boot-starter` and `sentry-spring-boot-starter-jakarta` now bring `spring-boot-starter` as a dependency
18
+
- You can now disable Sentry by setting the `enabled` option to `false` ([#2840](https://github.com/getsentry/sentry-java/pull/2840))
0 commit comments