Skip to content

Releases: launchdarkly/rust-server-sdk-evaluation

v2.0.1

28 Jan 15:11
f286c45
Compare
Choose a tag to compare

2.0.1 (2025-01-28)

Bug Fixes

v2.0.0

10 Jul 20:53
1c2d016
Compare
Choose a tag to compare

2.0.0 (2024-07-10)

⚠ BREAKING CHANGES

  • Add exclude from summary field to flag (#18)
  • Add migration and sampling ratio fields (#17)

Features

  • Add exclude from summary field to flag (#18) (ca935a3)
  • Add method to strip anonymous contexts (#21) (f76faa6)
  • Add migration and sampling ratio fields (#17) (5e4e969)
  • Add serialize trait to Detail (#16) (683231e)

Bug Fixes

v1.2.0

14 Mar 17:29
cdec70d
Compare
Choose a tag to compare

1.2.0 (2024-03-14)

Features

  • Support redacting all attributes from anonymous contexts (#14) (76d5e52)

1.1.1

07 Aug 20:40
Compare
Choose a tag to compare

[1.1.1] - 2023-08-07

Fixed:

  • Fixed an issue with evaluation of segments which included/excluded users when that user was part of a multi-context.

1.1.0

05 May 17:13
Compare
Choose a tag to compare

[1.1.0] - 2023-05-05

Changed:

  • Updated MSRV from 1.60.0 to 1.64.0

Fixed:

  • Fix invalid encoding for fully qualified context key generation.

1.0.0

06 Dec 19:44
Compare
Choose a tag to compare

[1.0.0] - 2022-12-06

This release of the evaluation engine corresponds to the upcoming v1.0.0 release of the LaunchDarkly server-side Rust SDK (launchdarkly-server-sdk), and is not compatible with earlier SDK versions.

Added:

  • Added the types Context, Kind, ContextBuilder, MultiContextBuilder, Reference, and supporting types. Context defines the new context-based evaluation model. Context replace User, which was removed.
  • Added: urlencoding @ 2.1.0
  • Added: maplit @ 1.0.1
  • Added: itertools @ 0.10.3
  • Added: serde_with @ 2.1.0

Changed:

  • The MSRV is now 1.60.0
  • Updated: chrono from 0.4.15 to 0.4.23; only enable the "std" feature
  • Updated: semver from 0.10.0 to 1.0.14
  • evaluate now takes a Context instead of a User
  • User keys could previously be empty strings. With contexts, the key cannot be empty.
  • The "secondary" meta-attribute which affected percentage rollouts has been removed. If you set an attribute with that name in a context, it will be a custom attribute like any other.
  • For backwards-compatibility, it is possible to enable "secondary" evaluation logic within the evaluation engine by enabling the secondary_key_bucketing flag. This will only affect contexts that were created via deserialization, since it is not possible to set "secondary" via a builder method.

Removed:

  • User, UserBuilder, UserAttributes. See Context, ContextBuilder and MultiContextBuilder instead.

1.0.0-beta.5

05 Apr 17:57
Compare
Choose a tag to compare
1.0.0-beta.5 Pre-release
Pre-release

[1.0.0-beta.5] - 2022-04-04

Changed

  • Update to edition 2021.
  • Change store signature to support persistent stores.

Added

  • Support flag serialization of old and current schema.
  • Add versioned trait (implemented by flag and segment).

1.0.0-beta.4

09 Mar 16:53
Compare
Choose a tag to compare
1.0.0-beta.4 Pre-release
Pre-release

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

Changed

  • Bump sha1 and test_case dependencies.

Fixed

  • When serializing a user, custom attributes were incorrectly being flattened
    in the JSON output. We now correctly encode them under a custom key.

1.0.0-beta.3

16 Feb 17:23
Compare
Choose a tag to compare
1.0.0-beta.3 Pre-release
Pre-release

[1.0.0-beta.3] - 2022-02-16

Added

  • Add support for globally and user specific private attributes.

Changed

  • If we receive a negative variation index, or an unsupported operation, the
    SDK should not fail to parse the payload.
  • Modified the try_map function to accept a default value when returning a new Detail instance.

1.0.0-beta.2

22 Jan 01:36
Compare
Choose a tag to compare
1.0.0-beta.2 Pre-release
Pre-release

[1.0.0-beta.2] - 2022-01-21

Changed

  • Modified the try_map function to accept a default value when returning a new Detail instance.