Skip to content

Commit f68414f

Browse files
author
Michael Ng
authored
chore: Prepare 3.1.0 release. (#158)
1 parent c66a1ee commit f68414f

File tree

10 files changed

+38
-21
lines changed

10 files changed

+38
-21
lines changed

CHANGELOG.md

+15
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
## 3.1.0
2+
May 9th, 2019
3+
4+
### New Features:
5+
* Introduced Decision notification listener to be able to record:
6+
* Variation assignments for users activated in an experiment.
7+
* Feature access for users.
8+
* Feature variable value for users.
9+
10+
### Bug Fixes:
11+
* Feature variable APIs return default variable value when featureEnabled property is false. ([#151](https://github.com/optimizely/csharp-sdk/pull/151))
12+
13+
### Deprecated:
14+
* 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.
15+
116
## 3.0.0
217
March 1st, 2019
318

OptimizelySDK.DemoApp/Properties/AssemblyInfo.cs

+3-3
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,6 @@
3737
//
3838
// You can specify all the values or you can default the Revision and Build Numbers
3939
// by using the '*' as shown below:
40-
[assembly: AssemblyVersion("3.0.0.0")]
41-
[assembly: AssemblyFileVersion("3.0.0.0")]
42-
[assembly: AssemblyInformationalVersion("3.0.0")] // Used by Nuget.
40+
[assembly: AssemblyVersion("3.1.0.0")]
41+
[assembly: AssemblyFileVersion("3.1.0.0")]
42+
[assembly: AssemblyInformationalVersion("3.1.0")] // Used by Nuget.

OptimizelySDK.DemoApp/packages.config

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<package id="murmurhash-signed" version="1.0.2" targetFramework="net45" />
1818
<package id="Newtonsoft.Json" version="9.0.1" targetFramework="net45" />
1919
<package id="NJsonSchema" version="8.30.6304.31883" targetFramework="net45" />
20-
<package id="Optimizely.SDK" version="2.2.0" targetFramework="net45" />
20+
<package id="Optimizely.SDK" version="3.1.0" targetFramework="net45" />
2121
<package id="popper.js" version="1.12.9" targetFramework="net45" />
2222
<package id="Respond" version="1.2.0" targetFramework="net45" />
2323
<package id="WebGrease" version="1.5.2" targetFramework="net45" />

OptimizelySDK.Net35/Properties/AssemblyInfo.cs

+3-3
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,6 @@
3838
// You can specify all the values or you can default the Build and Revision Numbers
3939
// by using the '*' as shown below:
4040
// [assembly: AssemblyVersion("1.0.*")]
41-
[assembly: AssemblyVersion("3.0.0.0")]
42-
[assembly: AssemblyFileVersion("3.0.0.0")]
43-
[assembly: AssemblyInformationalVersion("3.0.0")] // Used by Nuget.
41+
[assembly: AssemblyVersion("3.1.0.0")]
42+
[assembly: AssemblyFileVersion("3.1.0.0")]
43+
[assembly: AssemblyInformationalVersion("3.1.0")] // Used by Nuget.

OptimizelySDK.Net40/Properties/AssemblyInfo.cs

+3-3
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,6 @@
3838
// You can specify all the values or you can default the Build and Revision Numbers
3939
// by using the '*' as shown below:
4040
// [assembly: AssemblyVersion("1.0.*")]
41-
[assembly: AssemblyVersion("3.0.0.0")]
42-
[assembly: AssemblyFileVersion("3.0.0.0")]
43-
[assembly: AssemblyInformationalVersion("3.0.0")] // Used by Nuget.
41+
[assembly: AssemblyVersion("3.1.0.0")]
42+
[assembly: AssemblyFileVersion("3.1.0.0")]
43+
[assembly: AssemblyInformationalVersion("3.1.0")] // Used by Nuget.

OptimizelySDK.NetStandard16/Properties/AssemblyInfo.cs

+3-3
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,6 @@
3838
// You can specify all the values or you can default the Build and Revision Numbers
3939
// by using the '*' as shown below:
4040
// [assembly: AssemblyVersion("1.0.*")]
41-
[assembly: AssemblyVersion("3.0.0.0")]
42-
[assembly: AssemblyFileVersion("3.0.0.0")]
43-
[assembly: AssemblyInformationalVersion("3.0.0")] // Used by Nuget.
41+
[assembly: AssemblyVersion("3.1.0.0")]
42+
[assembly: AssemblyFileVersion("3.1.0.0")]
43+
[assembly: AssemblyInformationalVersion("3.1.0")] // Used by Nuget.

OptimizelySDK.Package/OptimizelySDK.nuspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<package>
33
<metadata>
44
<id>Optimizely.SDK</id>
5-
<version>2.2.2</version>
5+
<version>3.1.0</version>
66
<title>Optimizely C# SDK</title>
77
<authors>Optimizely Development Team</authors>
88
<owners>fullstack.optimizely</owners>

OptimizelySDK.Tests/Properties/AssemblyInfo.cs

+3-3
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,6 @@
3131
//
3232
// You can specify all the values or you can default the Revision and Build Numbers
3333
// by using the '*' as shown below:
34-
[assembly: AssemblyVersion("3.0.0.0")]
35-
[assembly: AssemblyFileVersion("3.0.0.0")]
36-
[assembly: AssemblyInformationalVersion("3.0.0")] // Used by Nuget.
34+
[assembly: AssemblyVersion("3.1.0.0")]
35+
[assembly: AssemblyFileVersion("3.1.0.0")]
36+
[assembly: AssemblyInformationalVersion("3.1.0")] // Used by Nuget.

OptimizelySDK/Notifications/NotificationCenter.cs

+3-1
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ public enum NotificationType
4646
/// <param name="userAttributes">Associative array of attributes for the user</param>
4747
/// <param name="variation">The variation entity</param>
4848
/// <param name="logEvent">The impression event</param>
49+
[Obsolete("ActivateCallback is deprecated. Use DecisionCallback instead.")]
4950
public delegate void ActivateCallback(Experiment experiment, string userId, UserAttributes userAttributes,
5051
Variation variation, LogEvent logEvent);
5152

@@ -113,9 +114,10 @@ public NotificationCenter(ILogger logger = null)
113114
/// Add a notification callback of decision type to the notification center.
114115
/// </summary>
115116
/// <param name="notificationType">Notification type</param>
116-
/// <param name="decisionCallBack">Callback function to call when event gets triggered</param>
117+
/// <param name="activateCallback">Callback function to call when event gets triggered</param>
117118
/// <returns>int | 0 for invalid notification type, -1 for adding existing notification
118119
/// or the notification id of newly added notification.</returns>
120+
[Obsolete("ActivateCallback is deprecated. Use DecisionCallback instead.")]
119121
public int AddNotification(NotificationType notificationType, ActivateCallback activateCallback)
120122
{
121123
if (!IsNotificationTypeValid(notificationType, NotificationType.Activate))

OptimizelySDK/Properties/AssemblyInfo.cs

+3-3
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,6 @@
3838
// You can specify all the values or you can default the Build and Revision Numbers
3939
// by using the '*' as shown below:
4040
// [assembly: AssemblyVersion("1.0.*")]
41-
[assembly: AssemblyVersion("3.0.0.0")]
42-
[assembly: AssemblyFileVersion("3.0.0.0")]
43-
[assembly: AssemblyInformationalVersion("3.0.0")] // Used by Nuget.
41+
[assembly: AssemblyVersion("3.1.0.0")]
42+
[assembly: AssemblyFileVersion("3.1.0.0")]
43+
[assembly: AssemblyInformationalVersion("3.1.0")] // Used by Nuget.

0 commit comments

Comments
 (0)