Skip to content

Commit 6bfa849

Browse files
authored
Bump to 1.2.0 for release. (#20)
1 parent 65f493b commit 6bfa849

File tree

4 files changed

+31
-10
lines changed

4 files changed

+31
-10
lines changed

CHANGELOG.MD

+21
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,24 @@
1+
## 1.2.0
2+
October 4, 2017
3+
4+
### New Features
5+
* Introduce Numeric Metrics - This allows you to include a floating point value that is used to track numeric values in your experiments.
6+
```
7+
var eventTags = new EventTags()
8+
{
9+
{ "value", 10.00 },
10+
};
11+
12+
OptimizelyClient.Track(eventKey, userId, attributes, eventTags);
13+
```
14+
15+
* Introduce Forced Variation - This allows you to force users into variations programmatically in real time for QA purposes without requiring datafile downloads from the network.
16+
```
17+
var result = OptimizelyClient.setForcedVariation(experimentKey, userId, forcedVariationKey);
18+
```
19+
20+
* Upgrade to use new [event API](https://developers.optimizely.com/x/events/api/index.html).
21+
122
## 1.1.1
223
- Add .Net 4.0 build in nuget package.
324

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>1.1.1</version>
5+
<version>1.2.0</version>
66
<title>Optimizely C# SDK</title>
77
<authors>Optimizely Development Team</authors>
88
<owners>fullstack.optimizely</owners>

OptimizelySDK.Tests/EventTests/EventBuilderTest.cs

+8-8
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public void TestCreateImpressionEventNoAttributes()
7474
{"project_id", "7720880029" },
7575
{"account_id", "1592310167" },
7676
{"client_name", "csharp-sdk" },
77-
{"client_version", "1.1.1" },
77+
{"client_version", "1.2.0" },
7878
{"revision", 15 }
7979
};
8080

@@ -152,7 +152,7 @@ public void TestCreateImpressionEventWithAttributes()
152152
{"project_id", "7720880029" },
153153
{"account_id", "1592310167" },
154154
{"client_name", "csharp-sdk" },
155-
{"client_version", "1.1.1" },
155+
{"client_version", "1.2.0" },
156156
{"revision", 15 }
157157
};
158158

@@ -226,7 +226,7 @@ public void TestCreateConversionEventNoAttributesNoValue()
226226
{"project_id", "7720880029"},
227227
{"account_id", "1592310167"},
228228
{"client_name", "csharp-sdk"},
229-
{"client_version", "1.1.1"},
229+
{"client_version", "1.2.0"},
230230
{"revision", 15}
231231
};
232232

@@ -304,7 +304,7 @@ public void TestCreateConversionEventWithAttributesNoValue()
304304
{"project_id", "7720880029"},
305305
{"account_id", "1592310167"},
306306
{"client_name", "csharp-sdk"},
307-
{"client_version", "1.1.1"},
307+
{"client_version", "1.2.0"},
308308
{"revision", 15}
309309
};
310310

@@ -385,7 +385,7 @@ public void TestCreateConversionEventNoAttributesWithValue()
385385
{"project_id", "7720880029" },
386386
{"account_id", "1592310167" },
387387
{"client_name", "csharp-sdk" },
388-
{"client_version", "1.1.1" },
388+
{"client_version", "1.2.0" },
389389
{"revision", 15 }
390390
};
391391

@@ -476,7 +476,7 @@ public void TestCreateConversionEventWithAttributesWithValue()
476476
{"project_id", "7720880029" },
477477
{"account_id", "1592310167" },
478478
{"client_name", "csharp-sdk" },
479-
{"client_version", "1.1.1" },
479+
{"client_version", "1.2.0" },
480480
{"revision", 15 }
481481
};
482482

@@ -562,7 +562,7 @@ public void TestCreateConversionEventNoAttributesWithInvalidValue()
562562
{"project_id", "7720880029" },
563563
{"account_id", "1592310167" },
564564
{"client_name", "csharp-sdk" },
565-
{"client_version", "1.1.1" },
565+
{"client_version", "1.2.0" },
566566
{"revision", 15 }
567567
};
568568

@@ -644,7 +644,7 @@ public void TestConversionEventWithNumericTag()
644644
{"project_id", "7720880029" },
645645
{"account_id", "1592310167" },
646646
{"client_name", "csharp-sdk" },
647-
{"client_version", "1.1.1" },
647+
{"client_version", "1.2.0" },
648648
{"revision", 15 }
649649
};
650650

OptimizelySDK/Event/Builder/EventBuilder.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public class EventBuilder
2626
{
2727
private const string SDK_TYPE = "csharp-sdk";
2828

29-
private const string SDK_VERSION = "1.1.1";
29+
private const string SDK_VERSION = "1.2.0";
3030

3131
private const string IMPRESSION_ENDPOINT = "https://logx.optimizely.com/v1/events";
3232

0 commit comments

Comments
 (0)