diff --git a/docs/core/compatibility/9.0.md b/docs/core/compatibility/9.0.md index f27c23d9b0df5..5ace50ef8f2ee 100644 --- a/docs/core/compatibility/9.0.md +++ b/docs/core/compatibility/9.0.md @@ -82,6 +82,7 @@ If you're migrating an app to .NET 9, the breaking changes listed here might aff |-----------------------------------------------------------------------------------|---------------------|--------------------| | [HttpClientFactory logging redacts header values by default](networking/9.0/redact-headers.md) | Behavioral change | RC 1 | | [HttpListenerRequest.UserAgent is nullable](networking/9.0/useragent-nullable.md) | Source incompatible | Preview 1 | +| [API obsoletions](core-libraries/9.0/obsolete-apis-with-custom-diagnostics.md) | Source incompatible | Preview 6 | ## SDK and MSBuild diff --git a/docs/core/compatibility/core-libraries/9.0/obsolete-apis-with-custom-diagnostics.md b/docs/core/compatibility/core-libraries/9.0/obsolete-apis-with-custom-diagnostics.md index 4a2fa67dc0989..04c9e2d30ffa8 100644 --- a/docs/core/compatibility/core-libraries/9.0/obsolete-apis-with-custom-diagnostics.md +++ b/docs/core/compatibility/core-libraries/9.0/obsolete-apis-with-custom-diagnostics.md @@ -1,8 +1,8 @@ --- title: "Breaking change: .NET 9 obsoletions with custom IDs" titleSuffix: "" -description: Learn about the .NET 9 breaking change in core .NET libraries where some APIs have been marked as obsolete with a custom diagnostic ID. -ms.date: 08/07/2024 +description: Learn about the APIs that have been marked as obsolete in .NET 9 with a custom diagnostic ID. +ms.date: 11/06/2024 --- # API obsoletions with non-default diagnostic IDs (.NET 9) @@ -17,6 +17,7 @@ The following table lists the custom diagnostic IDs and their corresponding warn | Diagnostic ID | Description | Severity | | - | - | | [SYSLIB0009](../../../../fundamentals/syslib-diagnostics/syslib0009.md) | is not supported. Methods will no-op or throw . | Warning | +| [SYSLIB0014: WebRequest, HttpWebRequest, ServicePoint, WebClient are obsolete](../../../../fundamentals/syslib-diagnostics/syslib0014.md) | is fully obsolete. Settings on don't affect or (this behavior hasn't changed since .NET 6). | Warning | | [SYSLIB0054](../../../../fundamentals/syslib-diagnostics/syslib0054.md) | and are obsolete. Use or instead. | Warning | | [SYSLIB0055](../../../../fundamentals/syslib-diagnostics/syslib0055.md) | `AdvSimd.ShiftRightLogicalRoundedNarrowingSaturate*` methods with signed parameters are obsolete. Use the unsigned overloads instead. | Warning | | [SYSLIB0056](../../../../fundamentals/syslib-diagnostics/syslib0056.md) | `Assembly.LoadFrom` with a custom `AssemblyHashAlgorithm` is obsolete. Use overloads without an `AssemblyHashAlgorithm`. | Warning | @@ -42,6 +43,10 @@ These obsoletions can affect [source compatibility](../../categories.md#source-c - +### SYSLIB0014 + +- + ### SYSLIB0054 - diff --git a/docs/core/compatibility/networking/6.0/webrequest-deprecated.md b/docs/core/compatibility/networking/6.0/webrequest-deprecated.md index 1c627edfd1db3..f500514966837 100644 --- a/docs/core/compatibility/networking/6.0/webrequest-deprecated.md +++ b/docs/core/compatibility/networking/6.0/webrequest-deprecated.md @@ -31,18 +31,6 @@ For FTP, since doesn't support it, we recommen - - - +- [HttpWebRequest to HttpClient migration guide](../../../../fundamentals/networking/http/httpclient-migrate-from-httpwebrequest.md) diff --git a/docs/fundamentals/syslib-diagnostics/syslib0014.md b/docs/fundamentals/syslib-diagnostics/syslib0014.md index f2714839973a7..13cc445bd6973 100644 --- a/docs/fundamentals/syslib-diagnostics/syslib0014.md +++ b/docs/fundamentals/syslib-diagnostics/syslib0014.md @@ -14,7 +14,8 @@ The following APIs are marked as obsolete, starting in .NET 6. Using them in cod - - - -- +- (Starting in .NET 9) +- - To reduce the number of analyzer warnings, the class is not marked as obsolete, but all ways of obtaining its instances are. @@ -60,3 +61,4 @@ For more information, see [Suppress warnings](obsoletions-overview.md#suppress-w ## See also - [WebRequest, WebClient, and ServicePoint are obsolete](../../core/compatibility/networking/6.0/webrequest-deprecated.md) +- [HttpWebRequest to HttpClient migration guide](../networking/http/httpclient-migrate-from-httpwebrequest.md)