-
Notifications
You must be signed in to change notification settings - Fork 5k
API diff between .NET 11.0 Preview 1 and .NET 11.0 Preview 2 #10281
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
jeffhandley
wants to merge
1
commit into
dotnet11-preview2
Choose a base branch
from
dotnet11-preview2-apidiff
base: dotnet11-preview2
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.
+229
−0
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
8 changes: 8 additions & 0 deletions
8
...-notes/11.0/preview/preview2/api-diff/Microsoft.AspNetCore.App/11.0-preview2.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,8 @@ | ||
| # API difference between .NET 11.0 Preview 1 and .NET 11.0 Preview 2 | ||
|
|
||
| API listing follows standard diff formatting. | ||
| Lines preceded by a '+' are additions and a '-' indicates removal. | ||
|
|
||
| * [Microsoft.AspNetCore.Components.Endpoints](11.0-preview2_Microsoft.AspNetCore.Components.Endpoints.md) | ||
| * [Microsoft.Extensions.Identity.Core](11.0-preview2_Microsoft.Extensions.Identity.Core.md) | ||
| * [Microsoft.Extensions.Identity.Stores](11.0-preview2_Microsoft.Extensions.Identity.Stores.md) |
27 changes: 27 additions & 0 deletions
27
...osoft.AspNetCore.App/11.0-preview2_Microsoft.AspNetCore.Components.Endpoints.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,27 @@ | ||
| # Microsoft.AspNetCore.Components.Endpoints | ||
|
|
||
| ```diff | ||
| namespace Microsoft.AspNetCore.Components | ||
| { | ||
| + public interface ITempData : System.Collections.Generic.IDictionary<string, object?>, System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<string, object?>>, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string, object?>>, System.Collections.IEnumerable | ||
| + { | ||
| + object? Get(string key); | ||
| + void Keep(); | ||
| + void Keep(string key); | ||
| + object? Peek(string key); | ||
| + } | ||
| } | ||
| namespace Microsoft.AspNetCore.Components.Endpoints | ||
| { | ||
| public sealed class RazorComponentsServiceOptions | ||
| { | ||
| + public Microsoft.AspNetCore.Http.CookieBuilder TempDataCookie { get; set; } | ||
| + public Microsoft.AspNetCore.Components.Endpoints.TempDataProviderType TempDataProviderType { get; set; } | ||
| } | ||
| + public enum TempDataProviderType | ||
| + { | ||
| + Cookie = 0, | ||
| + SessionStorage = 1, | ||
| + } | ||
| } | ||
| ``` |
11 changes: 11 additions & 0 deletions
11
...ff/Microsoft.AspNetCore.App/11.0-preview2_Microsoft.Extensions.Identity.Core.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,11 @@ | ||
| # Microsoft.Extensions.Identity.Core | ||
|
|
||
| ```diff | ||
| namespace Microsoft.AspNetCore.Identity | ||
| { | ||
| public sealed class UserPasskeyInfo | ||
| { | ||
| + public byte[]? Aaguid { get; set; } | ||
| } | ||
| } | ||
| ``` |
11 changes: 11 additions & 0 deletions
11
.../Microsoft.AspNetCore.App/11.0-preview2_Microsoft.Extensions.Identity.Stores.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,11 @@ | ||
| # Microsoft.Extensions.Identity.Stores | ||
|
|
||
| ```diff | ||
| namespace Microsoft.AspNetCore.Identity | ||
| { | ||
| public class IdentityPasskeyData | ||
| { | ||
| + public virtual byte[]? Aaguid { get; set; } | ||
| } | ||
| } | ||
| ``` |
13 changes: 13 additions & 0 deletions
13
...ase-notes/11.0/preview/preview2/api-diff/Microsoft.NETCore.App/11.0-preview2.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,13 @@ | ||
| # API difference between .NET 11.0 Preview 1 and .NET 11.0 Preview 2 | ||
|
|
||
| API listing follows standard diff formatting. | ||
| Lines preceded by a '+' are additions and a '-' indicates removal. | ||
|
|
||
| * [System.Console](11.0-preview2_System.Console.md) | ||
| * [System.Diagnostics.Process](11.0-preview2_System.Diagnostics.Process.md) | ||
| * [System.Formats.Tar](11.0-preview2_System.Formats.Tar.md) | ||
| * [System.Net.Primitives](11.0-preview2_System.Net.Primitives.md) | ||
| * [System.Runtime](11.0-preview2_System.Runtime.md) | ||
| * [System.Runtime.InteropServices](11.0-preview2_System.Runtime.InteropServices.md) | ||
| * [System.Runtime.Intrinsics](11.0-preview2_System.Runtime.Intrinsics.md) | ||
| * [System.Text.Json](11.0-preview2_System.Text.Json.md) |
13 changes: 13 additions & 0 deletions
13
...preview/preview2/api-diff/Microsoft.NETCore.App/11.0-preview2_System.Console.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,13 @@ | ||
| # System.Console | ||
|
|
||
| ```diff | ||
| namespace System | ||
| { | ||
| public static class Console | ||
| { | ||
| + public static Microsoft.Win32.SafeHandles.SafeFileHandle OpenStandardErrorHandle(); | ||
| + public static Microsoft.Win32.SafeHandles.SafeFileHandle OpenStandardInputHandle(); | ||
| + public static Microsoft.Win32.SafeHandles.SafeFileHandle OpenStandardOutputHandle(); | ||
| } | ||
| } | ||
| ``` |
14 changes: 14 additions & 0 deletions
14
...iew2/api-diff/Microsoft.NETCore.App/11.0-preview2_System.Diagnostics.Process.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,14 @@ | ||
| # System.Diagnostics.Process | ||
|
|
||
| ```diff | ||
| namespace System.Diagnostics | ||
| { | ||
| + public sealed class ProcessExitStatus | ||
| + { | ||
| + public ProcessExitStatus(int exitCode, bool canceled, System.Runtime.InteropServices.PosixSignal? signal = null); | ||
| + public bool Canceled { get; } | ||
| + public int ExitCode { get; } | ||
| + public System.Runtime.InteropServices.PosixSignal? Signal { get; } | ||
| + } | ||
| } | ||
| ``` |
14 changes: 14 additions & 0 deletions
14
...iew/preview2/api-diff/Microsoft.NETCore.App/11.0-preview2_System.Formats.Tar.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,14 @@ | ||
| # System.Formats.Tar | ||
|
|
||
| ```diff | ||
| namespace System.Formats.Tar | ||
| { | ||
| public static class TarFile | ||
| { | ||
| + public static void CreateFromDirectory(string sourceDirectoryName, System.IO.Stream destination, bool includeBaseDirectory, System.Formats.Tar.TarEntryFormat format); | ||
| + public static void CreateFromDirectory(string sourceDirectoryName, string destinationFileName, bool includeBaseDirectory, System.Formats.Tar.TarEntryFormat format); | ||
| + public static System.Threading.Tasks.Task CreateFromDirectoryAsync(string sourceDirectoryName, System.IO.Stream destination, bool includeBaseDirectory, System.Formats.Tar.TarEntryFormat format, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); | ||
| + public static System.Threading.Tasks.Task CreateFromDirectoryAsync(string sourceDirectoryName, string destinationFileName, bool includeBaseDirectory, System.Formats.Tar.TarEntryFormat format, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); | ||
| } | ||
| } | ||
| ``` |
11 changes: 11 additions & 0 deletions
11
.../preview2/api-diff/Microsoft.NETCore.App/11.0-preview2_System.Net.Primitives.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,11 @@ | ||
| # System.Net.Primitives | ||
|
|
||
| ```diff | ||
| namespace System.Net | ||
| { | ||
| public enum DecompressionMethods | ||
| { | ||
| + Zstandard = 8, | ||
| } | ||
| } | ||
| ``` |
11 changes: 11 additions & 0 deletions
11
.../api-diff/Microsoft.NETCore.App/11.0-preview2_System.Runtime.InteropServices.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,11 @@ | ||
| # System.Runtime.InteropServices | ||
|
|
||
| ```diff | ||
| namespace System.Runtime.InteropServices | ||
| { | ||
| public enum PosixSignal | ||
| { | ||
| + SIGKILL = -11, | ||
| } | ||
| } | ||
| ``` |
41 changes: 41 additions & 0 deletions
41
...view2/api-diff/Microsoft.NETCore.App/11.0-preview2_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,41 @@ | ||
| # System.Runtime.Intrinsics | ||
|
|
||
| ```diff | ||
| namespace System.Runtime.Intrinsics.Arm | ||
| { | ||
| public abstract class Sve : System.Runtime.Intrinsics.Arm.AdvSimd | ||
| { | ||
| + public static System.Numerics.Vector<double> CreateBreakAfterMask(System.Numerics.Vector<double> totalMask, System.Numerics.Vector<double> fromMask); | ||
| + public static System.Numerics.Vector<float> CreateBreakAfterMask(System.Numerics.Vector<float> totalMask, System.Numerics.Vector<float> fromMask); | ||
| + public static System.Numerics.Vector<double> CreateBreakAfterPropagateMask(System.Numerics.Vector<double> mask, System.Numerics.Vector<double> left, System.Numerics.Vector<double> right); | ||
| + public static System.Numerics.Vector<float> CreateBreakAfterPropagateMask(System.Numerics.Vector<float> mask, System.Numerics.Vector<float> left, System.Numerics.Vector<float> right); | ||
| + public static System.Numerics.Vector<double> CreateBreakBeforeMask(System.Numerics.Vector<double> totalMask, System.Numerics.Vector<double> fromMask); | ||
| + public static System.Numerics.Vector<float> CreateBreakBeforeMask(System.Numerics.Vector<float> totalMask, System.Numerics.Vector<float> fromMask); | ||
| + public static System.Numerics.Vector<double> CreateBreakBeforePropagateMask(System.Numerics.Vector<double> mask, System.Numerics.Vector<double> left, System.Numerics.Vector<double> right); | ||
| + public static System.Numerics.Vector<float> CreateBreakBeforePropagateMask(System.Numerics.Vector<float> mask, System.Numerics.Vector<float> left, System.Numerics.Vector<float> right); | ||
| + public static System.Numerics.Vector<double> CreateBreakPropagateMask(System.Numerics.Vector<double> totalMask, System.Numerics.Vector<double> fromMask); | ||
| + public static System.Numerics.Vector<float> CreateBreakPropagateMask(System.Numerics.Vector<float> totalMask, System.Numerics.Vector<float> fromMask); | ||
| + public static System.Numerics.Vector<double> CreateMaskForFirstActiveElement(System.Numerics.Vector<double> totalMask, System.Numerics.Vector<double> fromMask); | ||
| + public static System.Numerics.Vector<float> CreateMaskForFirstActiveElement(System.Numerics.Vector<float> totalMask, System.Numerics.Vector<float> fromMask); | ||
| + public static System.Numerics.Vector<double> GetFfrDouble(); | ||
| + public static System.Numerics.Vector<float> GetFfrSingle(); | ||
| + public static void SetFfr(System.Numerics.Vector<double> value); | ||
| + public static void SetFfr(System.Numerics.Vector<float> value); | ||
| + public static bool TestAnyTrue(System.Numerics.Vector<double> mask, System.Numerics.Vector<double> rightMask); | ||
| + public static bool TestAnyTrue(System.Numerics.Vector<float> mask, System.Numerics.Vector<float> rightMask); | ||
| + public static bool TestFirstTrue(System.Numerics.Vector<double> leftMask, System.Numerics.Vector<double> rightMask); | ||
| + public static bool TestFirstTrue(System.Numerics.Vector<float> leftMask, System.Numerics.Vector<float> rightMask); | ||
| + public static bool TestLastTrue(System.Numerics.Vector<double> leftMask, System.Numerics.Vector<double> rightMask); | ||
| + public static bool TestLastTrue(System.Numerics.Vector<float> leftMask, System.Numerics.Vector<float> rightMask); | ||
| } | ||
| public abstract class Sve2 : System.Runtime.Intrinsics.Arm.Sve | ||
| { | ||
| + public static System.Numerics.Vector<byte> ShiftRightLogicalNarrowingSaturateEven(System.Numerics.Vector<ushort> value, byte count); | ||
| + public static System.Numerics.Vector<ushort> ShiftRightLogicalNarrowingSaturateEven(System.Numerics.Vector<uint> value, byte count); | ||
| + public static System.Numerics.Vector<uint> ShiftRightLogicalNarrowingSaturateEven(System.Numerics.Vector<ulong> value, byte count); | ||
| + public static System.Numerics.Vector<byte> ShiftRightLogicalNarrowingSaturateOdd(System.Numerics.Vector<byte> even, System.Numerics.Vector<ushort> value, byte count); | ||
| + public static System.Numerics.Vector<ushort> ShiftRightLogicalNarrowingSaturateOdd(System.Numerics.Vector<ushort> even, System.Numerics.Vector<uint> value, byte count); | ||
| + public static System.Numerics.Vector<uint> ShiftRightLogicalNarrowingSaturateOdd(System.Numerics.Vector<uint> even, System.Numerics.Vector<ulong> value, byte count); | ||
| } | ||
| } | ||
| ``` |
31 changes: 31 additions & 0 deletions
31
...preview/preview2/api-diff/Microsoft.NETCore.App/11.0-preview2_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,31 @@ | ||
| # System.Runtime | ||
|
|
||
| ```diff | ||
| namespace System | ||
| { | ||
| public class Uri : System.IEquatable<System.Uri>, System.IFormattable, System.ISpanFormattable, System.Runtime.Serialization.ISerializable | ||
| { | ||
| - [System.ObsoleteAttribute("This constructor has been deprecated; the dontEscape parameter is always false. Use Uri(string) instead.")] | ||
| + [System.ObsoleteAttribute("This constructor has been deprecated. Use Uri(string) instead.")] | ||
| public Uri(string uriString, bool dontEscape); | ||
| - [System.ObsoleteAttribute("This constructor has been deprecated; the dontEscape parameter is always false. Use Uri(Uri, string) instead.")] | ||
| + [System.ObsoleteAttribute("This constructor has been deprecated. Use Uri(Uri, string) instead.")] | ||
| public Uri(System.Uri baseUri, string? relativeUri, bool dontEscape); | ||
| } | ||
| } | ||
| namespace System.Globalization | ||
| { | ||
| public sealed class IdnMapping | ||
| { | ||
| + public bool TryGetAscii(System.ReadOnlySpan<char> unicode, System.Span<char> destination, out int charsWritten); | ||
| + public bool TryGetUnicode(System.ReadOnlySpan<char> ascii, System.Span<char> destination, out int charsWritten); | ||
| } | ||
| } | ||
| namespace System.IO | ||
| { | ||
| public static class File | ||
| { | ||
| + public static Microsoft.Win32.SafeHandles.SafeFileHandle OpenNullHandle(); | ||
| } | ||
| } | ||
| ``` | ||
12 changes: 12 additions & 0 deletions
12
...eview/preview2/api-diff/Microsoft.NETCore.App/11.0-preview2_System.Text.Json.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 @@ | ||
| # System.Text.Json | ||
|
|
||
| ```diff | ||
| namespace System.Text.Json | ||
| { | ||
| public sealed class JsonSerializerOptions | ||
| { | ||
| + public System.Text.Json.Serialization.Metadata.JsonTypeInfo<T> GetTypeInfo<T>(); | ||
| + public bool TryGetTypeInfo<T>(out System.Text.Json.Serialization.Metadata.JsonTypeInfo<T>? typeInfo); | ||
| } | ||
| } | ||
| ``` |
5 changes: 5 additions & 0 deletions
5
...es/11.0/preview/preview2/api-diff/Microsoft.WindowsDesktop.App/11.0-preview2.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,5 @@ | ||
| # API difference between .NET 11.0 Preview 1 and .NET 11.0 Preview 2 | ||
|
|
||
| API listing follows standard diff formatting. | ||
| Lines preceded by a '+' are additions and a '-' indicates removal. | ||
|
|
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 @@ | ||
| # .NET 11.0 Preview 2 API Changes | ||
|
|
||
| The following API changes were made in .NET 11.0 Preview 2: | ||
|
|
||
| - [Microsoft.NETCore.App](./Microsoft.NETCore.App/11.0-preview2.md) | ||
| - [Microsoft.AspNetCore.App](./Microsoft.AspNetCore.App/11.0-preview2.md) | ||
| - [Microsoft.WindowsDesktop.App](./Microsoft.WindowsDesktop.App/11.0-preview2.md) |
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.
It looks like the only thing that changed here was the message in the obsoletion attribute? That shouldn't be considered an API change.