From ffea1d2b4b3f3169b75a7a22d5d8ce5d38606c0b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20S=C3=A1nchez=20L=C3=B3pez?= <1175054+carlossanlop@users.noreply.github.com> Date: Thu, 14 Nov 2024 13:01:42 -0800 Subject: [PATCH] API diff between .NET 9 RC2 and .NET 9 GA (#9601) --- .../api-diff/Microsoft.AspNetCore.App/9.0-ga.md | 6 ++++++ .../ga/api-diff/Microsoft.NETCore.App/9.0-ga.md | 7 +++++++ .../Microsoft.NETCore.App/9.0-ga_System.md | 15 +++++++++++++++ .../Microsoft.WindowsDesktop.App/9.0-ga.md | 7 +++++++ .../9.0-ga_System.Formats.Nrbf.md | 17 +++++++++++++++++ release-notes/9.0/preview/ga/api-diff/README.md | 7 +++++++ 6 files changed, 59 insertions(+) create mode 100644 release-notes/9.0/preview/ga/api-diff/Microsoft.AspNetCore.App/9.0-ga.md create mode 100644 release-notes/9.0/preview/ga/api-diff/Microsoft.NETCore.App/9.0-ga.md create mode 100644 release-notes/9.0/preview/ga/api-diff/Microsoft.NETCore.App/9.0-ga_System.md create mode 100644 release-notes/9.0/preview/ga/api-diff/Microsoft.WindowsDesktop.App/9.0-ga.md create mode 100644 release-notes/9.0/preview/ga/api-diff/Microsoft.WindowsDesktop.App/9.0-ga_System.Formats.Nrbf.md create mode 100644 release-notes/9.0/preview/ga/api-diff/README.md diff --git a/release-notes/9.0/preview/ga/api-diff/Microsoft.AspNetCore.App/9.0-ga.md b/release-notes/9.0/preview/ga/api-diff/Microsoft.AspNetCore.App/9.0-ga.md new file mode 100644 index 0000000000..da6d7ee2eb --- /dev/null +++ b/release-notes/9.0/preview/ga/api-diff/Microsoft.AspNetCore.App/9.0-ga.md @@ -0,0 +1,6 @@ +# API Difference 9.0-rc2 vs 9.0-ga + +API listing follows standard diff formatting. +Lines preceded by a '+' are additions and a '-' indicates removal. + + diff --git a/release-notes/9.0/preview/ga/api-diff/Microsoft.NETCore.App/9.0-ga.md b/release-notes/9.0/preview/ga/api-diff/Microsoft.NETCore.App/9.0-ga.md new file mode 100644 index 0000000000..8a5731a188 --- /dev/null +++ b/release-notes/9.0/preview/ga/api-diff/Microsoft.NETCore.App/9.0-ga.md @@ -0,0 +1,7 @@ +# API Difference 9.0-rc2 vs 9.0-ga + +API listing follows standard diff formatting. +Lines preceded by a '+' are additions and a '-' indicates removal. + +* [System](9.0-ga_System.md) + diff --git a/release-notes/9.0/preview/ga/api-diff/Microsoft.NETCore.App/9.0-ga_System.md b/release-notes/9.0/preview/ga/api-diff/Microsoft.NETCore.App/9.0-ga_System.md new file mode 100644 index 0000000000..c739fc4279 --- /dev/null +++ b/release-notes/9.0/preview/ga/api-diff/Microsoft.NETCore.App/9.0-ga_System.md @@ -0,0 +1,15 @@ +# System + +``` diff + namespace System { + public sealed class String : ICloneable, IComparable, IComparable, IConvertible, IEnumerable, IEnumerable, IEquatable, IParsable, ISpanParsable { +- public String Trim(ReadOnlySpan trimChars); + +- public String TrimEnd(ReadOnlySpan trimChars); + +- public String TrimStart(ReadOnlySpan trimChars); + + } + } +``` + diff --git a/release-notes/9.0/preview/ga/api-diff/Microsoft.WindowsDesktop.App/9.0-ga.md b/release-notes/9.0/preview/ga/api-diff/Microsoft.WindowsDesktop.App/9.0-ga.md new file mode 100644 index 0000000000..a9d501bbb0 --- /dev/null +++ b/release-notes/9.0/preview/ga/api-diff/Microsoft.WindowsDesktop.App/9.0-ga.md @@ -0,0 +1,7 @@ +# API Difference 9.0-rc2 vs 9.0-ga + +API listing follows standard diff formatting. +Lines preceded by a '+' are additions and a '-' indicates removal. + +* [System.Formats.Nrbf](9.0-ga_System.Formats.Nrbf.md) + diff --git a/release-notes/9.0/preview/ga/api-diff/Microsoft.WindowsDesktop.App/9.0-ga_System.Formats.Nrbf.md b/release-notes/9.0/preview/ga/api-diff/Microsoft.WindowsDesktop.App/9.0-ga_System.Formats.Nrbf.md new file mode 100644 index 0000000000..28c557726a --- /dev/null +++ b/release-notes/9.0/preview/ga/api-diff/Microsoft.WindowsDesktop.App/9.0-ga_System.Formats.Nrbf.md @@ -0,0 +1,17 @@ +# System.Formats.Nrbf + +``` diff + namespace System.Formats.Nrbf { + public abstract class ArrayRecord : SerializationRecord { +- public virtual long FlattenedLength { get; } + + } + public static class NrbfDecoder { +- public static SerializationRecord Decode(Stream payload, out IReadOnlyDictionary recordMap, PayloadOptions options = null, bool leaveOpen = false); ++ public static SerializationRecord Decode(Stream payload, out IReadOnlyDictionary recordMap, PayloadOptions? options = null, bool leaveOpen = false); + } +- public struct SerializationRecordId : IEquatable ++ public readonly struct SerializationRecordId : IEquatable + } +``` + diff --git a/release-notes/9.0/preview/ga/api-diff/README.md b/release-notes/9.0/preview/ga/api-diff/README.md new file mode 100644 index 0000000000..655a7d744e --- /dev/null +++ b/release-notes/9.0/preview/ga/api-diff/README.md @@ -0,0 +1,7 @@ +# .NET 9.0 GA API Changes + +The following API changes were made in .NET 9.0 GA: + +- [Microsoft.NETCore.App](./Microsoft.NETCore.App/9.0-ga.md) +- [Microsoft.AspNetCore.App](./Microsoft.AspNetCore.App/9.0-ga.md) +- [Microsoft.WindowsDesktop.App](./Microsoft.WindowsDesktop.App/9.0-ga.md)