diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 0ee8c01..816df2d 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.3.0" + ".": "0.3.1" } diff --git a/CHANGELOG.md b/CHANGELOG.md index ca66c70..470a001 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## [0.3.1](https://github.com/reflagcom/dotnet-sdk/compare/v0.3.0...v0.3.1) (2026-11-24) + + +### Bug Fixes + +* keep server-only flags out of protocol-v2 bootstrap ([#21](https://github.com/reflagcom/dotnet-sdk/issues/21)) ([6a749fb](https://github.com/reflagcom/dotnet-sdk/commit/6a749fb9fd3a9078b8250b6a18c1e7370860aadc)) + ## [0.3.0](https://github.com/reflagcom/dotnet-sdk/compare/v0.2.0...v0.3.0) (2026-11-17) diff --git a/README.md b/README.md index 04eee25..a000f97 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ Or add the package reference directly: ```xml - + ``` diff --git a/src/Reflag/Internal/Infrastructure.cs b/src/Reflag/Internal/Infrastructure.cs index 1d5d7af..598ca92 100644 --- a/src/Reflag/Internal/Infrastructure.cs +++ b/src/Reflag/Internal/Infrastructure.cs @@ -13,7 +13,7 @@ internal static class ReflagConstants public const string ApiBaseUrl = "https://front.reflag.com"; public const string PubsubSseUrl = "https://front.reflag.com/sse/server"; public const string SdkVersionHeaderName = "reflag-sdk-version"; - public const string SdkVersion = "dotnet-sdk/0.3.0"; // x-release-please-version + public const string SdkVersion = "dotnet-sdk/0.3.1"; // x-release-please-version public static readonly TimeSpan ApiTimeout = TimeSpan.FromMilliseconds(10_000); public static readonly TimeSpan FlagsRefetchInterval = TimeSpan.FromMilliseconds(60_000); public static readonly TimeSpan MinRefreshInterval = TimeSpan.FromMilliseconds(1_000); diff --git a/src/Reflag/Reflag.csproj b/src/Reflag/Reflag.csproj index 762cdc9..5561d88 100644 --- a/src/Reflag/Reflag.csproj +++ b/src/Reflag/Reflag.csproj @@ -7,9 +7,9 @@ Reflag.RuntimeSDK Reflag Reflag - 0.3.0 - 0.3.0.0 - 0.3.0.0 + 0.3.1 + 0.3.1.0 + 0.3.1.0 README.md LICENSE diff --git a/tests/Reflag.Tests/ReflagClientTests.cs b/tests/Reflag.Tests/ReflagClientTests.cs index a41fa31..0a7d24c 100644 --- a/tests/Reflag.Tests/ReflagClientTests.cs +++ b/tests/Reflag.Tests/ReflagClientTests.cs @@ -257,7 +257,7 @@ public async Task InitializeAsync_fetches_flags_and_evaluates_locally() Assert.Equal("on", bootstrapped.Flags["new-dashboard"].VariantKey); Assert.Equal(1, bootstrapped.FlagStateVersion); Assert.Equal("https://api.example.com/path/flags", transport.GetCalls.Single().Url.ToString()); - Assert.Equal("dotnet-sdk/0.3.0", transport.GetCalls.Single().Headers["reflag-sdk-version"]); // x-release-please-version + Assert.Equal("dotnet-sdk/0.3.1", transport.GetCalls.Single().Headers["reflag-sdk-version"]); // x-release-please-version Assert.Contains(logger.Entries, entry => entry.Level == LogLevel.Information && entry.Message.Contains("Reflag initialized in")); } diff --git a/version.txt b/version.txt index 0d91a54..9e11b32 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -0.3.0 +0.3.1