7.1.0
·
75 commits
to main
since this release
This release provides some minor updates and patches. This will be the final release before .NET 8, which is just around the corner.
Features
The following outlines all new features since 7.0, but some of them have already been released in a previous patch.
All Platforms
- Enable NuGet Symbol packages
- Validate
ApiVersioningOptions.DefaultApiVersioncannot beApiVersion.Neutral(#1011) - Support Error Object backward compatibility (#1019)
- See the Error Responses - Backward Compatibility topic
- Add
IApiVersionSelectortoApiExplorerOptions(#1025)- Derives from
ApiVersioningOptionsby default - Can be overridden with a different instance just for documentation
- Derives from
- Use
ApiExplorerOptions.ApiVersionSelectorwhile determining if the 1st API version parameter is required (#1025)
ASP.NET Web API with OData
- Use complex types instead of entities for ad hoc models so a key is not required
- Allow
EnableQueryAttributeto override Model Bound Settings (#928)
ASP.NET Core with OData
- Use complex types instead of entities for ad hoc models so a key is not required
- Allow
EnableQueryAttributeto override Model Bound Settings (#928)
Fixes
This is a rollup of all fixes since 7.0, some of which were already released in patch.
ASP.NET Web API
- Fix JSON serialization of
ProblemDetails.Type
ASP.NET Web API with OData
- Fix empty model check, which didn't include complex types
- Fix use of
$topin examples (#944) - Fix models in multiple EDMs with the same API version (#996)
ASP.NET Core
- Fix media type subset matching (#1015)
- Prevent possible infinite recursion reading API versions when misconfigured (#1017)
- Fix propagation of
ApiVersioningOptionstoApiExplorerOptions - Explicit API description should supersede implicit match (#1025)
ASP.NET Core with OData
- Fix empty model check, which didn't include complex types
- Fix use of
$topin examples (#944) - Fix models in multiple EDMs with the same API version (#996)
Breaking Changes
None