Skip to content

Releases: DamianEdwards/MinimalApis.Extensions

v0.11.0

22 Jun 22:32
f1a6ab5
Compare
Choose a tag to compare

Available on NuGet at https://www.nuget.org/packages/MinimalApis.Extensions/0.11.0

What's Changed

Full Changelog: v0.10.1...v0.11.0

v0.10.1

21 Dec 21:52
5010440
Compare
Choose a tag to compare

What's Changed

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

29 Nov 15:15
7dadcb2
Compare
Choose a tag to compare
  • 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

15 Nov 16:57
115062c
Compare
Choose a tag to compare
Pre-release

v0.9.0-pre.20221011.36

15 Nov 16:56
Compare
Choose a tag to compare
Pre-release

v0.8.0-pre.20220915.33

15 Sep 01:27
656fc16
Compare
Choose a tag to compare
Pre-release

v0.7.2-pre.20220906.32

06 Sep 15:49
Compare
Choose a tag to compare
Pre-release

v0.7.0-pre.20220528.28

28 May 01:05
369a91f
Compare
Choose a tag to compare
Pre-release

v0.6.0-pre.20220429.27

29 Apr 17:25
22f5d6b
Compare
Choose a tag to compare
Pre-release

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

22 Mar 18:14
Compare
Choose a tag to compare
Pre-release