Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API diff between .NET 9 RC2 and .NET 9 GA #9601

Merged
merged 1 commit into from
Nov 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -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.


Original file line number Diff line number Diff line change
@@ -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)

Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# System

``` diff
namespace System {
public sealed class String : ICloneable, IComparable, IComparable<string?>, IConvertible, IEnumerable, IEnumerable<char>, IEquatable<string?>, IParsable<string>, ISpanParsable<string> {
- public String Trim(ReadOnlySpan<char> trimChars);

- public String TrimEnd(ReadOnlySpan<char> trimChars);

- public String TrimStart(ReadOnlySpan<char> trimChars);

}
}
```

Original file line number Diff line number Diff line change
@@ -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)

Original file line number Diff line number Diff line change
@@ -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<SerializationRecordId, SerializationRecord> recordMap, PayloadOptions options = null, bool leaveOpen = false);
+ public static SerializationRecord Decode(Stream payload, out IReadOnlyDictionary<SerializationRecordId, SerializationRecord> recordMap, PayloadOptions? options = null, bool leaveOpen = false);
}
- public struct SerializationRecordId : IEquatable<SerializationRecordId>
+ public readonly struct SerializationRecordId : IEquatable<SerializationRecordId>
}
```

7 changes: 7 additions & 0 deletions release-notes/9.0/preview/ga/api-diff/README.md
Original file line number Diff line number Diff line change
@@ -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)
Loading