From f38ebee489a8a73c4ea21c3a0fb111277b91ea1f Mon Sep 17 00:00:00 2001 From: Ryan Brandenburg Date: Wed, 14 Mar 2018 15:35:26 -0700 Subject: [PATCH] Set 2.0 baselines --- build/dependencies.props | 2 +- korebuild-lock.txt | 4 +- .../baseline.netcore.json | 104 ++++++++++++++++-- .../breakingchanges.netcore.json | 32 ------ 4 files changed, 98 insertions(+), 44 deletions(-) delete mode 100644 src/Microsoft.AspNetCore.Session/breakingchanges.netcore.json diff --git a/build/dependencies.props b/build/dependencies.props index f9e76c3d5c..fac843e97f 100644 --- a/build/dependencies.props +++ b/build/dependencies.props @@ -3,7 +3,7 @@ $(MSBuildAllProjects);$(MSBuildThisFileFullPath) - 2.1.0-preview2-15742 + 2.1.0-preview2-15744 2.1.0-preview2-30355 2.1.0-preview2-30355 2.1.0-preview2-30355 diff --git a/korebuild-lock.txt b/korebuild-lock.txt index e40ef6651b..f531e7b0f7 100644 --- a/korebuild-lock.txt +++ b/korebuild-lock.txt @@ -1,2 +1,2 @@ -version:2.1.0-preview2-15742 -commithash:21fbb0f2c3fe4a9216e2d59632b98cfd7d685962 +version:2.1.0-preview2-15744 +commithash:9e15cb6062ab5b9790d3fa699e018543a6950713 diff --git a/src/Microsoft.AspNetCore.Session/baseline.netcore.json b/src/Microsoft.AspNetCore.Session/baseline.netcore.json index 4a03419d7d..b8f0411f46 100644 --- a/src/Microsoft.AspNetCore.Session/baseline.netcore.json +++ b/src/Microsoft.AspNetCore.Session/baseline.netcore.json @@ -1,5 +1,5 @@ { - "AssemblyIdentity": "Microsoft.AspNetCore.Session, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", + "AssemblyIdentity": "Microsoft.AspNetCore.Session, Version=2.0.2.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", "Types": [ { "Name": "Microsoft.Extensions.DependencyInjection.SessionServiceCollectionExtensions", @@ -99,6 +99,69 @@ "Kind": "Class", "ImplementedInterfaces": [], "Members": [ + { + "Kind": "Method", + "Name": "get_Cookie", + "Parameters": [], + "ReturnType": "Microsoft.AspNetCore.Http.CookieBuilder", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "set_Cookie", + "Parameters": [ + { + "Name": "value", + "Type": "Microsoft.AspNetCore.Http.CookieBuilder" + } + ], + "ReturnType": "System.Void", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "get_IdleTimeout", + "Parameters": [], + "ReturnType": "System.TimeSpan", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "set_IdleTimeout", + "Parameters": [ + { + "Name": "value", + "Type": "System.TimeSpan" + } + ], + "ReturnType": "System.Void", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "get_IOTimeout", + "Parameters": [], + "ReturnType": "System.TimeSpan", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "set_IOTimeout", + "Parameters": [ + { + "Name": "value", + "Type": "System.TimeSpan" + } + ], + "ReturnType": "System.Void", + "Visibility": "Public", + "GenericParameter": [] + }, { "Kind": "Method", "Name": "get_CookieName", @@ -185,19 +248,19 @@ }, { "Kind": "Method", - "Name": "get_IdleTimeout", + "Name": "get_CookieSecure", "Parameters": [], - "ReturnType": "System.TimeSpan", + "ReturnType": "Microsoft.AspNetCore.Http.CookieSecurePolicy", "Visibility": "Public", "GenericParameter": [] }, { "Kind": "Method", - "Name": "set_IdleTimeout", + "Name": "set_CookieSecure", "Parameters": [ { "Name": "value", - "Type": "System.TimeSpan" + "Type": "Microsoft.AspNetCore.Http.CookieSecurePolicy" } ], "ReturnType": "System.Void", @@ -326,7 +389,13 @@ { "Kind": "Method", "Name": "LoadAsync", - "Parameters": [], + "Parameters": [ + { + "Name": "cancellationToken", + "Type": "System.Threading.CancellationToken", + "DefaultValue": "default(System.Threading.CancellationToken)" + } + ], "ReturnType": "System.Threading.Tasks.Task", "Sealed": true, "Virtual": true, @@ -337,7 +406,13 @@ { "Kind": "Method", "Name": "CommitAsync", - "Parameters": [], + "Parameters": [ + { + "Name": "cancellationToken", + "Type": "System.Threading.CancellationToken", + "DefaultValue": "default(System.Threading.CancellationToken)" + } + ], "ReturnType": "System.Threading.Tasks.Task", "Sealed": true, "Virtual": true, @@ -361,6 +436,10 @@ "Name": "idleTimeout", "Type": "System.TimeSpan" }, + { + "Name": "ioTimeout", + "Type": "System.TimeSpan" + }, { "Name": "tryEstablishSession", "Type": "System.Func" @@ -400,6 +479,10 @@ "Name": "idleTimeout", "Type": "System.TimeSpan" }, + { + "Name": "ioTimeout", + "Type": "System.TimeSpan" + }, { "Name": "tryEstablishSession", "Type": "System.Func" @@ -454,6 +537,10 @@ "Name": "idleTimeout", "Type": "System.TimeSpan" }, + { + "Name": "ioTimeout", + "Type": "System.TimeSpan" + }, { "Name": "tryEstablishSession", "Type": "System.Func" @@ -596,6 +683,5 @@ ], "GenericParameters": [] } - ], - "SourceFilters": [] + ] } \ No newline at end of file diff --git a/src/Microsoft.AspNetCore.Session/breakingchanges.netcore.json b/src/Microsoft.AspNetCore.Session/breakingchanges.netcore.json deleted file mode 100644 index 3b5489de5a..0000000000 --- a/src/Microsoft.AspNetCore.Session/breakingchanges.netcore.json +++ /dev/null @@ -1,32 +0,0 @@ -[ - { - "TypeId": "public interface Microsoft.AspNetCore.Session.ISessionStore", - "MemberId": "Microsoft.AspNetCore.Http.ISession Create(System.String sessionKey, System.TimeSpan idleTimeout, System.Func tryEstablishSession, System.Boolean isNewSessionKey)", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Session.DistributedSession : Microsoft.AspNetCore.Http.ISession", - "MemberId": "public .ctor(Microsoft.Extensions.Caching.Distributed.IDistributedCache cache, System.String sessionKey, System.TimeSpan idleTimeout, System.Func tryEstablishSession, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, System.Boolean isNewSessionKey)", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Session.DistributedSession : Microsoft.AspNetCore.Http.ISession", - "MemberId": "public System.Threading.Tasks.Task CommitAsync()", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Session.DistributedSession : Microsoft.AspNetCore.Http.ISession", - "MemberId": "public System.Threading.Tasks.Task LoadAsync()", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Session.DistributedSessionStore : Microsoft.AspNetCore.Session.ISessionStore", - "MemberId": "public Microsoft.AspNetCore.Http.ISession Create(System.String sessionKey, System.TimeSpan idleTimeout, System.Func tryEstablishSession, System.Boolean isNewSessionKey)", - "Kind": "Removal" - }, - { - "TypeId": "public interface Microsoft.AspNetCore.Session.ISessionStore", - "MemberId": "Microsoft.AspNetCore.Http.ISession Create(System.String sessionKey, System.TimeSpan idleTimeout, System.TimeSpan ioTimeout, System.Func tryEstablishSession, System.Boolean isNewSessionKey)", - "Kind": "Addition" - } -] \ No newline at end of file