From a1bc2ca580ed1f7728fffa854ed27078aa11a8d9 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 18 Nov 2024 23:13:08 +0000 Subject: [PATCH 1/3] chore(main): release 2.1.2 --- .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 48fbed9..25d36ff 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "2.1.1" + ".": "2.1.2" } diff --git a/CHANGELOG.md b/CHANGELOG.md index a064daf..beb844f 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.1.2](https://github.com/launchdarkly/lua-server-sdk/compare/v2.1.1...v2.1.2) (2024-11-18) + + +### Bug Fixes + +* **deps:** bump C++ server dep for holdouts fix ([#109](https://github.com/launchdarkly/lua-server-sdk/issues/109)) ([53a7ef1](https://github.com/launchdarkly/lua-server-sdk/commit/53a7ef19fea3fcea6209f18fdde42d699b464cdc)) + ## [2.1.1](https://github.com/launchdarkly/lua-server-sdk/compare/v2.1.0...v2.1.1) (2024-07-15) diff --git a/examples/hello-debian/Dockerfile b/examples/hello-debian/Dockerfile index 17f8004..4f98605 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.1 +ARG VERSION=2.1.2 # {{ x-release-please-end }} ARG CPP_SDK_VERSION=3.8.0 diff --git a/examples/hello-haproxy/Dockerfile b/examples/hello-haproxy/Dockerfile index 4a9ac43..0ae3624 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.1 +ARG VERSION=2.1.2 # {{ x-release-please-end }} ARG CPP_SDK_VERSION=3.8.0 diff --git a/examples/hello-nginx/Dockerfile b/examples/hello-nginx/Dockerfile index e9fe37c..8d9c129 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.1 +ARG VERSION=2.1.2 # {{ x-release-please-end }} ARG CPP_SDK_VERSION=3.8.0 diff --git a/launchdarkly-server-sdk.c b/launchdarkly-server-sdk.c index e5b1a2f..814fdf0 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.1" /* {x-release-please-version} */ +#define SDKVersion "2.1.2" /* {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 d7c27e2..2c1e7e4 100755 --- a/scripts/compile.sh +++ b/scripts/compile.sh @@ -5,7 +5,7 @@ set -e -version="2.1.1" # {x-release-please-version } +version="2.1.2" # {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 d7f97c8..20e0b74 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.1" # { x-release-please-version } + input_version="2.1.2" # { x-release-please-version } fi autocommit='' From 2ba197e7959eaca426ae941ac7153a98e4e543ff Mon Sep 17 00:00:00 2001 From: LaunchDarklyReleaseBot Date: Mon, 18 Nov 2024 23:13:20 +0000 Subject: [PATCH 2/3] chore: bump launchdarkly-server-sdk version from 2.1.1 to 2.1.2 --- README.md | 2 +- ...1.1-0.rockspec => launchdarkly-server-sdk-2.1.2-0.rockspec | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) rename launchdarkly-server-sdk-2.1.1-0.rockspec => launchdarkly-server-sdk-2.1.2-0.rockspec (97%) diff --git a/README.md b/README.md index 7ffa05d..e98dfba 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.1-0.rockspec \ +luarocks make launchdarkly-server-sdk-2.1.2-0.rockspec \ LD_DIR=./path-to-installed-cpp-sdk ``` **Install the base SDK with Redis support** diff --git a/launchdarkly-server-sdk-2.1.1-0.rockspec b/launchdarkly-server-sdk-2.1.2-0.rockspec similarity index 97% rename from launchdarkly-server-sdk-2.1.1-0.rockspec rename to launchdarkly-server-sdk-2.1.2-0.rockspec index 8b34bdc..640f815 100644 --- a/launchdarkly-server-sdk-2.1.1-0.rockspec +++ b/launchdarkly-server-sdk-2.1.2-0.rockspec @@ -2,7 +2,7 @@ package = "launchdarkly-server-sdk" rockspec_format = "3.0" -version = "2.1.1-0" +version = "2.1.2-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.1" + tag = "v2.1.2" } dependencies = { From 6bfa4c6876fb03adfa5701dd8510916d8167d390 Mon Sep 17 00:00:00 2001 From: LaunchDarklyReleaseBot Date: Mon, 18 Nov 2024 23:13:21 +0000 Subject: [PATCH 3/3] chore: bump launchdarkly-server-sdk-redis version from 2.1.1 to 2.1.2 --- README.md | 2 +- ...rockspec => launchdarkly-server-sdk-redis-2.1.2-0.rockspec | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) rename launchdarkly-server-sdk-redis-2.1.1-0.rockspec => launchdarkly-server-sdk-redis-2.1.2-0.rockspec (97%) diff --git a/README.md b/README.md index e98dfba..8836ba0 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.1-0.rockspec \ +luarocks make launchdarkly-server-sdk-redis-2.1.2-0.rockspec \ LDREDIS_DIR=./path-to-cpp-sdk-with-redis-support-installation ``` diff --git a/launchdarkly-server-sdk-redis-2.1.1-0.rockspec b/launchdarkly-server-sdk-redis-2.1.2-0.rockspec similarity index 97% rename from launchdarkly-server-sdk-redis-2.1.1-0.rockspec rename to launchdarkly-server-sdk-redis-2.1.2-0.rockspec index 8194ae5..46088c8 100644 --- a/launchdarkly-server-sdk-redis-2.1.1-0.rockspec +++ b/launchdarkly-server-sdk-redis-2.1.2-0.rockspec @@ -2,7 +2,7 @@ package = "launchdarkly-server-sdk-redis" rockspec_format = "3.0" -version = "2.1.1-0" +version = "2.1.2-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.1" + tag = "v2.1.2" } dependencies = {