From 7bf15bc6922149a75eb43505d8e171afbb903394 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 10 Aug 2026 23:32:23 +0000 Subject: [PATCH 1/3] chore(main): release 2.2.0 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 7 +++++++ 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, 14 insertions(+), 7 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 8249311..a5d1cf2 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "2.1.3" + ".": "2.2.0" } diff --git a/CHANGELOG.md b/CHANGELOG.md index dad0099..6ac646c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,13 @@ 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.0](https://github.com/launchdarkly/lua-server-sdk/compare/v2.1.3...v2.2.0) (2026-08-10) + + +### Features + +* build with LuaJIT 2.1 and test against latest C++ server-side SDK ([#124](https://github.com/launchdarkly/lua-server-sdk/issues/124)) ([6550dc5](https://github.com/launchdarkly/lua-server-sdk/commit/6550dc5359056eb4bb4f45b7de17ea42a564f842)) + ## [2.1.3](https://github.com/launchdarkly/lua-server-sdk/compare/v2.1.2...v2.1.3) (2025-06-06) diff --git a/examples/hello-debian/Dockerfile b/examples/hello-debian/Dockerfile index 5bd0e1f..0912d9e 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.1.3 +ARG VERSION=2.2.0 # {{ x-release-please-end }} ARG CPP_SDK_VERSION=3.13.1 diff --git a/examples/hello-haproxy/Dockerfile b/examples/hello-haproxy/Dockerfile index ab7f90c..e4abca6 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.1.3 +ARG VERSION=2.2.0 # {{ x-release-please-end }} ARG CPP_SDK_VERSION=3.13.1 diff --git a/examples/hello-nginx/Dockerfile b/examples/hello-nginx/Dockerfile index 77d95bc..c12e465 100644 --- a/examples/hello-nginx/Dockerfile +++ b/examples/hello-nginx/Dockerfile @@ -4,7 +4,7 @@ FROM openresty/openresty:1.21.4.1-0-jammy # {{ x-release-please-start-version }} -ARG VERSION=2.1.3 +ARG VERSION=2.2.0 # {{ x-release-please-end }} ARG CPP_SDK_VERSION=3.13.1 diff --git a/launchdarkly-server-sdk.c b/launchdarkly-server-sdk.c index 6a628b7..6596b4d 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.1.3" /* {x-release-please-version} */ +#define SDKVersion "2.2.0" /* {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 957b795..4edcbc4 100755 --- a/scripts/compile.sh +++ b/scripts/compile.sh @@ -5,7 +5,7 @@ set -e -version="2.1.3" # {x-release-please-version } +version="2.2.0" # {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 0696466..6d258ed 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.1.3" # { x-release-please-version } + input_version="2.2.0" # { x-release-please-version } fi autocommit='' From 41dd6a19b9f8197db88722f3ad52ccdfc3b8f3b8 Mon Sep 17 00:00:00 2001 From: LaunchDarklyReleaseBot Date: Mon, 10 Aug 2026 23:32:37 +0000 Subject: [PATCH 2/3] chore: bump launchdarkly-server-sdk version from 2.1.3 to 2.2.0 --- README.md | 2 +- ...1.3-0.rockspec => launchdarkly-server-sdk-2.2.0-0.rockspec | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) rename launchdarkly-server-sdk-2.1.3-0.rockspec => launchdarkly-server-sdk-2.2.0-0.rockspec (97%) diff --git a/README.md b/README.md index 63f3844..a951699 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.1.3-0.rockspec \ +luarocks make launchdarkly-server-sdk-2.2.0-0.rockspec \ LD_DIR=./path-to-installed-cpp-sdk ``` **Install the base SDK with Redis support** diff --git a/launchdarkly-server-sdk-2.1.3-0.rockspec b/launchdarkly-server-sdk-2.2.0-0.rockspec similarity index 97% rename from launchdarkly-server-sdk-2.1.3-0.rockspec rename to launchdarkly-server-sdk-2.2.0-0.rockspec index 61874f7..9024765 100644 --- a/launchdarkly-server-sdk-2.1.3-0.rockspec +++ b/launchdarkly-server-sdk-2.2.0-0.rockspec @@ -2,7 +2,7 @@ package = "launchdarkly-server-sdk" rockspec_format = "3.0" -version = "2.1.3-0" +version = "2.2.0-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.1.3" + tag = "v2.2.0" } dependencies = { From e175395bf9656d45a7b4952c90d671f4f103b1a5 Mon Sep 17 00:00:00 2001 From: LaunchDarklyReleaseBot Date: Mon, 10 Aug 2026 23:32:39 +0000 Subject: [PATCH 3/3] chore: bump launchdarkly-server-sdk-redis version from 2.1.3 to 2.2.0 --- README.md | 2 +- ...rockspec => launchdarkly-server-sdk-redis-2.2.0-0.rockspec | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) rename launchdarkly-server-sdk-redis-2.1.3-0.rockspec => launchdarkly-server-sdk-redis-2.2.0-0.rockspec (97%) diff --git a/README.md b/README.md index a951699..6bf8c64 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.1.3-0.rockspec \ +luarocks make launchdarkly-server-sdk-redis-2.2.0-0.rockspec \ LDREDIS_DIR=./path-to-cpp-sdk-with-redis-support-installation ``` diff --git a/launchdarkly-server-sdk-redis-2.1.3-0.rockspec b/launchdarkly-server-sdk-redis-2.2.0-0.rockspec similarity index 97% rename from launchdarkly-server-sdk-redis-2.1.3-0.rockspec rename to launchdarkly-server-sdk-redis-2.2.0-0.rockspec index 6a3bd9c..09654c7 100644 --- a/launchdarkly-server-sdk-redis-2.1.3-0.rockspec +++ b/launchdarkly-server-sdk-redis-2.2.0-0.rockspec @@ -2,7 +2,7 @@ package = "launchdarkly-server-sdk-redis" rockspec_format = "3.0" -version = "2.1.3-0" +version = "2.2.0-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.1.3" + tag = "v2.2.0" } dependencies = {