build: Bump FastEndpoints from 5.34.0 to 8.1.0 - #44
Closed
dependabot[bot] wants to merge 1 commit into
Closed
Conversation
--- updated-dependencies: - dependency-name: FastEndpoints dependency-version: 8.1.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
Contributor
Author
|
Superseded by #45. |
dependabot
Bot
deleted the
dependabot/nuget/backend/src/CheapAnalysis.Api/FastEndpoints-8.1.0
branch
June 11, 2026 19:53
pss1u19
added a commit
that referenced
this pull request
Jun 18, 2026
…PI (#50) FastEndpoints 8.x removed the endpoint SendAsync/SendNotFoundAsync helpers in favour of the unified Send.* API, so the 5.34 → 8.1 bump broke the build: PingEndpoint SendAsync -> Send.OkAsync SentryTestEndpoint SendNotFoundAsync -> Send.NotFoundAsync Dependabot raised the major as #44/#45 but closed both in favour of the 5.35 minor in backend group #49 — without the code change — so the major never had a buildable PR. Verified with dotnet build -c Release (0 errors).
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 5.34.0 to 8.1.0.
Release notes
Sourced from FastEndpoints's releases.
8.1
Due to low financial backing by the community, FastEndpoints will soon be going into "Bugfix Only" mode until the situation improves. Please join the discussion here and help out if you can.
New 🎉
Dual mode testing support for 'AppFixture'
You can now use the same app fixture (without any conditional code in your tests) to run WAF based tests during regular development, and run smoke tests against a native aot build during a CI/CD pipeline run by simply doing
dotnet test MyTestProject.csproj -p:NativeAotTestMode=truein the pipeline. This way you are able to have a faster feedback loop during development and also verify that everything works the same once the app is built with native aot by running the same set of tests against the aot build without any special handling in your code. See the documentation here.Fluent generics support for serializer context generator
The STJ serializer context generator now supports endpoints defined with fluent generics.
Referenced project + Nuget package support for the serializer context generator
The generated serializer context will now have
JsonSerializableattributes for request and response DTOs from referenced source projects as well as Nuget packages. Previously the generator was only capable of generating attributes for DTOs from the current project directory.Ability to configure a pre-determined list of "known subscribers" for remote event queues
Remote event subscribers can now supply an explicit
subscriberIDinstead of relying on the auto generated client identity, and event hubs can be configured with a known list of subscriber IDs to begin queuing events for them from app startup onward. Known subscriber pre-seeding does not affect round-robin mode, which still delivers only to currently connected subscribers.Fixes 🪲
Stack overflow issue with .NET 8 and 9
A stack overflow exception was being thrown in .NET 8/9 due to cyclical calls in TypeInfoResolver, which .NET 10 has solved. We've added a workaround to prevent this from happening.
Serializer context generator was skipping collection DTO types
The serializer context generator tool was not creating
JsonSerializableattributes for request and response DTO types if they were collection types such asList<Request>,IEnumerable<Response>, etc.... (truncated)
8.0.1
Due to low financial backing by the community, FastEndpoints will soon be going into "Bugfix Only" mode until the situation improves. Please join the discussion here and help out if you can.
New 🎉
Support for Native AOT compilation
FastEndpoints is now Native AOT compatible. Please see the documentation here on how to configure it.
If you'd like to jump in head first, a fresh AOT primed starter project can be scaffolded like so:
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)
Commits viewable in compare view.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)