Skip to content

Commit 099f7ea

Browse files
authored
Add API Diff for Preview 7 (#10014)
* API Diff for 10.0 preview 7 * Fix indenting * Don't show move of System.Threading.AccessControl
1 parent a8e8505 commit 099f7ea

26 files changed

+2271
-0
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# API difference between .NET 10.0 Preview 6 and .NET 10.0 Preview 7
2+
3+
API listing follows standard diff formatting.
4+
Lines preceded by a '+' are additions and a '-' indicates removal.
5+
6+
* [Microsoft.AspNetCore.Authentication.Abstractions](10.0-preview7_Microsoft.AspNetCore.Authentication.Abstractions.md)
7+
* [Microsoft.AspNetCore.Components](10.0-preview7_Microsoft.AspNetCore.Components.md)
8+
* [Microsoft.AspNetCore.Components.Endpoints](10.0-preview7_Microsoft.AspNetCore.Components.Endpoints.md)
9+
* [Microsoft.AspNetCore.Components.Web](10.0-preview7_Microsoft.AspNetCore.Components.Web.md)
10+
* [Microsoft.AspNetCore.Diagnostics](10.0-preview7_Microsoft.AspNetCore.Diagnostics.md)
11+
* [Microsoft.AspNetCore.Http.Abstractions](10.0-preview7_Microsoft.AspNetCore.Http.Abstractions.md)
12+
* [Microsoft.AspNetCore.Identity](10.0-preview7_Microsoft.AspNetCore.Identity.md)
13+
* [Microsoft.AspNetCore.Mvc.Core](10.0-preview7_Microsoft.AspNetCore.Mvc.Core.md)
14+
* [Microsoft.Extensions.Configuration](10.0-preview7_Microsoft.Extensions.Configuration.md)
15+
* [Microsoft.Extensions.Identity.Core](10.0-preview7_Microsoft.Extensions.Identity.Core.md)
16+
* [Microsoft.Extensions.Identity.Stores](10.0-preview7_Microsoft.Extensions.Identity.Stores.md)
17+
* [Microsoft.JSInterop](10.0-preview7_Microsoft.JSInterop.md)
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Microsoft.AspNetCore.Authentication.Abstractions
2+
3+
```diff
4+
namespace Microsoft.AspNetCore.Authentication
5+
{
6+
public static class AuthenticationTokenExtensions
7+
{
8+
- public static bool UpdateTokenValue(this Microsoft.AspNetCore.Authentication.AuthenticationProperties properties, string tokenName, string tokenValue);
9+
+ public static bool UpdateTokenValue(this Microsoft.AspNetCore.Authentication.AuthenticationProperties properties, string tokenName, string? tokenValue);
10+
}
11+
}
12+
```
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Microsoft.AspNetCore.Components.Endpoints
2+
3+
```diff
4+
namespace Microsoft.AspNetCore.Components
5+
{
6+
- public sealed class LinkPreload : Microsoft.AspNetCore.Components.IComponent
7+
- {
8+
- public LinkPreload();
9+
- }
10+
+ public sealed class ResourcePreloader : Microsoft.AspNetCore.Components.IComponent
11+
+ {
12+
+ public ResourcePreloader();
13+
+ }
14+
}
15+
```
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Microsoft.AspNetCore.Components.Web
2+
3+
```diff
4+
namespace Microsoft.AspNetCore.Components.Forms
5+
{
6+
+ public class InputHidden : Microsoft.AspNetCore.Components.Forms.InputBase<string?>
7+
+ {
8+
+ public InputHidden();
9+
+ protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder builder);
10+
+ protected override bool TryParseValueFromString(string? value, out string? result, out string? validationErrorMessage);
11+
+ public Microsoft.AspNetCore.Components.ElementReference? Element { get; protected set; }
12+
+ }
13+
}
14+
```
Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
# Microsoft.AspNetCore.Components
2+
3+
```diff
4+
namespace Microsoft.AspNetCore.Components
5+
{
6+
public abstract class OwningComponentBase : Microsoft.AspNetCore.Components.ComponentBase, System.IDisposable, System.IAsyncDisposable
7+
{
8+
+ protected virtual System.Threading.Tasks.ValueTask DisposeAsyncCore();
9+
}
10+
public sealed class ResourceAsset
11+
{
12+
- public ResourceAsset(string url, System.Collections.Generic.IReadOnlyList<Microsoft.AspNetCore.Components.ResourceAssetProperty>? properties);
13+
+ public ResourceAsset(string url, System.Collections.Generic.IReadOnlyList<Microsoft.AspNetCore.Components.ResourceAssetProperty>? properties = null);
14+
}
15+
- public sealed class SupplyParameterFromPersistentComponentStateAttribute : Microsoft.AspNetCore.Components.CascadingParameterAttributeBase
16+
- {
17+
- public SupplyParameterFromPersistentComponentStateAttribute();
18+
- }
19+
+ public abstract class PersistentComponentStateSerializer<T>
20+
+ {
21+
+ protected PersistentComponentStateSerializer();
22+
+ public abstract void Persist(T value, System.Buffers.IBufferWriter<byte> writer);
23+
+ public abstract T Restore(System.Buffers.ReadOnlySequence<byte> data);
24+
+ }
25+
+ public sealed class PersistentStateAttribute : Microsoft.AspNetCore.Components.CascadingParameterAttributeBase
26+
+ {
27+
+ public PersistentStateAttribute();
28+
+ }
29+
}
30+
namespace Microsoft.AspNetCore.Components.Infrastructure
31+
{
32+
+ public static class PersistentStateProviderServiceCollectionExtensions
33+
+ {
34+
+ public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddSupplyValueFromPersistentComponentStateProvider(this Microsoft.Extensions.DependencyInjection.IServiceCollection services);
35+
+ }
36+
}
37+
namespace Microsoft.AspNetCore.Components.Rendering
38+
{
39+
public class ComponentState : System.IAsyncDisposable
40+
{
41+
+ protected internal virtual object? GetComponentKey();
42+
}
43+
}
44+
namespace Microsoft.AspNetCore.Components.Routing
45+
{
46+
public sealed class NotFoundEventArgs : System.EventArgs
47+
{
48+
- public NotFoundEventArgs(string url);
49+
- public string Path { get; }
50+
+ public string? Path { get; set; }
51+
+ public NotFoundEventArgs();
52+
}
53+
public class Router : Microsoft.AspNetCore.Components.IComponent, Microsoft.AspNetCore.Components.IHandleAfterRender, System.IDisposable
54+
{
55+
+ [System.ObsoleteAttribute("NotFound is deprecated. Use NotFoundPage instead.")]
56+
public Microsoft.AspNetCore.Components.RenderFragment NotFound { get; set; }
57+
- public System.Type NotFoundPage { get; set; }
58+
+ public System.Type? NotFoundPage { get; set; }
59+
}
60+
}
61+
namespace Microsoft.Extensions.DependencyInjection
62+
{
63+
- public static class SupplyParameterFromPersistentComponentStateProviderServiceCollectionExtensions
64+
- {
65+
- public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddSupplyValueFromPersistentComponentStateProvider(this Microsoft.Extensions.DependencyInjection.IServiceCollection services);
66+
- }
67+
}
68+
```
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Microsoft.AspNetCore.Diagnostics
2+
3+
```diff
4+
namespace Microsoft.AspNetCore.Builder
5+
{
6+
public class ExceptionHandlerOptions
7+
{
8+
+ public System.Func<Microsoft.AspNetCore.Diagnostics.ExceptionHandlerSuppressDiagnosticsContext, bool>? SuppressDiagnosticsCallback { get; set; }
9+
}
10+
}
11+
namespace Microsoft.AspNetCore.Diagnostics
12+
{
13+
+ public enum ExceptionHandledType
14+
+ {
15+
+ Unhandled = 0,
16+
+ ExceptionHandlerService = 1,
17+
+ ProblemDetailsService = 2,
18+
+ ExceptionHandlerDelegate = 3,
19+
+ ExceptionHandlingPath = 4,
20+
+ }
21+
+ public sealed class ExceptionHandlerSuppressDiagnosticsContext
22+
+ {
23+
+ public ExceptionHandlerSuppressDiagnosticsContext();
24+
+ public required System.Exception Exception { get; init; }
25+
+ public required Microsoft.AspNetCore.Diagnostics.ExceptionHandledType ExceptionHandledBy { get; init; }
26+
+ public required Microsoft.AspNetCore.Http.HttpContext HttpContext { get; init; }
27+
+ }
28+
}
29+
```
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Microsoft.AspNetCore.Http.Abstractions
2+
3+
```diff
4+
namespace Microsoft.AspNetCore.Http.Metadata
5+
{
6+
+ public interface IApiEndpointMetadata
7+
+ {
8+
+ }
9+
}
10+
```

0 commit comments

Comments
 (0)