·
11 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
EndpointApiVersionMetadataCollationProviderhas a new constructor that acceptsIEndpointInspector- The previous constructor is now
Obsoleteand will be removed in a9.0
- The previous constructor is now
- Added
AddErrorObjectsmake integration with the legacy Error Objects format easier (related to #1072)- The underlying
JsonOptionsconfiguration will remain implicit as it is today, but9.0will remove it- It is recommended you use one of the
AddErrorObjectsextension methods versus mappingIProblemDetailsWriterexplicitly
- It is recommended you use one of the
- The associated
JsonSerializerContextis now accessible, if needed AddErrorObjects<TWriter>allows configuring an extended/customizedErrorObjectWritertype
- The underlying
- Added
IApiVersionDescriptionProviderFactory.Create()extension method- Replacing
IApiVersionDescriptionProviderFactoryin DI also now replacesIApiVersionDescriptionProvider IApiVersionDescriptionProvidercan 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
ApiExplorerSettingsAttributetogether withApiVersionAttributeproduces unexpected number ofApiVersionDescriptions(#1066)
ASP.NET Core with OData
- Support OData Collection Parameters (#999)
Breaking Changes
None