Skip to content
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
44 changes: 44 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,49 @@
# Optimizely C# SDK Changelog

## 4.0.0-beta
April 28th, 2023

### New Features
The 4.0.0-beta release introduces a new primary feature, [Advanced Audience Targeting]( https://docs.developers.optimizely.com/feature-experimentation/docs/optimizely-data-platform-advanced-audience-targeting)
enabled through integration with [Optimizely Data Platform (ODP)](https://docs.developers.optimizely.com/optimizely-data-platform/docs) (
[#305](https://github.com/optimizely/csharp-sdk/pull/305),
[#310](https://github.com/optimizely/csharp-sdk/pull/310),
[#311](https://github.com/optimizely/csharp-sdk/pull/311),
[#315](https://github.com/optimizely/csharp-sdk/pull/315),
[#321](https://github.com/optimizely/csharp-sdk/pull/321),
[#322](https://github.com/optimizely/csharp-sdk/pull/322),
[#323](https://github.com/optimizely/csharp-sdk/pull/323),
[#324](https://github.com/optimizely/csharp-sdk/pull/324)
).

You can use ODP, a high-performance [Customer Data Platform (CDP)]( https://www.optimizely.com/optimization-glossary/customer-data-platform/), to easily create complex
real-time segments (RTS) using first-party and 50+ third-party data sources out of the box. You can create custom schemas that support the user attributes important
for your business, and stitch together user behavior done on different devices to better understand and target your customers for personalized user experiences. ODP can
be used as a single source of truth for these segments in any Optimizely or 3rd party tool.

With ODP accounts integrated into Optimizely projects, you can build audiences using segments pre-defined in ODP. The SDK will fetch the segments for given users and
make decisions using the segments. For access to ODP audience targeting in your Feature Experimentation account, please contact your Optimizely Customer Success Manager.

This version includes the following changes:
- New API added to `OptimizelyUserContext`:
- `FetchQualifiedSegments()`: this API will retrieve user segments from the ODP server. The fetched segments will be used for audience evaluation. The fetched data will be stored in the local cache to avoid repeated network delays.
- When an `OptimizelyUserContext` is created, the SDK will automatically send an identify request to the ODP server to facilitate observing user activities.
- New APIs added to `OptimizelyClient`:
- `SendOdpEvent()`: customers can build/send arbitrary ODP events that will bind user identifiers and data to user profiles in ODP.

For details, refer to our documentation pages:
- [Advanced Audience Targeting](https://docs.developers.optimizely.com/feature-experimentation/docs/optimizely-data-platform-advanced-audience-targeting)
- [Server SDK Support](https://docs.developers.optimizely.com/feature-experimentation/v1.0/docs/advanced-audience-targeting-for-server-side-sdks)
- [Initialize C# SDK](https://docs.developers.optimizely.com/feature-experimentation/docs/initialize-sdk-csharp)
- [OptimizelyUserContext C# SDK](https://docs.developers.optimizely.com/feature-experimentation/docs/optimizelyusercontext-csharp)
- [Advanced Audience Targeting segment qualification methods](https://docs.developers.optimizely.com/feature-experimentation/docs/advanced-audience-targeting-segment-qualification-methods-csharp)
- [Send Optimizely Data Platform data using Advanced Audience Targeting](https://docs.developers.optimizely.com/feature-experimentation/docs/send-odp-data-using-advanced-audience-targeting-csharp)

### Breaking Changes
- `OdpManager` in the SDK is enabled by default. Unless an ODP account is integrated into the Optimizely projects, most `OdpManager` functions will be ignored. If needed, `OdpManager` can be disabled when `OptimizelyClient` is instantiated.
- `ProjectConfigManager` interface additions + implementing class updates
- `Evaluate()` updates in `BaseCondition`

## 3.11.2
March 15th, 2023

Expand Down
3 changes: 0 additions & 3 deletions OptimizelySDK.DemoApp/OptimizelySDK.DemoApp.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,6 @@
<Reference Include="NJsonSchema">
<HintPath>..\packages\NJsonSchema.10.8.0\lib\net45\NJsonSchema.dll</HintPath>
</Reference>
<Reference Include="OptimizelySDK">
<HintPath>..\packages\Optimizely.SDK.2.1.0\lib\net45\OptimizelySDK.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
<Compile Include="App_Start\BundleConfig.cs" />
Expand Down
8 changes: 4 additions & 4 deletions OptimizelySDK.DemoApp/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("OptimizelySDK.DemoApp")]
[assembly: AssemblyCopyright("Copyright © 2017-2020")]
[assembly: AssemblyCopyright("Copyright © 2017-2023")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

Expand All @@ -37,6 +37,6 @@
//
// You can specify all the values or you can default the Revision and Build Numbers
// by using the '*' as shown below:
[assembly: AssemblyVersion("3.11.2.0")]
[assembly: AssemblyFileVersion("3.11.2.0")]
[assembly: AssemblyInformationalVersion("3.11.2")] // Used by Nuget.
[assembly: AssemblyVersion("4.0.0.0")]
[assembly: AssemblyFileVersion("4.0.0.0")]
[assembly: AssemblyInformationalVersion("4.0.0-beta")] // Used by Nuget.
9 changes: 4 additions & 5 deletions OptimizelySDK.Net35/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("OptimizelySDK.Net35")]
[assembly: AssemblyCopyright("Copyright © 2017-2020")]
[assembly: AssemblyCopyright("Copyright © 2017-2023")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

Expand All @@ -37,7 +37,6 @@
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("3.11.2.0")]
[assembly: AssemblyFileVersion("3.11.2.0")]
[assembly: AssemblyInformationalVersion("3.11.2")] // Used by Nuget.
[assembly: AssemblyVersion("4.0.0.0")]
[assembly: AssemblyFileVersion("4.0.0.0-beta")]
[assembly: AssemblyInformationalVersion("4.0.0-beta")] // Used by Nuget.
9 changes: 4 additions & 5 deletions OptimizelySDK.Net40/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("OptimizelySDK.Net40")]
[assembly: AssemblyCopyright("Copyright © 2017-2020")]
[assembly: AssemblyCopyright("Copyright © 2017-2023")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

Expand All @@ -37,7 +37,6 @@
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("3.11.2.0")]
[assembly: AssemblyFileVersion("3.11.2.0")]
[assembly: AssemblyInformationalVersion("3.11.2")] // Used by Nuget.
[assembly: AssemblyVersion("4.0.0.0")]
[assembly: AssemblyFileVersion("4.0.0.0-beta")]
[assembly: AssemblyInformationalVersion("4.0.0-beta")] // Used by Nuget.
9 changes: 4 additions & 5 deletions OptimizelySDK.NetStandard16/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("OptimizelySDK.NetStandard16")]
[assembly: AssemblyCopyright("Copyright © 2017-2020")]
[assembly: AssemblyCopyright("Copyright © 2017-2023")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

Expand All @@ -37,7 +37,6 @@
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("3.11.2.0")]
[assembly: AssemblyFileVersion("3.11.2.0")]
[assembly: AssemblyInformationalVersion("3.11.2")] // Used by Nuget.
[assembly: AssemblyVersion("4.0.0")]
[assembly: AssemblyFileVersion("4.0.0.0-beta")]
[assembly: AssemblyInformationalVersion("4.0.0-beta")] // Used by Nuget.
9 changes: 4 additions & 5 deletions OptimizelySDK.NetStandard20/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("OptimizelySDK.NetStandard20")]
[assembly: AssemblyCopyright("Copyright © 2019")]
[assembly: AssemblyCopyright("Copyright © 2019-2023")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

Expand All @@ -37,7 +37,6 @@
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("3.11.2.0")]
[assembly: AssemblyFileVersion("3.11.2.0")]
[assembly: AssemblyInformationalVersion("3.11.2")] // Used by Nuget.
[assembly: AssemblyVersion("4.0.0.0")]
[assembly: AssemblyFileVersion("4.0.0.0-beta")]
[assembly: AssemblyInformationalVersion("4.0.0-beta")] // Used by Nuget.
6 changes: 3 additions & 3 deletions OptimizelySDK.Tests/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@
//
// You can specify all the values or you can default the Revision and Build Numbers
// by using the '*' as shown below:
[assembly: AssemblyVersion("3.11.2.0")]
[assembly: AssemblyFileVersion("3.11.2.0")]
[assembly: AssemblyInformationalVersion("3.11.2")] // Used by Nuget.
[assembly: AssemblyVersion("4.0.0.0")]
[assembly: AssemblyFileVersion("4.0.0.0-beta")]
[assembly: AssemblyInformationalVersion("4.0.0-beta")] // Used by Nuget.
7 changes: 3 additions & 4 deletions OptimizelySDK/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("3.11.2.0")]
[assembly: AssemblyFileVersion("3.11.2.0")]
[assembly: AssemblyInformationalVersion("3.11.2")] // Used by Nuget.
[assembly: AssemblyVersion("4.0.0.0")]
[assembly: AssemblyFileVersion("4.0.0.0-beta")]
[assembly: AssemblyInformationalVersion("4.0.0-beta")] // Used by Nuget.