From c9bcfa9d7b0b3e48d3b69c29ce12d1cb8fa4c38e Mon Sep 17 00:00:00 2001 From: Mike Chu Date: Tue, 16 Jan 2024 09:20:54 -0500 Subject: [PATCH 1/9] chore: Update AssemblyInformationalVersion removed beta tag for NuGet --- OptimizelySDK.DemoApp/Properties/AssemblyInfo.cs | 2 +- OptimizelySDK.Net35/Properties/AssemblyInfo.cs | 2 +- OptimizelySDK.Net40/Properties/AssemblyInfo.cs | 2 +- OptimizelySDK.NetStandard16/Properties/AssemblyInfo.cs | 2 +- OptimizelySDK.NetStandard20/Properties/AssemblyInfo.cs | 2 +- OptimizelySDK.Tests/Properties/AssemblyInfo.cs | 2 +- OptimizelySDK/Properties/AssemblyInfo.cs | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/OptimizelySDK.DemoApp/Properties/AssemblyInfo.cs b/OptimizelySDK.DemoApp/Properties/AssemblyInfo.cs index ef42316d..5fe78611 100644 --- a/OptimizelySDK.DemoApp/Properties/AssemblyInfo.cs +++ b/OptimizelySDK.DemoApp/Properties/AssemblyInfo.cs @@ -39,4 +39,4 @@ // by using the '*' as shown below: [assembly: AssemblyVersion("4.0.0.0")] [assembly: AssemblyFileVersion("4.0.0.0")] -[assembly: AssemblyInformationalVersion("4.0.0-beta")] // Used by Nuget. +[assembly: AssemblyInformationalVersion("4.0.0")] // Used by NuGet. diff --git a/OptimizelySDK.Net35/Properties/AssemblyInfo.cs b/OptimizelySDK.Net35/Properties/AssemblyInfo.cs index 69b04e7f..9f7dfbe4 100644 --- a/OptimizelySDK.Net35/Properties/AssemblyInfo.cs +++ b/OptimizelySDK.Net35/Properties/AssemblyInfo.cs @@ -39,4 +39,4 @@ // by using the '*' as shown below: [assembly: AssemblyVersion("4.0.0.0")] [assembly: AssemblyFileVersion("4.0.0.0")] -[assembly: AssemblyInformationalVersion("4.0.0-beta")] // Used by Nuget. +[assembly: AssemblyInformationalVersion("4.0.0")] // Used by NuGet. diff --git a/OptimizelySDK.Net40/Properties/AssemblyInfo.cs b/OptimizelySDK.Net40/Properties/AssemblyInfo.cs index c3e01c00..815b273a 100644 --- a/OptimizelySDK.Net40/Properties/AssemblyInfo.cs +++ b/OptimizelySDK.Net40/Properties/AssemblyInfo.cs @@ -39,4 +39,4 @@ // by using the '*' as shown below: [assembly: AssemblyVersion("4.0.0.0")] [assembly: AssemblyFileVersion("4.0.0.0")] -[assembly: AssemblyInformationalVersion("4.0.0-beta")] // Used by Nuget. +[assembly: AssemblyInformationalVersion("4.0.0")] // Used by NuGet. diff --git a/OptimizelySDK.NetStandard16/Properties/AssemblyInfo.cs b/OptimizelySDK.NetStandard16/Properties/AssemblyInfo.cs index 7ba7db50..16f95976 100644 --- a/OptimizelySDK.NetStandard16/Properties/AssemblyInfo.cs +++ b/OptimizelySDK.NetStandard16/Properties/AssemblyInfo.cs @@ -39,4 +39,4 @@ // by using the '*' as shown below: [assembly: AssemblyVersion("4.0.0")] [assembly: AssemblyFileVersion("4.0.0.0")] -[assembly: AssemblyInformationalVersion("4.0.0-beta")] // Used by Nuget. +[assembly: AssemblyInformationalVersion("4.0.0")] // Used by NuGet. diff --git a/OptimizelySDK.NetStandard20/Properties/AssemblyInfo.cs b/OptimizelySDK.NetStandard20/Properties/AssemblyInfo.cs index e493466c..6e2fbdc3 100644 --- a/OptimizelySDK.NetStandard20/Properties/AssemblyInfo.cs +++ b/OptimizelySDK.NetStandard20/Properties/AssemblyInfo.cs @@ -39,4 +39,4 @@ // by using the '*' as shown below: [assembly: AssemblyVersion("4.0.0.0")] [assembly: AssemblyFileVersion("4.0.0.0")] -[assembly: AssemblyInformationalVersion("4.0.0-beta")] // Used by Nuget. +[assembly: AssemblyInformationalVersion("4.0.0")] // Used by NuGet. diff --git a/OptimizelySDK.Tests/Properties/AssemblyInfo.cs b/OptimizelySDK.Tests/Properties/AssemblyInfo.cs index 8ceae607..ea9d640e 100644 --- a/OptimizelySDK.Tests/Properties/AssemblyInfo.cs +++ b/OptimizelySDK.Tests/Properties/AssemblyInfo.cs @@ -32,4 +32,4 @@ // by using the '*' as shown below: [assembly: AssemblyVersion("4.0.0.0")] [assembly: AssemblyFileVersion("4.0.0.0")] -[assembly: AssemblyInformationalVersion("4.0.0-beta")] // Used by Nuget. +[assembly: AssemblyInformationalVersion("4.0.0")] // Used by NuGet. diff --git a/OptimizelySDK/Properties/AssemblyInfo.cs b/OptimizelySDK/Properties/AssemblyInfo.cs index 07e29d0a..d801dfaa 100644 --- a/OptimizelySDK/Properties/AssemblyInfo.cs +++ b/OptimizelySDK/Properties/AssemblyInfo.cs @@ -43,4 +43,4 @@ // by using the '*' as shown below: [assembly: AssemblyVersion("4.0.0.0")] [assembly: AssemblyFileVersion("4.0.0.0")] -[assembly: AssemblyInformationalVersion("4.0.0-beta")] // Used by Nuget. +[assembly: AssemblyInformationalVersion("4.0.0")] // Used by NuGet. From 4f43adee66ebe25d160a4465cb67fd8396e1cddd Mon Sep 17 00:00:00 2001 From: Mike Chu Date: Tue, 16 Jan 2024 09:35:04 -0500 Subject: [PATCH 2/9] docs: Update changelog --- CHANGELOG.md | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7b9620be..0edd96eb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,32 @@ # Optimizely C# SDK Changelog +## 4.0.0 +January 16th, 2024 + +### New Features +- Promote Advanced Audience Targeting to General Availability +- Add warning to polling intervals below 30 seconds (#365) + +### Bug Fixes +- Return Latest Experiment When Duplicate Keys in Config enhancement (#370) +- Fix Last-Modified date & time format for If-Modified-Since (#361) + +### Documentation +- Corrections to markdown files in docs directory (#368) +- GitHub template updates (#366) + +## 3.11.4 +July 26th, 2023 + +### Bug Fixes +- Fix Last-Modified date & time format for If-Modified-Since (#361). + +## 3.11.3 +July 18th, 2023 + +### Bug Fixes +- Last-Modified in header not found and used to reduce polling payload (#355). + ## 4.0.0-beta April 28th, 2023 From dcc9e104b5659145e2005d7f004718760f7418ef Mon Sep 17 00:00:00 2001 From: Mike Chu Date: Tue, 16 Jan 2024 09:39:38 -0500 Subject: [PATCH 3/9] docs: Test whether I have to manually link PRs --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0edd96eb..177ccac0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,7 @@ January 16th, 2024 ### New Features - Promote Advanced Audience Targeting to General Availability -- Add warning to polling intervals below 30 seconds (#365) +- Add warning to polling intervals below 30 seconds #365 ### Bug Fixes - Return Latest Experiment When Duplicate Keys in Config enhancement (#370) From 5c49945d254e92834b8d25a2a811baf6a00963be Mon Sep 17 00:00:00 2001 From: Mike Chu Date: Tue, 16 Jan 2024 09:44:09 -0500 Subject: [PATCH 4/9] docs: Add PR links wwwhyy is this still something I have to do??? *coughs: AI* --- CHANGELOG.md | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 177ccac0..b3f76413 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,27 +5,26 @@ January 16th, 2024 ### New Features - Promote Advanced Audience Targeting to General Availability -- Add warning to polling intervals below 30 seconds #365 +- Add warning to polling intervals below 30 seconds ([#365](https://github.com/optimizely/csharp-sdk/pull/365)) ### Bug Fixes -- Return Latest Experiment When Duplicate Keys in Config enhancement (#370) -- Fix Last-Modified date & time format for If-Modified-Since (#361) +- Return Latest Experiment When Duplicate Keys in Config enhancement ### Documentation -- Corrections to markdown files in docs directory (#368) -- GitHub template updates (#366) +- Corrections to markdown files in docs directory ([#368](https://github.com/optimizely/csharp-sdk/pull/368)) +- GitHub template updates ([#366](https://github.com/optimizely/csharp-sdk/pull/366)) ## 3.11.4 July 26th, 2023 ### Bug Fixes -- Fix Last-Modified date & time format for If-Modified-Since (#361). +- Fix Last-Modified date & time format for If-Modified-Since ([#361](https://github.com/optimizely/csharp-sdk/pull/361)) ## 3.11.3 July 18th, 2023 ### Bug Fixes -- Last-Modified in header not found and used to reduce polling payload (#355). +- Last-Modified in header not found and used to reduce polling payload ([#355](https://github.com/optimizely/csharp-sdk/pull/355)). ## 4.0.0-beta April 28th, 2023 From 7641ec20c6f2e3d1116e8a48211c446ffeac464b Mon Sep 17 00:00:00 2001 From: Mike Chu Date: Tue, 16 Jan 2024 11:45:50 -0500 Subject: [PATCH 5/9] docs: Update version listed on README This file needs to be reviewed & updates --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index eb0da22c..79353685 100644 --- a/README.md +++ b/README.md @@ -251,4 +251,4 @@ Optimizely SDK uses third party software: - Ruby - https://github.com/optimizely/ruby-sdk -- Swift - https://github.com/optimizely/swift-sdk \ No newline at end of file +- Swift - https://github.com/optimizely/swift-sdk From dfa5a784723ccae5f3d338a70c0a61932cba32d9 Mon Sep 17 00:00:00 2001 From: Mike Chu Date: Tue, 16 Jan 2024 11:45:50 -0500 Subject: [PATCH 6/9] docs: Update version listed on README This file needs to be reviewed & updates --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index eb0da22c..ff2148fb 100644 --- a/README.md +++ b/README.md @@ -104,7 +104,7 @@ User can provide variables using following procedure: ```
+ type="OptimizelySDK.OptimizelySDKConfigSection, OptimizelySDK, Version=4.0.0.0, Culture=neutral, PublicKeyToken=null" /> ``` 2. Now add **optlySDKConfigSection** below ****. In this section you can add and set following **HttpProjectConfigManager** and **BatchEventProcessor** variables: @@ -251,4 +251,4 @@ Optimizely SDK uses third party software: - Ruby - https://github.com/optimizely/ruby-sdk -- Swift - https://github.com/optimizely/swift-sdk \ No newline at end of file +- Swift - https://github.com/optimizely/swift-sdk From b23d35114b97586886836da1222d47bb078543c4 Mon Sep 17 00:00:00 2001 From: Mike Chu Date: Tue, 16 Jan 2024 12:01:54 -0500 Subject: [PATCH 7/9] docs: Update CHANGELOG with 4.0-GA info bring pre-release beta notes up to the GA version section --- CHANGELOG.md | 48 ++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 46 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b3f76413..3f38bcb2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,8 +4,52 @@ January 16th, 2024 ### New Features -- Promote Advanced Audience Targeting to General Availability -- Add warning to polling intervals below 30 seconds ([#365](https://github.com/optimizely/csharp-sdk/pull/365)) + +#### Polling warning + +Add warning to polling intervals below 30 seconds ([#365](https://github.com/optimizely/csharp-sdk/pull/365)) + +#### Advanced Audience Targeting + +The 4.0.0 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` ### Bug Fixes - Return Latest Experiment When Duplicate Keys in Config enhancement From 7c4f33f5a49bc30aaa988f95c6e8a4bf4f709c2c Mon Sep 17 00:00:00 2001 From: Mike Chu Date: Tue, 16 Jan 2024 12:43:14 -0500 Subject: [PATCH 8/9] docs: Update LICENSE copyright line --- LICENSE | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LICENSE b/LICENSE index 089978b9..2f8be781 100644 --- a/LICENSE +++ b/LICENSE @@ -187,7 +187,7 @@ same "printed page" as the copyright notice for easier identification within third-party archives. - Copyright 2016 Optimizely + Copyright 2016-2024, Optimizely, Inc. and contributors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. From c934553d924f874c518ae0093e2821232adcbb70 Mon Sep 17 00:00:00 2001 From: Mike Chu Date: Tue, 16 Jan 2024 16:41:28 -0500 Subject: [PATCH 9/9] docs: Reorder CHANGELOG entries --- CHANGELOG.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3f38bcb2..0b431aa1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,10 +5,6 @@ January 16th, 2024 ### New Features -#### Polling warning - -Add warning to polling intervals below 30 seconds ([#365](https://github.com/optimizely/csharp-sdk/pull/365)) - #### Advanced Audience Targeting The 4.0.0 release introduces a new primary feature, [Advanced Audience Targeting]( https://docs.developers.optimizely.com/feature-experimentation/docs/optimizely-data-platform-advanced-audience-targeting) @@ -46,6 +42,10 @@ For details, refer to our documentation pages: - [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) +#### Polling warning + +Add warning to polling intervals below 30 seconds ([#365](https://github.com/optimizely/csharp-sdk/pull/365)) + ### 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