Skip to content

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

Merged
carlossanlop merged 8 commits into
dotnet:mainfrom
carlossanlop:ApiDiff6070
Jan 3, 2023
Merged

carlossanlop merged 8 commits into
dotnet:mainfrom
carlossanlop:ApiDiff6070

Conversation

@carlossanlop

Copy link
Copy Markdown
Contributor
  • 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

@RussKie RussKie left a comment

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.

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

@roji roji 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.

OK for System.Transactions

@pchaurasia14 pchaurasia14 left a comment

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.

No direct changes for WPF. 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.

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

@tarekgh

tarekgh commented Nov 18, 2022

Copy link
Copy Markdown
Member

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?

@BrennanConroy BrennanConroy 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.

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
Copy Markdown
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
Copy Markdown
Member

Choose a reason for hiding this comment

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

Wrong nullability

@cston cston left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Microsoft.VisualBasic LGTM.

@StephenMolloy StephenMolloy left a comment

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.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 <[email protected]>
Co-authored-by: Adam Sitnik <[email protected]>
Co-authored-by: Steve Molloy <[email protected]>
…0_Microsoft.AspNetCore.Components.Web.md

Co-authored-by: Brennan <[email protected]>
@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
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.