From c5c21c61b7f2c954d614c9aa7b5a535494e97d6f Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 28 Dec 2023 19:58:46 +0000 Subject: [PATCH] chore(main): release 2.0.0 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 28 ++++++++++++++++++++++++++ launchdarkly-server-sdk-1.0-0.rockspec | 2 +- launchdarkly-server-sdk.c | 2 +- 4 files changed, 31 insertions(+), 3 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index f6a9e15..895bf0e 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "1.2.2" + ".": "2.0.0" } diff --git a/CHANGELOG.md b/CHANGELOG.md index bd75567..6361b22 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,34 @@ All notable changes to the LaunchDarkly Lua Server-side SDK will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org). +## [2.0.0](https://github.com/launchdarkly/lua-server-sdk/compare/1.2.2...v2.0.0) (2023-12-28) + + +### ⚠ BREAKING CHANGES + +* SDK configuration exposes new options and is organized hierarchically +* remove `inlineUsersInEvents` and `userKeysFlushInterval` config options +* remove global `registerLogger` function, replace with config option +* remove `alias` function, replace usage with multi-kind contexts +* Variation and VariationDetail now take contexts +* makeUser behavior modified to construct a user-kind context +* use C++ Server-side SDK 3.0 bindings ([#31](https://github.com/launchdarkly/lua-server-sdk/issues/31)) + +### Features + +* added `makeContext` for constructing single or multi-kind contexts ([95e9718](https://github.com/launchdarkly/lua-server-sdk/commit/95e97188dd2258805734884592b601c7ebfa66c6)) +* use C++ Server-side SDK 3.0 bindings ([#31](https://github.com/launchdarkly/lua-server-sdk/issues/31)) ([95e9718](https://github.com/launchdarkly/lua-server-sdk/commit/95e97188dd2258805734884592b601c7ebfa66c6)) + + +### Code Refactoring + +* makeUser behavior modified to construct a user-kind context ([95e9718](https://github.com/launchdarkly/lua-server-sdk/commit/95e97188dd2258805734884592b601c7ebfa66c6)) +* remove `alias` function, replace usage with multi-kind contexts ([95e9718](https://github.com/launchdarkly/lua-server-sdk/commit/95e97188dd2258805734884592b601c7ebfa66c6)) +* remove `inlineUsersInEvents` and `userKeysFlushInterval` config options ([95e9718](https://github.com/launchdarkly/lua-server-sdk/commit/95e97188dd2258805734884592b601c7ebfa66c6)) +* remove global `registerLogger` function, replace with config option ([95e9718](https://github.com/launchdarkly/lua-server-sdk/commit/95e97188dd2258805734884592b601c7ebfa66c6)) +* SDK configuration exposes new options and is organized hierarchically ([95e9718](https://github.com/launchdarkly/lua-server-sdk/commit/95e97188dd2258805734884592b601c7ebfa66c6)) +* Variation and VariationDetail now take contexts ([95e9718](https://github.com/launchdarkly/lua-server-sdk/commit/95e97188dd2258805734884592b601c7ebfa66c6)) + ## [1.2.2] - 2022-02-08 ### Fixed: - Remove accidental check-in of temporary documentation build files. diff --git a/launchdarkly-server-sdk-1.0-0.rockspec b/launchdarkly-server-sdk-1.0-0.rockspec index 86b6e2c..1da8da7 100644 --- a/launchdarkly-server-sdk-1.0-0.rockspec +++ b/launchdarkly-server-sdk-1.0-0.rockspec @@ -6,7 +6,7 @@ version = "1.0-0" source = { url = "git+https://github.com/launchdarkly/lua-server-sdk.git", - tag = "1.2.2" -- {{ x-release-please-version }} + tag = "2.0.0" -- {{ x-release-please-version }} } dependencies = { diff --git a/launchdarkly-server-sdk.c b/launchdarkly-server-sdk.c index f6914c9..4459d51 100644 --- a/launchdarkly-server-sdk.c +++ b/launchdarkly-server-sdk.c @@ -25,7 +25,7 @@ Server-side SDK for LaunchDarkly. #define DEBUG_PRINT(fmt, ...) #endif -#define SDKVersion "1.2.2" /* {x-release-please-version} */ +#define SDKVersion "2.0.0" /* {x-release-please-version} */ static LDValue LuaValueToJSON(lua_State *const l, const int i);