This repository has been archived by the owner on Jun 3, 2024. It is now read-only.
Releases: launchdarkly/c-client-sdk
Releases · launchdarkly/c-client-sdk
2.1.2
[2.1.2] - 2020-11-17
Changed:
- OSX artifacts are now generated with Xcode 9.4.1
Fixed:
- Removed extra internal definition of LDi_statuscallback
2.1.1
2.1.0
2.0.3
[2.0.3] - 2020-07-06
Changed:
- Windows artifacts are now released under both debug, and release configurations
Fixed:
- Windows release artifacts no longer include miscellaneous build files introduced by 2.0.2
2.0.2
[2.0.2] - 2020-07-02
Changed:
- 2.0.0 Accidentally included the debug runtime on Windows. The debug runtime has been removed.
2.0.1
[2.0.1] - 2020-06-18
Changed:
- Update DLLs to include metadata on Windows
Removed:
- Redundant internal logic related to stream cancellation
2.0.0
Fixed
- The
LDJSONVariation
, andLDJSONVariationDetail
variations now correctly handle empty objects, and arrays.
Added
- A new JSON representation
struct LDJSON
and a large family of related functions. - A dedicated C++ wrapper class
LDClientCPP
- The
LDUserSetCustomAttributesJSON
function usingstruct LDJSON
to replaceLDUserAddPrivateAttribute
- A
LDLogLevel
enum for the new logging interface - A basic logging function that can be used instead of writing your own
LDBasicLogger
- The
LDConfigureGlobalLogger
used for configuring the logging function, and log level - The
LDLogLevelToString
function which convertsLDLogLevel
to a string
Changed
- Instead of
make
we now useCMake
to build the SDK. - The main include entrypoint is now
launchdarkly/api.h
instead ofldapi.h
- Previously the SDK defined either a class or struct depending on the language detected. Now there is a dedicated base C interface, and C++ wrapper.
- The types
LDClient
,LDConfig
, andLDUser
no longer use a typedef, and require thestruct
prefix. - The
stdbool.h
header have been removed from the public API. All instances ofbool
have been replaced withLDBoolean
which will contain a value of 0 or 1. - Updated the
LDUserSetPrivateAttributes
function to acceptstruct LDJSON
- Updated the
LDAllFlags
function to returnstruct LDJSON
- Updated the
LDJSONVariation
, andLDJSONVariationDetail
variations to usestruct LDJSON
- The entire public API now has a "defensive mode" enabled by default, which is controlled by the
LAUNCHDARKLY_DEFENSIVE
compile time definition. This mode will check, and log detectable errors of API usage. - Internal asserts can be controlled with the
LAUNCHDARKLY_USE_ASSERT
compile time definition.
Removed
- All old types and functions related to logging
- The
LDNode*
family of functions - The
LDNode
struct - The
LDConfigAddPrivateAttribute
function - The
LDUserSetCustomAttributesJSON
function - The
LDUserAddPrivateAttribute
function - The
LDClientGetLockedFlags
function - The
LDClientUnlockFlags
function - The
LD_store_*
family of functions
1.7.6
[1.7.6] - 2020-04-01
Fixed:
- Standardized streaming retry behavior. Previously exponential back-off was skipped.
1.7.5
[1.7.5] - 2020-01-17
Fixed:
- The SDK now specifies a uniquely identifiable request header when sending events to LaunchDarkly to ensure that events are only processed once, even if the SDK sends them two times due to a failed initial attempt.
1.7.4
[1.7.4] - 2019-12-17
Changed:
- Artifacts are now released as zip / tar files containing both binaries and headers. No SDK code changes associated with this version bump.