Skip to content

8.1.0

Latest
Compare
Choose a tag to compare
@commonsensesoftware commonsensesoftware released this 26 Mar 17:42
· 8 commits to main since this release

This is a minor release that includes a new, publicly visible API changes as well as a rollup of bug fixes.

Features

ASP.NET Core

  • Added IEndpointInspector (#1066)
    • Enables controller action endpoints to not be processed by Minimal API endpoint collators
    • EndpointApiVersionMetadataCollationProvider has a new constructor that accepts IEndpointInspector
      • The previous constructor is now Obsolete and will be removed in a 9.0
  • Added AddErrorObjects make integration with the legacy Error Objects format easier (related to #1072)
    • The underlying JsonOptions configuration will remain implicit as it is today, but 9.0 will remove it
      • It is recommended you use one of the AddErrorObjects extension methods versus mapping IProblemDetailsWriter explicitly
    • The associated JsonSerializerContext is now accessible, if needed
    • AddErrorObjects<TWriter> allows configuring an extended/customized ErrorObjectWriter type
  • Added IApiVersionDescriptionProviderFactory.Create() extension method
    • Replacing IApiVersionDescriptionProviderFactory in DI also now replaces IApiVersionDescriptionProvider
    • IApiVersionDescriptionProvider can still be individually replaced if you really want to

Fixes

All Platforms

  • Correct sunset policy resolution when falling back (#1065)
  • Fails to read new versions when available (#1070)

ASP.NET Core

  • Using ApiExplorerSettingsAttribute together with ApiVersionAttribute produces unexpected number of ApiVersionDescriptions (#1066)

ASP.NET Core with OData

  • Support OData Collection Parameters (#999)

Breaking Changes

None