-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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 10 Preview1 and .NET 10 Preview2 #9771
base: main
Are you sure you want to change the base?
Conversation
release-notes/10.0/preview/preview2/api-diff/Microsoft.WindowsDesktop.App/10.0-preview2.md
Outdated
Show resolved
Hide resolved
public sealed class Options | ||
{ | ||
- public System.Reflection.StrongNameKeyPair? keyPair; | ||
+ public Reflection.StrongNameKeyPair? keyPair; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not really a change, the preview2 version can detect that this class's namespace starts with System
and preview1 does not.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah -- omitting System is confusing here. Can we adjust the tool so that it doesn't do this?
+ protected virtual System.Type? GetType(ComponentModel.Design.IDesignerHost? host, Reflection.AssemblyName? assemblyName, System.String typeName, System.Boolean? reference) { throw null; } | ||
} | ||
} | ||
namespace System.Windows.Forms.Design |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we had added some classes to this namespace, I need to double check that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds good. Let me know.
[celebrate] Eric St. John reacted to your message:
…________________________________
From: Carlos Sánchez López ***@***.***>
Sent: Thursday, February 27, 2025 8:39:33 PM
To: dotnet/core ***@***.***>
Cc: Eric St. John ***@***.***>; Mention ***@***.***>
Subject: [dotnet/core] API diff between .NET 10 Preview1 and .NET 10 Preview2 (PR #9771)
Repo area owners:
* ASP.NET - @dotnet/aspnet-api-review<https://github.com/orgs/dotnet/teams/aspnet-api-review>
* WinForms - @merriemcgaw<https://github.com/merriemcgaw> @Tanya-Solyanik<https://github.com/Tanya-Solyanik> @JeremyKuhne<https://github.com/JeremyKuhne>
* WPF - @singhashish-wpf<https://github.com/singhashish-wpf> and @pchaurasia14<https://github.com/pchaurasia14>
* Libraries - @artl93<https://github.com/artl93> @jeffschwMSFT<https://github.com/jeffschwMSFT> @jeffhandley<https://github.com/jeffhandley> @karelz<https://github.com/karelz> @ericstj<https://github.com/ericstj> @stephentoub<https://github.com/stephentoub> @SamMonoRT<https://github.com/SamMonoRT>
Libraries area owners:
* System.Collections @dotnet/area-system-collections<https://github.com/orgs/dotnet/teams/area-system-collections>
* System.Linq @dotnet/area-system-linq<https://github.com/orgs/dotnet/teams/area-system-linq>
* System.Numerics @dotnet/area-system-numerics<https://github.com/orgs/dotnet/teams/area-system-numerics>
* System.Reflection @dotnet/area-system-reflection-metadata<https://github.com/orgs/dotnet/teams/area-system-reflection-metadata>
* System.Runtime, System.Runtime.CompilerServices @dotnet/area-system-runtime<https://github.com/orgs/dotnet/teams/area-system-runtime> @dotnet/area-system-runtime-compilerservices<https://github.com/orgs/dotnet/teams/area-system-runtime-compilerservices> @dotnet/interop-contrib<https://github.com/orgs/dotnet/teams/interop-contrib>
________________________________
New tool being used for generating the API diffs: dotnet/sdk#46425<dotnet/sdk#46425> It uses Roslyn instead of Cci.
If you see any bugs, please let me know, as I'm actively working on developing it.
Also please let me know if you don't see any APIs that should've showed up.
Main differences:
* The files are being generated by assembly, not by namespace. So you might find System.Runtime.CompilerServices under the System.Runtime file.
* Non-void returning methods show a throw null. Void returning methods show {} instead of just the ;.
* Events will show their add and remove accessors.
Bugs (currently working on them):
* Some attributes like EditorBrowsable should've been ignored, but sometimes they show up.
* Attributes in method arguments are not getting included.
* Private members are supposed to be ignored, yet private int _dummyPrimitive is showing up in many places.
________________________________
You can view, comment on, or merge this pull request online at:
#9771
Commit Summary
* 46835c5<46835c5> Readme
* 42e188c<42e188c> AspNetCore
* 9646d6b<9646d6b> NETCore
* 1af87b7<1af87b7> WindowsDesktop
File Changes
(23 files<https://github.com/dotnet/core/pull/9771/files>)
* A release-notes/10.0/preview/preview2/api-diff/Microsoft.AspNetCore.App/10.0-preview2.md<https://github.com/dotnet/core/pull/9771/files#diff-6cf03f604b0c07c342d0ed0a0f325748e0118a80173d53f6ace52cd11d9ddf9e> (8)
* A release-notes/10.0/preview/preview2/api-diff/Microsoft.AspNetCore.App/10.0-preview2_Microsoft.AspNetCore.Components.Web.md<https://github.com/dotnet/core/pull/9771/files#diff-dee11dcb359887870c3bd881f6c012ccc93d18dbf53aaa57cc4a8b0beb54d2b5> (11)
* A release-notes/10.0/preview/preview2/api-diff/Microsoft.AspNetCore.App/10.0-preview2_Microsoft.Extensions.Identity.Core.md<https://github.com/dotnet/core/pull/9771/files#diff-4fc8731aff845f0e83fece753b2d63a95c3003d51ce0959e26351a885b3b730f> (12)
* A release-notes/10.0/preview/preview2/api-diff/Microsoft.NETCore.App/10.0-preview2.md<https://github.com/dotnet/core/pull/9771/files#diff-bf44fcc33f11e261b1cb45bd4a5ece2b266c83789eb207da9cb6be5c155892d1> (13)
* A release-notes/10.0/preview/preview2/api-diff/Microsoft.NETCore.App/10.0-preview2_System.Collections.Immutable.md<https://github.com/dotnet/core/pull/9771/files#diff-0961ee680cce6bdb31f31a26862d31bd5aa3f5ea40b2fc85ef3069023f1d4595> (11)
* A release-notes/10.0/preview/preview2/api-diff/Microsoft.NETCore.App/10.0-preview2_System.Linq.AsyncEnumerable.md<https://github.com/dotnet/core/pull/9771/files#diff-27e345291a2c687e9c04922889fa65ad36869a3a70b252c73e5c29aaf26f5192> (11)
* A release-notes/10.0/preview/preview2/api-diff/Microsoft.NETCore.App/10.0-preview2_System.Linq.Queryable.md<https://github.com/dotnet/core/pull/9771/files#diff-a5bde3725ac7cef727b64e98932e4a5811f8ab8ada46b1efcf9db4a50074df51> (11)
* A release-notes/10.0/preview/preview2/api-diff/Microsoft.NETCore.App/10.0-preview2_System.Linq.md<https://github.com/dotnet/core/pull/9771/files#diff-15bf7bcb3fec5374cbdd85a861ae7c99d805e6927939e0ebb4c0c82fcd3c09d7> (11)
* A release-notes/10.0/preview/preview2/api-diff/Microsoft.NETCore.App/10.0-preview2_System.Numerics.Vectors.md<https://github.com/dotnet/core/pull/9771/files#diff-793c2c016e5d17bf3bbc73829458a67123b255a3e9e7f16dfdb91e70e3057064> (15)
* A release-notes/10.0/preview/preview2/api-diff/Microsoft.NETCore.App/10.0-preview2_System.Reflection.Metadata.md<https://github.com/dotnet/core/pull/9771/files#diff-481756216bb9b175aad53346c73f6f60d79d531ea10876e79c9a9a2d30046e8d> (20)
* A release-notes/10.0/preview/preview2/api-diff/Microsoft.NETCore.App/10.0-preview2_System.Runtime.md<https://github.com/dotnet/core/pull/9771/files#diff-b0b80b66302a09f553fd9e047e3a821b59ab0231af49dfe53bbd8c1559b1a05a> (73)
* A release-notes/10.0/preview/preview2/api-diff/Microsoft.WindowsDesktop.App/10.0-preview2.md<https://github.com/dotnet/core/pull/9771/files#diff-b23f6f4a262c65efb75eb7302d6cfd6ae9d4e4cc7a1b3f502a271c838406ee66> (16)
* A release-notes/10.0/preview/preview2/api-diff/Microsoft.WindowsDesktop.App/10.0-preview2_PresentationFramework.md<https://github.com/dotnet/core/pull/9771/files#diff-7e07a574a2262e681bb335c5e5d746bc19a1af2908e2d1085b68a8c0c5d605a4> (37)
* A release-notes/10.0/preview/preview2/api-diff/Microsoft.WindowsDesktop.App/10.0-preview2_System.CodeDom.md<https://github.com/dotnet/core/pull/9771/files#diff-ab2209014726e140a2ecffba0ae935ef545519aefd90ebc0a654285cb5af8b30> (25)
* A release-notes/10.0/preview/preview2/api-diff/Microsoft.WindowsDesktop.App/10.0-preview2_System.Formats.Nrbf.md<https://github.com/dotnet/core/pull/9771/files#diff-2c3fabbc852ee361b61245316bddd6adfae749370fcce2934e821230d04fd2b9> (27)
* A release-notes/10.0/preview/preview2/api-diff/Microsoft.WindowsDesktop.App/10.0-preview2_System.Security.Permissions.md<https://github.com/dotnet/core/pull/9771/files#diff-1a65d2383dd51a8b9657e4dc7bc7ad67cd07bf4029aad3829d11a4f6862a0887> (24)
* A release-notes/10.0/preview/preview2/api-diff/Microsoft.WindowsDesktop.App/10.0-preview2_System.Windows.Extensions.md<https://github.com/dotnet/core/pull/9771/files#diff-717a32085591192ea93489b7ac836e479cae36b14bb5bcd41c4464631ee7c01f> (16)
* A release-notes/10.0/preview/preview2/api-diff/Microsoft.WindowsDesktop.App/10.0-preview2_System.Windows.Forms.Design.md<https://github.com/dotnet/core/pull/9771/files#diff-86d93836dee1b87bb8d1ef0c24cb06a03fb5854b1c0a1d9cf695a9b90b67ea8c> (50)
* A release-notes/10.0/preview/preview2/api-diff/Microsoft.WindowsDesktop.App/10.0-preview2_System.Windows.Forms.md<https://github.com/dotnet/core/pull/9771/files#diff-d36ac9d1205da6ff69d58b19693d29636725ac5b755901d525ce5ae4b5901d97> (50)
* A release-notes/10.0/preview/preview2/api-diff/Microsoft.WindowsDesktop.App/10.0-preview2_System.Xaml.md<https://github.com/dotnet/core/pull/9771/files#diff-c1a830ca8995747a9ec72015ee2c035978b9af6e5b0bf5619a733dd59b7a67a8> (89)
* A release-notes/10.0/preview/preview2/api-diff/Microsoft.WindowsDesktop.App/10.0-preview2_UIAutomationClient.md<https://github.com/dotnet/core/pull/9771/files#diff-502d4811c2c5cc4fbe2a2512c8c5cc8bc903355a48443274bad4771b9b7126c2> (12)
* A release-notes/10.0/preview/preview2/api-diff/Microsoft.WindowsDesktop.App/10.0-preview2_WindowsBase.md<https://github.com/dotnet/core/pull/9771/files#diff-be0a7c6f766a70dced458aeecaa1bc4cd5c1022cf92a0254ff4b1aa2d568cabd> (24)
* A release-notes/10.0/preview/preview2/api-diff/README.md<https://github.com/dotnet/core/pull/9771/files#diff-a395898a3f2913be7867a42263d376fe9fe984456bc8b2f41fb0397b39d209c2> (7)
Patch Links:
* https://github.com/dotnet/core/pull/9771.patch
* https://github.com/dotnet/core/pull/9771.diff
—
Reply to this email directly, view it on GitHub<#9771>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ACEBIXEBFCHQN4BCNEWDBW32R5ZYLAVCNFSM6AAAAABYAYG2WCVHI2DSMVQWIX3LMV43ASLTON2WKOZSHA4DKNJWGE2DINQ>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Repo area owners:
Libraries area owners:
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:
throw null
. Void returning methods show{}
instead of just the;
.add
andremove
accessors.Bugs (currently working on them):
EditorBrowsable
should've been ignored, but sometimes they show up.private int _dummyPrimitive
is showing up in many places.System.
prefix in API fullnames is unexpectedly getting removed in some cases, showing the diff as having an API added.