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

Commit 5f9b10e

Browse files
authored
version 1.1.1 - new package and repo names (#7)
1 parent 94bd18d commit 5f9b10e

File tree

25 files changed

+86
-99
lines changed

25 files changed

+86
-99
lines changed

.circleci/config.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ jobs:
1212
steps:
1313
- checkout
1414
- run: dotnet restore
15-
- run: dotnet build src/LaunchDarkly.Client.Redis -f netstandard2.0
16-
- run: dotnet build src/LaunchDarkly.Client.Redis.StrongName -f netstandard2.0
17-
- run: dotnet test test/LaunchDarkly.Client.Redis.Tests -f netcoreapp2.0
15+
- run: dotnet build src/LaunchDarkly.ServerSdk.Redis -f netstandard2.0
16+
- run: dotnet build src/LaunchDarkly.ServerSdk.Redis.StrongName -f netstandard2.0
17+
- run: dotnet test test/LaunchDarkly.ServerSdk.Redis.Tests -f netcoreapp2.0

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 SDK Redis integration will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org).
44

5+
## [1.1.1] - 2019-05-13
6+
### Changed:
7+
- Corresponding to the SDK package name change from `LaunchDarkly.Client` to `LaunchDarkly.ServerSdk`, this package is now called `LaunchDarkly.ServerSdk.Redis` (or `LaunchDarkly.ServerSdk.Redis.StrongName`). The functionality of the package, including the namespaces and class names, has not changed.
8+
59
## [1.1.0] - 2019-01-14
610
### Added
711
- `RedisFeatureStoreBuilder.WithCaching` is the new way to configure local caching behavior, using the new SDK class `FeatureStoreCacheConfig`. This allows you to specify a limit on the number of cached items, which was not previously possible. Future releases of the SDK may add more caching parameters, which will then be automatically supported by this library.

LaunchDarkly.Client.Redis.sln

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@ Microsoft Visual Studio Solution File, Format Version 12.00
33
# Visual Studio 15
44
VisualStudioVersion = 15.0.26730.16
55
MinimumVisualStudioVersion = 10.0.40219.1
6-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LaunchDarkly.Client.Redis", "src\LaunchDarkly.Client.Redis\LaunchDarkly.Client.Redis.csproj", "{C497533B-8F43-4E5A-A6F4-F50880AA549C}"
6+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LaunchDarkly.ServerSdk.Redis", "src\LaunchDarkly.ServerSdk.Redis\LaunchDarkly.ServerSdk.Redis.csproj", "{C497533B-8F43-4E5A-A6F4-F50880AA549C}"
77
EndProject
8-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LaunchDarkly.Client.Redis.Tests", "test\LaunchDarkly.Client.Redis.Tests\LaunchDarkly.Client.Redis.Tests.csproj", "{2F11CC6A-3427-423E-AF63-E3600FE63627}"
8+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LaunchDarkly.ServerSdk.Redis.Tests", "test\LaunchDarkly.ServerSdk.Redis.Tests\LaunchDarkly.ServerSdk.Redis.Tests.csproj", "{2F11CC6A-3427-423E-AF63-E3600FE63627}"
99
EndProject
10-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LaunchDarkly.Client.Redis.StrongName", "src\LaunchDarkly.Client.Redis.StrongName\LaunchDarkly.Client.Redis.StrongName.csproj", "{4CF05BD5-72F1-4575-A937-9686CFD049D3}"
10+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LaunchDarkly.ServerSdk.Redis.StrongName", "src\LaunchDarkly.ServerSdk.Redis.StrongName\LaunchDarkly.ServerSdk.Redis.StrongName.csproj", "{4CF05BD5-72F1-4575-A937-9686CFD049D3}"
1111
EndProject
12-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LaunchDarkly.Client.SharedTests", "dotnet-client-shared-tests\LaunchDarkly.Client.SharedTests\LaunchDarkly.Client.SharedTests.csproj", "{1E4AC383-D6C7-4096-9D74-B10D059E84F1}"
12+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LaunchDarkly.ServerSdk.SharedTests", "dotnet-server-sdk-shared-tests\LaunchDarkly.ServerSdk.SharedTests\LaunchDarkly.ServerSdk.SharedTests.csproj", "{1E4AC383-D6C7-4096-9D74-B10D059E84F1}"
1313
EndProject
1414
Global
1515
GlobalSection(SolutionConfigurationPlatforms) = preSolution

README.md

Lines changed: 20 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,28 @@
1-
LaunchDarkly SDK for .NET - Redis integration
2-
=============================================
1+
# LaunchDarkly Server-Side SDK for .NET - Redis integration
2+
33
[![CircleCI](https://circleci.com/gh/launchdarkly/dotnet-server-sdk-redis.svg?style=svg)](https://circleci.com/gh/launchdarkly/dotnet-server-sdk-redis)
44

5-
This library provides a Redis-backed persistence mechanism (feature store) for the [LaunchDarkly .NET SDK](https://github.com/launchdarkly/dotnet-client), replacing the default in-memory feature store. The underlying Redis client implementation is [StackExchange.Redis](https://github.com/StackExchange/StackExchange.Redis).
5+
This library provides a Redis-backed persistence mechanism (feature store) for the [LaunchDarkly .NET SDK](https://github.com/launchdarkly/dotnet-server-sdk), replacing the default in-memory feature store. The underlying Redis client implementation is [StackExchange.Redis](https://github.com/StackExchange/StackExchange.Redis).
66

77
The minimum version of the LaunchDarkly .NET SDK for use with this library is 5.6.1.
88

99
For more information, see also: [Using a persistent feature store](https://docs.launchdarkly.com/v2.0/docs/using-a-persistent-feature-store).
1010

11-
.NET platform compatibility
12-
---------------------------
11+
## .NET platform compatibility
1312

1413
This version of the library is compatible with .NET Framework version 4.5 and above, .NET Standard 1.6, and .NET Standard 2.0.
1514

16-
Quick setup
17-
-----------
15+
## Quick setup
1816

1917
1. Use [NuGet](http://docs.nuget.org/docs/start-here/using-the-package-manager-console) to add this package to your project:
2018

21-
Install-Package LaunchDarkly.Client.Redis
19+
Install-Package LaunchDarkly.ServerSdk.Redis
2220

2321
Or, if you require a strong-named assembly (note that this will result in a transitive dependency on StackExchange.Redis.StrongName, rather than StackExchange.Redis):
2422

25-
Install-Package LaunchDarkly.Client.Redis.StrongName
23+
Install-Package LaunchDarkly.ServerSdk.Redis.StrongName
2624

27-
2. Import the package:
25+
2. Import the package (note that the namespace is different from the package name):
2826

2927
using LaunchDarkly.Client.Redis;
3028

@@ -51,8 +49,7 @@ Quick setup
5149
.WithUseLdd(true);
5250
LdClient ldClient = new LdClient(ldConfig);
5351

54-
Caching behavior
55-
----------------
52+
## Caching behavior
5653

5754
To reduce traffic to the Redis server, there is an optional in-memory cache that retains the last known data for a configurable amount of time. This is on by default; to turn it off (and guarantee that the latest feature flag data will always be retrieved from Redis for every flag evaluation), configure the builder as follows:
5855

@@ -64,47 +61,33 @@ Or, to cache for longer than the default of 30 seconds:
6461
RedisComponents.RedisFeatureStore()
6562
.WithCaching(FeatureStoreCacheConfig.Enabled.WithTtlSeconds(60))
6663

67-
Signing
68-
-------
64+
## Signing
6965

7066
The published versions of these assemblies are digitally signed by LaunchDarkly.
7167

72-
The `LaunchDarkly.Client.Redis.StrongName` assembly is also [strong-named](https://docs.microsoft.com/en-us/dotnet/framework/app-domains/strong-named-assemblies); `LaunchDarkly.Client.Redis` is not strong-named. The reason for this difference is that the StackExchange.Redis library is also built in two versions so if LaunchDarkly provided only a strong-named version, it would cause a dependency conflict if the application happened to be using the non-strong-named version of StackExchange.Redis for other purposes.
68+
The `LaunchDarkly.ServerSdk.Redis.StrongName` assembly is also [strong-named](https://docs.microsoft.com/en-us/dotnet/framework/app-domains/strong-named-assemblies); `LaunchDarkly.ServerSdk.Redis` is not strong-named. The reason for this difference is that the StackExchange.Redis library is also built in two versions so if LaunchDarkly provided only a strong-named version, it would cause a dependency conflict if the application happened to be using the non-strong-named version of StackExchange.Redis for other purposes.
7369

7470
Building the code locally in the default Debug configuration does not sign the assembly and does not require a key file.
7571

76-
Development notes
77-
-----------------
72+
## Development notes
7873

79-
This project imports the `dotnet-base` and `dotnet-client-shared-tests` repositories as subtrees. See the `README.md` file in each of those directories for more information.
74+
This project imports the `dotnet-base` and `dotnet-server-sdk-shared-tests` repositories as subtrees. See the `README.md` file in each of those directories for more information.
8075

8176
To run unit tests, you must have a local Redis server.
8277

8378
Releases are done using the release script in `dotnet-base`. Since the published package includes a .NET Framework 4.5 build, the release must be done from Windows.
8479

85-
About LaunchDarkly
86-
-----------
87-
80+
## About LaunchDarkly
81+
8882
* LaunchDarkly is a continuous delivery platform that provides feature flags as a service and allows developers to iterate quickly and safely. We allow you to easily flag your features and manage them from the LaunchDarkly dashboard. With LaunchDarkly, you can:
8983
* Roll out a new feature to a subset of your users (like a group of users who opt-in to a beta tester group), gathering feedback and bug reports from real-world use cases.
9084
* Gradually roll out a feature to an increasing percentage of users, and track the effect that the feature has on key metrics (for instance, how likely is a user to complete a purchase if they have feature A versus feature B?).
9185
* Turn off a feature that you realize is causing performance problems in production, without needing to re-deploy, or even restart the application with a changed configuration file.
9286
* Grant access to certain features based on user attributes, like payment plan (eg: users on the ‘gold’ plan get access to more features than users in the ‘silver’ plan). Disable parts of your application to facilitate maintenance, without taking everything offline.
93-
* LaunchDarkly provides feature flag SDKs for
94-
* [Java](http://docs.launchdarkly.com/docs/java-sdk-reference "Java SDK")
95-
* [JavaScript](http://docs.launchdarkly.com/docs/js-sdk-reference "LaunchDarkly JavaScript SDK")
96-
* [PHP](http://docs.launchdarkly.com/docs/php-sdk-reference "LaunchDarkly PHP SDK")
97-
* [Python](http://docs.launchdarkly.com/docs/python-sdk-reference "LaunchDarkly Python SDK")
98-
* [Go](http://docs.launchdarkly.com/docs/go-sdk-reference "LaunchDarkly Go SDK")
99-
* [Node.JS](http://docs.launchdarkly.com/docs/node-sdk-reference "LaunchDarkly Node SDK")
100-
* [Electron](http://docs.launchdarkly.com/docs/electron-sdk-reference "LaunchDarkly Electron SDK")
101-
* [.NET](http://docs.launchdarkly.com/docs/dotnet-sdk-reference "LaunchDarkly .Net SDK")
102-
* [Ruby](http://docs.launchdarkly.com/docs/ruby-sdk-reference "LaunchDarkly Ruby SDK")
103-
* [iOS](http://docs.launchdarkly.com/docs/ios-sdk-reference "LaunchDarkly iOS SDK")
104-
* [Android](http://docs.launchdarkly.com/docs/android-sdk-reference "LaunchDarkly Android SDK")
87+
* LaunchDarkly provides feature flag SDKs for a wide variety of languages and technologies. Check out [our documentation](https://docs.launchdarkly.com/docs) for a complete list.
10588
* Explore LaunchDarkly
106-
* [launchdarkly.com](http://www.launchdarkly.com/ "LaunchDarkly Main Website") for more information
107-
* [docs.launchdarkly.com](http://docs.launchdarkly.com/ "LaunchDarkly Documentation") for our documentation and SDKs
108-
* [apidocs.launchdarkly.com](http://apidocs.launchdarkly.com/ "LaunchDarkly API Documentation") for our API documentation
109-
* [blog.launchdarkly.com](http://blog.launchdarkly.com/ "LaunchDarkly Blog Documentation") for the latest product updates
89+
* [launchdarkly.com](https://www.launchdarkly.com/ "LaunchDarkly Main Website") for more information
90+
* [docs.launchdarkly.com](https://docs.launchdarkly.com/ "LaunchDarkly Documentation") for our documentation and SDK reference guides
91+
* [apidocs.launchdarkly.com](https://apidocs.launchdarkly.com/ "LaunchDarkly API Documentation") for our API documentation
92+
* [blog.launchdarkly.com](https://blog.launchdarkly.com/ "LaunchDarkly Blog Documentation") for the latest product updates
11093
* [Feature Flagging Guide](https://github.com/launchdarkly/featureflags/ "Feature Flagging Guide") for best practices and strategies

dotnet-client-shared-tests/.circleci/config.yml

Lines changed: 0 additions & 15 deletions
This file was deleted.

dotnet-client-shared-tests/README.md

Lines changed: 0 additions & 16 deletions
This file was deleted.
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
version: 2
2+
workflows:
3+
version: 2
4+
test:
5+
jobs:
6+
- test-2.0
7+
jobs:
8+
test-2.0:
9+
docker:
10+
- image: microsoft/dotnet:2.0-sdk-jessie
11+
steps:
12+
- checkout
13+
- run: dotnet restore
14+
- run: dotnet build LaunchDarkly.ServerSdk.SharedTests -f netstandard2.0
15+
- run: dotnet test LaunchDarkly.ServerSdk.SharedTests.Tests/LaunchDarkly.ServerSdk.SharedTests.Tests.csproj -f netcoreapp2.0
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)