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 #410

Merged
merged 1 commit into from
May 31, 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
12 changes: 6 additions & 6 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"libs/client-sdk": "3.5.0",
"libs/server-sent-events": "0.4.0",
"libs/common": "1.6.0",
"libs/internal": "0.7.0",
"libs/server-sdk": "3.4.0",
"libs/server-sdk-redis-source": "2.1.7"
"libs/client-sdk": "3.6.0",
"libs/server-sent-events": "0.5.0",
"libs/common": "1.7.0",
"libs/internal": "0.8.0",
"libs/server-sdk": "3.5.0",
"libs/server-sdk-redis-source": "2.1.8"
}
16 changes: 16 additions & 0 deletions libs/client-sdk/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
# Changelog

## [3.6.0](https://github.com/launchdarkly/cpp-sdks/compare/launchdarkly-cpp-client-v3.5.0...launchdarkly-cpp-client-v3.6.0) (2024-05-30)


### Features

* specify a custom CA file for TLS peer verification ([#409](https://github.com/launchdarkly/cpp-sdks/issues/409)) ([857dd28](https://github.com/launchdarkly/cpp-sdks/commit/857dd2824f725ee837737130321121595d95d67c))


### Dependencies

* The following workspace dependencies were updated
* dependencies
* launchdarkly-cpp-internal bumped from 0.7.0 to 0.8.0
* launchdarkly-cpp-common bumped from 1.6.0 to 1.7.0
* launchdarkly-cpp-sse-client bumped from 0.4.0 to 0.5.0

## [3.5.0](https://github.com/launchdarkly/cpp-sdks/compare/launchdarkly-cpp-client-v3.4.3...launchdarkly-cpp-client-v3.5.0) (2024-05-13)


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.5.0 # {x-release-please-version}
VERSION 3.6.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 @@ -270,7 +270,7 @@
IClient() = default;
};

class Client : public IClient {

Check warning on line 273 in libs/client-sdk/include/launchdarkly/client_side/client.hpp

View workflow job for this annotation

GitHub Actions / cpp-linter

/libs/client-sdk/include/launchdarkly/client_side/client.hpp:273:7 [cppcoreguidelines-special-member-functions]

class 'Client' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor
public:
Client(Config config, Context context);

Expand Down Expand Up @@ -338,7 +338,7 @@

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

Expand Down
8 changes: 4 additions & 4 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.5.0",
"version": "3.6.0",
"private": true,
"dependencies": {
"launchdarkly-cpp-internal": "0.7.0",
"launchdarkly-cpp-common": "1.6.0",
"launchdarkly-cpp-sse-client": "0.4.0"
"launchdarkly-cpp-internal": "0.8.0",
"launchdarkly-cpp-common": "1.7.0",
"launchdarkly-cpp-sse-client": "0.5.0"
}
}
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.5.0"); // {x-release-please-version}
ASSERT_STREQ(version, "3.6.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 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.5.0"); // {x-release-please-version}
ASSERT_STREQ(version, "3.6.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.7.0](https://github.com/launchdarkly/cpp-sdks/compare/launchdarkly-cpp-common-v1.6.0...launchdarkly-cpp-common-v1.7.0) (2024-05-30)


### Features

* specify a custom CA file for TLS peer verification ([#409](https://github.com/launchdarkly/cpp-sdks/issues/409)) ([857dd28](https://github.com/launchdarkly/cpp-sdks/commit/857dd2824f725ee837737130321121595d95d67c))

## [1.6.0](https://github.com/launchdarkly/cpp-sdks/compare/launchdarkly-cpp-common-v1.5.0...launchdarkly-cpp-common-v1.6.0) (2024-05-13)


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.6.0",
"version": "1.7.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.8.0](https://github.com/launchdarkly/cpp-sdks/compare/launchdarkly-cpp-internal-v0.7.0...launchdarkly-cpp-internal-v0.8.0) (2024-05-30)


### Features

* specify a custom CA file for TLS peer verification ([#409](https://github.com/launchdarkly/cpp-sdks/issues/409)) ([857dd28](https://github.com/launchdarkly/cpp-sdks/commit/857dd2824f725ee837737130321121595d95d67c))


### Dependencies

* The following workspace dependencies were updated
* dependencies
* launchdarkly-cpp-common bumped from 1.6.0 to 1.7.0

## [0.7.0](https://github.com/launchdarkly/cpp-sdks/compare/launchdarkly-cpp-internal-v0.6.1...launchdarkly-cpp-internal-v0.7.0) (2024-05-13)


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.7.0",
"version": "0.8.0",
"private": true,
"dependencies": {
"launchdarkly-cpp-common": "1.6.0"
"launchdarkly-cpp-common": "1.7.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.8](https://github.com/launchdarkly/cpp-sdks/compare/launchdarkly-cpp-server-redis-source-v2.1.7...launchdarkly-cpp-server-redis-source-v2.1.8) (2024-05-30)


### Dependencies

* The following workspace dependencies were updated
* dependencies
* launchdarkly-cpp-server bumped from 3.4.0 to 3.5.0

## [2.1.7](https://github.com/launchdarkly/cpp-sdks/compare/launchdarkly-cpp-server-redis-source-v2.1.6...launchdarkly-cpp-server-redis-source-v2.1.7) (2024-05-13)


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.7 # {x-release-please-version}
VERSION 2.1.8 # {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.7",
"version": "2.1.8",
"private": true,
"dependencies": {
"launchdarkly-cpp-server": "3.4.0"
"launchdarkly-cpp-server": "3.5.0"
}
}
16 changes: 16 additions & 0 deletions libs/server-sdk/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
# Changelog

## [3.5.0](https://github.com/launchdarkly/cpp-sdks/compare/launchdarkly-cpp-server-v3.4.0...launchdarkly-cpp-server-v3.5.0) (2024-05-30)


### Features

* specify a custom CA file for TLS peer verification ([#409](https://github.com/launchdarkly/cpp-sdks/issues/409)) ([857dd28](https://github.com/launchdarkly/cpp-sdks/commit/857dd2824f725ee837737130321121595d95d67c))


### Dependencies

* The following workspace dependencies were updated
* dependencies
* launchdarkly-cpp-internal bumped from 0.7.0 to 0.8.0
* launchdarkly-cpp-common bumped from 1.6.0 to 1.7.0
* launchdarkly-cpp-sse-client bumped from 0.4.0 to 0.5.0

## [3.4.0](https://github.com/launchdarkly/cpp-sdks/compare/launchdarkly-cpp-server-v3.3.6...launchdarkly-cpp-server-v3.4.0) (2024-05-13)


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.4.0 # {x-release-please-version}
VERSION 3.5.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.4.0"; // {x-release-please-version}
"3.5.0"; // {x-release-please-version}
std::unique_ptr<IClient> client;
};

Expand Down
8 changes: 4 additions & 4 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.4.0",
"version": "3.5.0",
"private": true,
"dependencies": {
"launchdarkly-cpp-internal": "0.7.0",
"launchdarkly-cpp-common": "1.6.0",
"launchdarkly-cpp-sse-client": "0.4.0"
"launchdarkly-cpp-internal": "0.8.0",
"launchdarkly-cpp-common": "1.7.0",
"launchdarkly-cpp-sse-client": "0.5.0"
}
}
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.4.0"); // {x-release-please-version}
ASSERT_STREQ(version, "3.5.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.4.0"); // {x-release-please-version}
ASSERT_STREQ(version, "3.5.0"); // {x-release-please-version}

LDServerSDK_Free(sdk);
}
Expand Down
7 changes: 7 additions & 0 deletions libs/server-sent-events/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## [0.5.0](https://github.com/launchdarkly/cpp-sdks/compare/launchdarkly-cpp-sse-client-v0.4.0...launchdarkly-cpp-sse-client-v0.5.0) (2024-05-30)


### Features

* specify a custom CA file for TLS peer verification ([#409](https://github.com/launchdarkly/cpp-sdks/issues/409)) ([857dd28](https://github.com/launchdarkly/cpp-sdks/commit/857dd2824f725ee837737130321121595d95d67c))

## [0.4.0](https://github.com/launchdarkly/cpp-sdks/compare/launchdarkly-cpp-sse-client-v0.3.2...launchdarkly-cpp-sse-client-v0.4.0) (2024-05-13)


Expand Down
2 changes: 1 addition & 1 deletion libs/server-sent-events/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
"name": "launchdarkly-cpp-sse-client",
"description": "This package.json exists for modeling dependencies for the release process.",
"private": true,
"version": "0.4.0",
"version": "0.5.0",
"dependencies": {}
}
Loading