From 4fa8029271c206d0f881120dae00628f4565683b Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 11 Mar 2024 23:32:23 +0000 Subject: [PATCH 1/3] chore(main): release 2.1.0 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 7 +++++++ examples/hello-haproxy/Dockerfile | 2 +- examples/hello-nginx/Dockerfile | 2 +- launchdarkly-server-sdk.c | 2 +- scripts/compile.sh | 2 +- scripts/update-versions.sh | 2 +- 7 files changed, 13 insertions(+), 6 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index b83b80e..969d3db 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "2.0.6" + ".": "2.1.0" } diff --git a/CHANGELOG.md b/CHANGELOG.md index 0e2ce08..2e41723 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.0](https://github.com/launchdarkly/lua-server-sdk/compare/v2.0.6...v2.1.0) (2024-03-11) + + +### Features + +* allow nil to be passed for clientInit config ([#94](https://github.com/launchdarkly/lua-server-sdk/issues/94)) ([e7c0dfe](https://github.com/launchdarkly/lua-server-sdk/commit/e7c0dfed95a0b10ca67e9ccfe8cab63db9fe2d53)) + ## [2.0.6](https://github.com/launchdarkly/lua-server-sdk/compare/v2.0.5...v2.0.6) (2024-02-07) diff --git a/examples/hello-haproxy/Dockerfile b/examples/hello-haproxy/Dockerfile index e259323..e55ebaf 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.0.6 +ARG VERSION=2.1.0 # {{ x-release-please-end }} RUN apt-get update && apt-get install -y \ diff --git a/examples/hello-nginx/Dockerfile b/examples/hello-nginx/Dockerfile index 24d9332..734f91b 100644 --- a/examples/hello-nginx/Dockerfile +++ b/examples/hello-nginx/Dockerfile @@ -1,7 +1,7 @@ FROM openresty/openresty:jammy # {{ x-release-please-start-version }} -ARG VERSION=2.0.6 +ARG VERSION=2.1.0 # {{ x-release-please-end }} RUN apt-get update && apt-get install -y \ diff --git a/launchdarkly-server-sdk.c b/launchdarkly-server-sdk.c index 91f17c2..05a4e9b 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.0.6" /* {x-release-please-version} */ +#define SDKVersion "2.1.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 2fc3798..410d0c3 100755 --- a/scripts/compile.sh +++ b/scripts/compile.sh @@ -5,7 +5,7 @@ set -e -version="2.0.6" # {x-release-please-version } +version="2.1.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 a2ec8b4..0c59be5 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.0.6" # { x-release-please-version } + input_version="2.1.0" # { x-release-please-version } fi autocommit='' From 8be58151d35a43331a4b06842ff922f795b201b9 Mon Sep 17 00:00:00 2001 From: LaunchDarklyReleaseBot Date: Mon, 11 Mar 2024 23:32:35 +0000 Subject: [PATCH 2/3] chore: bump launchdarkly-server-sdk version from 2.0.6 to 2.1.0 --- README.md | 2 +- ...0.6-0.rockspec => launchdarkly-server-sdk-2.1.0-0.rockspec | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) rename launchdarkly-server-sdk-2.0.6-0.rockspec => launchdarkly-server-sdk-2.1.0-0.rockspec (97%) diff --git a/README.md b/README.md index 99d94ae..eb793a6 100644 --- a/README.md +++ b/README.md @@ -97,7 +97,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.0.6-0.rockspec \ +luarocks make launchdarkly-server-sdk-2.1.0-0.rockspec \ LD_DIR=./path-to-installed-cpp-sdk ``` **Install the base SDK with Redis support** diff --git a/launchdarkly-server-sdk-2.0.6-0.rockspec b/launchdarkly-server-sdk-2.1.0-0.rockspec similarity index 97% rename from launchdarkly-server-sdk-2.0.6-0.rockspec rename to launchdarkly-server-sdk-2.1.0-0.rockspec index 63b8ac6..c5d1d4e 100644 --- a/launchdarkly-server-sdk-2.0.6-0.rockspec +++ b/launchdarkly-server-sdk-2.1.0-0.rockspec @@ -2,7 +2,7 @@ package = "launchdarkly-server-sdk" rockspec_format = "3.0" -version = "2.0.6-0" +version = "2.1.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.0.6" + tag = "v2.1.0" } dependencies = { From d17c7104f9e79c36a7a0c42cdfd073042259729a Mon Sep 17 00:00:00 2001 From: LaunchDarklyReleaseBot Date: Mon, 11 Mar 2024 23:32:36 +0000 Subject: [PATCH 3/3] chore: bump launchdarkly-server-sdk-redis version from 2.0.6 to 2.1.0 --- README.md | 2 +- ...rockspec => launchdarkly-server-sdk-redis-2.1.0-0.rockspec | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) rename launchdarkly-server-sdk-redis-2.0.6-0.rockspec => launchdarkly-server-sdk-redis-2.1.0-0.rockspec (97%) diff --git a/README.md b/README.md index eb793a6..faf4a3f 100644 --- a/README.md +++ b/README.md @@ -102,7 +102,7 @@ LD_DIR=./path-to-installed-cpp-sdk ``` **Install the base SDK with Redis support** ```bash -luarocks make launchdarkly-server-sdk-redis-2.0.6-0.rockspec \ +luarocks make launchdarkly-server-sdk-redis-2.1.0-0.rockspec \ LDREDIS_DIR=./path-to-cpp-sdk-with-redis-support-installation ``` diff --git a/launchdarkly-server-sdk-redis-2.0.6-0.rockspec b/launchdarkly-server-sdk-redis-2.1.0-0.rockspec similarity index 97% rename from launchdarkly-server-sdk-redis-2.0.6-0.rockspec rename to launchdarkly-server-sdk-redis-2.1.0-0.rockspec index e6ce6d5..bf41088 100644 --- a/launchdarkly-server-sdk-redis-2.0.6-0.rockspec +++ b/launchdarkly-server-sdk-redis-2.1.0-0.rockspec @@ -2,7 +2,7 @@ package = "launchdarkly-server-sdk-redis" rockspec_format = "3.0" -version = "2.0.6-0" +version = "2.1.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.0.6" + tag = "v2.1.0" } dependencies = {