API diff between .NET 9 Preview 7 and .NET 9 RC 1 - #9497
Conversation
adamsitnik
left a comment
There was a problem hiding this comment.
System.Reflection.Metadata LGTM, thank you @carlossanlop !
eiriktsarpalis
left a comment
There was a problem hiding this comment.
System.Collections LGTM
eiriktsarpalis
left a comment
There was a problem hiding this comment.
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.
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.
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.
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.
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 internalvisibility should stop showing. AsmDiff: Do not show APIs withprotected internalvisibility arcade#14579