Skip to content

API-diff between .NET 6.0 and .NET 7.0 #7976

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 8 commits into from
Jan 3, 2023

Conversation

carlossanlop
Copy link
Member

  • ASP.NET - @dotnet/aspnet-api-review

  • WinForms - @merriemcgaw @RussKie

  • WPF - @singhashish-wpf and @pchaurasia14

  • Libraries - @jeffhandley @karelz @ericstj @stephentoub

  • Microsoft.VisualBasic: @jaredpar @cston @333fred

  • Microsoft.Win32: @dotnet/area-microsoft-win32

  • System.Buffers: @dotnet/area-system-buffers

  • System.CodeDom: @dotnet/area-system-codedom

  • System.Collections: @dotnet/area-system-collections

  • System.ComponentModel: @dotnet/area-system-componentmodel

  • System.ComponentModel.Composition: @dotnet/area-system-componentmodel-composition

  • System.Data: @ajcvickers @DavoudEshtehari @David-Engel @JRahnama

  • System.Diagnostics.Activity: @dotnet/area-system-diagnostics-activity

  • System.Diagnostics.CodeAnalysis: @AaronRobinsonMSFT

  • System.Diagnostics.EventLog: @dotnet/area-system-diagnostics-eventlog

  • System.Diagnostics.Metrics: @tommcdon @noahfalk

  • System.Diagnostics.PerformanceCounter: @dotnet/area-system-diagnostics-performancecounter

  • System.Diagnostics.Process: @dotnet/area-system-diagnostics-process

  • System.Formats.Tar: @dotnet/area-system-io

  • System.IO: @dotnet/area-system-io

  • System.IO.Compression: @dotnet/area-system-io-compression

  • System.Linq: @dotnet/area-system-linq

  • System.Net: @dotnet/ncl

  • System.Numerics: @dotnet/area-system-numerics

  • System.Reflection: @dotnet/area-system-reflection

  • System.Reflection.Emit: @dotnet/area-system-reflection-emit

  • System.Reflection.Metadata: @dotnet/area-system-reflection-metadata

  • System.Resources: @dotnet/area-system-resources

  • System.Runtime.CompilerServices: @dotnet/area-system-runtime-compilerservices

  • System.Runtime.InteropServices: @dotnet/interop-contrib @lewing @pavelsavara

  • System.Runtime.Intrinsics: @dotnet/area-system-runtime-intrinsics

  • System.Runtime.Serialization: @HongGit @StephenMolloy

  • System.Runtime.Versioning: @buyaa-n

  • System.Runtime: @dotnet/area-system-runtime

  • System.Security: @dotnet/area-system-security

  • System.Text: @dotnet/area-system-text-encoding

  • System.Text.Json: @dotnet/area-system-text-json

  • System.Text.RegularExpressions: @dotnet/area-system-text-regularexpressions

  • System.Threading: @mangod9 @kouvel

  • System.Timers: @dotnet/area-system-componentmodel

  • System.Transactions: @HongGit @roji

  • System.Xml: @dotnet/area-system-xml

  • System.Web: @Rick-Anderson

  • System: @dotnet/area-system-runtime

Copy link
Member

@RussKie RussKie left a comment

Choose a reason for hiding this comment

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

Windows Forms looks expected, though the diff is hard to parse.

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 System.Transactions

Copy link
Member

@pchaurasia14 pchaurasia14 left a comment

Choose a reason for hiding this comment

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

No direct changes for WPF. LGTM.

Copy link
Member

@adamsitnik adamsitnik left a comment

Choose a reason for hiding this comment

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

I think I have found 2 issues, PTAL at my comments.

@tarekgh
Copy link
Member

tarekgh commented Nov 18, 2022

System.Diagnostics.Activity, System.Diagnostics.Metrics, and System.ComponentModel LGTM.

I assume it is intentional to list the nullability differences in the existing APIs too. Right?

Copy link
Member

@BrennanConroy BrennanConroy left a comment

Choose a reason for hiding this comment

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

RateLimiting looks good. Nullability in AspNetCore is off.

+ public static IResult Text(string content, string contentType = null, Encoding contentEncoding = null, int? statusCode = default(int?));
+ public static IResult UnprocessableEntity<TValue>(TValue error);
- public static IResult ValidationProblem(IDictionary<string, string[]> errors, string? detail = null, string? instance = null, int? statusCode = default(int?), string? title = null, string? type = null, IDictionary<string, object?>? extensions = null);
+ public static IResult ValidationProblem(IDictionary<string, string[]> errors, string detail = null, string instance = null, int? statusCode = default(int?), string title = null, string type = null, IDictionary<string, object?>? extensions = null);
Copy link
Member

Choose a reason for hiding this comment

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

More wrong nullability... I'm going to stop commenting on nullability inaccuracies otherwise I might be here all week

public interface IStatusCodeReExecuteFeature {
+ Endpoint Endpoint { get; }
- string? OriginalQueryString { get; set; }
+ string OriginalQueryString { 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.

Wrong nullability

Copy link
Member

@cston cston left a comment

Choose a reason for hiding this comment

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

Microsoft.VisualBasic LGTM.

Copy link
Member

@StephenMolloy StephenMolloy left a comment

Choose a reason for hiding this comment

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

System.Runtime.Serialization looks mostly good with just a couple suggestions.

carlossanlop and others added 2 commits November 18, 2022 17:03
Co-authored-by: Brennan <brecon@microsoft.com>
Co-authored-by: Adam Sitnik <adam.sitnik@gmail.com>
Co-authored-by: Steve Molloy <smolloy@microsoft.com>
…0_Microsoft.AspNetCore.Components.Web.md

Co-authored-by: Brennan <brecon@microsoft.com>
@MaceWindu MaceWindu mentioned this pull request Dec 1, 2022
@carlossanlop carlossanlop merged commit e89c56a into dotnet:main Jan 3, 2023
@carlossanlop carlossanlop deleted the ApiDiff6070 branch January 3, 2023 17:33
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.