Skip to content

Conversation

typotter
Copy link
Collaborator

@typotter typotter commented Feb 25, 2025

Breaking Changes in this release

EppoClient.stopPolling

// This method has been removed
//EppoClient.stopPolling();

// use this instead
getInstance().stopPolling();

// If you are unsure whether the EppoClient has been initialized when you wish to call stopPolling, try-catch:
try {
  EppoClient.getInstance().stopPolling();
} catch (IllegalStateException ex) {
  // pass: Indicates that the singleton Eppo Client has not yet been initialized.
}

EppoClient.Builder()

// Old way to build
EppoClient eppoClient = new EppoClient.Builder().apiKey(sdkKey).buildAndInit();

// Builder is now created via static method that takes the required sdkKey
EppoClient eppoClient = EppoClient.builder(sdkKey).buildAndInit();

@typotter typotter merged commit 7c70068 into main Feb 25, 2025
4 checks passed
@typotter typotter deleted the tp/rel5 branch February 25, 2025 17:10
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.

2 participants