Skip to content

Commit 5dce46f

Browse files
authored
API diff between .NET 11 Preview 3 and .NET 11 Preview 4 (dotnet#10403)
1 parent 8f61bf4 commit 5dce46f

39 files changed

Lines changed: 1393 additions & 0 deletions

File tree

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# API difference between .NET 11.0 Preview 3 and .NET 11.0 Preview 4
2+
3+
API listing follows standard diff formatting.
4+
Lines preceded by a '+' are additions and a '-' indicates removal.
5+
6+
* [Microsoft.AspNetCore.Components](11.0-preview4_Microsoft.AspNetCore.Components.md)
7+
* [Microsoft.AspNetCore.Components.Endpoints](11.0-preview4_Microsoft.AspNetCore.Components.Endpoints.md)
8+
* [Microsoft.AspNetCore.Components.Web](11.0-preview4_Microsoft.AspNetCore.Components.Web.md)
9+
* [Microsoft.AspNetCore.Connections.Abstractions](11.0-preview4_Microsoft.AspNetCore.Connections.Abstractions.md)
10+
* [Microsoft.AspNetCore.Server.Kestrel.Core](11.0-preview4_Microsoft.AspNetCore.Server.Kestrel.Core.md)
11+
* [Microsoft.AspNetCore.StaticAssets](11.0-preview4_Microsoft.AspNetCore.StaticAssets.md)
12+
* [Microsoft.Extensions.Caching.Abstractions](11.0-preview4_Microsoft.Extensions.Caching.Abstractions.md)
13+
* [Microsoft.Extensions.Caching.Memory](11.0-preview4_Microsoft.Extensions.Caching.Memory.md)
14+
* [Microsoft.Extensions.Configuration.Abstractions](11.0-preview4_Microsoft.Extensions.Configuration.Abstractions.md)
15+
* [Microsoft.Extensions.DependencyInjection.Abstractions](11.0-preview4_Microsoft.Extensions.DependencyInjection.Abstractions.md)
16+
* [Microsoft.Extensions.Diagnostics.Abstractions](11.0-preview4_Microsoft.Extensions.Diagnostics.Abstractions.md)
17+
* [Microsoft.Extensions.FileProviders.Abstractions](11.0-preview4_Microsoft.Extensions.FileProviders.Abstractions.md)
18+
* [Microsoft.Extensions.Hosting.Abstractions](11.0-preview4_Microsoft.Extensions.Hosting.Abstractions.md)
19+
* [Microsoft.Extensions.Logging.Abstractions](11.0-preview4_Microsoft.Extensions.Logging.Abstractions.md)
20+
* [Microsoft.Extensions.Options](11.0-preview4_Microsoft.Extensions.Options.md)
21+
* [Microsoft.Extensions.Primitives](11.0-preview4_Microsoft.Extensions.Primitives.md)
22+
* [System.Diagnostics.EventLog](11.0-preview4_System.Diagnostics.EventLog.md)
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Microsoft.AspNetCore.Components.Endpoints
2+
3+
```diff
4+
namespace Microsoft.AspNetCore.Builder
5+
{
6+
public static class RazorComponentsEndpointConventionBuilderExtensions
7+
{
8+
+ public static Microsoft.AspNetCore.Builder.RazorComponentsEndpointConventionBuilder WithBrowserConfiguration(this Microsoft.AspNetCore.Builder.RazorComponentsEndpointConventionBuilder builder, System.Action<Microsoft.AspNetCore.Components.BrowserConfiguration> configure);
9+
}
10+
}
11+
namespace Microsoft.AspNetCore.Components
12+
{
13+
+ public sealed class ConfigureBrowser : Microsoft.AspNetCore.Components.IComponent
14+
+ {
15+
+ public ConfigureBrowser();
16+
+ [Microsoft.AspNetCore.Components.ParameterAttribute]
17+
+ [Microsoft.AspNetCore.Components.EditorRequiredAttribute]
18+
+ public Microsoft.AspNetCore.Components.BrowserConfiguration Configuration { get; set; }
19+
+ [Microsoft.AspNetCore.Components.CascadingParameterAttribute]
20+
+ public Microsoft.AspNetCore.Http.HttpContext? HttpContext { get; set; }
21+
+ }
22+
}
23+
+ namespace Microsoft.AspNetCore.Http
24+
+ {
25+
+ public static class BrowserConfigurationHttpContextExtensions
26+
+ {
27+
+ public static Microsoft.AspNetCore.Components.BrowserConfiguration GetBrowserConfiguration(this Microsoft.AspNetCore.Http.HttpContext context);
28+
+ }
29+
+ }
30+
```
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Microsoft.AspNetCore.Components.Web
2+
3+
```diff
4+
namespace Microsoft.AspNetCore.Components.Web
5+
{
6+
+ public sealed class SupplyParameterFromTempDataAttribute : Microsoft.AspNetCore.Components.CascadingParameterAttributeBase
7+
+ {
8+
+ public SupplyParameterFromTempDataAttribute();
9+
+ public string? Name { get; set; }
10+
+ }
11+
}
12+
```
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
# Microsoft.AspNetCore.Components
2+
3+
```diff
4+
namespace Microsoft.AspNetCore.Components
5+
{
6+
+ public sealed class BrowserConfiguration
7+
+ {
8+
+ public BrowserConfiguration();
9+
+ public int? LogLevel { get; set; }
10+
+ public Microsoft.AspNetCore.Components.ServerBrowserOptions Server { get; set; }
11+
+ public Microsoft.AspNetCore.Components.SsrBrowserOptions Ssr { get; set; }
12+
+ public Microsoft.AspNetCore.Components.WebAssemblyBrowserOptions WebAssembly { get; set; }
13+
+ }
14+
+ public abstract class CascadingParameterSubscription : System.IDisposable
15+
+ {
16+
+ protected CascadingParameterSubscription();
17+
+ public abstract void Dispose();
18+
+ public abstract object? GetCurrentValue();
19+
+ }
20+
+ public sealed class ServerBrowserOptions
21+
+ {
22+
+ public ServerBrowserOptions();
23+
+ public string? ReconnectionDialogId { get; set; }
24+
+ public int? ReconnectionMaxRetries { get; set; }
25+
+ public int? ReconnectionRetryIntervalMilliseconds { get; set; }
26+
+ }
27+
+ public sealed class SsrBrowserOptions
28+
+ {
29+
+ public SsrBrowserOptions();
30+
+ public int? CircuitInactivityTimeoutMs { get; set; }
31+
+ public bool? DisableDomPreservation { get; set; }
32+
+ }
33+
+ public sealed class WebAssemblyBrowserOptions
34+
+ {
35+
+ public WebAssemblyBrowserOptions();
36+
+ public string? ApplicationCulture { get; set; }
37+
+ public string? EnvironmentName { get; set; }
38+
+ public System.Collections.Generic.Dictionary<string, string> EnvironmentVariables { get; set; }
39+
+ }
40+
}
41+
namespace Microsoft.Extensions.DependencyInjection
42+
{
43+
public static class CascadingValueServiceCollectionExtensions
44+
{
45+
+ public static Microsoft.Extensions.DependencyInjection.IServiceCollection TryAddCascadingValueSupplier<TAttribute>(this Microsoft.Extensions.DependencyInjection.IServiceCollection serviceCollection, System.Func<System.IServiceProvider, System.Func<Microsoft.AspNetCore.Components.Rendering.ComponentState, TAttribute, Microsoft.AspNetCore.Components.CascadingParameterInfo, Microsoft.AspNetCore.Components.CascadingParameterSubscription>> subscribeFactory)
46+
+ where TAttribute : Microsoft.AspNetCore.Components.CascadingParameterAttributeBase;
47+
}
48+
}
49+
```
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Microsoft.AspNetCore.Connections.Abstractions
2+
3+
```diff
4+
namespace Microsoft.AspNetCore.Connections.Features
5+
{
6+
public interface ITlsHandshakeFeature
7+
{
8+
+ System.Exception? Exception { get; }
9+
}
10+
}
11+
```
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Microsoft.AspNetCore.Server.Kestrel.Core
2+
3+
```diff
4+
namespace Microsoft.AspNetCore.Hosting
5+
{
6+
public static class ListenOptionsHttpsExtensions
7+
{
8+
+ public static Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions UseTlsClientHelloListener(this Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions listenOptions, System.Action<Microsoft.AspNetCore.Connections.ConnectionContext, System.Buffers.ReadOnlySequence<byte>> tlsClientHelloBytesCallback, System.TimeSpan? timeout = null);
9+
}
10+
}
11+
namespace Microsoft.AspNetCore.Server.Kestrel.Https
12+
{
13+
public class HttpsConnectionAdapterOptions
14+
{
15+
+ [System.ObsoleteAttribute("Use ListenOptions.UseTlsClientHelloListener() instead.", false)]
16+
public System.Action<Microsoft.AspNetCore.Connections.ConnectionContext, System.Buffers.ReadOnlySequence<byte>>? TlsClientHelloBytesCallback { get; set; }
17+
}
18+
}
19+
```
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Microsoft.AspNetCore.StaticAssets
2+
3+
```diff
4+
namespace Microsoft.AspNetCore.StaticAssets
5+
{
6+
public sealed class StaticAssetDescriptor
7+
{
8+
+ [System.Text.Json.Serialization.JsonIgnoreAttribute(Condition = System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull)]
9+
+ public string? Order { get; set; }
10+
}
11+
}
12+
```
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Microsoft.Extensions.Caching.Abstractions
2+
3+
This assembly was moved to [Microsoft.NETCore.App](../Microsoft.NETCore.App/11.0-preview4_Microsoft.Extensions.Caching.Abstractions.md).
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Microsoft.Extensions.Caching.Memory
2+
3+
```diff
4+
namespace Microsoft.Extensions.Caching.Memory
5+
{
6+
public class MemoryCache : Microsoft.Extensions.Caching.Memory.IMemoryCache, System.IDisposable
7+
{
8+
- public MemoryCache(Microsoft.Extensions.Options.IOptions<Microsoft.Extensions.Caching.Memory.MemoryCacheOptions> optionsAccessor, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory);
9+
+ public MemoryCache(Microsoft.Extensions.Options.IOptions<Microsoft.Extensions.Caching.Memory.MemoryCacheOptions> optionsAccessor, Microsoft.Extensions.Logging.ILoggerFactory? loggerFactory);
10+
+ public MemoryCache(Microsoft.Extensions.Options.IOptions<Microsoft.Extensions.Caching.Memory.MemoryCacheOptions> optionsAccessor, Microsoft.Extensions.Logging.ILoggerFactory? loggerFactory, System.Diagnostics.Metrics.IMeterFactory? meterFactory);
11+
}
12+
public class MemoryCacheOptions : Microsoft.Extensions.Options.IOptions<Microsoft.Extensions.Caching.Memory.MemoryCacheOptions>
13+
{
14+
+ public string Name { get; set; }
15+
}
16+
}
17+
```
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Microsoft.Extensions.Configuration.Abstractions
2+
3+
This assembly was moved to [Microsoft.NETCore.App](../Microsoft.NETCore.App/11.0-preview4_Microsoft.Extensions.Configuration.Abstractions.md).

0 commit comments

Comments
 (0)