Skip to content

7.1.0

Compare
Choose a tag to compare
@commonsensesoftware commonsensesoftware released this 09 Oct 19:44
· 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.DefaultApiVersion cannot be ApiVersion.Neutral (#1011)
  • Support Error Object backward compatibility (#1019)
  • Add IApiVersionSelector to ApiExplorerOptions (#1025)
    • Derives from ApiVersioningOptions by default
    • Can be overridden with a different instance just for documentation
  • Use ApiExplorerOptions.ApiVersionSelector while 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 EnableQueryAttribute to 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 EnableQueryAttribute to 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 $top in 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 ApiVersioningOptions to ApiExplorerOptions
  • 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 $top in examples (#944)
  • Fix models in multiple EDMs with the same API version (#996)

Breaking Changes

None