Skip to content

Commit

Permalink
API diff between .NET 9 RC2 and .NET 9 GA (#9601)
Browse files Browse the repository at this point in the history
  • Loading branch information
carlossanlop authored Nov 14, 2024
1 parent 8ef06b7 commit ffea1d2
Show file tree
Hide file tree
Showing 6 changed files with 59 additions and 0 deletions.
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)

0 comments on commit ffea1d2

Please sign in to comment.