Skip to content

chore(unleash): update dependency io.getunleash:unleash-client-java to v11.0.2 (#1551) #1552

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

victornoel
Copy link

@victornoel victornoel commented Jul 31, 2025

This PR

  • update the dependency to unleash-client-java to the latest v11.

Related Issues

Fixes #1551

Notes

As far as I can see, this is not a breaking change because the only thing from unleash-client-java exposed from the open-feature Unleash provider is the configuration builder and it does not seem to have changed since v9.
To be double checked though.

The main open questions now are:

@victornoel victornoel requested a review from a team as a code owner July 31, 2025 12:39
@github-actions github-actions bot requested review from liran2000 and sighphyre July 31, 2025 12:39
Copy link
Member

@beeme1mr beeme1mr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Looks good to me.

@victornoel
Copy link
Author

thx @beeme1mr, do you have an opinion about the open questions for the tests? Maybe I'm overthinking things and it's alright to just trust the unleash dependency?

@liran2000
Copy link
Member

hi @victornoel 😄

good questions, I would say adjust v1 failing test to make tests pass and add v2 tests similar to v1, and enhance them.

reg. libgcc_s.so.1 used by WASM, I don't think the tests here must cover it, as testing it may require configuring and maintaining Docker containing some libraries just for tests, and here we test the provider, and not the Unleash SDK.

@victornoel
Copy link
Author

Thx @liran2000 :)

good questions, I would say adjust v1 failing test to make tests pass and add v2 tests similar to v1, and enhance them.

So actually it seems that the difference between v1 and v2 is just about the way segments are returned, and I don't think we use this at all here. Also it's kind of hard to find anything about the schema and how they differ from each other (I just found a mention of that segments thing in https://docs.getunleash.io/reference/api/unleash/get-all-client-features#responses. I concluded that it wasn't worth our energy to try to test too much things except changing the version to v2 in the json test file.

I also created Unleash/unleash-java-sdk#316 in case it's not normal that the stickyness is null when returned by the Unleash SDK and added it as a comment in the test.

reg. libgcc_s.so.1 used by WASM, I don't think the tests here must cover it, as testing it may require configuring and maintaining Docker containing some libraries just for tests, and here we test the provider, and not the Unleash SDK.

I will try to make some tests on my side then just to ensure all is good, but I will be away for 2 week before I can do that, so maybe we want to merge this before and see how it goes? Clearly the doc is very explicit about the fact it should just work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unleash Client v10/11
4 participants