Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: release main #464

Merged
merged 1 commit into from
Oct 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"libs/client-sdk": "3.7.1",
"libs/client-sdk": "3.8.0",
"libs/server-sent-events": "0.5.4",
"libs/common": "1.8.0",
"libs/internal": "0.8.3",
"libs/server-sdk": "3.6.2",
"libs/server-sdk-redis-source": "2.1.14"
"libs/common": "1.9.0",
"libs/internal": "0.9.0",
"libs/server-sdk": "3.7.0",
"libs/server-sdk-redis-source": "2.1.15"
}
15 changes: 15 additions & 0 deletions libs/client-sdk/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# Changelog

## [3.8.0](https://github.com/launchdarkly/cpp-sdks/compare/launchdarkly-cpp-client-v3.7.1...launchdarkly-cpp-client-v3.8.0) (2024-10-30)


### Features

* add LDValue_SerializeJSON C binding ([90eb880](https://github.com/launchdarkly/cpp-sdks/commit/90eb880b7b769ba491c9da5734f5db7eda31f15e))


### Dependencies

* The following workspace dependencies were updated
* dependencies
* launchdarkly-cpp-internal bumped from 0.8.3 to 0.9.0
* launchdarkly-cpp-common bumped from 1.8.0 to 1.9.0

## [3.7.1](https://github.com/launchdarkly/cpp-sdks/compare/launchdarkly-cpp-client-v3.7.0...launchdarkly-cpp-client-v3.7.1) (2024-10-08)


Expand Down
2 changes: 1 addition & 1 deletion libs/client-sdk/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ cmake_minimum_required(VERSION 3.19)

project(
LaunchDarklyCPPClient
VERSION 3.7.1 # {x-release-please-version}
VERSION 3.8.0 # {x-release-please-version}
DESCRIPTION "LaunchDarkly C++ Client SDK"
LANGUAGES CXX C
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ class Client : public IClient {

private:
inline static char const* const kVersion =
"3.7.1"; // {x-release-please-version}
"3.8.0"; // {x-release-please-version}
std::unique_ptr<IClient> client;
};

Expand Down
6 changes: 3 additions & 3 deletions libs/client-sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"name": "launchdarkly-cpp-client",
"description": "This package.json exists for modeling dependencies for the release process.",
"version": "3.7.1",
"version": "3.8.0",
"private": true,
"dependencies": {
"launchdarkly-cpp-internal": "0.8.3",
"launchdarkly-cpp-common": "1.8.0",
"launchdarkly-cpp-internal": "0.9.0",
"launchdarkly-cpp-common": "1.9.0",
"launchdarkly-cpp-sse-client": "0.5.4"
}
}
2 changes: 1 addition & 1 deletion libs/client-sdk/tests/client_c_bindings_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
TEST(ClientBindings, MinimalInstantiation) {
LDClientConfigBuilder cfg_builder = LDClientConfigBuilder_New("sdk-123");

LDClientConfig config;

Check warning on line 17 in libs/client-sdk/tests/client_c_bindings_test.cpp

View workflow job for this annotation

GitHub Actions / cpp-linter

/libs/client-sdk/tests/client_c_bindings_test.cpp:17:20 [cppcoreguidelines-init-variables]

variable 'config' is not initialized
LDStatus status = LDClientConfigBuilder_Build(cfg_builder, &config);
ASSERT_TRUE(LDStatus_Ok(status));

Expand All @@ -27,13 +27,13 @@

char const* version = LDClientSDK_Version();
ASSERT_TRUE(version);
ASSERT_STREQ(version, "3.7.1"); // {x-release-please-version}
ASSERT_STREQ(version, "3.8.0"); // {x-release-please-version}

LDClientSDK_Free(sdk);
}

void FlagListenerFunction(char const* flag_key,
LDValue new_value,

Check warning on line 36 in libs/client-sdk/tests/client_c_bindings_test.cpp

View workflow job for this annotation

GitHub Actions / cpp-linter

/libs/client-sdk/tests/client_c_bindings_test.cpp:36:27 [bugprone-easily-swappable-parameters]

2 adjacent parameters of 'FlagListenerFunction' of similar type ('LDValue') are easily swapped by mistake
LDValue old_value,
bool deleted,
void* user_data) {}
Expand All @@ -44,7 +44,7 @@
LDClientConfigBuilder cfg_builder = LDClientConfigBuilder_New("sdk-123");
LDClientConfigBuilder_Offline(cfg_builder, true);

LDClientConfig config;

Check warning on line 47 in libs/client-sdk/tests/client_c_bindings_test.cpp

View workflow job for this annotation

GitHub Actions / cpp-linter

/libs/client-sdk/tests/client_c_bindings_test.cpp:47:20 [cppcoreguidelines-init-variables]

variable 'config' is not initialized
LDStatus status = LDClientConfigBuilder_Build(cfg_builder, &config);
ASSERT_TRUE(LDStatus_Ok(status));

Expand All @@ -56,19 +56,19 @@
LDClientSDK sdk = LDClientSDK_New(config, context);

bool success = false;
LDClientSDK_Start(sdk, 3000, &success);

Check warning on line 59 in libs/client-sdk/tests/client_c_bindings_test.cpp

View workflow job for this annotation

GitHub Actions / cpp-linter

/libs/client-sdk/tests/client_c_bindings_test.cpp:59:28 [cppcoreguidelines-avoid-magic-numbers

3000 is a magic number; consider replacing it with a named constant
EXPECT_TRUE(success);

struct LDFlagListener listener {
reinterpret_cast<FlagChangedCallbackFn>(0x123),

Check warning on line 63 in libs/client-sdk/tests/client_c_bindings_test.cpp

View workflow job for this annotation

GitHub Actions / cpp-linter

/libs/client-sdk/tests/client_c_bindings_test.cpp:63:9 [cppcoreguidelines-pro-type-reinterpret-cast]

do not use reinterpret_cast

Check warning on line 63 in libs/client-sdk/tests/client_c_bindings_test.cpp

View workflow job for this annotation

GitHub Actions / cpp-linter

/libs/client-sdk/tests/client_c_bindings_test.cpp:63:49 [cppcoreguidelines-avoid-magic-numbers

0x123 is a magic number; consider replacing it with a named constant
reinterpret_cast<void*>(0x456)

Check warning on line 64 in libs/client-sdk/tests/client_c_bindings_test.cpp

View workflow job for this annotation

GitHub Actions / cpp-linter

/libs/client-sdk/tests/client_c_bindings_test.cpp:64:13 [cppcoreguidelines-pro-type-reinterpret-cast]

do not use reinterpret_cast

Check warning on line 64 in libs/client-sdk/tests/client_c_bindings_test.cpp

View workflow job for this annotation

GitHub Actions / cpp-linter

/libs/client-sdk/tests/client_c_bindings_test.cpp:64:37 [cppcoreguidelines-avoid-magic-numbers

0x456 is a magic number; consider replacing it with a named constant
};

LDFlagListener_Init(&listener);
ASSERT_EQ(listener.FlagChanged, nullptr);
ASSERT_EQ(listener.UserData, nullptr);

listener.UserData = const_cast<char*>("Potato");

Check warning on line 71 in libs/client-sdk/tests/client_c_bindings_test.cpp

View workflow job for this annotation

GitHub Actions / cpp-linter

/libs/client-sdk/tests/client_c_bindings_test.cpp:71:25 [cppcoreguidelines-pro-type-const-cast]

do not use const_cast
listener.FlagChanged = FlagListenerFunction;

LDListenerConnection connection =
Expand All @@ -90,7 +90,7 @@
LDClientConfigBuilder cfg_builder = LDClientConfigBuilder_New("sdk-123");
LDClientConfigBuilder_Offline(cfg_builder, true);

LDClientConfig config;

Check warning on line 93 in libs/client-sdk/tests/client_c_bindings_test.cpp

View workflow job for this annotation

GitHub Actions / cpp-linter

/libs/client-sdk/tests/client_c_bindings_test.cpp:93:20 [cppcoreguidelines-init-variables]

variable 'config' is not initialized
LDStatus status = LDClientConfigBuilder_Build(cfg_builder, &config);
ASSERT_TRUE(LDStatus_Ok(status));

Expand Down
2 changes: 1 addition & 1 deletion libs/client-sdk/tests/client_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ TEST(ClientTest, ClientConstructedWithMinimalConfigAndContext) {

char const* version = client.Version();
ASSERT_TRUE(version);
ASSERT_STREQ(version, "3.7.1"); // {x-release-please-version}
ASSERT_STREQ(version, "3.8.0"); // {x-release-please-version}
}

TEST(ClientTest, AllFlagsIsEmpty) {
Expand Down
7 changes: 7 additions & 0 deletions libs/common/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
# Changelog


## [1.9.0](https://github.com/launchdarkly/cpp-sdks/compare/launchdarkly-cpp-common-v1.8.0...launchdarkly-cpp-common-v1.9.0) (2024-10-30)


### Features

* add LDValue_SerializeJSON C binding ([90eb880](https://github.com/launchdarkly/cpp-sdks/commit/90eb880b7b769ba491c9da5734f5db7eda31f15e))

## [1.8.0](https://github.com/launchdarkly/cpp-sdks/compare/launchdarkly-cpp-common-v1.7.0...launchdarkly-cpp-common-v1.8.0) (2024-09-04)


Expand Down
2 changes: 1 addition & 1 deletion libs/common/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "launchdarkly-cpp-common",
"description": "This package.json exists for modeling dependencies for the release process.",
"version": "1.8.0",
"version": "1.9.0",
"private": true
}
14 changes: 14 additions & 0 deletions libs/internal/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# Changelog

## [0.9.0](https://github.com/launchdarkly/cpp-sdks/compare/launchdarkly-cpp-internal-v0.8.3...launchdarkly-cpp-internal-v0.9.0) (2024-10-30)


### Features

* add LDValue_SerializeJSON C binding ([90eb880](https://github.com/launchdarkly/cpp-sdks/commit/90eb880b7b769ba491c9da5734f5db7eda31f15e))


### Dependencies

* The following workspace dependencies were updated
* dependencies
* launchdarkly-cpp-common bumped from 1.8.0 to 1.9.0

## [0.8.3](https://github.com/launchdarkly/cpp-sdks/compare/launchdarkly-cpp-internal-v0.8.2...launchdarkly-cpp-internal-v0.8.3) (2024-10-01)


Expand Down
4 changes: 2 additions & 2 deletions libs/internal/package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "launchdarkly-cpp-internal",
"description": "This package.json exists for modeling dependencies for the release process.",
"version": "0.8.3",
"version": "0.9.0",
"private": true,
"dependencies": {
"launchdarkly-cpp-common": "1.8.0"
"launchdarkly-cpp-common": "1.9.0"
}
}
9 changes: 9 additions & 0 deletions libs/server-sdk-redis-source/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Changelog

## [2.1.15](https://github.com/launchdarkly/cpp-sdks/compare/launchdarkly-cpp-server-redis-source-v2.1.14...launchdarkly-cpp-server-redis-source-v2.1.15) (2024-10-30)


### Dependencies

* The following workspace dependencies were updated
* dependencies
* launchdarkly-cpp-server bumped from 3.6.2 to 3.7.0

## [2.1.14](https://github.com/launchdarkly/cpp-sdks/compare/launchdarkly-cpp-server-redis-source-v2.1.13...launchdarkly-cpp-server-redis-source-v2.1.14) (2024-10-08)


Expand Down
2 changes: 1 addition & 1 deletion libs/server-sdk-redis-source/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ cmake_minimum_required(VERSION 3.19)

project(
LaunchDarklyCPPServerRedisSource
VERSION 2.1.14 # {x-release-please-version}
VERSION 2.1.15 # {x-release-please-version}
DESCRIPTION "LaunchDarkly C++ Server SDK Redis Source"
LANGUAGES CXX C
)
Expand Down
4 changes: 2 additions & 2 deletions libs/server-sdk-redis-source/package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "launchdarkly-cpp-server-redis-source",
"description": "This package.json exists for modeling dependencies for the release process.",
"version": "2.1.14",
"version": "2.1.15",
"private": true,
"dependencies": {
"launchdarkly-cpp-server": "3.6.2"
"launchdarkly-cpp-server": "3.7.0"
}
}
15 changes: 15 additions & 0 deletions libs/server-sdk/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# Changelog

## [3.7.0](https://github.com/launchdarkly/cpp-sdks/compare/launchdarkly-cpp-server-v3.6.2...launchdarkly-cpp-server-v3.7.0) (2024-10-30)


### Features

* add LDValue_SerializeJSON C binding ([90eb880](https://github.com/launchdarkly/cpp-sdks/commit/90eb880b7b769ba491c9da5734f5db7eda31f15e))


### Dependencies

* The following workspace dependencies were updated
* dependencies
* launchdarkly-cpp-internal bumped from 0.8.3 to 0.9.0
* launchdarkly-cpp-common bumped from 1.8.0 to 1.9.0

## [3.6.2](https://github.com/launchdarkly/cpp-sdks/compare/launchdarkly-cpp-server-v3.6.1...launchdarkly-cpp-server-v3.6.2) (2024-10-08)


Expand Down
2 changes: 1 addition & 1 deletion libs/server-sdk/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ cmake_minimum_required(VERSION 3.19)

project(
LaunchDarklyCPPServer
VERSION 3.6.2 # {x-release-please-version}
VERSION 3.7.0 # {x-release-please-version}
DESCRIPTION "LaunchDarkly C++ Server SDK"
LANGUAGES CXX C
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ class Client : public IClient {

private:
inline static char const* const kVersion =
"3.6.2"; // {x-release-please-version}
"3.7.0"; // {x-release-please-version}
std::unique_ptr<IClient> client;
};

Expand Down
6 changes: 3 additions & 3 deletions libs/server-sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"name": "launchdarkly-cpp-server",
"description": "This package.json exists for modeling dependencies for the release process.",
"version": "3.6.2",
"version": "3.7.0",
"private": true,
"dependencies": {
"launchdarkly-cpp-internal": "0.8.3",
"launchdarkly-cpp-common": "1.8.0",
"launchdarkly-cpp-internal": "0.9.0",
"launchdarkly-cpp-common": "1.9.0",
"launchdarkly-cpp-sse-client": "0.5.4"
}
}
2 changes: 1 addition & 1 deletion libs/server-sdk/tests/client_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class ClientTest : public ::testing::Test {
TEST_F(ClientTest, ClientConstructedWithMinimalConfigAndContextT) {
char const* version = client_.Version();
ASSERT_TRUE(version);
ASSERT_STREQ(version, "3.6.2"); // {x-release-please-version}
ASSERT_STREQ(version, "3.7.0"); // {x-release-please-version}
}

TEST_F(ClientTest, BoolVariationDefaultPassesThrough) {
Expand Down
2 changes: 1 addition & 1 deletion libs/server-sdk/tests/server_c_bindings_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ TEST(ClientBindings, MinimalInstantiation) {

char const* version = LDServerSDK_Version();
ASSERT_TRUE(version);
ASSERT_STREQ(version, "3.6.2"); // {x-release-please-version}
ASSERT_STREQ(version, "3.7.0"); // {x-release-please-version}

LDServerSDK_Free(sdk);
}
Expand Down
Loading