feat: Android - downgrade Kotlin to 2.0.21, upgrade JVM to 11#508
Merged
abelonogov-ld merged 7 commits intomainfrom Apr 29, 2026
Merged
feat: Android - downgrade Kotlin to 2.0.21, upgrade JVM to 11#508abelonogov-ld merged 7 commits intomainfrom
abelonogov-ld merged 7 commits intomainfrom
Conversation
Vadman97
approved these changes
Apr 28, 2026
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
There are 2 total unresolved issues (including 1 from previous review).
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit f8b1a88. Configure here.
Merged
abelonogov-ld
pushed a commit
that referenced
this pull request
Apr 29, 2026
🤖 I have created a release *beep* *boop* --- <details><summary>launchdarkly-observability-android: 0.42.0</summary> ## [0.42.0](launchdarkly-observability-android-0.41.0...launchdarkly-observability-android-0.42.0) (2026-04-29) ### Features * Android - downgrade Kotlin to 2.0.21, upgrade JVM to 11 ([#508](#508)) ([cc0fe6b](cc0fe6b)) </details> --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). <!-- CURSOR_SUMMARY --> --- > [!NOTE] > **Low Risk** > Release metadata/changelog and version bumps only; no functional code changes are included in this diff. > > **Overview** > Updates `sdk/@launchdarkly/observability-android` to **v0.42.0** by bumping the version in `.release-please-manifest.json` and `gradle.properties`. > > Adds the `0.42.0` entry to `CHANGELOG.md`, noting the release feature (Kotlin version downgrade to `2.0.21` and JVM upgrade to `11`). > > <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit 72a38b7. Bugbot is set up for automated code reviews on this repo. Configure [here](https://www.cursor.com/dashboard/bugbot).</sup> <!-- /CURSOR_SUMMARY -->
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.

Summary
Note
Medium Risk
Build-toolchain and dependency version shifts (Kotlin/JVM targets plus coroutines/serialization downgrades) can cause compilation or runtime compatibility issues across consumers despite minimal code changes.
Overview
Shifts the Android toolchain to Kotlin 2.0.21 (plugin versions updated) while moving the
observability-androidlibrary and the MAUILDObservenative Android module to Java/JVM 11 (sourceCompatibility/jvmTarget).To keep Kotlin 2.0.21 compatible with transitive dependencies, the library build now pins Kotlin runtime artifacts (
kotlin-stdlib/reflect/test) to 2.0.21 and downgrades coroutines/serialization versions accordingly; it also bumpslaunchdarkly-android-client-sdkto5.12.0.Fixes a Kotlinx serialization call-site by switching
GraphQLClientrequest encoding to the explicitencodeToString(serializer, value)form, and updates the e2e app’snoComposeflavor to includeandroidx.activity:activity-ktx:1.7.0forby viewModels()support.Reviewed by Cursor Bugbot for commit 730b3b8. Bugbot is set up for automated code reviews on this repo. Configure here.