Skip to content

API diff between .NET 10 Preview 2 and .NET 10 Preview 3 #9821

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

Merged
merged 5 commits into from
Mar 28, 2025

Conversation

carlossanlop
Copy link
Member

Repo area owners:

Libraries area owners:

  • System.ComponentModel.DataAnnotations @dotnet/area-system-componentmodel-dataannotations
  • System.Diagnostics @dotnet/area-system-diagnostics
  • System.Formats.Asn1 @dotnet/area-system-formats-asn1
  • System.Memory @dotnet/area-system-memory
  • System.Net @dotnet/ncl
  • System.Runtime @dotnet/area-system-runtime
  • System.Security @dotnet/area-system-security
  • System.Threading @kouvel @mangod9

New tool to generate diffs!

I have an open PR with the new tool we'll be using from now on to generate these API diffs: dotnet/sdk#46425

If you see any bugs, or if you don't see any APIs that should've showed up, please let me know.

Main differences with the old tool:

  • It uses Roslyn instead of Cci.
  • It has unit tests.
  • The files are being generated by assembly, not by namespace. So for example, you might find System.Runtime.CompilerServices under the System.Runtime file.
  • Events now show their add and remove accessors.
  • Might show some attributes that we weren't showing before in Api Diffs. Let me know if you don't want them shown and I'll exclude them.

@tarekgh
Copy link
Member

tarekgh commented Mar 25, 2025

ComponentModel annotations (with the suggestion) and Diagnostics LGTM!

@kouvel
Copy link
Member

kouvel commented Mar 25, 2025

System.Threading LGTM

@bartonjs
Copy link
Member

Crypto and ASN1 LGTM

@JeremyKuhne
Copy link
Member

WinForms lgtm

@carlossanlop carlossanlop merged commit e455e24 into dotnet:main Mar 28, 2025
2 of 3 checks passed
@carlossanlop carlossanlop deleted the ApiDiff10Preview3 branch March 28, 2025 17:34
Comment on lines +14 to +21
+ public int? BlinkRate { get; set; }
- public System.Windows.Forms.ErrorBlinkStyle BlinkStyle { get; set; }
+ public System.Windows.Forms.ErrorBlinkStyle? BlinkStyle { get; set; }
- public bool HasErrors { get; }
+ public bool? HasErrors { get; }
- public virtual bool RightToLeft { get; set; }
+ public virtual bool? RightToLeft { get; set; }
+ protected override void Dispose(bool? disposing);

Choose a reason for hiding this comment

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

Copy link
Member Author

Choose a reason for hiding this comment

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

@JeremyKuhne @Tanya-Solyanik can you please confirm the nullability changes?

Copy link
Member

Choose a reason for hiding this comment

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

@carlossanlop Yeah, that's wrong. The code doesn't have that, so I'm not sure why this showed up.

Copy link
Member

Choose a reason for hiding this comment

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

The SetDataAsJson overload removal is right though.

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.

7 participants