Changelog for launchdarkly-server-sdk-4.0.0

Change log

All notable changes to the LaunchDarkly Haskell Server-side SDK will be documented in this file. This project adheres to Semantic Versioning.

[4.0.0] - 2023-02-21

The latest version of this SDK supports LaunchDarkly's new custom contexts feature. Contexts are an evolution of a previously-existing concept, "users." Contexts let you create targeting rules for feature flags based on a variety of different information, including attributes pertaining to users, organizations, devices, and more. You can even combine contexts to create "multi-contexts."

This feature is only available to members of LaunchDarkly's Early Access Program (EAP). If you're in the EAP, you can use contexts by updating your SDK to the latest version and, if applicable, updating your Relay Proxy. Outdated SDK versions do not support contexts, and will cause unpredictable flag evaluation behavior.

If you are not in the EAP, only use single contexts of kind "user", or continue to use the user type if available. If you try to create contexts, the context will be sent to LaunchDarkly, but any data not related to the user object will be ignored.

For detailed information about this version, please refer to the list below. For information on how to upgrade from the previous version, please read the migration guide.

Added:

Changed (breaking changes from 3.x):

Changed (requirements/dependencies/build):

Changed (behavioral changes):

Removed:

Deprecated:

The following methods in TestData have been deprecated and replaced with new context-aware options.

The config method configSetUserKeyLRUCapacity has been deprecated and replaced with configSetContextKeyLRUCapacity.

[3.1.1] - 2023-02-17

Fixed:

[3.1.0] - 2023-01-27

Added:

[3.0.4] - 2023-01-09

Changed:

[3.0.3] - 2022-11-08

Added:

Changed:

Fixed:

[3.0.2] - 2022-09-20

Changed:

[3.0.1] - 2022-07-01

Fixed:

[3.0.0] - 2022-06-27

Added:

Changed:

Fixed:

[2.2.0] - 2021-06-17

Added:

[2.1.1] - 2021-03-05

Changed:

[2.1.0] - 2021-02-04

Added:

[2.0.2] - 2020-10-13

Fixed:

[2.0.1] - 2020-08-28

Fixed:

[2.0.0] - 2020-04-21

Changed:

Removed:

[1.0.4] - 2020-04-06

Fixed:

[1.0.3] - 2020-03-31

Fixed:

[1.0.2] - 2020-03-16

Fixed:

[1.0.1] - 2020-03-02

Fixed:

[1.0.0] - 2020-02-24

Fixed:

[0.2.1] - 2020-02-21

Fixed:

[0.2.0] - 2020-02-10

Added:

Fixed:

[0.1.1] - 2019-12-10

Fixed