Closed Spikhalskiy closed 11 months ago
Thanks for the feedback. The release pointed to the PR which does include the breaking changes, however it definitely makes sense to have these added to the release notes as people may not click into each set of changes, so I've added it there as well.
You can see the documentation on fetching features and refreshing for the latest implementation instructions: https://docs.growthbook.io/lib/java#fetching-cacheing-and-refreshing-features-with-gbfeaturesrepository
GBFeaturesRepository
started to accept a new parameterrefreshStrategy
. While it's not documented, I guess that to save an old behavior we can passnull
there. It would be nice ifGBFeaturesRepository
had a constructor without this parameter at all to maintain backwards compatibility.String clientKey
inGBFeaturesRepository
constructor.clientKey – Your client ID, e.g. sdk-abc123
javadoc is not very helpful in understanding the meaning and importance of the new parameter. It's not immediately clear how to convert an old way of setting upGBFeaturesRepository
into the new one.GBFeaturesRepository
changed meaning from the full URL to just a host.Release notes don't have any information on the breaking changes and migration. It would be good to have a step-by-step guide on how to migrate existing working setup to the new API.
Something like: