Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.

Commit 0fed653

Browse files
author
LaunchDarklyReleaseBot
committed
Releasing version 6.2.0
1 parent f36408f commit 0fed653

File tree

5 files changed

+911
-907
lines changed

5 files changed

+911
-907
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
All notable changes to the LaunchDarkly .NET Server-Side SDK will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org).
44

5+
## [6.2.0] - 2021-07-22
6+
### Added:
7+
- The SDK now supports evaluation of Big Segments. An Early Access Program for creating and syncing Big Segments from customer data platforms is available to enterprise customers.
8+
59
## [6.1.0] - 2021-06-22
610
### Added:
711
- The SDK now supports the ability to control the proportion of traffic allocation to an experiment. This works in conjunction with a new platform feature now available to early access customers.

src/LaunchDarkly.ServerSdk/LaunchDarkly.ServerSdk.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<Version>6.1.0</Version>
3+
<Version>6.2.0</Version>
44
<!-- The BUILDFRAMEWORKS variable allows us to override the target frameworks with a
55
single framework that we are testing; this allows us to test with older SDK
66
versions that would error out if they saw any newer target frameworks listed
Lines changed: 45 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -1,74 +1,74 @@
1-
using System;
2-
using LaunchDarkly.Logging;
3-
using LaunchDarkly.Sdk.Server.Internal;
4-
using LaunchDarkly.Sdk.Server.Internal.DataStores;
5-
using Xunit;
6-
7-
namespace LaunchDarkly.Sdk.Server
8-
{
9-
public class ConfigurationTest
10-
{
11-
private readonly BuilderTestUtil<ConfigurationBuilder, Configuration> _tester =
12-
BuilderTestUtil.For(() => Configuration.Builder(sdkKey), b => b.Build())
13-
.WithCopyConstructor(c => Configuration.Builder(c));
14-
15-
const string sdkKey = "any-key";
16-
17-
[Fact]
18-
public void DefaultSetsKey()
19-
{
20-
var config = Configuration.Default(sdkKey);
21-
Assert.Equal(sdkKey, config.SdkKey);
22-
}
23-
24-
[Fact]
25-
public void BuilderSetsKey()
26-
{
27-
var config = Configuration.Builder(sdkKey).Build();
28-
Assert.Equal(sdkKey, config.SdkKey);
1+
using System;
2+
using LaunchDarkly.Logging;
3+
using LaunchDarkly.Sdk.Server.Internal;
4+
using LaunchDarkly.Sdk.Server.Internal.DataStores;
5+
using Xunit;
6+
7+
namespace LaunchDarkly.Sdk.Server
8+
{
9+
public class ConfigurationTest
10+
{
11+
private readonly BuilderTestUtil<ConfigurationBuilder, Configuration> _tester =
12+
BuilderTestUtil.For(() => Configuration.Builder(sdkKey), b => b.Build())
13+
.WithCopyConstructor(c => Configuration.Builder(c));
14+
15+
const string sdkKey = "any-key";
16+
17+
[Fact]
18+
public void DefaultSetsKey()
19+
{
20+
var config = Configuration.Default(sdkKey);
21+
Assert.Equal(sdkKey, config.SdkKey);
2922
}
30-
31-
[Fact]
23+
24+
[Fact]
25+
public void BuilderSetsKey()
26+
{
27+
var config = Configuration.Builder(sdkKey).Build();
28+
Assert.Equal(sdkKey, config.SdkKey);
29+
}
30+
31+
[Fact]
3232
public void BigSegments()
3333
{
3434
var prop = _tester.Property(c => c.BigSegmentsConfigurationFactory, (b, v) => b.BigSegments(v));
3535
prop.AssertDefault(null);
3636
prop.AssertCanSet(Components.BigSegments(null));
37-
}
38-
39-
[Fact]
37+
}
38+
39+
[Fact]
4040
public void DataSource()
4141
{
4242
var prop = _tester.Property(c => c.DataSourceFactory, (b, v) => b.DataSource(v));
4343
prop.AssertDefault(null);
4444
prop.AssertCanSet(ComponentsImpl.NullDataSourceFactory.Instance);
4545
}
46-
47-
[Fact]
46+
47+
[Fact]
4848
public void DataStore()
4949
{
5050
var prop = _tester.Property(c => c.DataStoreFactory, (b, v) => b.DataStore(v));
5151
prop.AssertDefault(null);
5252
prop.AssertCanSet(TestUtils.SpecificDataStore(new InMemoryDataStore()));
5353
}
5454

55-
[Fact]
55+
[Fact]
5656
public void DiagnosticOptOut()
5757
{
5858
var prop = _tester.Property(c => c.DiagnosticOptOut, (b, v) => b.DiagnosticOptOut(v));
5959
prop.AssertDefault(false);
6060
prop.AssertCanSet(true);
61-
}
61+
}
6262

63-
[Fact]
63+
[Fact]
6464
public void Events()
6565
{
6666
var prop = _tester.Property(c => c.EventProcessorFactory, (b, v) => b.Events(v));
6767
prop.AssertDefault(null);
6868
prop.AssertCanSet(TestUtils.SpecificEventProcessor(new TestEventProcessor()));
69-
}
69+
}
7070

71-
[Fact]
71+
[Fact]
7272
public void Logging()
7373
{
7474
var prop = _tester.Property(c => c.LoggingConfigurationFactory, (b, v) => b.Logging(v));
@@ -85,27 +85,27 @@ public void LoggingAdapterShortcut()
8585
Assert.Same(adapter, logConfig.LogAdapter);
8686
}
8787

88-
[Fact]
88+
[Fact]
8989
public void Offline()
9090
{
9191
var prop = _tester.Property(c => c.Offline, (b, v) => b.Offline(v));
9292
prop.AssertDefault(false);
9393
prop.AssertCanSet(true);
9494
}
9595

96-
[Fact]
96+
[Fact]
9797
public void SdkKey()
9898
{
9999
var prop = _tester.Property(c => c.SdkKey, (b, v) => b.SdkKey(v));
100100
prop.AssertCanSet("other-key");
101101
}
102102

103-
[Fact]
103+
[Fact]
104104
public void StartWaitTime()
105105
{
106106
var prop = _tester.Property(c => c.StartWaitTime, (b, v) => b.StartWaitTime(v));
107107
prop.AssertDefault(ConfigurationBuilder.DefaultStartWaitTime);
108108
prop.AssertCanSet(TimeSpan.FromSeconds(7));
109-
}
110-
}
109+
}
110+
}
111111
}

0 commit comments

Comments
 (0)