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
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -240,4 +240,5 @@ ModelManifest.xml

# FAKE - F# Make
.fake/
OptimizelySDK/nuget.exe
OptimizelySDK.Package/nuget.exe
OptimizelySDK.Package/lib
3 changes: 3 additions & 0 deletions CHANGELOG.MD
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## 1.1.1
- Add .Net 4.0 build in nuget package.

## 1.1.0
- Introduce the user profile service.

Expand Down
8 changes: 4 additions & 4 deletions OptimizelySDK.Package/OptimizelySDK.nuspec
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="utf-8"?>
<package>
<metadata>
<id>Optimizely.SDK</id>
<version>0.1.0</version>
<version>1.1.1</version>
<title>Optimizely C# SDK</title>
<authors>Optimizely Development Team</authors>
<owners>fullstack.optimizely</owners>
<licenseUrl>http://www.apache.org/licenses/LICENSE-2.0</licenseUrl>
<!-->projectUrl></projectUrl-->
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>C# SDK for Optimizely X Fullstack</description>
<releaseNotes>This is a Beta Pre-Release.</releaseNotes>
<releaseNotes>General Availability</releaseNotes>
<copyright>Copyright 2017</copyright>
<tags>Optimizely</tags>
<dependencies>
Expand Down Expand Up @@ -39,4 +39,4 @@
<files>
<file src="lib\**" target="lib" />
</files>
</package>
</package>
14 changes: 7 additions & 7 deletions OptimizelySDK.Tests/EventTests/EventBuilderTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public void TestCreateImpressionEventNoAttributes()
{"layerId", "7719770039" },
{"visitorId", "testUserId" },
{"clientEngine", "csharp-sdk" },
{"clientVersion", "1.1.0" },
{"clientVersion", "1.1.1" },
{"timestamp", SecondsSince1970() * 1000L },
{"isGlobalHoldback", false },
{"userFeatures", new string[0] },
Expand Down Expand Up @@ -75,7 +75,7 @@ public void TestCreateImpressionEventWithAttributes()
{"layerId", "7719770039" },
{"visitorId", "testUserId" },
{"clientEngine", "csharp-sdk" },
{"clientVersion", "1.1.0" },
{"clientVersion", "1.1.1" },
{"timestamp", SecondsSince1970() * 1000L},
{"isGlobalHoldback", false },
{"userFeatures",
Expand Down Expand Up @@ -126,7 +126,7 @@ public void TestCreateConversionEventNoAttributesNovalue()
{"accountId", "1592310167"},
{"visitorId", TestUserId},
{"clientEngine", "csharp-sdk"},
{"clientVersion", "1.1.0"},
{"clientVersion", "1.1.1"},
{"userFeatures", new string[0]},
{"isGlobalHoldback", false},
{"timestamp", SecondsSince1970() * 1000L} ,
Expand Down Expand Up @@ -172,7 +172,7 @@ public void TestCreateConversionEventWithAttributesNoValue()
{"accountId", "1592310167"},
{"visitorId", TestUserId},
{"clientEngine", "csharp-sdk"},
{"clientVersion", "1.1.0"},
{"clientVersion", "1.1.1"},

{"isGlobalHoldback", false},
{"timestamp", SecondsSince1970() * 1000L} ,
Expand Down Expand Up @@ -239,7 +239,7 @@ public void TestCreateConversionEventNoAttributesWithValue()
{"accountId", "1592310167"},
{"visitorId", TestUserId},
{"clientEngine", "csharp-sdk"},
{"clientVersion", "1.1.0"},
{"clientVersion", "1.1.1"},

{"isGlobalHoldback", false},
{"timestamp", SecondsSince1970() * 1000L} ,
Expand Down Expand Up @@ -311,7 +311,7 @@ public void TestCreateConversionEventWithAttributesWithValue()
{"accountId", "1592310167"},
{"visitorId", TestUserId},
{"clientEngine", "csharp-sdk"},
{"clientVersion", "1.1.0"},
{"clientVersion", "1.1.1"},
{"isGlobalHoldback", false},
{"timestamp", SecondsSince1970() * 1000L} ,
{"eventFeatures",
Expand Down Expand Up @@ -410,7 +410,7 @@ public void TestCreateConversionEventNoAttributesWithInvalidValue()
{"visitorId", "testUserId"},
// {"revision", "15"}, TODO: It should be a part of project config file, have to check it.
{"clientEngine", "csharp-sdk"},
{"clientVersion", "1.1.0"},
{"clientVersion", "1.1.1"},
{"userFeatures" , new object[0]},
{"isGlobalHoldback", false},
{"timestamp", SecondsSince1970() * 1000L },
Expand Down
3 changes: 2 additions & 1 deletion OptimizelySDK.sln
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
ProjectSection(SolutionItems) = preProject
CHANGELOG.MD = CHANGELOG.MD
CONTRIBUTING.md = CONTRIBUTING.md
OptimizelySDK\OptimizelySDK.nuspec = OptimizelySDK\OptimizelySDK.nuspec
OptimizelySDK.Package\OptimizelySDK.nuspec = OptimizelySDK.Package\OptimizelySDK.nuspec
OptimizelySDK.Package\pack.ps1 = OptimizelySDK.Package\pack.ps1
README.md = README.md
EndProjectSection
EndProject
Expand Down
2 changes: 1 addition & 1 deletion OptimizelySDK/Event/Builder/EventBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public class EventBuilder
{
private const string SDK_TYPE = "csharp-sdk";

private const string SDK_VERSION = "1.1.0";
private const string SDK_VERSION = "1.1.1";

private const string IMPRESSION_ENDPOINT = "https://logx.optimizely.com/log/decision";

Expand Down
17 changes: 0 additions & 17 deletions OptimizelySDK/OptimizelySDK.nuspec

This file was deleted.