From 517d7c964709ce96dede3503f63d1f9bf2475a89 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 19 Nov 2026 14:13:16 +0000 Subject: [PATCH 1/3] chore(main): release 2.2.1 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 9 +++++++++ examples/hello-debian/Dockerfile | 2 +- examples/hello-haproxy/Dockerfile | 2 +- examples/hello-nginx/Dockerfile | 2 +- launchdarkly-server-sdk.c | 2 +- scripts/compile.sh | 2 +- scripts/update-versions.sh | 2 +- 8 files changed, 16 insertions(+), 7 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index a5d1cf2..11ee94f 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "2.2.0" + ".": "2.2.1" } diff --git a/CHANGELOG.md b/CHANGELOG.md index 6ac646c..0311ab8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,15 @@ 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.2.1](https://github.com/launchdarkly/lua-server-sdk/compare/v2.2.0...v2.2.1) (2026-11-19) + + +### Bug Fixes + +* Prevent a crash when track is called with nil data ([#130](https://github.com/launchdarkly/lua-server-sdk/issues/130)) ([fa3e0d8](https://github.com/launchdarkly/lua-server-sdk/commit/fa3e0d8c0329e7f158a80afc3d9ca25ccebedb50)) +* Require C++ server SDK 3.15.0 so that track sends metric values correctly ([#132](https://github.com/launchdarkly/lua-server-sdk/issues/132)) ([7bbc9cc](https://github.com/launchdarkly/lua-server-sdk/commit/7bbc9cce57d49108455b7f772e22955f3ff8911a)) +* Require C++ server SDK 3.15.2 so that wrong-type evaluations record the default value in events ([#134](https://github.com/launchdarkly/lua-server-sdk/issues/134)) ([3043105](https://github.com/launchdarkly/lua-server-sdk/commit/3043105424c2f9a313e30731ffb17a4b32ce92a8)) + ## [2.2.0](https://github.com/launchdarkly/lua-server-sdk/compare/v2.1.3...v2.2.0) (2026-08-10) diff --git a/examples/hello-debian/Dockerfile b/examples/hello-debian/Dockerfile index 43ca710..2372c5f 100644 --- a/examples/hello-debian/Dockerfile +++ b/examples/hello-debian/Dockerfile @@ -1,7 +1,7 @@ FROM debian:bookworm # {{ x-release-please-start-version }} -ARG VERSION=2.2.0 +ARG VERSION=2.2.1 # {{ x-release-please-end }} ARG CPP_SDK_VERSION=3.15.2 diff --git a/examples/hello-haproxy/Dockerfile b/examples/hello-haproxy/Dockerfile index f4a91cc..48c248b 100644 --- a/examples/hello-haproxy/Dockerfile +++ b/examples/hello-haproxy/Dockerfile @@ -1,7 +1,7 @@ FROM ubuntu:22.04 # {{ x-release-please-start-version }} -ARG VERSION=2.2.0 +ARG VERSION=2.2.1 # {{ x-release-please-end }} ARG CPP_SDK_VERSION=3.15.2 diff --git a/examples/hello-nginx/Dockerfile b/examples/hello-nginx/Dockerfile index a50d8c3..2fb8281 100644 --- a/examples/hello-nginx/Dockerfile +++ b/examples/hello-nginx/Dockerfile @@ -1,7 +1,7 @@ FROM openresty/openresty:1.31.8.1-0-jammy # {{ x-release-please-start-version }} -ARG VERSION=2.2.0 +ARG VERSION=2.2.1 # {{ x-release-please-end }} ARG CPP_SDK_VERSION=3.15.2 diff --git a/launchdarkly-server-sdk.c b/launchdarkly-server-sdk.c index 950f98d..60cd698 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 "2.2.0" /* {x-release-please-version} */ +#define SDKVersion "2.2.1" /* {x-release-please-version} */ static LDValue LuaValueToJSON(lua_State *const l, const int i); diff --git a/scripts/compile.sh b/scripts/compile.sh index 4edcbc4..ff1b431 100755 --- a/scripts/compile.sh +++ b/scripts/compile.sh @@ -5,7 +5,7 @@ set -e -version="2.2.0" # {x-release-please-version } +version="2.2.1" # {x-release-please-version } luarocks make launchdarkly-server-sdk-$version-0.rockspec LD_DIR=./cpp-sdks/build/INSTALL luarocks make launchdarkly-server-sdk-redis-$version-0.rockspec LDREDIS_DIR=./cpp-sdks/build/INSTALL diff --git a/scripts/update-versions.sh b/scripts/update-versions.sh index 6d258ed..a49515f 100755 --- a/scripts/update-versions.sh +++ b/scripts/update-versions.sh @@ -23,7 +23,7 @@ git_username=$3 git_email=$4 if [ "$input_version" == "auto" ]; then - input_version="2.2.0" # { x-release-please-version } + input_version="2.2.1" # { x-release-please-version } fi autocommit='' From 1bb39fed3b588957d68fdbab5610533514fe556b Mon Sep 17 00:00:00 2001 From: LaunchDarklyReleaseBot Date: Thu, 19 Nov 2026 14:13:25 +0000 Subject: [PATCH 2/3] chore: bump launchdarkly-server-sdk version from 2.2.0 to 2.2.1 --- README.md | 2 +- ...2.0-0.rockspec => launchdarkly-server-sdk-2.2.1-0.rockspec | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) rename launchdarkly-server-sdk-2.2.0-0.rockspec => launchdarkly-server-sdk-2.2.1-0.rockspec (97%) diff --git a/README.md b/README.md index 32a7d98..11f4a5b 100644 --- a/README.md +++ b/README.md @@ -99,7 +99,7 @@ If you don't want to install from LuaRocks, it's possible to compile the modules **Install the base SDK only** ```bash -luarocks make launchdarkly-server-sdk-2.2.0-0.rockspec \ +luarocks make launchdarkly-server-sdk-2.2.1-0.rockspec \ LD_DIR=./path-to-installed-cpp-sdk ``` **Install the base SDK with Redis support** diff --git a/launchdarkly-server-sdk-2.2.0-0.rockspec b/launchdarkly-server-sdk-2.2.1-0.rockspec similarity index 97% rename from launchdarkly-server-sdk-2.2.0-0.rockspec rename to launchdarkly-server-sdk-2.2.1-0.rockspec index 9024765..f7e08f0 100644 --- a/launchdarkly-server-sdk-2.2.0-0.rockspec +++ b/launchdarkly-server-sdk-2.2.1-0.rockspec @@ -2,7 +2,7 @@ package = "launchdarkly-server-sdk" rockspec_format = "3.0" -version = "2.2.0-0" +version = "2.2.1-0" description = { summary = "LaunchDarkly SDK for server-side applications.", @@ -20,7 +20,7 @@ description = { source = { url = "git+https://github.com/launchdarkly/lua-server-sdk.git", - tag = "v2.2.0" + tag = "v2.2.1" } dependencies = { From 7a54ce2694a0cf4fe82fc76cdbce5a7b4c4f69d3 Mon Sep 17 00:00:00 2001 From: LaunchDarklyReleaseBot Date: Thu, 19 Nov 2026 14:13:27 +0000 Subject: [PATCH 3/3] chore: bump launchdarkly-server-sdk-redis version from 2.2.0 to 2.2.1 --- README.md | 2 +- ...rockspec => launchdarkly-server-sdk-redis-2.2.1-0.rockspec | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) rename launchdarkly-server-sdk-redis-2.2.0-0.rockspec => launchdarkly-server-sdk-redis-2.2.1-0.rockspec (97%) diff --git a/README.md b/README.md index 11f4a5b..7d8f7aa 100644 --- a/README.md +++ b/README.md @@ -104,7 +104,7 @@ LD_DIR=./path-to-installed-cpp-sdk ``` **Install the base SDK with Redis support** ```bash -luarocks make launchdarkly-server-sdk-redis-2.2.0-0.rockspec \ +luarocks make launchdarkly-server-sdk-redis-2.2.1-0.rockspec \ LDREDIS_DIR=./path-to-cpp-sdk-with-redis-support-installation ``` diff --git a/launchdarkly-server-sdk-redis-2.2.0-0.rockspec b/launchdarkly-server-sdk-redis-2.2.1-0.rockspec similarity index 97% rename from launchdarkly-server-sdk-redis-2.2.0-0.rockspec rename to launchdarkly-server-sdk-redis-2.2.1-0.rockspec index 09654c7..4cd91e6 100644 --- a/launchdarkly-server-sdk-redis-2.2.0-0.rockspec +++ b/launchdarkly-server-sdk-redis-2.2.1-0.rockspec @@ -2,7 +2,7 @@ package = "launchdarkly-server-sdk-redis" rockspec_format = "3.0" -version = "2.2.0-0" +version = "2.2.1-0" description = { summary = "Redis integration for LaunchDarkly Lua Server-side SDK.", @@ -19,7 +19,7 @@ description = { source = { url = "git+https://github.com/launchdarkly/lua-server-sdk.git", - tag = "v2.2.0" + tag = "v2.2.1" } dependencies = {