From dae2904dc16bced5d0c08c7f47fd18f9df78cd35 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Cant=C3=BA?= Date: Tue, 28 Oct 2025 16:10:31 -0500 Subject: [PATCH] API Diff .NET 10.0 RC1 -> RC2 --- .../Microsoft.AspNetCore.App/10.0-RC2.md | 7 + ...0.0-RC2_Microsoft.AspNetCore.Components.md | 12 ++ ...RC2_Microsoft.AspNetCore.Mvc.TagHelpers.md | 12 ++ .../Microsoft.NETCore.App/10.0-RC2.md | 10 ++ .../10.0-RC2_System.Numerics.Vectors.md | 28 ++++ .../10.0-RC2_System.Runtime.Intrinsics.md | 91 +++++++++++++ .../10.0-RC2_System.Runtime.md | 16 +++ .../10.0-RC2_System.Security.Cryptography.md | 126 ++++++++++++++++++ .../10.0-RC2_System.Xml.XmlSerializer.md | 19 +++ .../Microsoft.WindowsDesktop.App/10.0-RC2.md | 6 + .../10.0-RC2_System.Windows.Forms.md | 12 ++ .../10.0/preview/rc2/api-diff/README.md | 7 + 12 files changed, 346 insertions(+) create mode 100644 release-notes/10.0/preview/rc2/api-diff/Microsoft.AspNetCore.App/10.0-RC2.md create mode 100644 release-notes/10.0/preview/rc2/api-diff/Microsoft.AspNetCore.App/10.0-RC2_Microsoft.AspNetCore.Components.md create mode 100644 release-notes/10.0/preview/rc2/api-diff/Microsoft.AspNetCore.App/10.0-RC2_Microsoft.AspNetCore.Mvc.TagHelpers.md create mode 100644 release-notes/10.0/preview/rc2/api-diff/Microsoft.NETCore.App/10.0-RC2.md create mode 100644 release-notes/10.0/preview/rc2/api-diff/Microsoft.NETCore.App/10.0-RC2_System.Numerics.Vectors.md create mode 100644 release-notes/10.0/preview/rc2/api-diff/Microsoft.NETCore.App/10.0-RC2_System.Runtime.Intrinsics.md create mode 100644 release-notes/10.0/preview/rc2/api-diff/Microsoft.NETCore.App/10.0-RC2_System.Runtime.md create mode 100644 release-notes/10.0/preview/rc2/api-diff/Microsoft.NETCore.App/10.0-RC2_System.Security.Cryptography.md create mode 100644 release-notes/10.0/preview/rc2/api-diff/Microsoft.NETCore.App/10.0-RC2_System.Xml.XmlSerializer.md create mode 100644 release-notes/10.0/preview/rc2/api-diff/Microsoft.WindowsDesktop.App/10.0-RC2.md create mode 100644 release-notes/10.0/preview/rc2/api-diff/Microsoft.WindowsDesktop.App/10.0-RC2_System.Windows.Forms.md create mode 100644 release-notes/10.0/preview/rc2/api-diff/README.md diff --git a/release-notes/10.0/preview/rc2/api-diff/Microsoft.AspNetCore.App/10.0-RC2.md b/release-notes/10.0/preview/rc2/api-diff/Microsoft.AspNetCore.App/10.0-RC2.md new file mode 100644 index 0000000000..0829ba4669 --- /dev/null +++ b/release-notes/10.0/preview/rc2/api-diff/Microsoft.AspNetCore.App/10.0-RC2.md @@ -0,0 +1,7 @@ +# API difference between .NET 10.0 RC 1 and .NET 10.0 RC 2 + +API listing follows standard diff formatting. +Lines preceded by a '+' are additions and a '-' indicates removal. + +* [Microsoft.AspNetCore.Components](10.0-RC2_Microsoft.AspNetCore.Components.md) +* [Microsoft.AspNetCore.Mvc.TagHelpers](10.0-RC2_Microsoft.AspNetCore.Mvc.TagHelpers.md) diff --git a/release-notes/10.0/preview/rc2/api-diff/Microsoft.AspNetCore.App/10.0-RC2_Microsoft.AspNetCore.Components.md b/release-notes/10.0/preview/rc2/api-diff/Microsoft.AspNetCore.App/10.0-RC2_Microsoft.AspNetCore.Components.md new file mode 100644 index 0000000000..b0812c3171 --- /dev/null +++ b/release-notes/10.0/preview/rc2/api-diff/Microsoft.AspNetCore.App/10.0-RC2_Microsoft.AspNetCore.Components.md @@ -0,0 +1,12 @@ +# Microsoft.AspNetCore.Components + +```diff + namespace Microsoft.AspNetCore.Components + { + public class RouteView : Microsoft.AspNetCore.Components.IComponent + { ++ [System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute("Trimming", "IL2110", Justification = "Layout components are preserved because the LayoutAttribute constructor parameter is correctly annotated.")] + protected virtual void Render(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder builder); + } + } +``` diff --git a/release-notes/10.0/preview/rc2/api-diff/Microsoft.AspNetCore.App/10.0-RC2_Microsoft.AspNetCore.Mvc.TagHelpers.md b/release-notes/10.0/preview/rc2/api-diff/Microsoft.AspNetCore.App/10.0-RC2_Microsoft.AspNetCore.Mvc.TagHelpers.md new file mode 100644 index 0000000000..3e74a88686 --- /dev/null +++ b/release-notes/10.0/preview/rc2/api-diff/Microsoft.AspNetCore.App/10.0-RC2_Microsoft.AspNetCore.Mvc.TagHelpers.md @@ -0,0 +1,12 @@ +# Microsoft.AspNetCore.Mvc.TagHelpers + +```diff + namespace Microsoft.AspNetCore.Mvc.TagHelpers + { + public class ScriptTagHelper : Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper + { +- public override void Process(Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext context, Microsoft.AspNetCore.Razor.TagHelpers.TagHelperOutput output); ++ public override System.Threading.Tasks.Task ProcessAsync(Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext context, Microsoft.AspNetCore.Razor.TagHelpers.TagHelperOutput output); + } + } +``` diff --git a/release-notes/10.0/preview/rc2/api-diff/Microsoft.NETCore.App/10.0-RC2.md b/release-notes/10.0/preview/rc2/api-diff/Microsoft.NETCore.App/10.0-RC2.md new file mode 100644 index 0000000000..60fe4eabca --- /dev/null +++ b/release-notes/10.0/preview/rc2/api-diff/Microsoft.NETCore.App/10.0-RC2.md @@ -0,0 +1,10 @@ +# API difference between .NET 10.0 RC 1 and .NET 10.0 RC 2 + +API listing follows standard diff formatting. +Lines preceded by a '+' are additions and a '-' indicates removal. + +* [System.Numerics.Vectors](10.0-RC2_System.Numerics.Vectors.md) +* [System.Runtime](10.0-RC2_System.Runtime.md) +* [System.Runtime.Intrinsics](10.0-RC2_System.Runtime.Intrinsics.md) +* [System.Security.Cryptography](10.0-RC2_System.Security.Cryptography.md) +* [System.Xml.XmlSerializer](10.0-RC2_System.Xml.XmlSerializer.md) diff --git a/release-notes/10.0/preview/rc2/api-diff/Microsoft.NETCore.App/10.0-RC2_System.Numerics.Vectors.md b/release-notes/10.0/preview/rc2/api-diff/Microsoft.NETCore.App/10.0-RC2_System.Numerics.Vectors.md new file mode 100644 index 0000000000..1c4d6c8c6c --- /dev/null +++ b/release-notes/10.0/preview/rc2/api-diff/Microsoft.NETCore.App/10.0-RC2_System.Numerics.Vectors.md @@ -0,0 +1,28 @@ +# System.Numerics.Vectors + +```diff + namespace System.Numerics + { + public static class Vector + { +- public static System.Numerics.Vector get_E() +- where T : System.Numerics.IFloatingPointConstants; +- public static System.Numerics.Vector get_Epsilon() +- where T : System.Numerics.IFloatingPointIeee754; +- public static System.Numerics.Vector get_NaN() +- where T : System.Numerics.IFloatingPointIeee754; +- public static System.Numerics.Vector get_NegativeInfinity() +- where T : System.Numerics.IFloatingPointIeee754; +- public static System.Numerics.Vector get_NegativeOne() +- where T : System.Numerics.ISignedNumber; +- public static System.Numerics.Vector get_NegativeZero() +- where T : System.Numerics.IFloatingPointIeee754; +- public static System.Numerics.Vector get_Pi() +- where T : System.Numerics.IFloatingPointConstants; +- public static System.Numerics.Vector get_PositiveInfinity() +- where T : System.Numerics.IFloatingPointIeee754; +- public static System.Numerics.Vector get_Tau() +- where T : System.Numerics.IFloatingPointConstants; + } + } +``` diff --git a/release-notes/10.0/preview/rc2/api-diff/Microsoft.NETCore.App/10.0-RC2_System.Runtime.Intrinsics.md b/release-notes/10.0/preview/rc2/api-diff/Microsoft.NETCore.App/10.0-RC2_System.Runtime.Intrinsics.md new file mode 100644 index 0000000000..fddd1a562b --- /dev/null +++ b/release-notes/10.0/preview/rc2/api-diff/Microsoft.NETCore.App/10.0-RC2_System.Runtime.Intrinsics.md @@ -0,0 +1,91 @@ +# System.Runtime.Intrinsics + +```diff + namespace System.Runtime.Intrinsics + { + public static class Vector128 + { +- public static System.Runtime.Intrinsics.Vector128 get_E() +- where T : System.Numerics.IFloatingPointConstants; +- public static System.Runtime.Intrinsics.Vector128 get_Epsilon() +- where T : System.Numerics.IFloatingPointIeee754; +- public static System.Runtime.Intrinsics.Vector128 get_NaN() +- where T : System.Numerics.IFloatingPointIeee754; +- public static System.Runtime.Intrinsics.Vector128 get_NegativeInfinity() +- where T : System.Numerics.IFloatingPointIeee754; +- public static System.Runtime.Intrinsics.Vector128 get_NegativeOne() +- where T : System.Numerics.ISignedNumber; +- public static System.Runtime.Intrinsics.Vector128 get_NegativeZero() +- where T : System.Numerics.IFloatingPointIeee754; +- public static System.Runtime.Intrinsics.Vector128 get_Pi() +- where T : System.Numerics.IFloatingPointConstants; +- public static System.Runtime.Intrinsics.Vector128 get_PositiveInfinity() +- where T : System.Numerics.IFloatingPointIeee754; +- public static System.Runtime.Intrinsics.Vector128 get_Tau() +- where T : System.Numerics.IFloatingPointConstants; + } + public static class Vector256 + { +- public static System.Runtime.Intrinsics.Vector256 get_E() +- where T : System.Numerics.IFloatingPointConstants; +- public static System.Runtime.Intrinsics.Vector256 get_Epsilon() +- where T : System.Numerics.IFloatingPointIeee754; +- public static System.Runtime.Intrinsics.Vector256 get_NaN() +- where T : System.Numerics.IFloatingPointIeee754; +- public static System.Runtime.Intrinsics.Vector256 get_NegativeInfinity() +- where T : System.Numerics.IFloatingPointIeee754; +- public static System.Runtime.Intrinsics.Vector256 get_NegativeOne() +- where T : System.Numerics.ISignedNumber; +- public static System.Runtime.Intrinsics.Vector256 get_NegativeZero() +- where T : System.Numerics.IFloatingPointIeee754; +- public static System.Runtime.Intrinsics.Vector256 get_Pi() +- where T : System.Numerics.IFloatingPointConstants; +- public static System.Runtime.Intrinsics.Vector256 get_PositiveInfinity() +- where T : System.Numerics.IFloatingPointIeee754; +- public static System.Runtime.Intrinsics.Vector256 get_Tau() +- where T : System.Numerics.IFloatingPointConstants; + } + public static class Vector512 + { +- public static System.Runtime.Intrinsics.Vector512 get_E() +- where T : System.Numerics.IFloatingPointConstants; +- public static System.Runtime.Intrinsics.Vector512 get_Epsilon() +- where T : System.Numerics.IFloatingPointIeee754; +- public static System.Runtime.Intrinsics.Vector512 get_NaN() +- where T : System.Numerics.IFloatingPointIeee754; +- public static System.Runtime.Intrinsics.Vector512 get_NegativeInfinity() +- where T : System.Numerics.IFloatingPointIeee754; +- public static System.Runtime.Intrinsics.Vector512 get_NegativeOne() +- where T : System.Numerics.ISignedNumber; +- public static System.Runtime.Intrinsics.Vector512 get_NegativeZero() +- where T : System.Numerics.IFloatingPointIeee754; +- public static System.Runtime.Intrinsics.Vector512 get_Pi() +- where T : System.Numerics.IFloatingPointConstants; +- public static System.Runtime.Intrinsics.Vector512 get_PositiveInfinity() +- where T : System.Numerics.IFloatingPointIeee754; +- public static System.Runtime.Intrinsics.Vector512 get_Tau() +- where T : System.Numerics.IFloatingPointConstants; + } + public static class Vector64 + { +- public static System.Runtime.Intrinsics.Vector64 get_E() +- where T : System.Numerics.IFloatingPointConstants; +- public static System.Runtime.Intrinsics.Vector64 get_Epsilon() +- where T : System.Numerics.IFloatingPointIeee754; +- public static System.Runtime.Intrinsics.Vector64 get_NaN() +- where T : System.Numerics.IFloatingPointIeee754; +- public static System.Runtime.Intrinsics.Vector64 get_NegativeInfinity() +- where T : System.Numerics.IFloatingPointIeee754; +- public static System.Runtime.Intrinsics.Vector64 get_NegativeOne() +- where T : System.Numerics.ISignedNumber; +- public static System.Runtime.Intrinsics.Vector64 get_NegativeZero() +- where T : System.Numerics.IFloatingPointIeee754; +- public static System.Runtime.Intrinsics.Vector64 get_Pi() +- where T : System.Numerics.IFloatingPointConstants; +- public static System.Runtime.Intrinsics.Vector64 get_PositiveInfinity() +- where T : System.Numerics.IFloatingPointIeee754; +- public static System.Runtime.Intrinsics.Vector64 get_Tau() +- where T : System.Numerics.IFloatingPointConstants; + } + } +``` diff --git a/release-notes/10.0/preview/rc2/api-diff/Microsoft.NETCore.App/10.0-RC2_System.Runtime.md b/release-notes/10.0/preview/rc2/api-diff/Microsoft.NETCore.App/10.0-RC2_System.Runtime.md new file mode 100644 index 0000000000..ca01bdcfdb --- /dev/null +++ b/release-notes/10.0/preview/rc2/api-diff/Microsoft.NETCore.App/10.0-RC2_System.Runtime.md @@ -0,0 +1,16 @@ +# System.Runtime + +```diff + namespace System + { + public class ArgumentOutOfRangeException : System.ArgumentException + { +- public static void ThrowIfEqual(T value, T other, string? paramName = null) ++ public static void ThrowIfEqual(T value, T other, string? paramName = null); +- where T : System.IEquatable?; +- public static void ThrowIfNotEqual(T value, T other, string? paramName = null) ++ public static void ThrowIfNotEqual(T value, T other, string? paramName = null); +- where T : System.IEquatable?; + } + } +``` diff --git a/release-notes/10.0/preview/rc2/api-diff/Microsoft.NETCore.App/10.0-RC2_System.Security.Cryptography.md b/release-notes/10.0/preview/rc2/api-diff/Microsoft.NETCore.App/10.0-RC2_System.Security.Cryptography.md new file mode 100644 index 0000000000..0c9c2c9da7 --- /dev/null +++ b/release-notes/10.0/preview/rc2/api-diff/Microsoft.NETCore.App/10.0-RC2_System.Security.Cryptography.md @@ -0,0 +1,126 @@ +# System.Security.Cryptography + +```diff + namespace System.Security.Cryptography + { + public sealed class CngAlgorithm : System.IEquatable + { +- [System.Diagnostics.CodeAnalysis.ExperimentalAttribute("SYSLIB5006", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + public static System.Security.Cryptography.CngAlgorithm MLDsa { get; } + } + public sealed class CngAlgorithmGroup : System.IEquatable + { +- [System.Diagnostics.CodeAnalysis.ExperimentalAttribute("SYSLIB5006", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + public static System.Security.Cryptography.CngAlgorithmGroup MLDsa { get; } + } + public sealed class CngKeyBlobFormat : System.IEquatable + { +- [System.Diagnostics.CodeAnalysis.ExperimentalAttribute("SYSLIB5006", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + public static System.Security.Cryptography.CngKeyBlobFormat PQDsaPrivateBlob { get; } +- [System.Diagnostics.CodeAnalysis.ExperimentalAttribute("SYSLIB5006", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + public static System.Security.Cryptography.CngKeyBlobFormat PQDsaPrivateSeedBlob { get; } +- [System.Diagnostics.CodeAnalysis.ExperimentalAttribute("SYSLIB5006", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + public static System.Security.Cryptography.CngKeyBlobFormat PQDsaPublicBlob { get; } + } +- [System.Diagnostics.CodeAnalysis.ExperimentalAttribute("SYSLIB5006", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + public abstract class MLDsa : System.IDisposable + { ++ [System.Diagnostics.CodeAnalysis.ExperimentalAttribute("SYSLIB5006", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + public byte[] ExportEncryptedPkcs8PrivateKey(System.ReadOnlySpan passwordBytes, System.Security.Cryptography.PbeParameters pbeParameters); ++ [System.Diagnostics.CodeAnalysis.ExperimentalAttribute("SYSLIB5006", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + public byte[] ExportEncryptedPkcs8PrivateKey(System.ReadOnlySpan password, System.Security.Cryptography.PbeParameters pbeParameters); ++ [System.Diagnostics.CodeAnalysis.ExperimentalAttribute("SYSLIB5006", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + public byte[] ExportEncryptedPkcs8PrivateKey(string password, System.Security.Cryptography.PbeParameters pbeParameters); ++ [System.Diagnostics.CodeAnalysis.ExperimentalAttribute("SYSLIB5006", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + public string ExportEncryptedPkcs8PrivateKeyPem(System.ReadOnlySpan passwordBytes, System.Security.Cryptography.PbeParameters pbeParameters); ++ [System.Diagnostics.CodeAnalysis.ExperimentalAttribute("SYSLIB5006", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + public string ExportEncryptedPkcs8PrivateKeyPem(System.ReadOnlySpan password, System.Security.Cryptography.PbeParameters pbeParameters); ++ [System.Diagnostics.CodeAnalysis.ExperimentalAttribute("SYSLIB5006", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + public string ExportEncryptedPkcs8PrivateKeyPem(string password, System.Security.Cryptography.PbeParameters pbeParameters); ++ [System.Diagnostics.CodeAnalysis.ExperimentalAttribute("SYSLIB5006", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + public byte[] ExportPkcs8PrivateKey(); ++ [System.Diagnostics.CodeAnalysis.ExperimentalAttribute("SYSLIB5006", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + public string ExportPkcs8PrivateKeyPem(); ++ [System.Diagnostics.CodeAnalysis.ExperimentalAttribute("SYSLIB5006", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + public byte[] ExportSubjectPublicKeyInfo(); ++ [System.Diagnostics.CodeAnalysis.ExperimentalAttribute("SYSLIB5006", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + public string ExportSubjectPublicKeyInfoPem(); ++ [System.Diagnostics.CodeAnalysis.ExperimentalAttribute("SYSLIB5006", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + public static System.Security.Cryptography.MLDsa ImportEncryptedPkcs8PrivateKey(System.ReadOnlySpan passwordBytes, System.ReadOnlySpan source); ++ [System.Diagnostics.CodeAnalysis.ExperimentalAttribute("SYSLIB5006", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + public static System.Security.Cryptography.MLDsa ImportEncryptedPkcs8PrivateKey(System.ReadOnlySpan password, System.ReadOnlySpan source); ++ [System.Diagnostics.CodeAnalysis.ExperimentalAttribute("SYSLIB5006", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + public static System.Security.Cryptography.MLDsa ImportEncryptedPkcs8PrivateKey(string password, byte[] source); ++ [System.Diagnostics.CodeAnalysis.ExperimentalAttribute("SYSLIB5006", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + public static System.Security.Cryptography.MLDsa ImportFromEncryptedPem(System.ReadOnlySpan source, System.ReadOnlySpan passwordBytes); ++ [System.Diagnostics.CodeAnalysis.ExperimentalAttribute("SYSLIB5006", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + public static System.Security.Cryptography.MLDsa ImportFromEncryptedPem(System.ReadOnlySpan source, System.ReadOnlySpan password); ++ [System.Diagnostics.CodeAnalysis.ExperimentalAttribute("SYSLIB5006", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + public static System.Security.Cryptography.MLDsa ImportFromEncryptedPem(string source, byte[] passwordBytes); ++ [System.Diagnostics.CodeAnalysis.ExperimentalAttribute("SYSLIB5006", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + public static System.Security.Cryptography.MLDsa ImportFromEncryptedPem(string source, string password); ++ [System.Diagnostics.CodeAnalysis.ExperimentalAttribute("SYSLIB5006", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + public static System.Security.Cryptography.MLDsa ImportFromPem(System.ReadOnlySpan source); ++ [System.Diagnostics.CodeAnalysis.ExperimentalAttribute("SYSLIB5006", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + public static System.Security.Cryptography.MLDsa ImportFromPem(string source); ++ [System.Diagnostics.CodeAnalysis.ExperimentalAttribute("SYSLIB5006", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + public static System.Security.Cryptography.MLDsa ImportPkcs8PrivateKey(byte[] source); ++ [System.Diagnostics.CodeAnalysis.ExperimentalAttribute("SYSLIB5006", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + public static System.Security.Cryptography.MLDsa ImportPkcs8PrivateKey(System.ReadOnlySpan source); ++ [System.Diagnostics.CodeAnalysis.ExperimentalAttribute("SYSLIB5006", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + public static System.Security.Cryptography.MLDsa ImportSubjectPublicKeyInfo(byte[] source); ++ [System.Diagnostics.CodeAnalysis.ExperimentalAttribute("SYSLIB5006", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + public static System.Security.Cryptography.MLDsa ImportSubjectPublicKeyInfo(System.ReadOnlySpan source); ++ [System.Diagnostics.CodeAnalysis.ExperimentalAttribute("SYSLIB5006", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + public byte[] SignMu(byte[] externalMu); ++ [System.Diagnostics.CodeAnalysis.ExperimentalAttribute("SYSLIB5006", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + public void SignMu(System.ReadOnlySpan externalMu, System.Span destination); ++ [System.Diagnostics.CodeAnalysis.ExperimentalAttribute("SYSLIB5006", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + public byte[] SignMu(System.ReadOnlySpan externalMu); ++ [System.Diagnostics.CodeAnalysis.ExperimentalAttribute("SYSLIB5006", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + protected abstract void SignMuCore(System.ReadOnlySpan externalMu, System.Span destination); ++ [System.Diagnostics.CodeAnalysis.ExperimentalAttribute("SYSLIB5006", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + public byte[] SignPreHash(byte[] hash, string hashAlgorithmOid, byte[]? context = null); ++ [System.Diagnostics.CodeAnalysis.ExperimentalAttribute("SYSLIB5006", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + public void SignPreHash(System.ReadOnlySpan hash, System.Span destination, string hashAlgorithmOid, System.ReadOnlySpan context = default(System.ReadOnlySpan)); ++ [System.Diagnostics.CodeAnalysis.ExperimentalAttribute("SYSLIB5006", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + protected abstract void SignPreHashCore(System.ReadOnlySpan hash, System.ReadOnlySpan context, string hashAlgorithmOid, System.Span destination); ++ [System.Diagnostics.CodeAnalysis.ExperimentalAttribute("SYSLIB5006", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + public bool TryExportEncryptedPkcs8PrivateKey(System.ReadOnlySpan passwordBytes, System.Security.Cryptography.PbeParameters pbeParameters, System.Span destination, out int bytesWritten); ++ [System.Diagnostics.CodeAnalysis.ExperimentalAttribute("SYSLIB5006", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + public bool TryExportEncryptedPkcs8PrivateKey(System.ReadOnlySpan password, System.Security.Cryptography.PbeParameters pbeParameters, System.Span destination, out int bytesWritten); ++ [System.Diagnostics.CodeAnalysis.ExperimentalAttribute("SYSLIB5006", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + public bool TryExportEncryptedPkcs8PrivateKey(string password, System.Security.Cryptography.PbeParameters pbeParameters, System.Span destination, out int bytesWritten); ++ [System.Diagnostics.CodeAnalysis.ExperimentalAttribute("SYSLIB5006", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + public bool TryExportPkcs8PrivateKey(System.Span destination, out int bytesWritten); ++ [System.Diagnostics.CodeAnalysis.ExperimentalAttribute("SYSLIB5006", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + protected abstract bool TryExportPkcs8PrivateKeyCore(System.Span destination, out int bytesWritten); ++ [System.Diagnostics.CodeAnalysis.ExperimentalAttribute("SYSLIB5006", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + public bool TryExportSubjectPublicKeyInfo(System.Span destination, out int bytesWritten); ++ [System.Diagnostics.CodeAnalysis.ExperimentalAttribute("SYSLIB5006", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + public bool VerifyMu(byte[] externalMu, byte[] signature); ++ [System.Diagnostics.CodeAnalysis.ExperimentalAttribute("SYSLIB5006", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + public bool VerifyMu(System.ReadOnlySpan externalMu, System.ReadOnlySpan signature); ++ [System.Diagnostics.CodeAnalysis.ExperimentalAttribute("SYSLIB5006", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + protected abstract bool VerifyMuCore(System.ReadOnlySpan externalMu, System.ReadOnlySpan signature); ++ [System.Diagnostics.CodeAnalysis.ExperimentalAttribute("SYSLIB5006", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + public bool VerifyPreHash(byte[] hash, byte[] signature, string hashAlgorithmOid, byte[]? context = null); ++ [System.Diagnostics.CodeAnalysis.ExperimentalAttribute("SYSLIB5006", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + public bool VerifyPreHash(System.ReadOnlySpan hash, System.ReadOnlySpan signature, string hashAlgorithmOid, System.ReadOnlySpan context = default(System.ReadOnlySpan)); ++ [System.Diagnostics.CodeAnalysis.ExperimentalAttribute("SYSLIB5006", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + protected abstract bool VerifyPreHashCore(System.ReadOnlySpan hash, System.ReadOnlySpan context, string hashAlgorithmOid, System.ReadOnlySpan signature); + } +- [System.Diagnostics.CodeAnalysis.ExperimentalAttribute("SYSLIB5006", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + public sealed class MLDsaAlgorithm : System.IEquatable + { + } +- [System.Diagnostics.CodeAnalysis.ExperimentalAttribute("SYSLIB5006", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + public sealed class MLDsaCng : System.Security.Cryptography.MLDsa + { + } +- [System.Diagnostics.CodeAnalysis.ExperimentalAttribute("SYSLIB5006", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + public sealed class MLDsaOpenSsl : System.Security.Cryptography.MLDsa + { + } + } +``` diff --git a/release-notes/10.0/preview/rc2/api-diff/Microsoft.NETCore.App/10.0-RC2_System.Xml.XmlSerializer.md b/release-notes/10.0/preview/rc2/api-diff/Microsoft.NETCore.App/10.0-RC2_System.Xml.XmlSerializer.md new file mode 100644 index 0000000000..c0d8fd7c61 --- /dev/null +++ b/release-notes/10.0/preview/rc2/api-diff/Microsoft.NETCore.App/10.0-RC2_System.Xml.XmlSerializer.md @@ -0,0 +1,19 @@ +# System.Xml.XmlSerializer + +```diff + namespace System.Xml.Serialization + { + public abstract class XmlSerializationReader : System.Xml.Serialization.XmlSerializationGeneratedCode + { ++ protected static System.DateOnly ToDateOnly(string value); ++ protected static System.TimeOnly ToTimeOnly(string value); ++ protected static System.TimeOnly ToTimeOnlyIgnoreOffset(string value); + } + public abstract class XmlSerializationWriter : System.Xml.Serialization.XmlSerializationGeneratedCode + { ++ protected static string FromDateOnly(System.DateOnly value); ++ protected static string FromTimeOnly(System.TimeOnly value); ++ protected static string FromTimeOnlyIgnoreOffset(System.TimeOnly value); + } + } +``` diff --git a/release-notes/10.0/preview/rc2/api-diff/Microsoft.WindowsDesktop.App/10.0-RC2.md b/release-notes/10.0/preview/rc2/api-diff/Microsoft.WindowsDesktop.App/10.0-RC2.md new file mode 100644 index 0000000000..c0cad1bd0e --- /dev/null +++ b/release-notes/10.0/preview/rc2/api-diff/Microsoft.WindowsDesktop.App/10.0-RC2.md @@ -0,0 +1,6 @@ +# API difference between .NET 10.0 RC 1 and .NET 10.0 RC 2 + +API listing follows standard diff formatting. +Lines preceded by a '+' are additions and a '-' indicates removal. + +* [System.Windows.Forms](10.0-RC2_System.Windows.Forms.md) diff --git a/release-notes/10.0/preview/rc2/api-diff/Microsoft.WindowsDesktop.App/10.0-RC2_System.Windows.Forms.md b/release-notes/10.0/preview/rc2/api-diff/Microsoft.WindowsDesktop.App/10.0-RC2_System.Windows.Forms.md new file mode 100644 index 0000000000..7866cf53c3 --- /dev/null +++ b/release-notes/10.0/preview/rc2/api-diff/Microsoft.WindowsDesktop.App/10.0-RC2_System.Windows.Forms.md @@ -0,0 +1,12 @@ +# System.Windows.Forms + +```diff + namespace System.Windows.Forms + { + public abstract class ButtonBase : System.Windows.Forms.Control + { ++ protected override void OnBackColorChanged(System.EventArgs e); ++ protected override void OnForeColorChanged(System.EventArgs e); + } + } +``` diff --git a/release-notes/10.0/preview/rc2/api-diff/README.md b/release-notes/10.0/preview/rc2/api-diff/README.md new file mode 100644 index 0000000000..6bad971b7b --- /dev/null +++ b/release-notes/10.0/preview/rc2/api-diff/README.md @@ -0,0 +1,7 @@ +# .NET 10.0 RC 2 API Changes + +The following API changes were made in .NET 10.0 RC 2: + +- [Microsoft.NETCore.App](./Microsoft.NETCore.App/10.0-RC2.md) +- [Microsoft.AspNetCore.App](./Microsoft.AspNetCore.App/10.0-RC2.md) +- [Microsoft.WindowsDesktop.App](./Microsoft.WindowsDesktop.App/10.0-RC2.md)