Bump FastEndpoints.Testing and Microsoft.AspNetCore.Mvc.Testing - #56
Closed
dependabot[bot] wants to merge 1 commit into
Closed
Bump FastEndpoints.Testing and Microsoft.AspNetCore.Mvc.Testing#56dependabot[bot] wants to merge 1 commit into
dependabot[bot] wants to merge 1 commit into
Conversation
|
|
Bumps FastEndpoints.Testing from 5.21.2 to 8.2.0 Bumps Microsoft.AspNetCore.Mvc.Testing to 8.0.28, 8.0.29 --- updated-dependencies: - dependency-name: FastEndpoints.Testing dependency-version: 8.2.0 dependency-type: direct:production update-type: version-update:semver-major - dependency-name: Microsoft.AspNetCore.Mvc.Testing dependency-version: 8.0.28 dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: Microsoft.AspNetCore.Mvc.Testing dependency-version: 8.0.29 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
dependabot
Bot
force-pushed
the
dependabot/nuget/multi-b488f35b64
branch
from
August 8, 2026 02:50
b296755 to
452476b
Compare
Contributor
|
Superseded by grouped Dependabot updates: these bumps will return as a single grouped pull request per ecosystem, rather than one per package. |
Contributor
Author
|
OK, I won't notify you again about this release, but will get in touch when a new version is available. You can also ignore all major, minor, or patch releases for a dependency by adding an If you change your mind, just re-open this PR and I'll resolve any conflicts on it. |
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.Testing from 5.21.2 to 8.2.0.
Release notes
Sourced from FastEndpoints.Testing'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.If you've not worked with AOT compilation in .NET before, it's highly recommended to read the docs linked above.
Auto generate STJ JsonSerializationContexts
You no longer need to ever see a
JsonSerializerContextthanks to the new serializer context generator in FastEndpoints. (Unless you want to that is 😉). See the documentation here on how to enable it for non-AOT projects.Distributed job processing support
The job queueing functionality now has support for distributed workers that connect to the same underlying database. See the documentation here.
Qualify endpoints in global configurator according to endpoint level metadata
You can now register any object as metadata at the endpoint level like so:
There's no setup (nor code changes) needed for projects using FastEndpoints main library. The above is only for when you want to use the messaging functionality in projects that don't have FastEndpoints.
Standalone package for Job Queues functionality
The job queuing functionality has also been extracted out to a separate package
FastEndpoints.JobQueueswhich can be used independently of the main FE library. No code changes are needed for existing FE projects.Aspire Testing support for routeless test helpers
You can now use the routeless test helpers such as
.GETAsync<MyEndpoint>()with AspireDistributedApplicationtesting like so:If there's no async work being done in the handler, the Task<Void> can simply be returned as well:
Specify max request body size per endpoint
Instead of globally increasing the max request body size in Kestrel, you can now set a max body size per endpoint where necessary like so:
In order to add your own custom response sending methods, simply target the
IResponseSenderinterface and write extension methods like so:This is obviously is a wide-reaching breaking change which can be easily remedied with a quick regex based find & replace. Please see the breaking changes section below for step-by-step instructions on how to migrate. Takes less than a minute.
Send multiple Server-Sent-Event models in a single stream
It is now possible to send different types of data in a single SSE stream with the use of a wrapper type called StreamItem like so:
This allows access if the user's "scope" claim includes ANY of the listed values. To require ALL scopes, use ScopesAll() instead.
By default, scopes are read from the "scope" claim, which can be changed like so:
If scope values aren't space-separated, customize parsing like so:
Automatic 'Accepts Metadata' for Non-Json requests
In the past, if an endpoint defines a request DTO type, an accepts-metadata of
application/jsonwould be automatically added to the endpoint, which would require the user to clear that default metadata if all the properties of the DTO is bound from non-json binding sources such as route/query/header etc.Now, if the user annotates all the properties of a DTO with the respective non-json binding sources such as the following:
Auto population of headers in routeless tests
Given a request dto such as the following where a property is decorated with the
[FromHeader]attribute:Previously, you had to manually add the header to the request in order for the endpoint to succeed without sending back an error response.
Now you can simply supply the value for the header when making the request as follows, and the header will be automatically added to the request with the value from the property.
This automatic behavior can be disabled as follows if you'd like to keep the previous behavior:
... (truncated)
6.0
❇️ Help Keep FastEndpoints Free & Open-Source ❇️
Due to the current unfortunate state of FOSS, please consider becoming a sponsor and help us beat the odds to keep the project alive and free for everyone.
Breaking Changes⚠️
New 🎉
Support for .NET 10 preview
You can start targeting
net10.0SDK in your FE projects now. Currently preview versions of the dependencies are used.Generic Pre/Post Processor global registration
Open generic pre/post processors can now be registered globally using the endpoint configurator func like so:
Middleware pipeline for Command Bus
By popular demand from people moving away from MediatR, a middleware pipeline similar to MediatRs pipeline behaviors has been added to FE's built-in command bus. You just need to write your pipeline/middleware pieces by implementing the interface
ICommandMiddleware<TCommand,TResult>and register those pieces to form a middleware pipeline as described in the documentation.Support 'CONNECT' and 'TRACE' verbs
... (truncated)
5.35
❇️ Help Keep FastEndpoints Free & Open-Source ❇️
Due to the current unfortunate state of FOSS, please consider becoming a sponsor and help us beat the odds to keep the project alive and free for everyone.
New 🎉
Bypass endpoint caching for integration tests
You can now easily test endpoints that have caching enabled, by using a client configured to automatically bypass caching like so:
Mark properties as "bind required"
You can now make the request binder automatically add a validation failure when binding from route params, query params, and form fields by decorating the dto properties if the binding source doesn't provide a value:
Generic command support for job queues
Closed generic commands can now be registered like so:
... (truncated)
5.34
❇️ Help Keep FastEndpoints Free & Open-Source ❇️
Due to the current unfortunate state of FOSS, please consider becoming a sponsor and help us beat the odds to keep the project alive and free for everyone.
New 🎉
Queued job progress tracking
It is now possible to queue a job and track its progress and/or retrieve intermediate results while the command handler executes via the job tracker as documented here.
Global 'JwtCreationOptions' support for refresh token service
If you configure jwt creation options at a global level like so:
The
RefreshTokenServicewill now take the default values from the global config if you don't specify anything when configuring the token service like below:Global response modifier setting
A new global action has been added which gets triggered right before a response is written to the response stream allowing you to carry out some common logic that should be applied to all endpoints.
... (truncated)
5.33
❇️ Help Keep FastEndpoints Free & Open-Source ❇️
Due to the current unfortunate state of FOSS, please consider becoming a sponsor and help us beat the odds to keep the project alive and free for everyone.
New 🎉
Migrate to xUnit v3⚠️
If you're using the
FastEndpoints.Testingpackage in your test projects, take the following steps to migrate your projects:.csprojfile:xunitv2 package.xunit.v3library with version1.0.0xunit.runner.visualstudioto3.0.0AppFixture<TProgram>classes, such asSetupAsyncandTearDownAsync. Change their return type fromTasktoValueTaskto resolve these errors.XUnit.Abstractionsnamespace not being found, simply delete those "using statements" as that namespace has been removed in xUnit v3.After doing the above, it should pretty much be smooth sailing, unless your project is affected by the removal of previously deprecated classes as mentioned in the "Breaking Changes" section below.
Eliminate the need for [BindFrom(...)] attribute
Until now, when binding from sources other than JSON body, you had to annotate request DTO properties with the
[BindFrom("my_field")]attribute when the incoming field name is different to the DTO property name. A new setting has now been introduced which allows you to use the same property naming policy as the serializer for matching incoming request parameters without having to use any attributes.This only applies to properties where you haven't specified the field names manually using an attribute such as
[BindFrom(...)],[FromClaim(...)].[FromHeader(...)]etc.Control binding sources per DTO property
The default binding order is designed to minimize attribute clutter on DTO models. In most cases, disabling binding sources is unnecessary. However, for rare scenarios where a binding source must be explicitly blocked, you can now do the following:
... (truncated)
5.32
❇️ Help Keep FastEndpoints Free & Open-Source ❇️
Due to the current unfortunate state of FOSS, please consider becoming a sponsor and help us beat the odds to keep the project alive and free for everyone.
New 🎉
.NET 9.0 Support
Migration to .NET 9.0 SDK is now complete. You can now target
net9.0sdk without any issues.Support for enforcing antiforgery token checks for non-form requests
The antiforgery middleware can now be configured to check antiforgery tokens for any content-type by configuring it like so:
User configurable Endpoint Name (Operation Id) generation
The endpoint name generation logic can now be overriden at a global level like so:
Global configuration of 'JwtCreationOptions'
You can now configure
JwtCreationOptionsonce globally like so:Automatic transformation of 'ProblemDetails.Title' & 'ProblemDetails.Type' values according to 'StatusCode'
... (truncated)
5.30
✨ Looking For Sponsors ✨
FastEndpoints needs sponsorship to sustain the project. Please help out if you can.
New 🎉
Fluent endpoint base class picker
A fluent endpoint base class picker similar to
Ardalis.ApiEndpointshas been added, with which you can pick and choose the DTO and Mapper types you'd like to use in a fluent manner.Job Queuing support for Commands that return a result
A command that returns a result
ICommand<TResult>can now be queued up as a job. The result of a job can be retrieved via the JobTracker using its Tracking Id.Click here to read the documentation for this feature.
5.29
✨ Looking For Sponsors ✨
FastEndpoints needs sponsorship to sustain the project. Please help out if you can.
New 🎉
Multi-level test-collection ordering
Tests can now be ordered by prioritizing test-collections, test-classes in those collections as well as tests within the classes for fully controlling the order of test execution when test-collections are involved. See here for a usage example.
Customize character encoding of JSON responses
A new config setting has been added for customizing the charset of JSON responses.
utf-8is used by default. can be set tonullfor disabling the automatic appending of the charset to theContent-Typeheader of responses.Setting for allowing [JsonIgnore] attribute on 'required' DTO properties
STJ typically does not allow
requiredproperties to be annotated with[JsonIgnore]attribute. The following doesn't work out of the box:The following setting is now enabled by default allowing you to annotate
requiredproperties with[JsonIgnore]:It's necessary to decorate
requiredproperties with[JsonIgnore]in situations where the same property is bound from multiple sources.... (truncated)
5.28
✨ Looking For Sponsors ✨
FastEndpoints needs sponsorship to sustain the project. Please help out if you can.
New 🎉
Jwt token revocation middleware
Jwt token revocation can be easily implemented with the newly provided abstract class like so:
Simply register it before any auth related middleware like so:
Ability to override JWT Token creation options per request for Refresh Tokens
A couple of new optional hooks have been added that can be tapped in to if you'd like to modify Jwt token creation parameters per request, and also modify the token response per request before it's sent to the client. Per request token creation parameter modification may be useful when allowing the client to decide the validity of tokens.
Ability to subscribe to gRPC Events from Blazor Wasm projects
Until now, only gRPC Command initiations were possible from within Blazor Wasm projects. Support has been added to the
FastEndpoints.Messaging.Remote.Coreproject which is capable of running in the browser to be able to act as a subscriber for Event broadcasts from a gRPC server. See here for a sample project showcasing both.Improvements 🚀
... (truncated)
5.27
✨ Looking For Sponsors ✨
FastEndpoints needs sponsorship to sustain the project. Please help out if you can.
New 🎉
Support for cancellation of queued jobs
Queuing a command as a job now returns a Tracking Id with which you can request cancellation of a queued job from anywhere/anytime like so:
Use either use the JobTracker<TCommand> generic class or inject a IJobTracker<TCommand> instance from the DI Container to access the CancelJobAsync() method.
NOTE: This feature warrants a minor breaking change. See how to upgrade below.
Check if app is being run in Swagger Json export mode and/or Api Client Generation mode
You can now use the following new extension methods for conditionally configuring your middleware pipeline depending on the mode the app is running in:
WebApplicationBuilder Extensions
WebApplication Extensions
... (truncated)
5.26
✨ Looking For Sponsors ✨
FastEndpoints needs sponsorship to sustain the project. Please help out if you can.
New 🎉
Idempotency support based on 'OutputCaching' middleware
FastEndpoints now ships with built-in endpoint idempotency support built around the OutputCaching middleware.
Specify additional Http Verbs/Methods for endpoints globally
In addition to the Verbs you specify at the endpoint level, you can now specify Verbs to be added to endpoints with the global configurator as well as endpoint groups like so:
Collection-Fixture support for Testing
... (truncated)
5.25
✨ Looking For Sponsors ✨
FastEndpoints needs sponsorship to sustain the project. Please help out if you can.
New 🎉
New generic attribute [Group<T>] for attribute based endpoint group configuration
When using attribute based endpoint configuration, you can now use the generic 'Group' attribute to specify the group which the endpoint belongs to like so:
Specify a label, summary & description for Swagger request examples
When specifying multiple swagger request examples, you can now specify the additional info like this:
'DontAutoSend()' support for 'Results<T1,T2,...>' returning endpoint handler methods
When putting a post-processor in charge of sending the
response, it was not previously supported when the handler method returns a
Results<T1,T2,...>. You can now use theDontAutoSend()config option with such endpointhandlers.
'ProblemDetails' per instance title transformer
You can now supply a delegate that will transform the
Titlefield ofProblemDetailsresponses based on some info present on the final problem details instance.For example, you can transform the final title value depending on the status code of the response like so:
Setting for allowing empty request DTOs
By default, an exception will be thrown if you set the
TRequestof an endpoint to a class type that does not have any bindable properties. This behavior can now beturned off if your use case requires empty request DTOs.
... (truncated)
5.23
✨ Looking For Sponsors ✨
FastEndpoints needs sponsorship to sustain the project. Please help out if you can.
New 🎉
Keyed service injection support
Keyed services introduced in .NET 8 can be injected like so:
Model binding support for Typed Http Headers
Typed Http Headers can be bound by simply annotating with a
[FromHeader(...)]attribute like so:NOTE: Only supported on .Net 8+ and typed header classes from
Microsoft.Net.Http.Headersnamespace.Ability to strip symbols from Swagger group/tag names
... (truncated)
5.22
✨ Looking For Sponsors ✨
FastEndpoints needs sponsorship to sustain the project. Please help out if you can.
New 🎉
Attribute driven response headers
Please see the documentation for more information.
Allow a Post-Processor to act as the sole mechanism for sending responses
As shown in this example, a post-processor can now be made the sole orchestrator of sending the
appropriate response such as in the case with the "Results Pattern".
Support for generic commands and command handlers
Please see the documentation for more information.
Improvements 🚀
Auto resolving of Mappers in unit tests
Previously it was necessary for the user to instantiate and set the mapper on endpoints when unit testing endpoints classes. It is no longer necessary to do so
unless you want to. Existing code doesn't need to change as the
Mapperproperty is still publicly settable.Respect default values of constructor arguments when model binding
The default request binder will now use the default values from the constructor arguments of the DTO when instantiating the DTO before model binding starts. For
example, the
SomeOtherParamproperty will have a value of10if no other binding sources provides a value for it.... (truncated)
Commits viewable in compare view.
Updated Microsoft.AspNetCore.Mvc.Testing from 8.0.0 to 8.0.28.
Release notes
Sourced from Microsoft.AspNetCore.Mvc.Testing's releases.
8.0.28
Release
What's Changed
Full Changelog: dotnet/aspnetcore@v8.0.27...v8.0.28
8.0.27
Release
What's Changed
73a63eatod72f9c8by @dependabot[bot] in [release/8.0] (deps): Bump src/submodules/googletest from73a63eatod72f9c8dotnet/aspnetcore#66087Full Changelog: dotnet/aspnetcore@v8.0.26...v8.0.27
8.0.26
Release
What's Changed
56efe39to73a63eaby @dependabot[bot] in [release/8.0] (deps): Bump src/submodules/googletest from56efe39to73a63eadotnet/aspnetcore#65586Full Changelog: dotnet/aspnetcore@v8.0.25...v8.0.26
8.0.25
Release
What's Changed
9156d4cto56efe39by @dependabot[bot] in [release/8.0] (deps): Bump src/submodules/googletest from9156d4cto56efe39dotnet/aspnetcore#65289Full Changelog: dotnet/aspnetcore@v8.0.24...v8.0.25
8.0.24
Release
8.0.23
Release
What's Changed
https://devblogs.microsoft.com/dotnet/dotnet-and-dotnet-framework-january-2026-servicing-updates/#release-changelogs
8.0.22
Release
What's Changed
eb2d85eto9706f75by @dependabot[bot] in [release/8.0] (deps): Bump src/submodules/googletest fromeb2d85eto9706f75dotnet/aspnetcore#63893Full Changelog: dotnet/aspnetcore@v8.0.21...v8.0.22
8.0.21
Release
What's Changed
373af2etoeb2d85eby @dependabot[bot] in [release/8.0] (deps): Bump src/submodules/googletest from373af2etoeb2d85edotnet/aspnetcore#63500Full Changelog: dotnet/aspnetcore@v8.0.20...v8.0.21
8.0.20
Release
What's Changed
c67de11to373af2eby @dependabot[bot] in [release/8.0] (deps): Bump src/submodules/googletest fromc67de11to373af2edotnet/aspnetcore#63038Full Changelog: dotnet/aspnetcore@v8.0.19...v8.0.20
8.0.18
Release
What's Changed
04ee1b4toe9092b1by @dependabot in [release/8.0] (deps): Bump src/submodules/googletest from04ee1b4toe9092b1dotnet/aspnetcore#62201Full Changelog: dotnet/aspnetcore@v8.0.17...v8.0.18
8.0.17
Bug Fixes
The Forwarded Headers Middleware now ignores
X-Forwarded-Headerssent from unknown proxies. This change improves security by ensuring that only trusted proxies can influence the forwarded headers, preventing potential spoofing or misrouting of requests.Dependency Updates
Update dependencies from dotnet/arcade (#61832)
This update brings in the latest changes from the dotnet/arcade repository, ensuring that ASP.NET Core benefits from recent improvements, bug fixes, and security patches in the shared build infrastructure.
Bump src/submodules/googletest from
52204f7to04ee1b4(#61761)The GoogleTest submodule has been updated to a newer commit, providing the latest testing features, bug fixes, and performance improvements for the project's C++ test components.
Miscellaneous
Update branding to 8.0.17 (#61830)
The project version branding has been updated to reflect the new 8.0.17 release, ensuring consistency across build outputs and documentation.
Merging internal commits for release/8.0 (#61924)
This change merges various internal commits into the release/8.0 branch, incorporating minor fixes, documentation updates, and other non-user-facing improvements to keep the release branch up to date.
This summary is generated and may contain inaccuracies. For complete details, please review the linked pull requests.
Full Changelog: dotnet/aspnetcore@v8.0.16...v8.0.17
8.0.16
Release
What's Changed
24a9e94to52204f7by @dependabot in [release/8.0] (deps): Bump src/submodules/googletest from24a9e94to52204f7dotnet/aspnetcore#61260Full Changelog: dotnet/aspnetcore@v8.0.15...v8.0.16
8.0.15
Release
What's Changed
e235eb3to24a9e94by @dependabot in [release/8.0] (deps): Bump src/submodules/googletest frome235eb3to24a9e94dotnet/aspnetcore#60677Full Changelog: dotnet/aspnetcore@v8.0.14...v8.0.15
8.0.14
Release
What's Changed
7d76a23toe235eb3by @dependabot in [release/8.0] (deps): Bump src/submodules/googletest from7d76a23toe235eb3dotnet/aspnetcore#60150Full Changelog: dotnet/aspnetcore@v8.0.13...v8.0.14
8.0.13
Release
What's Changed
d144031to7d76a23by @dependabot in [release/8.0] (deps): Bump src/submodules/googletest fromd144031to7d76a23dotnet/aspnetcore#59678index.htmlduring development by @github-actions in [release/8.0] [Blazor WASM standalone] Avoid cachingindex.htmlduring development dotnet/aspnetcore#59349Description has been truncated