Repository navigation
1.0.0
·
69 commits
to main
since this release
[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.Contextdefines the new context-based evaluation model.ContextreplaceUser, 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:
chronofrom0.4.15to0.4.23; only enable the"std"feature - Updated:
semverfrom0.10.0to1.0.14 evaluatenow takes aContextinstead 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_bucketingflag. 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,ContextBuilderandMultiContextBuilderinstead.