Skip to content

API diff between .NET 9 Preview 7 and .NET 9 RC 1 - #9497

Merged
carlossanlop merged 4 commits into
dotnet:mainfrom
carlossanlop:ApiDiffRC1
Sep 12, 2024
Merged

carlossanlop merged 4 commits into
dotnet:mainfrom
carlossanlop:ApiDiffRC1

Conversation

@carlossanlop

Copy link
Copy Markdown
Contributor

Repo area owners:

Libraries area owners:

  • System @dotnet/area-system-runtime @dotnet/area-system-console
  • System.Collections @dotnet/area-system-collections
  • System.Drawing @dotnet/area-system-drawing @lonitra @merriemcgaw @JeremyKuhne
  • System.IO.Compression @dotnet/area-system-io-compression @buyaa-n
  • System.Net @dotnet/ncl
  • System.Reflection.Emit @dotnet/area-system-reflection-emit
  • System.Reflection.Metadata @dotnet/area-system-reflection-metadata
  • System.Runtime.Intrinsics @dotnet/area-system-runtime-intrinsics
  • System.Security @dotnet/area-system-security

Known api-diff tool issues:

If yo usee any of these, please provide a GitHub suggestion in this PR to correct it:

@carlossanlop carlossanlop self-assigned this Sep 10, 2024

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

System.Net LGTM

@adamsitnik adamsitnik left a comment

Copy link
Copy Markdown
Member

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 !

@eiriktsarpalis eiriktsarpalis left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

System.Collections LGTM

@eiriktsarpalis
eiriktsarpalis self-requested a review September 11, 2024 12:32

@eiriktsarpalis eiriktsarpalis left a comment

Copy link
Copy Markdown
Member

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?

@carlossanlop

carlossanlop commented Sep 11, 2024 •

Copy link
Copy Markdown
Contributor Author

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.

@eiriktsarpalis

Copy link
Copy Markdown
Member

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.

Comment on lines +5 to +31
+ 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);

Copy link
Copy Markdown
Contributor

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

Comment on lines +6 to +15
- 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);

Copy link
Copy Markdown
Contributor

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

Copy link
Copy Markdown
Member

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

Copy link
Copy Markdown
Member

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

@bartonjs

Copy link
Copy Markdown
Member

System.Security.* LGTM

@carlossanlop
carlossanlop merged commit 352d43f into dotnet:main Sep 12, 2024
@carlossanlop
carlossanlop deleted the ApiDiffRC1 branch September 12, 2024 20:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants