Skip to content

v5.0.0

Compare
Choose a tag to compare
@typotter typotter released this 25 Feb 17:47
· 15 commits to main since this release
7c70068

What's Changed

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();

Full Changelog: v4.0.0...v5.0.0