Releases: launchdarkly/lua-server-sdk
Releases · launchdarkly/lua-server-sdk
v2.0.0
2.0.0 (2023-12-28)
⚠ BREAKING CHANGES
- SDK configuration exposes new options and is organized hierarchically
- remove
inlineUsersInEventsanduserKeysFlushIntervalconfig options - remove global
registerLoggerfunction, replace with config option - remove
aliasfunction, replace usage with multi-kind contexts - Variation and VariationDetail now take contexts
makeUserbehavior modified to construct a user-kind context- use C++ Server-side SDK 3.0 bindings (#31)
Features
- added
makeContextfor constructing single or multi-kind contexts (95e9718) - use C++ Server-side SDK 3.0 bindings (#31) (95e9718)
Code Refactoring
- makeUser behavior modified to construct a user-kind context (95e9718)
- remove
aliasfunction, replace usage with multi-kind contexts (95e9718) - remove
inlineUsersInEventsanduserKeysFlushIntervalconfig options (95e9718) - remove global
registerLoggerfunction, replace with config option (95e9718) - SDK configuration exposes new options and is organized hierarchically (95e9718)
- Variation and VariationDetail now take contexts (95e9718)
1.2.2
[1.2.2] - 2022-02-08
Fixed:
- Remove accidental check-in of temporary documentation build files.
1.2.1
[1.2.1] - 2022-02-08
Note: Please skip this release.
Source contains files accidentally checked in by the release process.
Changed:
- Updated release configuration.
1.2.0
[1.2.0] - 2022-02-07
Added:
- Added
version()function to retrieve SDK version
Fixed:
- Fixed memory leak in
AllFlagsAPI.
Removed:
- Removed references to unused
cjsonpackage.
1.1.0
[1.1.0] - 2021-02-04
Added:
- Added the
aliasmethod. This can be used to associate two user objects for analytics purposes by generating an alias event.
1.0.1
[1.0.1] - 2020-08-28
Fixed:
- Conflicting definition of
luaL_setfuncsin certain versions of the Lua C API.
1.0.0
[1.0.0] - 2020-07-27
First supported GA release.
Fixed:
- Set
source.urlfield to repository in rockspecs
1.0.0-beta.3
Added:
- Added support for Lua
5.2, and Lua5.3. - Added
featureStoreBackendoption to configuration object. - Added
launchdarkly_server_sdk_redismodule to support Redis as an external feature store. - Added
registerLoggerwhich allows configuration of SDK logging capabilities.
Changed:
- The SDK is now implemented as a compiled C module instead of directly in Lua.
- The SDK is now imported as
launchdarkly_server_sdk, instead oflaunchdarkly-server-sdk.lua. - The SDK no longer depends on the Lua
cjson, or Luaffilibraries. - All methods are no longer closures. Use
client:aFunction, instead ofclient.aFunction.
1.0.0-beta.2
[1.0.0-beta.2] - 2020-05-12
Changed:
- Updates the configuration object to include wrapper name and version.
1.0.0-beta.1
[1.0.0-beta.1] - 2020-03-24
Initial beta release.