Skip to content

Commit

Permalink
chore: Prepare 3.1.0 release. (#158)
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Ng authored May 9, 2019
1 parent c66a1ee commit f68414f
Show file tree
Hide file tree
Showing 10 changed files with 38 additions and 21 deletions.
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
## 3.1.0
May 9th, 2019

### New Features:
* Introduced Decision notification listener to be able to record:
* Variation assignments for users activated in an experiment.
* Feature access for users.
* Feature variable value for users.

### Bug Fixes:
* Feature variable APIs return default variable value when featureEnabled property is false. ([#151](https://github.com/optimizely/csharp-sdk/pull/151))

### Deprecated:
* Activate notification listener is deprecated as of this release. Recommendation is to use the new Decision notification listener. Activate notification listener will be removed in the next major release.

## 3.0.0
March 1st, 2019

Expand Down
6 changes: 3 additions & 3 deletions OptimizelySDK.DemoApp/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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.0.0.0")]
[assembly: AssemblyFileVersion("3.0.0.0")]
[assembly: AssemblyInformationalVersion("3.0.0")] // Used by Nuget.
[assembly: AssemblyVersion("3.1.0.0")]
[assembly: AssemblyFileVersion("3.1.0.0")]
[assembly: AssemblyInformationalVersion("3.1.0")] // Used by Nuget.
2 changes: 1 addition & 1 deletion OptimizelySDK.DemoApp/packages.config
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<package id="murmurhash-signed" version="1.0.2" targetFramework="net45" />
<package id="Newtonsoft.Json" version="9.0.1" targetFramework="net45" />
<package id="NJsonSchema" version="8.30.6304.31883" targetFramework="net45" />
<package id="Optimizely.SDK" version="2.2.0" targetFramework="net45" />
<package id="Optimizely.SDK" version="3.1.0" targetFramework="net45" />
<package id="popper.js" version="1.12.9" targetFramework="net45" />
<package id="Respond" version="1.2.0" targetFramework="net45" />
<package id="WebGrease" version="1.5.2" targetFramework="net45" />
Expand Down
6 changes: 3 additions & 3 deletions OptimizelySDK.Net35/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,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.0.0.0")]
[assembly: AssemblyFileVersion("3.0.0.0")]
[assembly: AssemblyInformationalVersion("3.0.0")] // Used by Nuget.
[assembly: AssemblyVersion("3.1.0.0")]
[assembly: AssemblyFileVersion("3.1.0.0")]
[assembly: AssemblyInformationalVersion("3.1.0")] // Used by Nuget.
6 changes: 3 additions & 3 deletions OptimizelySDK.Net40/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,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.0.0.0")]
[assembly: AssemblyFileVersion("3.0.0.0")]
[assembly: AssemblyInformationalVersion("3.0.0")] // Used by Nuget.
[assembly: AssemblyVersion("3.1.0.0")]
[assembly: AssemblyFileVersion("3.1.0.0")]
[assembly: AssemblyInformationalVersion("3.1.0")] // Used by Nuget.
6 changes: 3 additions & 3 deletions OptimizelySDK.NetStandard16/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,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.0.0.0")]
[assembly: AssemblyFileVersion("3.0.0.0")]
[assembly: AssemblyInformationalVersion("3.0.0")] // Used by Nuget.
[assembly: AssemblyVersion("3.1.0.0")]
[assembly: AssemblyFileVersion("3.1.0.0")]
[assembly: AssemblyInformationalVersion("3.1.0")] // Used by Nuget.
2 changes: 1 addition & 1 deletion OptimizelySDK.Package/OptimizelySDK.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package>
<metadata>
<id>Optimizely.SDK</id>
<version>2.2.2</version>
<version>3.1.0</version>
<title>Optimizely C# SDK</title>
<authors>Optimizely Development Team</authors>
<owners>fullstack.optimizely</owners>
Expand Down
6 changes: 3 additions & 3 deletions OptimizelySDK.Tests/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,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.0.0.0")]
[assembly: AssemblyFileVersion("3.0.0.0")]
[assembly: AssemblyInformationalVersion("3.0.0")] // Used by Nuget.
[assembly: AssemblyVersion("3.1.0.0")]
[assembly: AssemblyFileVersion("3.1.0.0")]
[assembly: AssemblyInformationalVersion("3.1.0")] // Used by Nuget.
4 changes: 3 additions & 1 deletion OptimizelySDK/Notifications/NotificationCenter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ public enum NotificationType
/// <param name="userAttributes">Associative array of attributes for the user</param>
/// <param name="variation">The variation entity</param>
/// <param name="logEvent">The impression event</param>
[Obsolete("ActivateCallback is deprecated. Use DecisionCallback instead.")]
public delegate void ActivateCallback(Experiment experiment, string userId, UserAttributes userAttributes,
Variation variation, LogEvent logEvent);

Expand Down Expand Up @@ -113,9 +114,10 @@ public NotificationCenter(ILogger logger = null)
/// Add a notification callback of decision type to the notification center.
/// </summary>
/// <param name="notificationType">Notification type</param>
/// <param name="decisionCallBack">Callback function to call when event gets triggered</param>
/// <param name="activateCallback">Callback function to call when event gets triggered</param>
/// <returns>int | 0 for invalid notification type, -1 for adding existing notification
/// or the notification id of newly added notification.</returns>
[Obsolete("ActivateCallback is deprecated. Use DecisionCallback instead.")]
public int AddNotification(NotificationType notificationType, ActivateCallback activateCallback)
{
if (!IsNotificationTypeValid(notificationType, NotificationType.Activate))
Expand Down
6 changes: 3 additions & 3 deletions OptimizelySDK/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,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.0.0.0")]
[assembly: AssemblyFileVersion("3.0.0.0")]
[assembly: AssemblyInformationalVersion("3.0.0")] // Used by Nuget.
[assembly: AssemblyVersion("3.1.0.0")]
[assembly: AssemblyFileVersion("3.1.0.0")]
[assembly: AssemblyInformationalVersion("3.1.0")] // Used by Nuget.

0 comments on commit f68414f

Please sign in to comment.