Releases: launchdarkly/rust-server-sdk-evaluation
Releases · launchdarkly/rust-server-sdk-evaluation
v2.0.1
v2.0.0
v1.2.0
1.1.1
[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
[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
[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
replaceUser
, 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
from0.4.15
to0.4.23
; only enable the"std"
feature - Updated:
semver
from0.10.0
to1.0.14
evaluate
now takes aContext
instead of aUser
- 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
. SeeContext
,ContextBuilder
andMultiContextBuilder
instead.
1.0.0-beta.5
[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
[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 acustom
key.
1.0.0-beta.3
[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
[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.