chore(deps): bump dev.openfeature:kotlin-sdk to 0.8.0 - #315
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Updates this Android client SDK and its OpenFeature example to OpenFeature Kotlin SDK 0.8.0, including adapting the DevCycleProvider implementation to the OpenFeatureProviderEvents breaking change introduced in 0.7.0.
Changes:
- Bump
dev.openfeature:kotlin-sdkfrom0.6.2to0.8.0in the SDK module and OpenFeature example. - Update
DevCycleProviderto emit the newOpenFeatureProviderEventsvariants (instantiated event classes andEventDetailsfor errors).
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| openfeature-example/build.gradle | Bumps OpenFeature Kotlin SDK dependency to 0.8.0 for the example app. |
| android-client-sdk/build.gradle | Bumps OpenFeature Kotlin SDK dependency to 0.8.0 for the SDK module. |
| android-client-sdk/src/main/java/com/devcycle/sdk/android/openfeature/DevCycleProvider.kt | Adapts provider event emissions to the updated OpenFeatureProviderEvents API shape. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
JamieSinn
approved these changes
Aug 5, 2026
jonathannorris
enabled auto-merge (squash)
August 6, 2026 20:03
Signed-off-by: Jonathan Norris <jonathan.norris@dynatrace.com>
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
dev.openfeature:kotlin-sdkfrom 0.6.2 to 0.8.0 in the SDK and the OpenFeature exampleDevCycleProvider.ktto the breakingOpenFeatureProviderEventschange in 0.7.0assembleDebugpasses for the SDK and all three example apps; 167 unit tests passImplementation
0.7.0 turned
OpenFeatureProviderEventsfrom asealed interfacewithobjectvariants into asealed classof data classes carryingeventDetails, andProviderError's first positional parameter is noweventDetailsrather than the now-deprecatederror. Four call sites inDevCycleProvider.kt:ProviderConfigurationChangedtoProviderConfigurationChanged()(2 sites)ProviderError(OpenFeatureError.GeneralError(...))calls now passeventDetails = EventDetails(message, errorCode = ErrorCode.GENERAL).ErrorCode.GENERALmaps back throughtoOpenFeatureStatusError()to a non-fatalOpenFeatureStatus.Error, so the previous semantics hold.FeatureProvideris unchanged between the two tags andHookContext's newhookDataparam has a default, so nothing else needed touching.Notes
Since 0.7.1
setProvidercallsshutdown()on the previous provider, soDevCycleProvider.shutdown()now closes the DevCycle client on provider swaps where it previously did not. Correct, but currently untested.