Skip to content

Releases: launchdarkly/rust-server-sdk

v2.1.0

15 Mar 20:59
08bf51b

Choose a tag to compare

2.1.0 (2024-03-15)

Features

  • Inline contexts for all evaluation events (#63) (b31b5e7)
  • Redact anonymous attributes within feature events (#64) (66e2e54)

v2.0.2

21 Dec 21:46
539a821

Choose a tag to compare

2.0.2 (2023-12-21)

Bug Fixes

v2.0.1

22 Nov 16:25
8c16e46

Choose a tag to compare

2.0.1 (2023-11-22)

Bug Fixes

  • Export config::BuildError as ConfigBuildError (#57) (28e8d78)

v2.0.0

17 Nov 21:53
57101f6

Choose a tag to compare

2.0.0 (2023-11-17)

⚠ BREAKING CHANGES

  • Make rustls dependency optional (#136)
  • Update to latest event source client (#135)

Features

1.1.3

10 Aug 16:21

Choose a tag to compare

[1.1.3] - 2023-08-10

Fixed:

  • Fixed an issue with evaluating user targets as part of a multi-kind context.

1.1.2

26 Jun 14:11

Choose a tag to compare

[1.1.2] - 2023-06-26

Removed:

  • Removed reliance on built crate.

1.1.1

10 May 17:44

Choose a tag to compare

[1.1.1] - 2023-05-10

Fixed:

  • The secure mode hashing algorithm has been updated to use the context's fully qualified key.

1.1.0

03 May 19:12

Choose a tag to compare

[1.1.0] - 2023-05-03

Changed:

  • Updated MSRV from 1.60.0 to 1.64.0

Fixed:

  • Ensure an error is logged if a persistence store fails to initialize appropriately.
  • Resolve issue with parsing partially read polling response bodies.

1.0.0

07 Dec 18:29

Choose a tag to compare

[1.0.0] - 2022-12-07

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:

  • Added: hyper @ 0.14.17
  • Added: hyper-rustls @ 0.23.1
  • Added: types Context, ContextBuilder, MultiContextBuilder, Reference, Kind

Changed:

  • All SDK methods that accepted users now accept contexts.
  • The MSRV is now 1.60.0
  • Updated: lru from 0.7.2 to 0.8.1
  • Updated: launchdarkly-server-sdk-evaluation from 1.0.0-beta.5 to 1.0.0
  • Updated: moka from 0.7.1 to 0.9.6
  • Updated: uuid from 1.0.0-alpha.1 to 1.2.2

Fixed:

  • Fixed handling of unexpected HTTP status codes.

Removed:

  • Removed alias method
  • Removed types User, UserBuilder. See Context, ContextBuilder, and MultiContextBuilder instead.
  • Removed reqwest dependency
  • Removed threadpool dependency

1.0.0-beta.4

07 Nov 19:04
695e9bd

Choose a tag to compare

1.0.0-beta.4 Pre-release
Pre-release

[1.0.0-beta.4] - 2022-11-07

Added:

  • Enforce ApplicationInfo length restrictions.
  • Set missing HTTP headers for event payloads.

Fixed:

  • Correct handling of specific temporary network failures.
  • Prevent shutdown broadcast error when in polling mode.
  • Reset event summaries correctly.