chore: merge 0.16.x into master - #2114
Merged
Merged
Conversation
* fix(ratelimiter): Respect envelope item categories Honor feedback, log, metric, and attachment limits independently of errors. Preserve attachment dependencies and minidump error limits, and keep the longest backoff when limits overlap. * Update CHANGELOG.md * fix review finding
`master` already contains breaking changes for `0.17`, so the upcoming `0.16.7` hotfix must ship from `0.16.x`. Selecting that branch only changes the release source; Craft still defaults to merging the release commit into `master` which will conflict. Add the optional `merge_target` input following the _Release and Versioning_ dev docs [1]. This lets hotfix releases merge their version bump and changelog back into the hotfix branch, completing the release process without conflicts with `master`. The default branch remains the fallback when the input is omitted. [1] https://develop.sentry.dev/sdk/getting-started/standards/release-versioning/#merge-target
* build(android): Upgrade AGP to replace flagged test tooling FOSSA blocks releases on AGP `8.7.3`'s internal test dependencies: `com.google.testing.platform` artifacts at `0.0.9-alpha02` use the Android SDK license and aren't classified as test-only by FOSSA. See [#2093](#2093). AGP `9.4.0` uses `com.android.tools.utp:gradle-work-action:32.4.0`, whose POM declares Apache 2.0. Match `sentry-java`: Gradle `9.7.1`, Kotlin `2.3.21`, Maven Publish `0.30.0`, Dokka `2.0.0`, Spotless `8.8.0`, Detekt `1.23.8`, Develocity `4.5.0`, and API `37`. Add the `VERSION_AGP` override. Gradle 9 removed `VersionNumber`, breaking the old publishing and native-bundle plugins. Upgrade publishing, apply it before DSL finalization, and copy legacy headers directly into the AAR. Update Craft's source/Javadoc paths and regenerate the wrapper. Keep Java `8`, NDK `27.0.12077973`, AAR `minCompileSdk=1`, and no implicit library `targetSdk` to preserve hotfix compatibility. Retain the legacy DSL, external Kotlin plugin, and pipeline signing. API/unit checks, AAR compatibility comparison, release archive, APK builds, and FOSSA dependency resolution pass locally. Hosted FOSSA still needs CI verification. Lint flags only outdated `annotations:23.0.0`, which matches `sentry-java`. * Disable dependency update lint Keep warnings-as-errors deterministic while retaining the annotations version aligned with sentry-java. * gradlew spotlessApply * fix ndk 30 + asan * respect ANDROID_NDK in Gradle configuration * drop VERSION_AGP * plugins & separators * fix ANDROID_NDK (can be a path)
…2087) * feat: allow tags before crash handler startup * docs: clarify initial tags option * Update CHANGELOG.md with new features and deprecations * test: gate initial tags fast-fail on WER * feat: generalize initial scope configuration
The root compileJava task has no sources. Successful Java scans only captured Gradle's generated project accessors, leaving the SDK's Java sources unanalyzed. Upgrading Gradle from 8.9 to 9.7.1 moved those accessors into Gradle User Home, which setup-gradle restores from cache. Once cached, no Java compilation remained for CodeQL to observe, so analysis failed with exit code 32. Run compileReleaseJavaWithJavac to compile the library and sample. Disable the build cache and force task execution so CodeQL observes compilation even when Gradle state is restored. Validated release Java compilation for both modules with Java 17.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #2114 +/- ##
==========================================
- Coverage 74.88% 74.85% -0.03%
==========================================
Files 103 103
Lines 27449 27449
Branches 4966 4966
==========================================
- Hits 20554 20548 -6
Misses 5550 5550
- Partials 1345 1351 +6 🚀 New features to boost your workflow:
|
mujacica
approved these changes
Sep 19, 2026
JoshuaMoelans
approved these changes
Sep 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Since
masteralready had some breaking 0.17 changes merged, 0.16.8 was released from a temporary0.16.xhotfix branch:This PR performs a manual merge of
0.16.xintomaster, resolving version conflicts and moving faulty 0.16.7 changelog entries back to the Unreleased section, and bringing in the note for 0.16.7.