Skip to content

Releases: harness/ff-java-server-sdk

1.8.0

04 Oct 14:24
866809f
Compare
Choose a tag to compare

What's Changed

Enhancements:

  • FFM-12087 New HarnessConfig options:
    • maxRequestRetry: Defines the maximum number of retry attempts for the following request: authentication, polling, metrics, and reacting to stream events
    • flushAnalyticsOnClose: Indicates whether to flush analytics data when the SDK is closed.
    • flushAnalyticsOnCloseTimeout: The timeout for flushing analytics on SDK close.

For full details see associated Java docs

For sample usage see ConfigExample

Bug Fixes:

  • FFM-12087:
    • Fixed an issue where initial connection attempts to the stream, as well as reconnection attempts after disconnection, were limited to 5 tries. Now, reconnection attempts have no limit and use exponential backoff, with a 60-second cap on retry intervals reached after several attempts.
    • Fixed a memory leak caused when the SDK was closed but the stream’s ScheduledExecutorService remained active. All SDK resources are now properly shut down when close() is called.
    • Fixed an issue where, after calling close() and shutting down the stream, the SDK would still make a poll request, resulting in error logs due to evicted network resources. Now, no polling requests are made after close() is invoked.

by @erdirowlands in #203

Full Changelog: 1.7.0...1.8.0

1.7.0

16 Aug 11:15
61b89a6
Compare
Choose a tag to compare

What’s Changed

Enhancements:

Introduced the ability to store and retrieve FeatureSnapshot (previous and current feature config).
For more details: examples/src/main/java/io/harness/ff/examples/EventExampleWithFeatureSnapshot.java

  • [FFM-1844]: FeatureSnapshot for JavaSDK by @akiraqb in #199

Full Changelog: 1.6.1...1.7.0

1.6.1

28 Jun 16:44
441577c
Compare
Choose a tag to compare

What's Changed

  • FFM-11654 Sort AND/OR rules when caching group instead of during an evaluation call, which could result in latency if a group is large by @erdirowlands in #192

New Contributors

Full Changelog: 1.6.0...1.6.1

1.6.0

22 May 12:28
e8494ae
Compare
Choose a tag to compare

What's Changed

Full Changelog: 1.5.2...1.6.0

1.5.2

04 Mar 14:51
3d8d99c
Compare
Choose a tag to compare

What's Changed

Known issues

On startup java.lang.NoSuchMethodError: kotlin.* or similar is thrown.
This is caused by conflicting kotlin-stdlib JARs on the classpath brought in by okhttp.

  • Make sure no other dependency brings in kotlin-stdlib earlier than 1.4.10
  • If you're using SpringBoot, it's recommend that you upgrade to at least 2.7.x

Full Changelog: 1.5.1...1.5.2

1.5.1

22 Feb 13:21
7fd468d
Compare
Choose a tag to compare

What's Changed

Known issues

On startup java.lang.NoSuchMethodError: kotlin.* or similar is thrown.
This is caused by conflicting kotlin-stdlib JARs on the classpath brought in by okhttp.

  • Make sure no other dependency brings in kotlin-stdlib earlier than 1.4.10
  • If you're using SpringBoot, it's recommend that you upgrade to at least 2.7.x

Full Changelog: 1.5.0...1.5.1

1.5.0

09 Jan 08:37
Compare
Choose a tag to compare

What's Changed

Notable changes

This release removes several large dependencies reducing the SDK's dependency footprint by approximately 2MB

Breaking change

Since version 1.4.x the Percentage Rollout feature this SDK release updates the Murmur3 hash calculation to align it to the GoLang SDK (and other SDKs). This means you may see target identifiers being remapped to different buckets when upgrading. This change is necessary to allow customers to see consistent bucketing across SDKs regardless of what language they use.

Known issues

On startup java.lang.NoSuchMethodError: kotlin.* or similar is thrown.
This is caused by conflicting kotlin-stdlib JARs on the classpath brought in by okhttp.

  • Make sure no other dependency brings in kotlin-stdlib earlier than 1.4.10
  • If you're using SpringBoot, it's recommend that you upgrade to at least 2.7.x

Full Changelog: 1.4.0...1.5.0

1.4.0

29 Nov 12:41
9b6f6d5
Compare
Choose a tag to compare

What's Changed

  • [FFM-9924] - Update percentage rollout hash to match GoLang SDK by @andybharness in #168
  • [FFM-10136] - Drop SSE event log down from INFO to DEBUG by @andybharness in #170

Breaking change

For version 1.4.x the Percentage Rollout feature this SDK release updates the Murmur3 hash calculation to align it to the GoLang SDK (and other SDKs). This means you may see target identifiers being remapped to different buckets when upgrading. This change is necessary to allow customers to see consistent bucketing across SDKs regardless of what language they use.

Full Changelog: 1.3.1...1.4.0

1.3.1

14 Nov 13:36
287b59d
Compare
Choose a tag to compare

What's Changed

Known issues

On startup java.lang.NoSuchMethodError: kotlin.* or similar is thrown.
This is caused by conflicting kotlin-stdlib JARs on the classpath brought in by okhttp.

  • Make sure no other dependency brings in kotlin-stdlib earlier than 1.4.10
  • If you're using SpringBoot, it's recommend that you upgrade to at least 2.7.x

Full Changelog: 1.3.0...1.3.1

1.3.0

06 Sep 13:03
fa7f496
Compare
Choose a tag to compare

What's Changed

Breaking API changes from 1.2.x

MapDB and Guava dependencies were removed as part of this release to reduce the footprint of the SDK. FileMapStore is no longer provided since it was based on MapDB. A drop in replacement called XmlFileMapStore has been provided which uses standard Java libraries to store flags in an XML file. If you still require MapDB support you can provide your own implementation by overriding the Storage interface.

Known issues

On startup java.lang.NoSuchMethodError: kotlin.* or similar is thrown.
This is caused by conflicting kotlin-stdlib JARs on the classpath brought in by okhttp.

  • Make sure no other dependency brings in kotlin-stdlib earlier than 1.4.10
  • If you're using SpringBoot, it's recommend that you upgrade to at least 2.7.x

Full Changelog: 1.2.4...1.3.0