1
0
mirror of synced 2025-12-19 18:06:02 -05:00

API Diff .NET 10.0 RC2 -> 10.0 GA (#10148)

* API Diff .NET 10.0 RC2 -> 10.0 GA

* Fix formatting for markdown linter

* Update release-notes/10.0/preview/ga/api-diff/Microsoft.WindowsDesktop.App/10.0-ga.md

Co-authored-by: Eric StJohn <ericstj@microsoft.com>

---------

Co-authored-by: James Montemagno <james.montemagno@gmail.com>
Co-authored-by: Eric StJohn <ericstj@microsoft.com>
This commit is contained in:
Pranav Senthilnathan
2025-11-14 15:00:49 -08:00
committed by GitHub
parent 712e32ba92
commit 75cd0d228e
10 changed files with 122 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
# API difference between .NET 10.0 RC 2 and .NET 10.0 GA
API listing follows standard diff formatting.
Lines preceded by a '+' are additions and a '-' indicates removal.
* [Microsoft.AspNetCore](10.0-ga_Microsoft.AspNetCore.md)
* [Microsoft.AspNetCore.Hosting](10.0-ga_Microsoft.AspNetCore.Hosting.md)
* [Microsoft.AspNetCore.Hosting.Abstractions](10.0-ga_Microsoft.AspNetCore.Hosting.Abstractions.md)
* [Microsoft.AspNetCore.HttpOverrides](10.0-ga_Microsoft.AspNetCore.HttpOverrides.md)
* [Microsoft.AspNetCore.Mvc.Core](10.0-ga_Microsoft.AspNetCore.Mvc.Core.md)

View File

@@ -0,0 +1,18 @@
# Microsoft.AspNetCore.Hosting.Abstractions
```diff
namespace Microsoft.AspNetCore.Hosting
{
- [System.ObsoleteAttribute("IWebHost is obsolete. Use IHost instead. For more information, visit https://aka.ms/aspnet/deprecate/008.", DiagnosticId = "ASPDEPR008")]
+ [System.ObsoleteAttribute("IWebHost is obsolete. Use IHost instead. For more information, visit https://aka.ms/aspnet/deprecate/008.", DiagnosticId = "ASPDEPR008", UrlFormat = "https://aka.ms/aspnet/deprecate/008")]
public interface IWebHost : System.IDisposable
{
}
public interface IWebHostBuilder
{
- [System.ObsoleteAttribute("IWebHost is obsolete. Use IHost instead. For more information, visit https://aka.ms/aspnet/deprecate/008.", DiagnosticId = "ASPDEPR008")]
+ [System.ObsoleteAttribute("IWebHost is obsolete. Use IHost instead. For more information, visit https://aka.ms/aspnet/deprecate/008.", DiagnosticId = "ASPDEPR008", UrlFormat = "https://aka.ms/aspnet/deprecate/008")]
Microsoft.AspNetCore.Hosting.IWebHost Build();
}
}
```

View File

@@ -0,0 +1,17 @@
# Microsoft.AspNetCore.Hosting
```diff
namespace Microsoft.AspNetCore.Hosting
{
- [System.ObsoleteAttribute("WebHostBuilder is deprecated in favor of HostBuilder and WebApplicationBuilder. For more information, visit https://aka.ms/aspnet/deprecate/004.", DiagnosticId = "ASPDEPR004")]
+ [System.ObsoleteAttribute("WebHostBuilder is deprecated in favor of HostBuilder and WebApplicationBuilder. For more information, visit https://aka.ms/aspnet/deprecate/004.", DiagnosticId = "ASPDEPR004", UrlFormat = "https://aka.ms/aspnet/deprecate/004")]
public class WebHostBuilder : Microsoft.AspNetCore.Hosting.IWebHostBuilder
{
}
- [System.ObsoleteAttribute("WebHostExtensions is obsolete. Use Host.CreateDefaultBuilder or WebApplication.CreateBuilder instead. For more information, visit https://aka.ms/aspnet/deprecate/008.", DiagnosticId = "ASPDEPR008")]
+ [System.ObsoleteAttribute("WebHostExtensions is obsolete. Use Host.CreateDefaultBuilder or WebApplication.CreateBuilder instead. For more information, visit https://aka.ms/aspnet/deprecate/008.", DiagnosticId = "ASPDEPR008", UrlFormat = "https://aka.ms/aspnet/deprecate/008")]
public static class WebHostExtensions
{
}
}
```

View File

@@ -0,0 +1,21 @@
# Microsoft.AspNetCore.HttpOverrides
```diff
namespace Microsoft.AspNetCore.Builder
{
public class ForwardedHeadersOptions
{
- [System.ObsoleteAttribute("Please use KnownIPNetworks instead. For more information, visit https://aka.ms/aspnet/deprecate/005.", DiagnosticId = "ASPDEPR005")]
+ [System.ObsoleteAttribute("Please use KnownIPNetworks instead. For more information, visit https://aka.ms/aspnet/deprecate/005.", DiagnosticId = "ASPDEPR005", UrlFormat = "https://aka.ms/aspnet/deprecate/005")]
public System.Collections.Generic.IList<Microsoft.AspNetCore.HttpOverrides.IPNetwork> KnownNetworks { get; }
}
}
namespace Microsoft.AspNetCore.HttpOverrides
{
- [System.ObsoleteAttribute("Please use System.Net.IPNetwork instead. For more information, visit https://aka.ms/aspnet/deprecate/005.", DiagnosticId = "ASPDEPR005")]
+ [System.ObsoleteAttribute("Please use System.Net.IPNetwork instead. For more information, visit https://aka.ms/aspnet/deprecate/005.", DiagnosticId = "ASPDEPR005", UrlFormat = "https://aka.ms/aspnet/deprecate/005")]
public class IPNetwork
{
}
}
```

View File

@@ -0,0 +1,17 @@
# Microsoft.AspNetCore.Mvc.Core
```diff
namespace Microsoft.AspNetCore.Mvc.Infrastructure
{
- [System.ObsoleteAttribute("ActionContextAccessor is obsolete and will be removed in a future version. For more information, visit https://aka.ms/aspnet/deprecate/006.", DiagnosticId = "ASPDEPR006")]
+ [System.ObsoleteAttribute("ActionContextAccessor is obsolete and will be removed in a future version. For more information, visit https://aka.ms/aspnet/deprecate/006.", DiagnosticId = "ASPDEPR006", UrlFormat = "https://aka.ms/aspnet/deprecate/006")]
public class ActionContextAccessor : Microsoft.AspNetCore.Mvc.Infrastructure.IActionContextAccessor
{
}
- [System.ObsoleteAttribute("IActionContextAccessor is obsolete and will be removed in a future version. For more information, visit https://aka.ms/aspnet/deprecate/006.", DiagnosticId = "ASPDEPR006")]
+ [System.ObsoleteAttribute("IActionContextAccessor is obsolete and will be removed in a future version. For more information, visit https://aka.ms/aspnet/deprecate/006.", DiagnosticId = "ASPDEPR006", UrlFormat = "https://aka.ms/aspnet/deprecate/006")]
public interface IActionContextAccessor
{
}
}
```

View File

@@ -0,0 +1,12 @@
# Microsoft.AspNetCore
```diff
namespace Microsoft.AspNetCore
{
- [System.ObsoleteAttribute("WebHost is obsolete. Use HostBuilder or WebApplicationBuilder instead. For more information, visit https://aka.ms/aspnet/deprecate/008.", DiagnosticId = "ASPDEPR008")]
+ [System.ObsoleteAttribute("WebHost is obsolete. Use HostBuilder or WebApplicationBuilder instead. For more information, visit https://aka.ms/aspnet/deprecate/008.", DiagnosticId = "ASPDEPR008", UrlFormat = "https://aka.ms/aspnet/deprecate/008")]
public static class WebHost
{
}
}
```

View File

@@ -0,0 +1,6 @@
# API difference between .NET 10.0 RC 2 and .NET 10.0 GA
API listing follows standard diff formatting.
Lines preceded by a '+' are additions and a '-' indicates removal.
* [System.Runtime.Loader](10.0-ga_System.Runtime.Loader.md)

View File

@@ -0,0 +1,11 @@
# System.Runtime.Loader
```diff
namespace System.Runtime.CompilerServices
{
+ public sealed class MetadataUpdateDeletedAttribute : System.Attribute
+ {
+ public MetadataUpdateDeletedAttribute();
+ }
}
```

View File

@@ -0,0 +1,3 @@
# API difference between .NET 10.0 RC 2 and .NET 10.0 GA
No changes

View File

@@ -0,0 +1,7 @@
# .NET 10.0 GA API Changes
The following API changes were made in .NET 10.0 GA:
- [Microsoft.NETCore.App](./Microsoft.NETCore.App/10.0-ga.md)
- [Microsoft.AspNetCore.App](./Microsoft.AspNetCore.App/10.0-ga.md)
- [Microsoft.WindowsDesktop.App](./Microsoft.WindowsDesktop.App/10.0-ga.md)