Skip to content

Commit b8eeef0

Browse files
github-actions[bot]Copilotjeffhandley
authored
API diff between .NET 10 and .NET 11 (#10484)
* API diff 10.0-ga -> 11.0-preview.7 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * API diff 10.0-ga -> 11.0-preview.7 * API diff 10.0-ga -> 11.0-rc.1 * API diff 10.0-ga -> 11.0-rc.1 * API diff 10.0-ga -> 11.0-rc.1 * API diff 10.0-ga -> 11.0-rc.1 * API diff 10.0-ga -> 11.0-rc.1 * API diff 10.0-ga -> 11.0-rc.1 * API diff 10.0-ga -> 11.0-rc.1 * API diff 10.0-ga -> 11.0-rc.1 * API diff 10.0-ga -> 11.0-rc.2 * API diff 10.0-ga -> 11.0-rc.2 * API diff 10.0-ga -> 11.0-rc.2 * API diff 10.0-ga -> 11.0-rc.2 * Update .NET 10 to .NET 11 API Diff to .NET 11 GA API surface --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: Jeff Handley <jeffhandley@users.noreply.github.com>
1 parent 4ac408d commit b8eeef0

103 files changed

Lines changed: 11274 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
# API difference between .NET 10.0 GA and .NET 11.0 GA
2+
3+
API listing follows standard diff formatting.
4+
Lines preceded by a '+' are additions and a '-' indicates removal.
5+
6+
* [Microsoft.AspNetCore.Authorization](11.0.0_Microsoft.AspNetCore.Authorization.md)
7+
* [Microsoft.AspNetCore.Components](11.0.0_Microsoft.AspNetCore.Components.md)
8+
* [Microsoft.AspNetCore.Components.Authorization](11.0.0_Microsoft.AspNetCore.Components.Authorization.md)
9+
* [Microsoft.AspNetCore.Components.Endpoints](11.0.0_Microsoft.AspNetCore.Components.Endpoints.md)
10+
* [Microsoft.AspNetCore.Components.Forms](11.0.0_Microsoft.AspNetCore.Components.Forms.md)
11+
* [Microsoft.AspNetCore.Components.Server](11.0.0_Microsoft.AspNetCore.Components.Server.md)
12+
* [Microsoft.AspNetCore.Components.Web](11.0.0_Microsoft.AspNetCore.Components.Web.md)
13+
* [Microsoft.AspNetCore.Connections.Abstractions](11.0.0_Microsoft.AspNetCore.Connections.Abstractions.md)
14+
* [Microsoft.AspNetCore.DataProtection](11.0.0_Microsoft.AspNetCore.DataProtection.md)
15+
* [Microsoft.AspNetCore.DataProtection.Abstractions](11.0.0_Microsoft.AspNetCore.DataProtection.Abstractions.md)
16+
* [Microsoft.AspNetCore.Http.Abstractions](11.0.0_Microsoft.AspNetCore.Http.Abstractions.md)
17+
* [Microsoft.AspNetCore.Http.Connections](11.0.0_Microsoft.AspNetCore.Http.Connections.md)
18+
* [Microsoft.AspNetCore.Http.Connections.Common](11.0.0_Microsoft.AspNetCore.Http.Connections.Common.md)
19+
* [Microsoft.AspNetCore.Http.Features](11.0.0_Microsoft.AspNetCore.Http.Features.md)
20+
* [Microsoft.AspNetCore.Http.Results](11.0.0_Microsoft.AspNetCore.Http.Results.md)
21+
* [Microsoft.AspNetCore.Mvc.Abstractions](11.0.0_Microsoft.AspNetCore.Mvc.Abstractions.md)
22+
* [Microsoft.AspNetCore.Mvc.Core](11.0.0_Microsoft.AspNetCore.Mvc.Core.md)
23+
* [Microsoft.AspNetCore.Mvc.TagHelpers](11.0.0_Microsoft.AspNetCore.Mvc.TagHelpers.md)
24+
* [Microsoft.AspNetCore.OutputCaching](11.0.0_Microsoft.AspNetCore.OutputCaching.md)
25+
* [Microsoft.AspNetCore.ResponseCompression](11.0.0_Microsoft.AspNetCore.ResponseCompression.md)
26+
* [Microsoft.AspNetCore.Routing](11.0.0_Microsoft.AspNetCore.Routing.md)
27+
* [Microsoft.AspNetCore.Server.HttpSys](11.0.0_Microsoft.AspNetCore.Server.HttpSys.md)
28+
* [Microsoft.AspNetCore.Server.Kestrel.Core](11.0.0_Microsoft.AspNetCore.Server.Kestrel.Core.md)
29+
* [Microsoft.AspNetCore.Server.Kestrel.Transport.Quic](11.0.0_Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.md)
30+
* [Microsoft.AspNetCore.SignalR.Core](11.0.0_Microsoft.AspNetCore.SignalR.Core.md)
31+
* [Microsoft.AspNetCore.StaticAssets](11.0.0_Microsoft.AspNetCore.StaticAssets.md)
32+
* [Microsoft.Extensions.Caching.Abstractions](11.0.0_Microsoft.Extensions.Caching.Abstractions.md)
33+
* [Microsoft.Extensions.Caching.Memory](11.0.0_Microsoft.Extensions.Caching.Memory.md)
34+
* [Microsoft.Extensions.Configuration.Abstractions](11.0.0_Microsoft.Extensions.Configuration.Abstractions.md)
35+
* [Microsoft.Extensions.Configuration.EnvironmentVariables](11.0.0_Microsoft.Extensions.Configuration.EnvironmentVariables.md)
36+
* [Microsoft.Extensions.DependencyInjection.Abstractions](11.0.0_Microsoft.Extensions.DependencyInjection.Abstractions.md)
37+
* [Microsoft.Extensions.Diagnostics](11.0.0_Microsoft.Extensions.Diagnostics.md)
38+
* [Microsoft.Extensions.Diagnostics.Abstractions](11.0.0_Microsoft.Extensions.Diagnostics.Abstractions.md)
39+
* [Microsoft.Extensions.FileProviders.Abstractions](11.0.0_Microsoft.Extensions.FileProviders.Abstractions.md)
40+
* [Microsoft.Extensions.Hosting.Abstractions](11.0.0_Microsoft.Extensions.Hosting.Abstractions.md)
41+
* [Microsoft.Extensions.Identity.Core](11.0.0_Microsoft.Extensions.Identity.Core.md)
42+
* [Microsoft.Extensions.Identity.Stores](11.0.0_Microsoft.Extensions.Identity.Stores.md)
43+
* [Microsoft.Extensions.Logging.Abstractions](11.0.0_Microsoft.Extensions.Logging.Abstractions.md)
44+
* [Microsoft.Extensions.Options](11.0.0_Microsoft.Extensions.Options.md)
45+
* [Microsoft.Extensions.Options.DataAnnotations](11.0.0_Microsoft.Extensions.Options.DataAnnotations.md)
46+
* [Microsoft.Extensions.Primitives](11.0.0_Microsoft.Extensions.Primitives.md)
47+
* [Microsoft.Extensions.Validation](11.0.0_Microsoft.Extensions.Validation.md)
48+
* [System.Diagnostics.EventLog](11.0.0_System.Diagnostics.EventLog.md)
49+
* [System.Formats.Cbor](11.0.0_System.Formats.Cbor.md)
50+
* [System.Security.Cryptography.Pkcs](11.0.0_System.Security.Cryptography.Pkcs.md)
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Microsoft.AspNetCore.Authorization
2+
3+
```diff
4+
namespace Microsoft.AspNetCore.Authorization
5+
{
6+
public class AuthorizationPolicy
7+
{
8+
+ public static System.Threading.Tasks.Task<Microsoft.AspNetCore.Authorization.AuthorizationPolicy?> CombineAsync(Microsoft.AspNetCore.Authorization.IAuthorizationPolicyProvider policyProvider, System.Collections.Generic.IEnumerable<object> metadata);
9+
}
10+
}
11+
```
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Microsoft.AspNetCore.Components.Authorization
2+
3+
```diff
4+
namespace Microsoft.AspNetCore.Components.Authorization
5+
{
6+
+ [Microsoft.AspNetCore.Components.CacheBehaviorAttribute(Microsoft.AspNetCore.Components.CacheBehavior.Throw)]
7+
+ [Microsoft.AspNetCore.Components.CacheConditionAttribute(Microsoft.AspNetCore.Components.CacheVaryBy.User)]
8+
public abstract class AuthorizeViewCore : Microsoft.AspNetCore.Components.ComponentBase
9+
{
10+
}
11+
}
12+
```
Lines changed: 135 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,135 @@
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 WithBrowserOptions(this Microsoft.AspNetCore.Builder.RazorComponentsEndpointConventionBuilder builder, System.Action<Microsoft.AspNetCore.Components.BrowserOptions> configureOptions);
9+
}
10+
}
11+
namespace Microsoft.AspNetCore.Components
12+
{
13+
+ public sealed class BasePath : Microsoft.AspNetCore.Components.IComponent
14+
+ {
15+
+ public BasePath();
16+
+ void Microsoft.AspNetCore.Components.IComponent.Attach(Microsoft.AspNetCore.Components.RenderHandle renderHandle);
17+
+ System.Threading.Tasks.Task Microsoft.AspNetCore.Components.IComponent.SetParametersAsync(Microsoft.AspNetCore.Components.ParameterView parameters);
18+
+ }
19+
+ public sealed class BrowserOptions
20+
+ {
21+
+ public BrowserOptions();
22+
+ public static Microsoft.AspNetCore.Components.BrowserOptions GetBrowserOptions(Microsoft.AspNetCore.Http.HttpContext context);
23+
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("server")]
24+
+ public Microsoft.AspNetCore.Components.InteractiveServerBrowserOptions InteractiveServer { get; }
25+
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("webAssembly")]
26+
+ public Microsoft.AspNetCore.Components.InteractiveWebAssemblyBrowserOptions InteractiveWebAssembly { get; }
27+
+ public Microsoft.Extensions.Logging.LogLevel? LogLevel { get; set; }
28+
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("ssr")]
29+
+ public Microsoft.AspNetCore.Components.StaticServerBrowserOptions StaticServer { get; }
30+
+ }
31+
+ public sealed class CacheView : Microsoft.AspNetCore.Components.IComponent, System.IDisposable
32+
+ {
33+
+ public CacheView();
34+
+ public void Dispose();
35+
+ void Microsoft.AspNetCore.Components.IComponent.Attach(Microsoft.AspNetCore.Components.RenderHandle renderHandle);
36+
+ System.Threading.Tasks.Task? Microsoft.AspNetCore.Components.IComponent.SetParametersAsync(Microsoft.AspNetCore.Components.ParameterView parameters);
37+
+ [Microsoft.AspNetCore.Components.ParameterAttribute]
38+
+ public string? CacheKey { get; set; }
39+
+ [Microsoft.AspNetCore.Components.ParameterAttribute]
40+
+ public Microsoft.AspNetCore.Components.RenderFragment? ChildContent { get; set; }
41+
+ [Microsoft.AspNetCore.Components.ParameterAttribute]
42+
+ public bool Enabled { get; set; }
43+
+ [Microsoft.AspNetCore.Components.ParameterAttribute]
44+
+ public System.TimeSpan? ExpiresAfter { get; set; }
45+
+ [Microsoft.AspNetCore.Components.ParameterAttribute]
46+
+ public System.DateTimeOffset? ExpiresOn { get; set; }
47+
+ [Microsoft.AspNetCore.Components.ParameterAttribute]
48+
+ public System.TimeSpan? ExpiresSliding { get; set; }
49+
+ [Microsoft.AspNetCore.Components.ParameterAttribute]
50+
+ public string? VaryBy { get; set; }
51+
+ [Microsoft.AspNetCore.Components.ParameterAttribute]
52+
+ public string? VaryByCookie { get; set; }
53+
+ [Microsoft.AspNetCore.Components.ParameterAttribute]
54+
+ public bool VaryByCulture { get; set; }
55+
+ [Microsoft.AspNetCore.Components.ParameterAttribute]
56+
+ public string? VaryByHeader { get; set; }
57+
+ [Microsoft.AspNetCore.Components.ParameterAttribute]
58+
+ public string? VaryByQuery { get; set; }
59+
+ [Microsoft.AspNetCore.Components.ParameterAttribute]
60+
+ public string? VaryByRoute { get; set; }
61+
+ [Microsoft.AspNetCore.Components.ParameterAttribute]
62+
+ public bool VaryByUser { get; set; }
63+
+ }
64+
+ public sealed class ConfigureBrowser : Microsoft.AspNetCore.Components.IComponent
65+
+ {
66+
+ public ConfigureBrowser();
67+
+ void Microsoft.AspNetCore.Components.IComponent.Attach(Microsoft.AspNetCore.Components.RenderHandle renderHandle);
68+
+ System.Threading.Tasks.Task Microsoft.AspNetCore.Components.IComponent.SetParametersAsync(Microsoft.AspNetCore.Components.ParameterView parameters);
69+
+ [Microsoft.AspNetCore.Components.ParameterAttribute]
70+
+ [Microsoft.AspNetCore.Components.EditorRequiredAttribute]
71+
+ public Microsoft.AspNetCore.Components.BrowserOptions Options { get; set; }
72+
+ }
73+
+ public sealed class InteractiveServerBrowserOptions
74+
+ {
75+
+ public InteractiveServerBrowserOptions();
76+
+ [System.Text.Json.Serialization.JsonExtensionDataAttribute]
77+
+ public System.Collections.Generic.IDictionary<string, System.Text.Json.JsonElement> Extensions { get; }
78+
+ public string? ReconnectionDialogId { get; set; }
79+
+ public int? ReconnectionMaxRetries { get; set; }
80+
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("reconnectionRetryIntervalMilliseconds")]
81+
+ public System.TimeSpan? ReconnectionRetryInterval { get; set; }
82+
+ }
83+
+ public sealed class InteractiveWebAssemblyBrowserOptions
84+
+ {
85+
+ public InteractiveWebAssemblyBrowserOptions();
86+
+ public string? ApplicationCulture { get; set; }
87+
+ public string? EnvironmentName { get; set; }
88+
+ public System.Collections.Generic.IDictionary<string, string> EnvironmentVariables { get; }
89+
+ }
90+
+ public interface ITempData : System.Collections.Generic.IDictionary<string, object?>, System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<string, object?>>, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string, object?>>, System.Collections.IEnumerable
91+
+ {
92+
+ object? Get(string key);
93+
+ void Keep();
94+
+ void Keep(string key);
95+
+ object? Peek(string key);
96+
+ }
97+
+ public sealed class StaticServerBrowserOptions
98+
+ {
99+
+ public StaticServerBrowserOptions();
100+
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("circuitInactivityTimeoutMs")]
101+
+ public System.TimeSpan? CircuitInactivityTimeout { get; set; }
102+
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("disableDomPreservation")]
103+
+ public bool? PreserveDom { get; set; }
104+
+ }
105+
}
106+
namespace Microsoft.AspNetCore.Components.Endpoints
107+
{
108+
public sealed class RazorComponentsServiceOptions
109+
{
110+
+ public Microsoft.Extensions.Caching.Hybrid.HybridCache? CacheViewHybridCache { get; set; }
111+
+ public long CacheViewSizeLimit { get; set; }
112+
+ public bool DisableClientValidation { get; set; }
113+
+ public Microsoft.AspNetCore.Http.CookieBuilder TempDataCookie { get; set; }
114+
+ public Microsoft.AspNetCore.Components.Endpoints.TempDataProviderType TempDataProviderType { get; set; }
115+
}
116+
+ public enum TempDataProviderType
117+
+ {
118+
+ Cookie = 0,
119+
+ SessionStorage = 1,
120+
+ }
121+
}
122+
+ namespace Microsoft.AspNetCore.Components.Forms
123+
+ {
124+
+ public sealed class ClientValidationRule
125+
+ {
126+
+ public ClientValidationRule(string name, System.Collections.Generic.IReadOnlyDictionary<string, string>? parameters = null);
127+
+ public string Name { get; }
128+
+ public System.Collections.Generic.IReadOnlyDictionary<string, string> Parameters { get; }
129+
+ }
130+
+ public interface IClientValidationRuleProvider
131+
+ {
132+
+ System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Components.Forms.ClientValidationRule> GetClientValidationRules();
133+
+ }
134+
+ }
135+
```
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# Microsoft.AspNetCore.Components.Forms
2+
3+
```diff
4+
namespace Microsoft.AspNetCore.Components.Forms
5+
{
6+
public class DataAnnotationsValidator : Microsoft.AspNetCore.Components.ComponentBase, System.IDisposable
7+
{
8+
+ [Microsoft.AspNetCore.Components.ParameterAttribute]
9+
+ public bool DisableClientValidation { get; set; }
10+
}
11+
public sealed class EditContext
12+
{
13+
+ [System.ObsoleteAttribute("Validate is obsolete. Use ValidateAsync instead.")]
14+
public bool Validate();
15+
+ public bool IsValidationFaulted();
16+
+ public bool IsValidationFaulted(in Microsoft.AspNetCore.Components.Forms.FieldIdentifier fieldIdentifier);
17+
+ public bool IsValidationFaulted<TField>(System.Linq.Expressions.Expression<System.Func<TField>> accessor);
18+
+ public bool IsValidationPending();
19+
+ public bool IsValidationPending(in Microsoft.AspNetCore.Components.Forms.FieldIdentifier fieldIdentifier);
20+
+ public bool IsValidationPending<TField>(System.Linq.Expressions.Expression<System.Func<TField>> accessor);
21+
+ public void RegisterAsyncFieldValidator(in Microsoft.AspNetCore.Components.Forms.FieldIdentifier fieldIdentifier, System.Func<System.Threading.CancellationToken, System.Threading.Tasks.Task> validator);
22+
+ public System.Threading.Tasks.Task<bool> ValidateAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
23+
}
24+
public static class EditContextDataAnnotationsExtensions
25+
{
26+
- [System.ObsoleteAttribute("Use EnableDataAnnotationsValidation instead.")]
27+
- public static Microsoft.AspNetCore.Components.Forms.EditContext AddDataAnnotationsValidation(this Microsoft.AspNetCore.Components.Forms.EditContext editContext);
28+
+ public static System.IDisposable EnableDataAnnotationsValidation(this Microsoft.AspNetCore.Components.Forms.EditContext editContext, System.IServiceProvider serviceProvider);
29+
- public static System.IDisposable EnableDataAnnotationsValidation(this Microsoft.AspNetCore.Components.Forms.EditContext editContext, System.IServiceProvider serviceProvider);
30+
- [System.ObsoleteAttribute("This API is obsolete and may be removed in future versions. Use the overload that accepts an IServiceProvider instead.")]
31+
- public static System.IDisposable EnableDataAnnotationsValidation(this Microsoft.AspNetCore.Components.Forms.EditContext editContext);
32+
}
33+
public sealed class ValidationRequestedEventArgs : System.EventArgs
34+
{
35+
+ public void AddAsyncValidator(System.Func<System.Threading.CancellationToken, System.Threading.Tasks.Task> validator);
36+
}
37+
}
38+
```
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Microsoft.AspNetCore.Components.Server
2+
3+
```diff
4+
namespace Microsoft.AspNetCore.Components.Server
5+
{
6+
public sealed class CircuitOptions
7+
{
8+
+ [System.Diagnostics.CodeAnalysis.ExperimentalAttribute("ASPNETCORE9004", UrlFormat = "https://aka.ms/aspnet/analyzer/{0}")]
9+
+ public System.Collections.Generic.IList<System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver> JsonTypeInfoResolvers { get; }
10+
}
11+
public class ServerComponentsEndpointOptions
12+
{
13+
+ public System.Action<Microsoft.AspNetCore.Http.Connections.HttpConnectionDispatcherOptions>? ConfigureConnection { get; set; }
14+
}
15+
}
16+
namespace Microsoft.AspNetCore.Components.Server.Circuits
17+
{
18+
public sealed class Circuit
19+
{
20+
+ public System.Threading.Tasks.Task<bool> RequestCircuitPauseAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
21+
}
22+
}
23+
```

0 commit comments

Comments
 (0)