NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
NuGet, #1944 most downloaded on NuGet
Attributes used by FastEndpoints.
Latest stable
8.3.0
Last release 3 months ago
20 Aug 2026
Ships fairly regularly
a new release about every 6 weeks
Nearly every release is documented
notes for 54 of 59 stable releases
Nothing withdrawn
no release was ever pulled
4 years old
518 releases · first in 2022
Drag across the ruler to compare, or tap a release to open it.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
<!-- ## Minor Breaking Changes ⚠️ -->
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.
<!-- <details><summary>title text</summary></details> -->
<details><summary>.NET 9.0 Support</summary>
Migration to .NET 9.0 SDK is now complete. You can now target net9.0 sdk without any issues.
</details>
<details><summary>Support for enforcing antiforgery token checks for non-form requests</summary>
The antiforgery middleware can now be configured to check antiforgery tokens for any content-type by configuring it like so:
app.UseAntiforgeryFE(additionalContentTypes: ["application/json"])
</details>
<details><summary>User configurable Endpoint Name (Operation Id) generation</summary>
The endpoint name generation logic can now be overriden at a global level like so:
app.UseFastEndpoints(
c => c.Endpoints.NameGenerator =
ctx =>
{
return ctx.EndpointType.Name.TrimEnd("Endpoint");
})
</details>
<details><summary>Global configuration of 'JwtCreationOptions'</summary>
You can now configure JwtCreationOptions once globally like so:
bld.Services.Configure<JwtCreationOptions>(
o =>
{
o.SigningKey = "...";
o.Audience = "...";
o.Issuer = "...";
})
and only specify just the relevant settings that are needed to be set during token creation like so.
var token = JwtBearer.CreateToken(
o =>
{
o.ExpireAt = DateTime.UtcNow.AddHours(1);
o.User.Claims.Add(("UserId", "001"));
});
If you need to override any of the globally specified settings, that can be done during token creation as well, as what's supplied to the CreateToken(o=> ...) method is a deeply cloned instance independant of the global instance.
</details>
<details><summary>New endpoint versioning strategy based on 'Release Versions'</summary>
A new route based versioning strategy called Release Versioning has been introduced in addition to the existing two built-in versioning strategies.
</details>
<details><summary>Swagger OneOf support for polymorphic responses</summary>
When enabling OneOf for polymorphism like the following:
.SwaggerDocument(c => c.UseOneOfForPolymorphism = true)
The correct response swagger spec is not generated by NSwag by default. As requested by #807, the correct spec will now be generated.
</details>
<details><summary>Default response metadata for endpoints without a response type</summary>
Previously, if the endpoint doesn't define a particular response DTO type, a default produces 200 response metadata was being added which resulted in swagger spec like the following:
"responses": {
"200": {
"description": "Success",
"content": {
"text/plain": {
"schema": {}
},
"application/json": {
"schema": {}
}
}
}
Even though it's not incorrect, it can cause issues in some cases such as TS client generation. From now on if the endpoint doesn't specify a response DTO type, a 204 - No Content produces metadata would be added by default which results in more correct swagger spec such as the following:
"responses": {
"204": {
"description": "No Content"
}
}
</details>
<details><summary>Detection of mapper type in unit tests</summary>
The logic for automatically detecting the endpoint mapper type during unit tests has been improved to prevent any "Endpoint mapper not set!" exceptions in some cases.
</details>
<details><summary>Struct support for request DTOs</summary>
Adding the new reflection source generator broke support for struct types to be used for request DTOs, which has been corrected in this release.
</details>
<details><summary>Struct support for Reflection Source Generator</summary>
The reflection generator was not generating the correct source for unboxing value types.
</details>
<details><summary>Reflection generation for abstract types</summary>
The reflection generator was trying to generate code for deeply nested abstract types, which has now been fixed.
</details>
<details><summary>Incorrect constructor detection in Reflection Generator</summary>
The reflection generator was wrongly detecting constructors from base types instead of just stopping at the top most level.
</details>
<details><summary>Included validators causing an exception</summary>
There was a regression in the validation schema processor which resulted in included fluent validators causing an exception at the time of generating the swagger spec.
</details>
<details><summary>Unescaped back slashes breaking model binding</summary>
Incorrectly unescaped parameter values from the client was causing model binding failures which has been now corrected.
</details>
<details><summary>Rogue 200 response in Swagger spec</summary>
Due to a known bug in the .NET 9.0 SDK, a rogue 200 response metadata was being added to endpoints if the endpoints response DTO type is an IResult type and it's not a 200 status code. A workaround has been put in place to prevent that from happening.
</details>
<!-- ## Minor Breaking Changes ⚠️ -->
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
[//]: # (## Minor Breaking Changes ⚠️)
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.
<details><summary>.NET 9.0 SDK Support</summary>
Migration to .NET 9 has been completed. We're currently referencing the GA build of the SDK. Once RTM comes out, the references will be updated in the following FastEndpoints release. The GA build seems to be quite stable and suitable for production use.
</details>
<details><summary>Source generator for avoiding reflection cost</summary>
The newly added Reflection Source Generator can be used in order to avoid the cost of runtime expression compilation & reflection based methods.
</details>
<details><summary>Multipart Form Data binding support for deeply nested complex DTOs</summary>
Binding deeply nested complex DTOs from incoming form-data (including files) is now supported. Please refer to the documentation here.
</details>
<details><summary>Ability to disable FluentValidation+Swagger integration per rule</summary>
The built-in FV+Swagger integration can be disabled per property rule with the newly added .SwaggerIgnore() extension method as shown below.
sealed class MyValidator : Validator<MyRequest>
{
public MyValidator()
{
RuleFor(x => x.Id)
.NotEmpty()
.SwaggerIgnore();
}
}
</details>
<details><summary>Automatic transformation of 'ProblemDetails.Title' & 'ProblemDetails.Type' values according to 'StatusCode'</summary>
The ProblemDetails Title and Type values will now be automatically determined/transformed according to the Status code of the instance. The default behavior can be changed by setting your own TypeTransformer and TitleTransformer functions like so:
app.UseFastEndpoints(
cfg => cfg.Errors.UseProblemDetails(
pCfg =>
{
pCfg.TypeTransformer
= pd =>
{
switch (pd.Status)
{
case 404:
return "https://www.rfc-editor.org/rfc/rfc7231#section-6.5.4";
case 429:
return "https://www.rfc-editor.org/rfc/rfc6585#section-4";
default:
return "https://www.rfc-editor.org/rfc/rfc7231#section-6.5.1";
}
};
}))
</details>
<details><summary>Enhance Swagger UI search bar behavior</summary>
The Swagger UI search bar is only capable of searching/filtering operations by tag values. The search bar has been enhanced via a custom injected JS plugin to be able to search the following sources:
</details>
<details><summary>Extension method to display Swagger operation IDs in Swagger UI</summary>
Calling the following extension method will cause the operation ids to show up in the swagger ui.
app.UseSwaggerGen(uiConfig: u => u.ShowOperationIDs());
</details>
<details><summary>Allow multiple gRPC event subscribers from the same machine</summary>
Previously it was only possible for a single gRPC subscriber to exist on a single machine for any given event type. Now it's possible to run the subscriber with a custom identifier per instance which will allow more than one subscriber to exist on a particular machine for an event type.
app.MapRemote(
"http://localhost:6000",
c =>
{
//set some unique value per each instance.
//process id here is just an example.
//the value just needs to be different across the multiple app/subscriber instances.
c.Subscribe<MyEvent, MyEventHandler>(clientIdentifier: Environment.ProcessId.ToString());
});
</details>
<details><summary>Route template syntax highlighting for VS and Rider</summary>
Route template items such as the following will now be correctly syntax highlighted in Rider and Visual Studio:
Get("api/invoice/{id}/print")
</details>
<details><summary>Allow route param values with curly braces</summary>
The default request binder did not bind incoming route parameter values with curly braces such as:
http://localhost:5000/invoice/{123-456}
</details>
<details><summary>Better handling of 'JsonIgnore' attribute condition</summary>
The [JsonIgnore] attribute on request/response DTO properties will now be taken into consideration only if it's declared in either of the following two ways:
[JsonIgnore] //without specifying a condition (defaults to JsonIgnoreCondition.Always)
[JsonIgnore(Condition = JsonIgnoreCondition.Always)]
This change only applies to Swagger generation and Non-STJ model binding behavior.
</details>
<details><summary>Global 'TypeInfoResolver' not working</summary>
As reported by #783, there was an oversight in the way the built-in modifiers were checking the existence of custom attributes which lead to DTO properties being marked as "should not serialize".
</details>
<details><summary>Incorrect property name resolution of fluent validators with deeply nested DTOs</summary>
When json property naming policy is applied to fluentvalidation property chains, it was not correctly resolving the property chains for deeply nested request DTO properties.
</details>
<details><summary>'[FromBody]' attribute overriding media-type in Swagger</summary>
The usage of [FromBody] attribute was incorrectly overriding the user specified media-type value to application/json. Info: #800
</details>
<details><summary>Workaround for OpenApi bug in .NET 9.0 SDK</summary>
There's a bug in .NET 9.0 where any response DTOs implementing the IResult interface will be filtered out from swagger documentation. A workaround has been put in place since a fix will not be available until .NET 9.1 or later according the ASPNET team. More info: #803
</details>
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
[//]: # (## Minor Breaking Changes ⚠️)
FastEndpoints needs sponsorship to sustain the project. Please help out if you can.
<details><summary>Fluent endpoint base class picker</summary>
A fluent endpoint base class picker similar to Ardalis.ApiEndpoints has been added, with which you can pick and choose the DTO and Mapper types you'd like to use in a fluent manner.
sealed class MyEndpoint : Ep.Req<MyRequest>.Res<MyResponse>.Map<MyMapper>
{
...
}
sealed class MyEndpoint : Ep.Req<MyRequest>.NoRes.Map<MyMapper>
{
...
}
sealed class MyEndpoint : Ep.NoReq.Res<MyResponse>
{
...
}
</details>
<details><summary>Job Queuing support for Commands that return a result</summary>
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.
// queue the command as a job and retrieve the tracking id
var trackingId = new MyCommand { ... }.QueueJobAsync();
// retrieve the result of the command using the tracking id
var result = await JobTracker<MyCommand>.GetJobResultAsync<MyResult>(trackingId);
Click here to read the documentation for this feature.
</details>
<details><summary>Transform FluentValidation error property names with 'JsonPropertyNamingPolicy'</summary>
A new configuration setting has been introduced so that deeply nested request DTO property names can be transformed to the correct case using the JsonPropertyNamingPolicy of the application.
app.UseFastEndpoints(c => c.Validation.UsePropertyNamingPolicy = true)
The setting is turned on by default and can be turned off by setting the above boolean to false.
</details>
<details><summary>Skip anti-forgery checks for certain requests</summary>
The anti-forgery middleware will now accept a filter/predicate which can be used to skip processing certain requests if a given condition is matched. If the function returns true for a certain request, that request will be skipped by the anti-forgery middleware.
.UseAntiforgeryFE(httpCtx => !httpCtx.Request.Headers.Origin.IsNullOrEmpty())
</details>
<details><summary>Make Pre/Post Processor Context's 'Request' property nullable</summary>
Since there are certain edge cases where the Request property can be null such as when STJ receives invalid JSON input from the client and fails to successfully deserialize the content, the pre/post processors would be executed (even in those cases) where the pre/post processor context's Request property would be null. This change would allow the compiler to remind you to check for null if the Request property is accessed from pre/post processors.
</details>
<details><summary>Preliminary support for .NET 9.0</summary>
Almost everything works with .NET 9 except for source generation. Full .NET 9 support will be available at the first FE release after .NET 9 final comes out.
</details>
<details><summary>Nullable 'IFormFile' handling issue with 'HttpClient' extensions</summary>
The HttpClient extensions for integration testing was not correctly handling nullable IFormFile properties in request DTOs when automatically converting them to form fields.
</details>
<details><summary>Swagger processor issue with virtual path routes</summary>
The swagger processor was not correctly handling routes if it starts with a ~/ (virtual path that refers to the root directory of the web application).
</details>
<details><summary>Remove unreferenced schema from generated swagger document</summary>
When a request DTO has a property that's annotated with a [FromBody] attribute, the parent schema was left in the swagger document components section as an unreferenced schema. These orphaned schema will no longer be present in the generated swagger spec.
</details>
<details><summary>Swagger request example issue with properties annotated with [FromBody]</summary>
Xml docs based example values were not correctly picked up for properties annotated with a [FromBody] attribute, which resulted in a default sample request example being set in Swagger UI.
</details>
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.