Bump FastEndpoints and FastEndpoints.Swagger#1070
Open
dependabot[bot] wants to merge 1 commit into
Open
Conversation
Bumps FastEndpoints from 8.1.0 to 8.2.0 Bumps FastEndpoints.Swagger from 8.1.0 to 8.2.0 --- updated-dependencies: - dependency-name: FastEndpoints dependency-version: 8.2.0 dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: FastEndpoints.Swagger dependency-version: 8.2.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Updated FastEndpoints from 8.1.0 to 8.2.0.
Release notes
Sourced from FastEndpoints's releases.
8.2
Please join the discussion here and help out if you can.
New 🎉
New 'FastEndpoints.OpenApi' package based on 'Microsoft.AspNetCore.OpenApi'
Starting with
v8.2, the FastEndpoints ecosystem has switched fromNSwag/Newtonsoftbased Swagger/OpenAPI document generation to the more modern and Native AOT friendlyMicrosoft.AspNetCore.OpenApibased document generation library. Integration is provided via a newFastEndpoints.OpenApipackage which corrects a few issues with the MS package as well as doing a lot of post-processing on the document model to bring feature parity with theFastEndpoints.Swaggerpackage.There's no immediate need for you to switch to the new package if your projects are heavily invested in
NSwagbased generation. Especially if you're not yet on .NET10. The new package only supports .NET10+ projects. See EOL notice below for more info.Streaming command handlers for the command bus
The in-process command bus can now execute commands that return
IAsyncEnumerable<T>streams by implementingIStreamCommand<TResult>andIStreamCommandHandler<TCommand, TResult>.Streaming commands use the same
ExecuteAsync()extension method as regular commands, support their own middleware pipeline viaIStreamCommandMiddleware<TCommand, TResult>, and can be used with closed or generic command handler registrations.x402 Payment support for endpoints
Endpoints can now require x402 payments by calling
RequirePayment(...)insideConfigure().Global x402 defaults are configured with
builder.AddX402()andapp.UseX402(...), and the middleware only runs for endpoints that opt in. The initial release supports theexactscheme with a single accepted payment option per endpoint and uses the safer default flow of verifying first, executing the handler, and settling only after a successful response.New 'FastEndpoints.Mcp' and 'FastEndpoints.A2A' agent integration packages
Two new beta packages are now available for exposing your existing FE endpoints to AI agent runtimes without having to build separate agent-specific controllers or handlers.
FastEndpoints.Mcpexposes opt-in endpoints as Model Context Protocol (MCP) tools over HTTP using the official MCP ASP.NET Core transport.FastEndpoints.A2Aexposes opt-in endpoints as A2A skills with an agent card and JSON-RPCSendMessagedispatcher.Both addons execute the normal FastEndpoints pipeline in-process, including binding, validation, pre/post processors and response serialization. Nothing is exposed by default. Endpoints must explicitly opt in via
this.McpTool(...),[McpTool],this.A2ASkill(...), or[A2ASkill], and each package has separate agent-facing visibility filters so REST authorization and agent visibility can be configured independently.