diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 152ee809b0..d86c9e919d 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -1 +1 @@ -* @marandaneto @romtsn @maciejwalkowiak +* @marandaneto @romtsn diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md deleted file mode 100644 index 9db0c4c651..0000000000 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ /dev/null @@ -1,64 +0,0 @@ ---- -name: Bug report -about: Create a report to help us improve -title: '' -labels: '' -assignees: '' - ---- - -_Platform:_ -- [ ] Android -> If yes, which Device API (and compileSdkVersion/targetSdkVersion/Build tools) version? -- [ ] Java -> If yes, which Java (and sourceCompatibility/targetCompatibility) version? -- [ ] Kotlin -> If yes, which Kotlin (and jvmTarget) version? -- [ ] NDK -> If yes, which NDK/CMake version? -- [ ] React-Native -> If yes, which version? -- [ ] Timber -> If yes, which version? -- [ ] Log4j2 -> If yes, which version? -- [ ] Logback -> If yes, which version? -- [ ] Spring -> If yes, which version? - -_IDE:_ -- [ ] Android Studio -> If yes, which version? -- [ ] IntelliJ -> If yes, which version? -- [ ] Other -> If yes, which one? - -_Build system:_ -- [ ] Gradle -> If yes, which version? -- [ ] Buck -> If yes, which version? -- [ ] Bazel -> If yes, which version? -- [ ] Maven -> If yes, which version? -- [ ] Other -> If yes, which one? - -_Android Gradle Plugin:_ -- [ ] Yes -> If yes, which version? -- [ ] No - -_Sentry Android Gradle Plugin:_ -- [ ] Yes -> If yes, which version? -- [ ] No - -_Proguard/R8:_ -- [ ] Enabled -- [ ] Disabled - -_Platform installed with:_ -- [ ] Maven Central -- [ ] Manually - -The version of the SDK: -**3.x.x** - ---- -I have the following issue: - -The description goes here ... - -**Steps to reproduce:** -- Step - -**Actual result:** -- Actual - -**Expected result:** -- Result diff --git a/.github/ISSUE_TEMPLATE/bug_report_android.yml b/.github/ISSUE_TEMPLATE/bug_report_android.yml new file mode 100644 index 0000000000..b9251afc5e --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report_android.yml @@ -0,0 +1,94 @@ +name: 🐞 Bug Report - Android +description: Tell us about something that's not working the way we (probably) intend. +labels: ["Platform: Android", "Type: Bug"] +body: + - type: dropdown + id: integration + attributes: + description: Integration + label: Integration + options: + - sentry-android + - sentry-android-ndk + - sentry-android-okhttp + - sentry-android-timber + - sentry-android-fragment + - sentry-apollo + - other + validations: + required: true + + - type: dropdown + id: build_system + attributes: + description: Build system + label: Build System + options: + - Gradle + - Buck + - Bazel + - Other + validations: + required: true + + - type: input + id: agp_version + attributes: + description: Android Gradle Plugin Version + placeholder: 7.0.0 ← should look like this + label: AGP Version + validations: + required: true + + - type: dropdown + id: proguard + attributes: + description: Proguard/R8 + label: Proguard + options: + - Enabled + - Disabled + validations: + required: true + + - type: input + id: version + attributes: + label: Version + description: Sentry SDK Version + placeholder: 6.0.0 ← should look like this + validations: + required: true + + - type: textarea + id: repro + attributes: + label: Steps to Reproduce + description: How can we see what you're seeing? Specific is terrific. + placeholder: |- + 1. foo + 2. bar + 3. baz + validations: + required: true + + - type: textarea + id: expected + attributes: + label: Expected Result + validations: + required: true + + - type: textarea + id: actual + attributes: + label: Actual Result + description: Logs? Screenshots? Yes, please. + validations: + required: true + + - type: markdown + attributes: + value: |- + ## Thanks 🙏 + Check our [triage docs](https://open.sentry.io/triage/) for what to expect next. diff --git a/.github/ISSUE_TEMPLATE/bug_report_java.yml b/.github/ISSUE_TEMPLATE/bug_report_java.yml new file mode 100644 index 0000000000..ecca418942 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report_java.yml @@ -0,0 +1,77 @@ +name: 🐞 Bug Report - Java +description: Tell us about something that's not working the way we (probably) intend. +labels: ["Platform: Java", "Type: Bug"] +body: + - type: dropdown + id: integration + attributes: + description: Integration + label: Integration + options: + - sentry + - sentry-jul + - sentry-jdbc + - sentry-apollo + - sentry-kotlin-extensions + - sentry-servlet + - sentry-spring-boot-starter + - sentry-spring + - sentry-logback + - sentry-log4j2 + - sentry-graphql + - sentry-openfeign + - sentry-apache-http-client-5 + - other + validations: + required: true + + - type: input + id: java_version + attributes: + description: Java Version + placeholder: 8 ← should look like this + label: Java Version + validations: + required: true + + - type: input + id: version + attributes: + label: Version + description: Sentry SDK Version + placeholder: 6.0.0 ← should look like this + validations: + required: true + + - type: textarea + id: repro + attributes: + label: Steps to Reproduce + description: How can we see what you're seeing? Specific is terrific. + placeholder: |- + 1. foo + 2. bar + 3. baz + validations: + required: true + + - type: textarea + id: expected + attributes: + label: Expected Result + validations: + required: true + + - type: textarea + id: actual + attributes: + label: Actual Result + description: Logs? Screenshots? Yes, please. + validations: + required: true + + - type: markdown + attributes: + value: |- + ## Thanks 🙏 + Check our [triage docs](https://open.sentry.io/triage/) for what to expect next. diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 0000000000..819e8a1afb --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,5 @@ +blank_issues_enabled: false +contact_links: + - name: Join Sentry Discord + url: https://discord.com/invite/sentry + about: A place to talk about SDK development and other Sentry related topics. It's not meant as a support channel. diff --git a/.github/ISSUE_TEMPLATE/feature_android.yml b/.github/ISSUE_TEMPLATE/feature_android.yml new file mode 100644 index 0000000000..31619ab8c9 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_android.yml @@ -0,0 +1,29 @@ +name: 💡 Feature Request - Android +description: Tell us about a problem our SDK could solve but doesn't. +labels: ["Platform: Android", "Type: Feature Request"] +body: + - type: textarea + id: problem + attributes: + label: Problem Statement + description: What problem could Sentry solve that it doesn't? + placeholder: |- + I want to make whirled peas, but Sentry doesn't blend. + validations: + required: true + + - type: textarea + id: expected + attributes: + label: Solution Brainstorm + description: We know you have bright ideas to share ... share away, friend. + placeholder: |- + Add a blender to Sentry. + validations: + required: false + + - type: markdown + attributes: + value: |- + ## Thanks 🙏 + Check our [triage docs](https://open.sentry.io/triage/) for what to expect next. diff --git a/.github/ISSUE_TEMPLATE/feature_java.yml b/.github/ISSUE_TEMPLATE/feature_java.yml new file mode 100644 index 0000000000..ed50985676 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_java.yml @@ -0,0 +1,29 @@ +name: 💡 Feature Request - Java +description: Tell us about a problem our SDK could solve but doesn't. +labels: ["Platform: Java", "Type: Feature Request"] +body: + - type: textarea + id: problem + attributes: + label: Problem Statement + description: What problem could Sentry solve that it doesn't? + placeholder: |- + I want to make whirled peas, but Sentry doesn't blend. + validations: + required: true + + - type: textarea + id: expected + attributes: + label: Solution Brainstorm + description: We know you have bright ideas to share ... share away, friend. + placeholder: |- + Add a blender to Sentry. + validations: + required: false + + - type: markdown + attributes: + value: |- + ## Thanks 🙏 + Check our [triage docs](https://open.sentry.io/triage/) for what to expect next. diff --git a/.github/ISSUE_TEMPLATE/maintainer-blank.yml b/.github/ISSUE_TEMPLATE/maintainer-blank.yml new file mode 100644 index 0000000000..3c4607c465 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/maintainer-blank.yml @@ -0,0 +1,17 @@ +name: Blank Issue +description: Blank Issue. Reserved for maintainers. +labels: ["Platform: Java"] +body: + - type: textarea + id: description + attributes: + label: Description + description: Please describe the issue. + validations: + required: true + + - type: markdown + attributes: + value: |- + ## Thanks 🙏 + Check our [triage docs](https://open.sentry.io/triage/) for what to expect next. diff --git a/CHANGELOG.md b/CHANGELOG.md index c84ceabe7f..1ac33edc5d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,7 +3,11 @@ ## Unreleased * Feat: Automatically enable `Timber` and `Fragment` integrations if they are present on the classpath (#1936) + +## 5.6.3 + * Fix: If transaction or span is finished, do not allow to mutate (#1940) +* Fix: Keep used AndroidX classes from obfuscation (Fixes UI breadcrumbs and Slow/Frozen frames) (#1942) ## 5.6.2 diff --git a/gradle.properties b/gradle.properties index f70f00c983..45c80a2e65 100644 --- a/gradle.properties +++ b/gradle.properties @@ -7,7 +7,7 @@ org.gradle.parallel=true android.useAndroidX=true # Release information -versionName=5.6.3-SNAPSHOT +versionName=5.6.4-SNAPSHOT # disable renderscript, it's enabled by default android.defaults.buildfeatures.renderscript=false diff --git a/sentry-android-core/proguard-rules.pro b/sentry-android-core/proguard-rules.pro index 46a482dbb9..edda62ecb3 100644 --- a/sentry-android-core/proguard-rules.pro +++ b/sentry-android-core/proguard-rules.pro @@ -1,3 +1,9 @@ +##---------------Begin: proguard configuration for androidx.core ---------- +-keep class androidx.core.view.GestureDetectorCompat { (...); } +-keep class androidx.core.app.FrameMetricsAggregator { (...); } +-keep interface androidx.core.view.ScrollingView { *; } +##---------------End: proguard configuration for androidx.core ---------- + ##---------------Begin: proguard configuration for Gson ---------- # Gson uses generic type information stored in a class file when working with fields. Proguard # removes such information by default, so configure it to keep all of it.