Skip to content

Latest commit

 

History

History
156 lines (116 loc) · 5.66 KB

CHANGELOG.md

File metadata and controls

156 lines (116 loc) · 5.66 KB

Changelog

Note: Since 6.0.1 onwards, we moved the changelog into the release notes of each version. You will find hte details here https://github.com/Unleash/unleash-client-java/releases

6.0.1

  • Make connect and read timeouts configurable for both toggle fetching and metrics posting

6.0.0

  • Remove deprecated no.finn.unleash package
  • feat: Added support for providing custom ToggleFetcher through a UnleashToggleFetcherFactory (A Function<UnleashConfig, ToggleFetcher>). Two fetchers are now included, one using java.net.http and one using OkHttp, if you want to use the OkHttp one, your project will need to add a dependency on <dependency><groupId>com.squareup.okhttp3</groupId><artifactId>okhttp</artifactId><version>4.9+</version></dependency>

5.1.0

5.0.4

  • fix: Bootstrap no longer fails hard when passed invalid json. It now returns an empty list of features if the bootstrap json could not be parsed.

5.0.0

  • chore: Refactor package names. Moving from no.finn.unleash to io.getunleash to reflect where development is taking place.

4.4.0

  • feat: Add support for custom stickiness (#132)

4.3.0

  • feat: Add support for leveraging namePrefix in Java SDK (#135)
  • feat: Adding support for custom proxy (#137)

4.2.1

  • fix: Make sure empty bootstrap path does not crash app
  • feat: Default to trying UNLEASH_BOOTSTRAP_FILE environment variable for finding bootstrap
  • feat: Add support for filtering by namePrefix

4.2.0

  • feat: Add ability to bootstrap features from files via UNLEASH_BOOTSTRAP_FILE (#129)
  • feat: Add ability to provide bootstrap via custom ToggleBootstrapProvider (#129)

4.1.0

  • feat: Add ability to disable metrics via UnleashContext (#125)
  • fix: Add logging for when a matching strategy is not found (#123)
  • fix: Add Nullable annotations where applicable

4.0.0

  • feat: Switched to slf4j-api logging
  • feat: add support for filtering on project (Enterprise only)
  • fix: BREAKING CHANGE UnleashConfig constructor is now private.
  • fix: Use UnleashConfig.Builder to get instance of UnleashConfig
  • feat: Add annotations to indicate null and nonnull method signatures, also supports Kotlin
  • feat: Added 'more' method to Unleash API to place advanced usecases like evaluating all toggles at once and manually incrementing usage counts
  • feat: Add warning when a matching strategy for a toggle can't be found

3.3.4

  • fix: follow redirect once (#115)
  • chore(deps): bump version.log4j2 from 2.11.2 to 2.13.3 (#109)
  • Correct README typo (#112)
  • fix: license year and company

3.3.3

  • fix: Make ToggleCollection constructor public

3.3.2

  • fix: add a custom http headers provider for unleash config

3.3.1

  • fix: add shutdown method to enable graceful termination of Unleash

3.3.0

  • feat: Add support for fallback-action
  • fix: NullPointerException when no variants defined
  • fix: FakeUnleash resetAll should also reset variants

3.2.10

  • fix: Change log-level to info for missing local backup
  • feat: Add support for http proxies with basic authentication (#91)
  • fix: support integration tests for strategy constraints
  • fix: Support custom context fields in spec-tests

3.2.9

  • fix: Make getFeatures and getToggle public in ToggleCollection
  • fix: add logs for redirect location response

3.2.8

  • feat: Add support for static context fields (#82)
  • feat: add constraint support (#83)

3.2.7

  • fix: Bump log4j to version 2.11.2.

3.2.6

  • fix: Add TypeAdapter for AtomicLong to not break metrics for users with old gson on classpath

3.2.5

  • fix: Make metric counting fully thread-safe

3.2.4

  • fix: MetricsBucket MUST be threadsafe.
  • fix: Make sure that etag field is never null

3.2.3

  • fix: Only set etag if it is not empty. Sending empty if-none-match seem to cause issues with AWS load balancer.

3.2.2

  • feat: Added subscriber API

3.2.1

  • fix: Stop logging 304-response as warn

3.2.0

  • feat: Implement support for variants
  • fix: instanceId cannot be null.

3.1.2

  • LogManager.getLogger() not supported on jdk11

3.1.1

  • Add option synchronousFetchOnInitialisation to force an inital api-update on init.

3.1.0

  • Expose list of feature names
  • Introduced UNAVAILABLE as possible status in FeatureToggleResponse

3.0.0

  • This version requires unleash-server v3 or higher.
  • Switch hashing to MurmurHash (Unleash/unleash#247)
  • Update API endoint paths for Unleash 3.x (#40)

2.1.3

  • Add sdkVersion in client-register call

2.1.3 Expose Feature Toggle Definition

  • Exposing the Feature Toggle Definition via the getFeatureToggleDefinition method on DefaultUnleash to make it easier to extend it with new functionality.

2.1.2

  • Added options for defining custom headers.

2.1.1 (March 2017)

  • Default instanceId should include hostname.

2.1.0 (Febrary 2017)

  • Includes implementation of pre-defined activation strategies.
    • applicationHostname
    • gradualRolloutRandom
    • gradualRolloutSessionId
    • gradualRolloutUserId
    • remoteAddress
    • userWithId
  • Implements support for unleash-context to simplify usage of strategies.

2.0.0 (January 2017)

  • Support multiple strategies. This makes it easy to use multiple activation strategies in combination.
  • Client metrics. Gives details about what toggles a specific client application uses, how many times a toggle was evaluated to true / false.
  • Client registration. This gives insight about connected clients, instances, strategies they support.

1.0.0 (January 2014)

  • Initial public release