NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
NuGet, #2285 most downloaded on NuGet
Swagger support for 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 55 of the last 60 stable releases
44 versions withdrawn
withdrawn after publishing
127 years old
804 releases · first in 1900
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
Ability to show deprecated endpoint versions in Swagger
FastEndpoints needs sponsorship to sustain the project. Please help out if you can.
<!-- <details><summary>title text</summary></details> -->
<details><summary>Source generated DI registrations</summary>
Please see the documentation for details of this feature.
</details>
<details><summary>Source generated access control lists</summary>
Please see the documentation for details of this feature.
</details>
<details><summary>Ability to show deprecated endpoint versions in Swagger</summary>
By default, deprecated endpoint versions are not included in swagger docs. Now you have the choice of including/displaying them in the doc so they'll be displayed greyed out like this:
Please see this usage example on how to enable it.
</details>
<details><summary>Round-Robin Event delivery with gRPC</summary>
It is now possible to deliver an event to only just one of the connected remote subscribers in a round-robin fashion. Comes in handy when you need to distribute the workload among a pool of subscribers/workers and ensure that a single event is only processed by a single remote subscriber. See the documentation for more info.
</details>
<details><summary>Ability to get rid of null-forgiving operator '!' from test code</summary>
The TestResult<TResponse>.Result property is no longer a nullable property. This change enables us to get rid of the null-forgiving operator ! from our integration test code.
Existing test code wouldn't have to change. You just don't need to use the ! to hide the compiler warnings anymore. If/when the value of the property is actually null, the tests will
just fail with a NRE, which is fine in the context of test code.
</details>
<details><summary>Optimize source generator performance</summary>
The type discovery generator is now highly efficient and only generates the source when any of the target types changes or new ones are added.
</details>
<details><summary>Optimize startup routine</summary>
Authorization policy building is moved to the MapFastEndpoints stage avoiding the need to iterate the discovered endpoint collection twice. This also avoids any potential race conditions due to different middleware pipeline config/ordering edge cases.
</details>
<details><summary>Startup issue due to 'IAuthorizationService' injection</summary>
v5.16 had introduced a bug of not being able to inject IAuthorizationService into endpoint classes, which has now been fixed.
</details>
<details><summary>Startup type discovery issue with exclusion list</summary>
Since you can override the exclusion list by doing:
.AddFastEndpoints(o.Assemblies = new[] { typeof(SomeClass).Assembly });
This was not working if the assembly name didn't have a dot (.) in the namespace.
</details>
<details><summary>Empty swagger parameter example generation</summary>
The swagger operation processor was creating an example field with an empty string when there's no example provided by the user like the following:
"parameters": [
{
...
"example": ""
}
</details>
<details><summary>Swagger parameter example generation with default values</summary>
The swagger operation processor was creating an example field with the default value when there's no example or DefaultValue provided by the user like the following:
"parameters": [
{
...
"example": 0
}
</details>
<details><summary>Allow customizing serialization/deserialization of Event/Command objects in Job/Event Queue storage</summary>
See code example and related issue: #480
</details>
<details><summary>'AddFastEndpoints()' no longer calls 'AddAuthorization()'</summary>
Due to the startup optimization mentioned above, you will now be greeted with the following exception if your app is using authorization middleware:
Unhandled exception. System.InvalidOperationException: Unable to find the required services. Please add all the required services by calling 'IServiceCollection.AddAuthorization' in the application startup code.
It's because AddFastEndpoints() used to do the AddAuthorization() call internally which it no longer does. Simply add this call yourself to the middleware pipeline.
</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
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>title text</summary></details> -->
<!-- ### 🔖 New -->
<details><summary>Auth policy not found bug</summary>
The auth policy builder was not being run when an endpoint only specifies a Policies(...) config call.
</details>
<details><summary>Internal optimizations in 'FastEndpoints.Testing' package</summary>
TestFixture type.</details>
<!-- ### ⚠️ Minor Breaking Changes -->
Nothing published for this version
Nothing published for this version
FastEndpoints needs sponsorship to sustain the project. Please help out if you can.
FastEndpoints needs sponsorship to sustain the project. Please help out if you can.
<!-- <details><summary>title text</summary></details> -->
<details><summary>'FastEndpoints.Testing' package for convenient Integration testing</summary>
Please see the documentation for details.
</details>
<!-- ### 🚀 Improvements -->
<details><summary>Example generation for swagger nullable request params</summary>
Swagger schema example was being auto generated for request parameters even if the field (DTO property) is nullable. See bug report here. Which is not the desired behavior.
Now the examples are only auto generated if developer hasn't decorated the property with a XML example or [DefaultValue(...)] attribute for nullable properties.
Non-nullable properties will always get the example/default values filled in the following order: [DefaultValue(...)] attribute > XML Comment > Auto generated example
</details>
<details><summary>Type discovery source generator behavior change</summary>
The source generator no longer automatically discovers types from referenced assemblies/projects.
You now have to add the FastEndpoints.Generator package to each project you'd like to use type discovery with and register the discovered types per assembly like so:
builder.Services.AddFastEndpoints(o =>
{
o.SourceGeneratorDiscoveredTypes.AddRange(MyApplication.DiscoveredTypes.All);
o.SourceGeneratorDiscoveredTypes.AddRange(SomeClassLib.DiscoveredTypes.All);
})
</details>
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>title text</summary></details> -->
<details><summary>Integration testing with fake/test handlers for messaging features</summary>
Both In-Proc and RPC based messaging functionality can now be easily integration tested by registering fake/test handlers during testing. See below links for examples of each:
</details>
<details><summary>[DontRegister] attribute for skipping auto registration</summary>
Any auto discovered types (endpoints/commands/events/etc.) can be annotated with the attribute [DontRegister] if you'd like it to be skipped while assembly scanning for auto registration.
</details>
<details><summary>Auto instantiation of 'JsonSerializerContext' with global 'SerializerOptions'</summary>
public override void Configure()
{
...
SerializerContext<UpdateAddressCtx>();
}
By specifying just the type of the serializer context, instead of supplying an instance as with the existing method, the context will be created using the SerializerOptions that you've configured at startup using the UseFastEndpoints(...) call.
</details>
<details><summary>Auto generation of examples for swagger request parameters</summary>
Take the following example request DTO:
sealed class MyRequest
{
[QueryParam]
public Nested ComplexObject { get; set; }
}
sealed class Nested
{
[DefaultValue(100)]
public int Id { get; set; }
[DefaultValue("John Doe")]
public string Name { get; set; }
[DefaultValue(new[] { 1, 2, 3 })]
public int[] Numbers { get; set; }
}
The following swagger spec example will now be auto generated by default:
{
"paths": {
"/my-endpoint": {
"get": {
"parameters": [
{
"example": {
"id": 100,
"name": "John Doe",
"numbers": [ 1,2,3 ]
}
}
]
}
}
}
}
This behavior can be turned off like so:
builder.Services.SwaggerDocument(o =>
{
o.DocumentSettings = s =>
{
s.GenerateExamples = false;
};
});
</details>
<details><summary>NSwag serializer (Newtonsoft) customization</summary>
Since NSwag still uses Newtonsoft internally, it is sometimes necessary to register custom converters for the NewtonSoft serializer, which can now be achieved like so:
.SwaggerDocument(o =>
{
o.NewtonsoftSettings = s =>
{
s.Converters.Add(new MyCustomConverter());
};
});
Any other Newtonsoft settings that needs to be tuned can also be accessed via the s parameter.
</details>
<details><summary>Starter Project Templates</summary>
See here for details about new project scaffolding with the Template Pack.
</details>
<details><summary>Minor performance optimizations</summary>
</details>
<details><summary>Concurrent WAF testing</summary>
EndpointData when running concurrent integration testsEvent Handlers when integration testing</details>
<details><summary>Unit testing improvements</summary>
ServiceResolver is null due to incorrect unit test setup</details>
<details><summary>Nested type discovery for source generator</summary>
Nested endpoints were previously ignored by the type discovery source generator. Thanks to Tomasz Chacuk we now have a more streamlined source generator that discovers nested types as well.
</details>
<details><summary>Event handler constructors being called twice</summary>
Due to an oversight in IEnumerable iteration, the event handler constructor was being called twice per execution. Thank you Wahid Bitar for reporting it.
</details>
<details><summary>Json serializer context was not correctly copying 'JsonSerializerOptions'</summary>
SerializerContext<TContext>() was not properly making a copy of the global JsonSerializerOptions when the serializer context was being instantiated; leading to the same global options instance being bound to multiple serializer contexts, which is not supported by the SDK as of .NET 7.0.
</details>
<details><summary>Startup exception edge case</summary>
If app.MapControllers() call was placed before the app.UseFastEndpoints() call, the app would randomly throw a cryptic exception at startup. Now when this misconfiguration is detected, a clear exception would be thrown instructing the user to change the middleware order.
</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
One column per quarter.