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 Preview 6 and .NET 9 Preview 7 #9450

Merged
merged 5 commits into from
Aug 15, 2024

Conversation

carlossanlop
Copy link
Member

@carlossanlop carlossanlop commented Aug 13, 2024

Repo area owners:

Libraries area owners:

  • System @dotnet/area-system-runtime
  • System.Data @SamMonoRT @ajcvickers @DavoudEshtehari @David-Engel @roji
  • System.Diagnostics @dotnet/area-system-diagnostics @dotnet/area-system-diagnostics-metric
  • System.Formats.Tar @dotnet/area-system-formats-tar
  • System.Net @dotnet/ncl
  • System.Numerics @dotnet/area-system-numerics
  • System.Runtime.InteropServices @dotnet/interop-contrib
  • System.Runtime.Intrinsics @dotnet/area-system-runtime-intrinsics
  • System.Security @dotnet/area-system-security
  • System.Text.Json @dotnet/area-system-text-json
  • System.Threading @mangod9 @kouvel

Known api-diff tool issues:

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

``` diff
namespace System.Formats.Tar {
public abstract class TarEntry {
+ public long DataOffset { get; }
Copy link
Member Author

Choose a reason for hiding this comment

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

System.Formats.Tar LGTM but I cannot sign-off my own PR.

@@ -0,0 +1,150 @@
# System.Numerics
Copy link
Member

Choose a reason for hiding this comment

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

System.Numerics LGTM

CC. @dotnet/area-system-numerics

@@ -0,0 +1,477 @@
# System.Runtime.Intrinsics.Arm
Copy link
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,159 @@
# System.Runtime.Intrinsics
Copy link
Member

Choose a reason for hiding this comment

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

System.Runtime.Intrinsics LGTM

CC. @dotnet/area-system-runtime-intrinsics

@@ -0,0 +1,54 @@
# System
Copy link
Member

Choose a reason for hiding this comment

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

System LGTM

CC. @dotnet/area-system-runtime

Copy link
Member

Choose a reason for hiding this comment

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

cc. @dotnet/area-system-datetime for the TimeSpan changes

Copy link
Member

@tannergooding tannergooding left a comment

Choose a reason for hiding this comment

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

My areas LGTM

Copy link
Member

@eiriktsarpalis eiriktsarpalis left a comment

Choose a reason for hiding this comment

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

STJ changes LGTM

``` diff
namespace System.Data {
public enum SqlDbType {
+ Json = 35,

Choose a reason for hiding this comment

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

@saurabh500 for the JSON changes

Choose a reason for hiding this comment

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

Lgtm for SqlDbType

Copy link
Member

Choose a reason for hiding this comment

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

Same

Copy link
Member

@roji roji left a comment

Choose a reason for hiding this comment

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

OK for the System.Data changes

@tarekgh
Copy link
Member

tarekgh commented Aug 13, 2024

System.Diagnostics.Metrics
System.Environment
System.TimeSpan

LGTM

@kouvel
Copy link
Member

kouvel commented Aug 13, 2024

System.Threading LGTM

Comment on lines 4 to 15
namespace System.Security.Cryptography {
- [UnsupportedOSPlatformAttribute("browser")]
- [UnsupportedOSPlatformAttribute("ios")]
- [UnsupportedOSPlatformAttribute("tvos")]
- public sealed class AesGcm : IDisposable
+ [SupportedOSPlatformAttribute("ios13.0")]
+ [SupportedOSPlatformAttribute("maccatalyst")]
+ [SupportedOSPlatformAttribute("tvos13.0")]
+ [UnsupportedOSPlatformAttribute("browser")]
+ [UnsupportedOSPlatformAttribute("ios")]
+ [UnsupportedOSPlatformAttribute("tvos")]
+ public sealed class AesGcm : IDisposable
Copy link
Member

Choose a reason for hiding this comment

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

The diff is weird... lines 5-7 and 12-14 are "remove this, and put it back", so could be eliminated. Line 8/15 is just "context", not "diff". But doesn't really matter.

Copy link
Member

@bartonjs bartonjs left a comment

Choose a reason for hiding this comment

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

System.Security LGTM, modulo some inefficient diffs.

Comment on lines +3 to +14
``` diff
namespace System.Net.Http {
public abstract class HttpContent : IDisposable {
+ public Task LoadIntoBufferAsync(long maxBufferSize, CancellationToken cancellationToken);
+ public Task LoadIntoBufferAsync(CancellationToken cancellationToken);
}
[UnsupportedOSPlatformAttribute("browser")]
public sealed class SocketsHttpHandler : HttpMessageHandler {
+ public bool EnableMultipleHttp3Connections { get; set; }
}
}
```
Copy link
Member

Choose a reason for hiding this comment

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

System.Net.* LGTM

@carlossanlop carlossanlop merged commit b0aa77e into dotnet:main Aug 15, 2024
3 checks passed
@carlossanlop carlossanlop deleted the ApiDiffPrev7 branch August 15, 2024 02:50
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.

10 participants