Skip to content

Commit 5b26c2b

Browse files
jeffhandleyCopilot
andauthored
API diff between .NET 11.0 Preview 1 and .NET 11.0 Preview 2 (#10281)
* Add .NET 11.0 Preview 2 API diff Original Prompt: Create the next API Diff Command: cd release-notes .\RunApiDiff.ps1 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Exclude changes solely from Obsolete attribute message diff --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent ec57152 commit 5b26c2b

15 files changed

Lines changed: 217 additions & 0 deletions
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# API difference between .NET 11.0 Preview 1 and .NET 11.0 Preview 2
2+
3+
API listing follows standard diff formatting.
4+
Lines preceded by a '+' are additions and a '-' indicates removal.
5+
6+
* [Microsoft.AspNetCore.Components.Endpoints](11.0-preview2_Microsoft.AspNetCore.Components.Endpoints.md)
7+
* [Microsoft.Extensions.Identity.Core](11.0-preview2_Microsoft.Extensions.Identity.Core.md)
8+
* [Microsoft.Extensions.Identity.Stores](11.0-preview2_Microsoft.Extensions.Identity.Stores.md)
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Microsoft.AspNetCore.Components.Endpoints
2+
3+
```diff
4+
namespace Microsoft.AspNetCore.Components
5+
{
6+
+ 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
7+
+ {
8+
+ object? Get(string key);
9+
+ void Keep();
10+
+ void Keep(string key);
11+
+ object? Peek(string key);
12+
+ }
13+
}
14+
namespace Microsoft.AspNetCore.Components.Endpoints
15+
{
16+
public sealed class RazorComponentsServiceOptions
17+
{
18+
+ public Microsoft.AspNetCore.Http.CookieBuilder TempDataCookie { get; set; }
19+
+ public Microsoft.AspNetCore.Components.Endpoints.TempDataProviderType TempDataProviderType { get; set; }
20+
}
21+
+ public enum TempDataProviderType
22+
+ {
23+
+ Cookie = 0,
24+
+ SessionStorage = 1,
25+
+ }
26+
}
27+
```
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Microsoft.Extensions.Identity.Core
2+
3+
```diff
4+
namespace Microsoft.AspNetCore.Identity
5+
{
6+
public sealed class UserPasskeyInfo
7+
{
8+
+ public byte[]? Aaguid { get; set; }
9+
}
10+
}
11+
```
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Microsoft.Extensions.Identity.Stores
2+
3+
```diff
4+
namespace Microsoft.AspNetCore.Identity
5+
{
6+
public class IdentityPasskeyData
7+
{
8+
+ public virtual byte[]? Aaguid { get; set; }
9+
}
10+
}
11+
```
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# API difference between .NET 11.0 Preview 1 and .NET 11.0 Preview 2
2+
3+
API listing follows standard diff formatting.
4+
Lines preceded by a '+' are additions and a '-' indicates removal.
5+
6+
* [System.Console](11.0-preview2_System.Console.md)
7+
* [System.Diagnostics.Process](11.0-preview2_System.Diagnostics.Process.md)
8+
* [System.Formats.Tar](11.0-preview2_System.Formats.Tar.md)
9+
* [System.Net.Primitives](11.0-preview2_System.Net.Primitives.md)
10+
* [System.Runtime](11.0-preview2_System.Runtime.md)
11+
* [System.Runtime.InteropServices](11.0-preview2_System.Runtime.InteropServices.md)
12+
* [System.Runtime.Intrinsics](11.0-preview2_System.Runtime.Intrinsics.md)
13+
* [System.Text.Json](11.0-preview2_System.Text.Json.md)
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# System.Console
2+
3+
```diff
4+
namespace System
5+
{
6+
public static class Console
7+
{
8+
+ public static Microsoft.Win32.SafeHandles.SafeFileHandle OpenStandardErrorHandle();
9+
+ public static Microsoft.Win32.SafeHandles.SafeFileHandle OpenStandardInputHandle();
10+
+ public static Microsoft.Win32.SafeHandles.SafeFileHandle OpenStandardOutputHandle();
11+
}
12+
}
13+
```
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# System.Diagnostics.Process
2+
3+
```diff
4+
namespace System.Diagnostics
5+
{
6+
+ public sealed class ProcessExitStatus
7+
+ {
8+
+ public ProcessExitStatus(int exitCode, bool canceled, System.Runtime.InteropServices.PosixSignal? signal = null);
9+
+ public bool Canceled { get; }
10+
+ public int ExitCode { get; }
11+
+ public System.Runtime.InteropServices.PosixSignal? Signal { get; }
12+
+ }
13+
}
14+
```
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# System.Formats.Tar
2+
3+
```diff
4+
namespace System.Formats.Tar
5+
{
6+
public static class TarFile
7+
{
8+
+ public static void CreateFromDirectory(string sourceDirectoryName, System.IO.Stream destination, bool includeBaseDirectory, System.Formats.Tar.TarEntryFormat format);
9+
+ public static void CreateFromDirectory(string sourceDirectoryName, string destinationFileName, bool includeBaseDirectory, System.Formats.Tar.TarEntryFormat format);
10+
+ 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));
11+
+ 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));
12+
}
13+
}
14+
```
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# System.Net.Primitives
2+
3+
```diff
4+
namespace System.Net
5+
{
6+
public enum DecompressionMethods
7+
{
8+
+ Zstandard = 8,
9+
}
10+
}
11+
```
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# System.Runtime.InteropServices
2+
3+
```diff
4+
namespace System.Runtime.InteropServices
5+
{
6+
public enum PosixSignal
7+
{
8+
+ SIGKILL = -11,
9+
}
10+
}
11+
```

0 commit comments

Comments
 (0)