Releases: launchdarkly/rust-server-sdk
v2.1.0
v2.0.2
2.0.2 (2023-12-21)
Bug Fixes
- Bump MSRV to 1.70.0 (#61) (3a4d8e7)
- deps: Bump hyper to fix CVE-2022-31394 (#59) (fdd2c32)
- deps: Bump tokio to fix CVE-2021-45710 (#60) (64d6e7b)
v2.0.1
v2.0.0
1.1.3
[1.1.3] - 2023-08-10
Fixed:
- Fixed an issue with evaluating user targets as part of a multi-kind context.
1.1.2
[1.1.2] - 2023-06-26
Removed:
- Removed reliance on
builtcrate.
1.1.1
[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
[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
[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:
lrufrom0.7.2to0.8.1 - Updated:
launchdarkly-server-sdk-evaluationfrom1.0.0-beta.5to1.0.0 - Updated:
mokafrom0.7.1to0.9.6 - Updated:
uuidfrom1.0.0-alpha.1to1.2.2
Fixed:
- Fixed handling of unexpected HTTP status codes.
Removed:
- Removed
aliasmethod - Removed types
User,UserBuilder. SeeContext,ContextBuilder, andMultiContextBuilderinstead. - Removed
reqwestdependency - Removed
threadpooldependency
1.0.0-beta.4
[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.