-
Notifications
You must be signed in to change notification settings - Fork 4.9k
API Diff .NET 10.0 RC1 -> RC2 #10138
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
Open
jozkee
wants to merge
1
commit into
dotnet:main
Choose a base branch
from
jozkee:apidiff.rc1.rc2
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
7 changes: 7 additions & 0 deletions
7
release-notes/10.0/preview/rc2/api-diff/Microsoft.AspNetCore.App/10.0-RC2.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| # API difference between .NET 10.0 RC 1 and .NET 10.0 RC 2 | ||
|
|
||
| API listing follows standard diff formatting. | ||
| Lines preceded by a '+' are additions and a '-' indicates removal. | ||
|
|
||
| * [Microsoft.AspNetCore.Components](10.0-RC2_Microsoft.AspNetCore.Components.md) | ||
| * [Microsoft.AspNetCore.Mvc.TagHelpers](10.0-RC2_Microsoft.AspNetCore.Mvc.TagHelpers.md) |
12 changes: 12 additions & 0 deletions
12
...2/api-diff/Microsoft.AspNetCore.App/10.0-RC2_Microsoft.AspNetCore.Components.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| # Microsoft.AspNetCore.Components | ||
|
|
||
| ```diff | ||
| namespace Microsoft.AspNetCore.Components | ||
| { | ||
| public class RouteView : Microsoft.AspNetCore.Components.IComponent | ||
| { | ||
| + [System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute("Trimming", "IL2110", Justification = "Layout components are preserved because the LayoutAttribute constructor parameter is correctly annotated.")] | ||
| protected virtual void Render(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder builder); | ||
| } | ||
| } | ||
| ``` |
12 changes: 12 additions & 0 deletions
12
...i-diff/Microsoft.AspNetCore.App/10.0-RC2_Microsoft.AspNetCore.Mvc.TagHelpers.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| # Microsoft.AspNetCore.Mvc.TagHelpers | ||
|
|
||
| ```diff | ||
| namespace Microsoft.AspNetCore.Mvc.TagHelpers | ||
| { | ||
| public class ScriptTagHelper : Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper | ||
| { | ||
| - public override void Process(Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext context, Microsoft.AspNetCore.Razor.TagHelpers.TagHelperOutput output); | ||
| + public override System.Threading.Tasks.Task ProcessAsync(Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext context, Microsoft.AspNetCore.Razor.TagHelpers.TagHelperOutput output); | ||
| } | ||
| } | ||
| ``` |
10 changes: 10 additions & 0 deletions
10
release-notes/10.0/preview/rc2/api-diff/Microsoft.NETCore.App/10.0-RC2.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| # API difference between .NET 10.0 RC 1 and .NET 10.0 RC 2 | ||
|
|
||
| API listing follows standard diff formatting. | ||
| Lines preceded by a '+' are additions and a '-' indicates removal. | ||
|
|
||
| * [System.Numerics.Vectors](10.0-RC2_System.Numerics.Vectors.md) | ||
| * [System.Runtime](10.0-RC2_System.Runtime.md) | ||
| * [System.Runtime.Intrinsics](10.0-RC2_System.Runtime.Intrinsics.md) | ||
| * [System.Security.Cryptography](10.0-RC2_System.Security.Cryptography.md) | ||
| * [System.Xml.XmlSerializer](10.0-RC2_System.Xml.XmlSerializer.md) |
28 changes: 28 additions & 0 deletions
28
.../preview/rc2/api-diff/Microsoft.NETCore.App/10.0-RC2_System.Numerics.Vectors.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| # System.Numerics.Vectors | ||
|
|
||
| ```diff | ||
| namespace System.Numerics | ||
| { | ||
| public static class Vector | ||
| { | ||
| - public static System.Numerics.Vector<T> get_E<T>() | ||
| - where T : System.Numerics.IFloatingPointConstants<T>; | ||
| - public static System.Numerics.Vector<T> get_Epsilon<T>() | ||
| - where T : System.Numerics.IFloatingPointIeee754<T>; | ||
| - public static System.Numerics.Vector<T> get_NaN<T>() | ||
| - where T : System.Numerics.IFloatingPointIeee754<T>; | ||
| - public static System.Numerics.Vector<T> get_NegativeInfinity<T>() | ||
| - where T : System.Numerics.IFloatingPointIeee754<T>; | ||
| - public static System.Numerics.Vector<T> get_NegativeOne<T>() | ||
| - where T : System.Numerics.ISignedNumber<T>; | ||
| - public static System.Numerics.Vector<T> get_NegativeZero<T>() | ||
| - where T : System.Numerics.IFloatingPointIeee754<T>; | ||
| - public static System.Numerics.Vector<T> get_Pi<T>() | ||
| - where T : System.Numerics.IFloatingPointConstants<T>; | ||
| - public static System.Numerics.Vector<T> get_PositiveInfinity<T>() | ||
| - where T : System.Numerics.IFloatingPointIeee754<T>; | ||
| - public static System.Numerics.Vector<T> get_Tau<T>() | ||
| - where T : System.Numerics.IFloatingPointConstants<T>; | ||
| } | ||
| } | ||
| ``` | ||
91 changes: 91 additions & 0 deletions
91
...review/rc2/api-diff/Microsoft.NETCore.App/10.0-RC2_System.Runtime.Intrinsics.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,91 @@ | ||
| # System.Runtime.Intrinsics | ||
|
|
||
| ```diff | ||
| namespace System.Runtime.Intrinsics | ||
| { | ||
| public static class Vector128 | ||
| { | ||
| - public static System.Runtime.Intrinsics.Vector128<T> get_E<T>() | ||
| - where T : System.Numerics.IFloatingPointConstants<T>; | ||
| - public static System.Runtime.Intrinsics.Vector128<T> get_Epsilon<T>() | ||
| - where T : System.Numerics.IFloatingPointIeee754<T>; | ||
| - public static System.Runtime.Intrinsics.Vector128<T> get_NaN<T>() | ||
| - where T : System.Numerics.IFloatingPointIeee754<T>; | ||
| - public static System.Runtime.Intrinsics.Vector128<T> get_NegativeInfinity<T>() | ||
| - where T : System.Numerics.IFloatingPointIeee754<T>; | ||
| - public static System.Runtime.Intrinsics.Vector128<T> get_NegativeOne<T>() | ||
| - where T : System.Numerics.ISignedNumber<T>; | ||
| - public static System.Runtime.Intrinsics.Vector128<T> get_NegativeZero<T>() | ||
| - where T : System.Numerics.IFloatingPointIeee754<T>; | ||
| - public static System.Runtime.Intrinsics.Vector128<T> get_Pi<T>() | ||
| - where T : System.Numerics.IFloatingPointConstants<T>; | ||
| - public static System.Runtime.Intrinsics.Vector128<T> get_PositiveInfinity<T>() | ||
| - where T : System.Numerics.IFloatingPointIeee754<T>; | ||
| - public static System.Runtime.Intrinsics.Vector128<T> get_Tau<T>() | ||
| - where T : System.Numerics.IFloatingPointConstants<T>; | ||
| } | ||
| public static class Vector256 | ||
| { | ||
| - public static System.Runtime.Intrinsics.Vector256<T> get_E<T>() | ||
| - where T : System.Numerics.IFloatingPointConstants<T>; | ||
| - public static System.Runtime.Intrinsics.Vector256<T> get_Epsilon<T>() | ||
| - where T : System.Numerics.IFloatingPointIeee754<T>; | ||
| - public static System.Runtime.Intrinsics.Vector256<T> get_NaN<T>() | ||
| - where T : System.Numerics.IFloatingPointIeee754<T>; | ||
| - public static System.Runtime.Intrinsics.Vector256<T> get_NegativeInfinity<T>() | ||
| - where T : System.Numerics.IFloatingPointIeee754<T>; | ||
| - public static System.Runtime.Intrinsics.Vector256<T> get_NegativeOne<T>() | ||
| - where T : System.Numerics.ISignedNumber<T>; | ||
| - public static System.Runtime.Intrinsics.Vector256<T> get_NegativeZero<T>() | ||
| - where T : System.Numerics.IFloatingPointIeee754<T>; | ||
| - public static System.Runtime.Intrinsics.Vector256<T> get_Pi<T>() | ||
| - where T : System.Numerics.IFloatingPointConstants<T>; | ||
| - public static System.Runtime.Intrinsics.Vector256<T> get_PositiveInfinity<T>() | ||
| - where T : System.Numerics.IFloatingPointIeee754<T>; | ||
| - public static System.Runtime.Intrinsics.Vector256<T> get_Tau<T>() | ||
| - where T : System.Numerics.IFloatingPointConstants<T>; | ||
| } | ||
| public static class Vector512 | ||
| { | ||
| - public static System.Runtime.Intrinsics.Vector512<T> get_E<T>() | ||
| - where T : System.Numerics.IFloatingPointConstants<T>; | ||
| - public static System.Runtime.Intrinsics.Vector512<T> get_Epsilon<T>() | ||
| - where T : System.Numerics.IFloatingPointIeee754<T>; | ||
| - public static System.Runtime.Intrinsics.Vector512<T> get_NaN<T>() | ||
| - where T : System.Numerics.IFloatingPointIeee754<T>; | ||
| - public static System.Runtime.Intrinsics.Vector512<T> get_NegativeInfinity<T>() | ||
| - where T : System.Numerics.IFloatingPointIeee754<T>; | ||
| - public static System.Runtime.Intrinsics.Vector512<T> get_NegativeOne<T>() | ||
| - where T : System.Numerics.ISignedNumber<T>; | ||
| - public static System.Runtime.Intrinsics.Vector512<T> get_NegativeZero<T>() | ||
| - where T : System.Numerics.IFloatingPointIeee754<T>; | ||
| - public static System.Runtime.Intrinsics.Vector512<T> get_Pi<T>() | ||
| - where T : System.Numerics.IFloatingPointConstants<T>; | ||
| - public static System.Runtime.Intrinsics.Vector512<T> get_PositiveInfinity<T>() | ||
| - where T : System.Numerics.IFloatingPointIeee754<T>; | ||
| - public static System.Runtime.Intrinsics.Vector512<T> get_Tau<T>() | ||
| - where T : System.Numerics.IFloatingPointConstants<T>; | ||
| } | ||
| public static class Vector64 | ||
| { | ||
| - public static System.Runtime.Intrinsics.Vector64<T> get_E<T>() | ||
| - where T : System.Numerics.IFloatingPointConstants<T>; | ||
| - public static System.Runtime.Intrinsics.Vector64<T> get_Epsilon<T>() | ||
| - where T : System.Numerics.IFloatingPointIeee754<T>; | ||
| - public static System.Runtime.Intrinsics.Vector64<T> get_NaN<T>() | ||
| - where T : System.Numerics.IFloatingPointIeee754<T>; | ||
| - public static System.Runtime.Intrinsics.Vector64<T> get_NegativeInfinity<T>() | ||
| - where T : System.Numerics.IFloatingPointIeee754<T>; | ||
| - public static System.Runtime.Intrinsics.Vector64<T> get_NegativeOne<T>() | ||
| - where T : System.Numerics.ISignedNumber<T>; | ||
| - public static System.Runtime.Intrinsics.Vector64<T> get_NegativeZero<T>() | ||
| - where T : System.Numerics.IFloatingPointIeee754<T>; | ||
| - public static System.Runtime.Intrinsics.Vector64<T> get_Pi<T>() | ||
| - where T : System.Numerics.IFloatingPointConstants<T>; | ||
| - public static System.Runtime.Intrinsics.Vector64<T> get_PositiveInfinity<T>() | ||
| - where T : System.Numerics.IFloatingPointIeee754<T>; | ||
| - public static System.Runtime.Intrinsics.Vector64<T> get_Tau<T>() | ||
| - where T : System.Numerics.IFloatingPointConstants<T>; | ||
| } | ||
| } | ||
| ``` |
16 changes: 16 additions & 0 deletions
16
...otes/10.0/preview/rc2/api-diff/Microsoft.NETCore.App/10.0-RC2_System.Runtime.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| # System.Runtime | ||
|
|
||
| ```diff | ||
| namespace System | ||
| { | ||
| public class ArgumentOutOfRangeException : System.ArgumentException | ||
| { | ||
| - public static void ThrowIfEqual<T>(T value, T other, string? paramName = null) | ||
| + public static void ThrowIfEqual<T>(T value, T other, string? paramName = null); | ||
| - where T : System.IEquatable<T>?; | ||
| - public static void ThrowIfNotEqual<T>(T value, T other, string? paramName = null) | ||
| + public static void ThrowIfNotEqual<T>(T value, T other, string? paramName = null); | ||
| - where T : System.IEquatable<T>?; | ||
| } | ||
| } | ||
| ``` |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
@tannergooding I see these APIs ported to RC1 dotnet/dotnet#2016 but not to RC2?
https://github.com/dotnet/runtime/commits/release/10.0-rc2/src/libraries/System.Private.CoreLib/src/System/Numerics/Vector.cs
https://github.com/dotnet/dotnet/blob/release/10.0.1xx-rc2-branding-update/src/runtime/src/libraries/System.Private.CoreLib/src/System/Numerics/Vector.cs
(I don't know if this is the right VMR rc2 branch)
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.
We ship from VMR, so check the final code there and you'll see it's missing from GA as well. https://github.com/dotnet/dotnet/commits/release/10.0.1xx/src/runtime/src/libraries/System.Private.CoreLib/src/System/Numerics/Vector.cs