Skip to content

Provider compatibility issues after latest SDK release #1484

@toddbaert

Description

@toddbaert

With recent providers and the latest SDK version, we have a bytecode incompatibility. This shows up at runtime as:

java.lang.NoSuchMethodError: 'void dev.openfeature.contrib.providers.flagd.FlagdProvider.emitProviderStale(dev.openfeature.sdk.ProviderEventDetails)

This is because we changed the return value of a previously void method, so though no code/compilation broke, the bytecode is incompatible with between SDK version 1.16.0+ and previously released providers which emit events.

We are working on re-releases to the parent pom and providers to address this.

Our plan is:

Update parent 0.2.1 (or something below 1.0.0) with upper bound to 1.15.1 of SDK and Release
Update parent to 1.0.0 with lower bound of SDK to 1.16.0
Update all providers to parent 1.0.0 and re-release

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions