-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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 Preview 7 and .NET 9 RC 1 #9497
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
System.Net LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
System.Reflection.Metadata
LGTM, thank you @carlossanlop !
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
System.Collections LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't this also include the JsonElement.GetPropertyCount that was retroactively added to RC1 via dotnet/runtime#106576?
@eiriktsarpalis That backport dotnet/runtime#106576 was merged into release/9.0 which from the start was pointing to RC2. I don't see any RC1 backport PRs (release/9.0-rc1) unfortunately. |
Ah good, before going OOF I was under the impression it would be merged for RC1 but I guess we missed the deadline. |
+ public sealed class BrotliCompressionOptions { | ||
+ public BrotliCompressionOptions(); | ||
+ public int Quality { get; set; } | ||
+ } | ||
public sealed class BrotliStream : Stream { | ||
+ public BrotliStream(Stream stream, BrotliCompressionOptions compressionOptions, bool leaveOpen = false); | ||
} | ||
public class DeflateStream : Stream { | ||
+ public DeflateStream(Stream stream, ZLibCompressionOptions compressionOptions, bool leaveOpen = false); | ||
} | ||
public class GZipStream : Stream { | ||
+ public GZipStream(Stream stream, ZLibCompressionOptions compressionOptions, bool leaveOpen = false); | ||
} | ||
+ public sealed class ZLibCompressionOptions { | ||
+ public ZLibCompressionOptions(); | ||
+ public int CompressionLevel { get; set; } | ||
+ public ZLibCompressionStrategy CompressionStrategy { get; set; } | ||
+ } | ||
+ public enum ZLibCompressionStrategy { | ||
+ Default = 0, | ||
+ Filtered = 1, | ||
+ Fixed = 4, | ||
+ HuffmanOnly = 2, | ||
+ RunLengthEncoding = 3, | ||
+ } | ||
public sealed class ZLibStream : Stream { | ||
+ public ZLibStream(Stream stream, ZLibCompressionOptions compressionOptions, bool leaveOpen = false); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
System.IO.Compression part LGTM
- public PropertyBuilder DefineProperty(string name, PropertyAttributes attributes, CallingConventions callingConvention, Type returnType, Type[]? parameterTypes); | ||
+ public PropertyBuilder DefineProperty(string name, PropertyAttributes attributes, CallingConventions callingConvention, Type? returnType, Type[]? parameterTypes); | ||
- public PropertyBuilder DefineProperty(string name, PropertyAttributes attributes, CallingConventions callingConvention, Type returnType, Type[]? returnTypeRequiredCustomModifiers, Type[]? returnTypeOptionalCustomModifiers, Type[]? parameterTypes, Type[][]? parameterTypeRequiredCustomModifiers, Type[][]? parameterTypeOptionalCustomModifiers); | ||
+ public PropertyBuilder DefineProperty(string name, PropertyAttributes attributes, CallingConventions callingConvention, Type? returnType, Type[]? returnTypeRequiredCustomModifiers, Type[]? returnTypeOptionalCustomModifiers, Type[]? parameterTypes, Type[][]? parameterTypeRequiredCustomModifiers, Type[][]? parameterTypeOptionalCustomModifiers); | ||
- public PropertyBuilder DefineProperty(string name, PropertyAttributes attributes, Type returnType, Type[]? parameterTypes); | ||
+ public PropertyBuilder DefineProperty(string name, PropertyAttributes attributes, Type? returnType, Type[]? parameterTypes); | ||
- public PropertyBuilder DefineProperty(string name, PropertyAttributes attributes, Type returnType, Type[]? returnTypeRequiredCustomModifiers, Type[]? returnTypeOptionalCustomModifiers, Type[]? parameterTypes, Type[][]? parameterTypeRequiredCustomModifiers, Type[][]? parameterTypeOptionalCustomModifiers); | ||
+ public PropertyBuilder DefineProperty(string name, PropertyAttributes attributes, Type? returnType, Type[]? returnTypeRequiredCustomModifiers, Type[]? returnTypeOptionalCustomModifiers, Type[]? parameterTypes, Type[][]? parameterTypeRequiredCustomModifiers, Type[][]? parameterTypeOptionalCustomModifiers); | ||
- protected abstract PropertyBuilder DefinePropertyCore(string name, PropertyAttributes attributes, CallingConventions callingConvention, Type returnType, Type[]? returnTypeRequiredCustomModifiers, Type[]? returnTypeOptionalCustomModifiers, Type[]? parameterTypes, Type[][]? parameterTypeRequiredCustomModifiers, Type[][]? parameterTypeOptionalCustomModifiers); | ||
+ protected abstract PropertyBuilder DefinePropertyCore(string name, PropertyAttributes attributes, CallingConventions callingConvention, Type? returnType, Type[]? returnTypeRequiredCustomModifiers, Type[]? returnTypeOptionalCustomModifiers, Type[]? parameterTypes, Type[][]? parameterTypeRequiredCustomModifiers, Type[][]? parameterTypeOptionalCustomModifiers); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, note that these are just a nullability change for one parameter Type returnType
=> Type? returnType
@@ -0,0 +1,179 @@ | |||
# System.Runtime.Intrinsics.Arm |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
System.Runtime.Intrinsics.Arm LGTM
CC. @dotnet/area-system-runtime-intrinsics, @dotnet/arm64-contrib
@@ -0,0 +1,41 @@ | |||
# System.Runtime.Intrinsics.X86 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
System.Runtime.Intrinsics.X86 LGTM
CC. @dotnet/area-system-runtime-intrinsics
System.Security.* LGTM |
Repo area owners:
Libraries area owners:
Known api-diff tool issues:
If yo usee any of these, please provide a GitHub suggestion in this PR to correct it:
{
or{}
arcade#10981([AsmDiff] For attributes, move the +/- diff symbol to the attribute instead of the affected API arcade#13814)protected internal
visibility should stop showing. AsmDiff: Do not show APIs withprotected internal
visibility arcade#14579