Skip to content

Commit 5b462cf

Browse files
authored
API diff between .NET 8 and .NET 9 (#9602)
* README.md * AspNetCore * WindowsDesktop * NetCore * Fix System.Diagnostics * Fix System.Diagnostics.Metrics * Fix System.Collections.Generic
1 parent 1a13913 commit 5b462cf

File tree

114 files changed

+7758
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

114 files changed

+7758
-0
lines changed
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# API Difference 8.0.0 vs 9.0.0
2+
3+
API listing follows standard diff formatting.
4+
Lines preceded by a '+' are additions and a '-' indicates removal.
5+
6+
* [Microsoft.AspNetCore.Antiforgery](9.0.0_Microsoft.AspNetCore.Antiforgery.md)
7+
* [Microsoft.AspNetCore.Authentication](9.0.0_Microsoft.AspNetCore.Authentication.md)
8+
* [Microsoft.AspNetCore.Authentication.OAuth](9.0.0_Microsoft.AspNetCore.Authentication.OAuth.md)
9+
* [Microsoft.AspNetCore.Builder](9.0.0_Microsoft.AspNetCore.Builder.md)
10+
* [Microsoft.AspNetCore.Components](9.0.0_Microsoft.AspNetCore.Components.md)
11+
* [Microsoft.AspNetCore.Components.Authorization](9.0.0_Microsoft.AspNetCore.Components.Authorization.md)
12+
* [Microsoft.AspNetCore.Components.Endpoints.Infrastructure](9.0.0_Microsoft.AspNetCore.Components.Endpoints.Infrastructure.md)
13+
* [Microsoft.AspNetCore.Components.HtmlRendering.Infrastructure](9.0.0_Microsoft.AspNetCore.Components.HtmlRendering.Infrastructure.md)
14+
* [Microsoft.AspNetCore.Components.RenderTree](9.0.0_Microsoft.AspNetCore.Components.RenderTree.md)
15+
* [Microsoft.AspNetCore.Components.Routing](9.0.0_Microsoft.AspNetCore.Components.Routing.md)
16+
* [Microsoft.AspNetCore.Components.Server](9.0.0_Microsoft.AspNetCore.Components.Server.md)
17+
* [Microsoft.AspNetCore.Components.Web](9.0.0_Microsoft.AspNetCore.Components.Web.md)
18+
* [Microsoft.AspNetCore.Components.Web.Internal](9.0.0_Microsoft.AspNetCore.Components.Web.Internal.md)
19+
* [Microsoft.AspNetCore.Components.Web.Virtualization](9.0.0_Microsoft.AspNetCore.Components.Web.Virtualization.md)
20+
* [Microsoft.AspNetCore.Cors.Infrastructure](9.0.0_Microsoft.AspNetCore.Cors.Infrastructure.md)
21+
* [Microsoft.AspNetCore.DataProtection.KeyManagement](9.0.0_Microsoft.AspNetCore.DataProtection.KeyManagement.md)
22+
* [Microsoft.AspNetCore.DataProtection.Repositories](9.0.0_Microsoft.AspNetCore.DataProtection.Repositories.md)
23+
* [Microsoft.AspNetCore.Http](9.0.0_Microsoft.AspNetCore.Http.md)
24+
* [Microsoft.AspNetCore.Http.Features](9.0.0_Microsoft.AspNetCore.Http.Features.md)
25+
* [Microsoft.AspNetCore.Http.HttpResults](9.0.0_Microsoft.AspNetCore.Http.HttpResults.md)
26+
* [Microsoft.AspNetCore.Http.Metadata](9.0.0_Microsoft.AspNetCore.Http.Metadata.md)
27+
* [Microsoft.AspNetCore.Http.Timeouts](9.0.0_Microsoft.AspNetCore.Http.Timeouts.md)
28+
* [Microsoft.AspNetCore.Mvc](9.0.0_Microsoft.AspNetCore.Mvc.md)
29+
* [Microsoft.AspNetCore.Mvc.Infrastructure](9.0.0_Microsoft.AspNetCore.Mvc.Infrastructure.md)
30+
* [Microsoft.AspNetCore.Mvc.TagHelpers](9.0.0_Microsoft.AspNetCore.Mvc.TagHelpers.md)
31+
* [Microsoft.AspNetCore.Routing](9.0.0_Microsoft.AspNetCore.Routing.md)
32+
* [Microsoft.AspNetCore.Server.HttpSys](9.0.0_Microsoft.AspNetCore.Server.HttpSys.md)
33+
* [Microsoft.AspNetCore.Server.Kestrel](9.0.0_Microsoft.AspNetCore.Server.Kestrel.md)
34+
* [Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes](9.0.0_Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes.md)
35+
* [Microsoft.AspNetCore.StaticAssets](9.0.0_Microsoft.AspNetCore.StaticAssets.md)
36+
* [Microsoft.AspNetCore.StaticAssets.Infrastructure](9.0.0_Microsoft.AspNetCore.StaticAssets.Infrastructure.md)
37+
* [Microsoft.AspNetCore.WebUtilities](9.0.0_Microsoft.AspNetCore.WebUtilities.md)
38+
* [Microsoft.Extensions.Caching.Distributed](9.0.0_Microsoft.Extensions.Caching.Distributed.md)
39+
* [Microsoft.Extensions.Caching.Hybrid](9.0.0_Microsoft.Extensions.Caching.Hybrid.md)
40+
* [Microsoft.Extensions.Caching.Memory](9.0.0_Microsoft.Extensions.Caching.Memory.md)
41+
* [Microsoft.Extensions.DependencyInjection](9.0.0_Microsoft.Extensions.DependencyInjection.md)
42+
* [Microsoft.Extensions.FileProviders.Physical](9.0.0_Microsoft.Extensions.FileProviders.Physical.md)
43+
* [Microsoft.Extensions.Logging.Abstractions](9.0.0_Microsoft.Extensions.Logging.Abstractions.md)
44+
* [Microsoft.JSInterop](9.0.0_Microsoft.JSInterop.md)
45+
* [System.IO.Pipelines](9.0.0_System.IO.Pipelines.md)
46+
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Microsoft.AspNetCore.Antiforgery
2+
3+
``` diff
4+
namespace Microsoft.AspNetCore.Antiforgery {
5+
public class AntiforgeryOptions {
6+
+ public bool SuppressReadingTokenFromFormBody { get; set; }
7+
}
8+
}
9+
```
10+
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Microsoft.AspNetCore.Authentication.OAuth
2+
3+
``` diff
4+
namespace Microsoft.AspNetCore.Authentication.OAuth {
5+
public class OAuthOptions : RemoteAuthenticationOptions {
6+
+ public IDictionary<string, string> AdditionalAuthorizationParameters { get; }
7+
}
8+
}
9+
```
10+
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Microsoft.AspNetCore.Authentication
2+
3+
``` diff
4+
namespace Microsoft.AspNetCore.Authentication {
5+
public abstract class ResultContext<TOptions> : BaseContext<TOptions> where TOptions : AuthenticationSchemeOptions {
6+
- public AuthenticateResult Result { get; }
7+
+ public AuthenticateResult? Result { get; }
8+
}
9+
}
10+
```
11+
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# Microsoft.AspNetCore.Builder
2+
3+
``` diff
4+
namespace Microsoft.AspNetCore.Builder {
5+
+ public static class ControllerActionEndpointConventionBuilderResourceCollectionExtensions {
6+
+ public static ControllerActionEndpointConventionBuilder WithStaticAssets(this ControllerActionEndpointConventionBuilder builder, string manifestPath = null);
7+
+ }
8+
public class ExceptionHandlerOptions {
9+
+ public Func<Exception, int>? StatusCodeSelector { get; set; }
10+
}
11+
+ public static class HttpMetricsEndpointConventionBuilderExtensions {
12+
+ public static TBuilder DisableHttpMetrics<TBuilder>(this TBuilder builder) where TBuilder : IEndpointConventionBuilder;
13+
+ }
14+
+ public static class PageActionEndpointConventionBuilderResourceCollectionExtensions {
15+
+ public static PageActionEndpointConventionBuilder WithStaticAssets(this PageActionEndpointConventionBuilder builder, string? manifestPath = null);
16+
+ }
17+
public static class RateLimiterServiceCollectionExtensions {
18+
+ public static IServiceCollection AddRateLimiter(this IServiceCollection services);
19+
}
20+
public static class RazorComponentsEndpointConventionBuilderExtensions {
21+
+ public static RazorComponentsEndpointConventionBuilder WithStaticAssets(this RazorComponentsEndpointConventionBuilder builder, string? manifestPath = null);
22+
}
23+
public static class ServerRazorComponentsEndpointConventionBuilderExtensions {
24+
+ public static RazorComponentsEndpointConventionBuilder AddInteractiveServerRenderMode(this RazorComponentsEndpointConventionBuilder builder, Action<ServerComponentsEndpointOptions> configure);
25+
}
26+
+ public static class StaticAssetsEndpointRouteBuilderExtensions {
27+
+ public static StaticAssetsEndpointConventionBuilder MapStaticAssets(this IEndpointRouteBuilder endpoints, string? staticAssetsManifestPath = null);
28+
+ }
29+
public class WebSocketOptions {
30+
+ public TimeSpan KeepAliveTimeout { get; set; }
31+
}
32+
}
33+
```
34+
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Microsoft.AspNetCore.Components.Authorization
2+
3+
``` diff
4+
namespace Microsoft.AspNetCore.Components.Authorization {
5+
+ public class AuthenticationStateData {
6+
+ public AuthenticationStateData();
7+
+ public IList<ClaimData> Claims { get; set; }
8+
+ public string NameClaimType { get; set; }
9+
+ public string RoleClaimType { get; set; }
10+
+ }
11+
+ public readonly struct ClaimData {
12+
+ public ClaimData(Claim claim);
13+
+ public ClaimData(string type, string value);
14+
+ public string Type { get; }
15+
+ public string Value { get; }
16+
+ }
17+
}
18+
```
19+
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Microsoft.AspNetCore.Components.Endpoints.Infrastructure
2+
3+
``` diff
4+
namespace Microsoft.AspNetCore.Components.Endpoints.Infrastructure {
5+
public static class ComponentEndpointConventionBuilderHelper {
6+
+ public static IEndpointRouteBuilder GetEndpointRouteBuilder(RazorComponentsEndpointConventionBuilder builder);
7+
}
8+
}
9+
```
10+
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Microsoft.AspNetCore.Components.HtmlRendering.Infrastructure
2+
3+
``` diff
4+
namespace Microsoft.AspNetCore.Components.HtmlRendering.Infrastructure {
5+
public class StaticHtmlRenderer : Renderer {
6+
+ protected internal override RendererInfo RendererInfo { get; }
7+
}
8+
}
9+
```
10+
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Microsoft.AspNetCore.Components.RenderTree
2+
3+
``` diff
4+
namespace Microsoft.AspNetCore.Components.RenderTree {
5+
public abstract class Renderer : IAsyncDisposable, IDisposable {
6+
+ protected internal virtual ResourceAssetCollection Assets { get; }
7+
+ protected internal virtual RendererInfo RendererInfo { get; }
8+
}
9+
}
10+
```
11+
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Microsoft.AspNetCore.Components.Routing
2+
3+
``` diff
4+
namespace Microsoft.AspNetCore.Components.Routing {
5+
public class FocusOnNavigate : ComponentBase {
6+
+ protected override void BuildRenderTree(RenderTreeBuilder builder);
7+
}
8+
+ public static class RazorComponentsEndpointHttpContextExtensions {
9+
+ public static bool AcceptsInteractiveRouting(this HttpContext context);
10+
+ }
11+
}
12+
```
13+

0 commit comments

Comments
 (0)