diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 83f9eb8..32dbe0e 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "4.3.0" + ".": "5.0.0" } diff --git a/CHANGELOG.md b/CHANGELOG.md index 9e75f94..83342f8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,17 @@ All notable changes to the LaunchDarkly EventSource implementation for Java will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org). +## [5.0.0](https://github.com/launchdarkly/okhttp-eventsource/compare/4.3.0...5.0.0) (2026-08-28) + + +### ⚠ BREAKING CHANGES + +* RetryDelayStrategy.apply(long) and RetryDelayStrategy.Result are removed. Strategies now expose getDelayMillis() and getNext(), with withBaseDelayMillis(long) as the mutation channel for server-directed retry hints. EventSource.getBaseRetryDelayMillis() and getNextRetryDelayMillis() are also removed. EventSource gains activateRetryDelayStrategy(RetryDelayStrategy) to swap the active strategy at runtime, and Builder.retryDelayStrategy becomes additive: the first call sets the default and healthy-op reset target, later calls register additional strategies for activation. + +### Features + +* multi-strategy retry delay API for regime switching ([f19f3fd](https://github.com/launchdarkly/okhttp-eventsource/commit/f19f3fdabef29090830d2b9f1134e64dfc5c9a9b)) + ## [4.3.0](https://github.com/launchdarkly/okhttp-eventsource/compare/4.2.0...4.3.0) (2026-03-31) diff --git a/gradle.properties b/gradle.properties index f8e7df0..b9662b1 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,5 +1,5 @@ # x-release-please-start-version -version=4.3.0 +version=5.0.0 # x-release-please-end # See https://github.com/gradle/gradle/issues/11308 regarding the following property