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 acceptsIEndpointInspector
- The previous constructor is now
Obsolete
and will be removed in a9.0
- The previous constructor is now
- 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, but9.0
will remove it- It is recommended you use one of the
AddErrorObjects
extension methods versus mappingIProblemDetailsWriter
explicitly
- It is recommended you use one of the
- The associated
JsonSerializerContext
is now accessible, if needed AddErrorObjects<TWriter>
allows configuring an extended/customizedErrorObjectWriter
type
- The underlying
- Added
IApiVersionDescriptionProviderFactory.Create()
extension method- Replacing
IApiVersionDescriptionProviderFactory
in DI also now replacesIApiVersionDescriptionProvider
IApiVersionDescriptionProvider
can still be individually replaced if you really want to
- Replacing
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 withApiVersionAttribute
produces unexpected number ofApiVersionDescriptions
(#1066)
ASP.NET Core with OData
- Support OData Collection Parameters (#999)
Breaking Changes
None