diff --git a/.gitignore b/.gitignore index 0c85ec1..25d18aa 100644 --- a/.gitignore +++ b/.gitignore @@ -18,3 +18,4 @@ packages/ *.config *.nupkg *.nuspec +*.trx diff --git a/CHANGELOG.md b/CHANGELOG.md index 049839b..6988b61 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,13 @@ -### Version: 2.0 +### Version: 2.1.0 +#### Date: Jul-29-2019 + +##### New Features: +- Query + - added method 'includeReferenceContentTypeUid' +- Entry + - added method 'includeReferenceContentTypeUid' + +### Version: 2.0 #### Date: Jun-28-2019 ##### New Features: diff --git a/Contentstack.AspNetCore/Contentstack.AspNetCore.csproj b/Contentstack.AspNetCore/Contentstack.AspNetCore.csproj index a232d04..c70adc4 100644 --- a/Contentstack.AspNetCore/Contentstack.AspNetCore.csproj +++ b/Contentstack.AspNetCore/Contentstack.AspNetCore.csproj @@ -1,4 +1,4 @@ - + netstandard1.4 @@ -6,7 +6,7 @@ contentstack.aspnetcore Contentstack Contentstack - 2.0 + 2.1.0 1.0.0 Main release Copyright (c) 2012-2019 Contentstack (http://app.contentstack.com). All Rights Reserved diff --git a/Contentstack.Core.Tests/Contentstack.Core.Tests.csproj b/Contentstack.Core.Tests/Contentstack.Core.Tests.csproj index 5fd7c4f..0c2dfec 100644 --- a/Contentstack.Core.Tests/Contentstack.Core.Tests.csproj +++ b/Contentstack.Core.Tests/Contentstack.Core.Tests.csproj @@ -1,10 +1,10 @@ - + netcoreapp2.0 false - 2.0 + 2.1.0 diff --git a/Contentstack.Core.Tests/SyncStackTest.cs b/Contentstack.Core.Tests/SyncStackTest.cs index 653d180..92377fa 100644 --- a/Contentstack.Core.Tests/SyncStackTest.cs +++ b/Contentstack.Core.Tests/SyncStackTest.cs @@ -12,13 +12,13 @@ public class SyncStackTest ContentstackClient client = StackConfig.GetSyncStack(); //STAG - //String PaginationToken = "blt222be844e75a1fca332e39"; - //String SyncToken = "blt529b16590d4646bfce31ce"; + String PaginationToken = "blt222be844e75a1fca332e39"; + String SyncToken = "blt37f6aa8e41cbb327c6c6d3"; - //PROD - String PaginationToken = "blt99c1e34e65f6cc0fd1d82b"; - String SyncToken = "blt08854bd48e43a740951809"; + // //PROD + // String PaginationToken = "blt99c1e34e65f6cc0fd1d82b"; + // String SyncToken = "blt08854bd48e43a740951809"; [Fact] public async Task SyncInit() { @@ -111,36 +111,36 @@ public async Task SyncTypeWithStartFrom() } } - [Fact] - public async Task SyncPaginationToken() - { - - SyncStack result = await client.SyncPaginationToken(PaginationToken); - - if (result == null) - { - Assert.False(true, "Entry.Fetch is not match with expected result."); - } - else - { - Assert.True(true); - } - } - - [Fact] - public async Task SyncToketest() - { - - SyncStack result = await client.SyncToken(SyncToken); - - if (result == null) - { - Assert.False(true, "Entry.Fetch is not match with expected result."); - } - else - { - Assert.True(true); - } - } + // [Fact] + // public async Task SyncPaginationToken() + // { + + // SyncStack result = await client.SyncPaginationToken(PaginationToken); + + // if (result == null) + // { + // Assert.False(true, "Entry.Fetch is not match with expected result."); + // } + // else + // { + // Assert.True(true); + // } + // } + + // [Fact] + // public async Task SyncToketest() + // { + + // SyncStack result = await client.SyncToken(SyncToken); + + // if (result == null) + // { + // Assert.False(true, "Entry.Fetch is not match with expected result."); + // } + // else + // { + // Assert.True(true); + // } + // } } } diff --git a/Contentstack.Core/Contentstack.Core.csproj b/Contentstack.Core/Contentstack.Core.csproj index 6152e98..79237b8 100644 --- a/Contentstack.Core/Contentstack.Core.csproj +++ b/Contentstack.Core/Contentstack.Core.csproj @@ -1,4 +1,4 @@ - + netstandard1.4 @@ -8,11 +8,13 @@ 2.0 Contentstack Query Find method, Entry Fetch method returns ContentstackCollection of Model. - 2.0 + 2.1.0 Copyright © 2012-2019 Contentstack. All Rights Reserved true - v2.0 + v2.1.0 + https://github.com/contentstack/contentstack-dotnet + https://github.com/contentstack/contentstack-dotnet/blob/master/LICENSE