Releases: DamianEdwards/MinimalApis.Extensions
Releases · DamianEdwards/MinimalApis.Extensions
v0.11.0
Available on NuGet at https://www.nuget.org/packages/MinimalApis.Extensions/0.11.0
What's Changed
- Provide services to validation in the validation filter by @DamianEdwards in #45
Full Changelog: v0.10.1...v0.11.0
v0.10.1
What's Changed
- Update README by @dpen2000 in #42
- Update to latest MiniValidation by @DamianEdwards in #43
New Contributors
Full Changelog: v0.10.0...v0.10.1
Available at https://www.nuget.org/packages/MinimalApis.Extensions/0.10.1
v0.10.0
- Update to MiniValidation 0.7.0
- Update the validation filter to not box argument values that aren't being validated
- Validation filter supports mode where parameters must be annotated with
[Validate]
attribute to be validated - Available on NuGet:
v0.9.1-pre.20221114.39
- React to changes in ASP.NET Core 7.0.0 GA
- Available on NuGet:
v0.9.0-pre.20221011.36
- React to changes in ASP.NET Core 7.0.0-rc.2
- Available on NuGet:
v0.8.0-pre.20220915.33
- React to changes in ASP.NET Core 7.0.0-rc.1
- Introduce polyfill for new result interfaces for .NET 6.0 users, e.g.
IValueResult
- Available on NuGet:
v0.7.2-pre.20220906.32
- Fixes parameter validation endpoint filter (for .NET 7 only)
.WithParameterValidation()
- Available on NuGet:
v0.7.0-pre.20220528.28
- Adds parameter validation route handler filter (for .NET 7 only)
.WithParameterValidation()
- Available on NuGet:
v0.6.0-pre.20220429.27
BEAKING CHANGES
This release aligns the API shape with that coming in .NET 7.0 (preview.4). When used in a project targeting .NET 7 you'll actually be using the types in .NET 7, and when targeting .NET 6 this library will polyfill those APIs so you can use the features without having to target .NET 7.
- Aligns API shape with .NET 7.0
IProvideEndpointMetadata
->IEndpointMetadataProvider
IProvideEndpointParameterMetadata
->IEndpointParameterMetadataProvider
Results.Extensions.*
->TypedResults.*
- Some results types moved to the
Microsoft.AspNetCore.Http.HttpResults
namespace - Results types are sealed and have private constructors. Use
TypedResults
class to create results. - Removed the variations of
RedirectResult
- No need to call
services.AddEndpointsMetadataProviderApiExplorer()
when targeting .NET 7.0
- Updates to latest version of MiniValidation
- Available on NuGet:
v0.5.2-pre.20220322.22
- Adds
Body<T>.ContentType
andBody<T>.Encoding
- Available on NuGet: