Skip to content

2.3.0

Compare
Choose a tag to compare
@commonsensesoftware commonsensesoftware released this 26 Jul 18:11

The 2.3.0 release is a roll-up release that contains a number of fixes and minor enhancements. This is the official demarcation line before the transition to the forthcoming 3.0.0 release.

Fixes

The following are fixes and patches from 2.0.0 - 2.3.0:

All Platforms

  • Corrected name AddParmeters to AddParameters in IApiVersionParameterSource (NOTE: potentially breaking)
  • Fixed ApiVersion.GetHashCode() (Issue #229)
  • Fixed reported API version parameter for API version-neutral actions
  • Fixed 405 response instead of 400 with assume default version when unspecified (Issue #254)

ASP.NET Web API

  • Fixed IControllerConfiguration recursion (Issue #313)

ASP.NET Web API with OData

  • Fixed by convention route path generation for the key parameter (Issue #226)
  • Fixed action selection in the attribute routing convention (Issue #201)
  • Fixed matching of OData operations (e.g. actions and functions)
  • Fixed convention-based link generation (Issue #265)
  • Fixed route name lookup when hosted in IIS (Issue #302)

ASP.NET Core

  • Fix selection of actions without an API version model (ex: Razor Pages) (Issue #189)
  • Use a concrete type instead of a dictionary for error responses (Issue #195)
  • Fixed NullReferenceException when an explored parameter does not have model metadata (Issue #250)
  • Fixed CPU pegged at 100% (Issue #306)

Features

The following are minor features and enhancements from 2.0.0 - 2.3.0:

All Platforms

  • Added non-generic API version conventions (Issue #196)
  • Added IReportApiVersions service (Issue #187)
  • Support reporting API versions on unmatched requests (Issue #187)
  • Added API version substitution in explored actions (Issue #247)
  • Make base method ApplyTo virtual for built-in convention builders (Issue #258)
  • Enable code and package signing (Issue #274)

ASP.NET Web API with OData

  • Support by convention route path generation for composite keys (Issue #226)
  • Support qualified operation names
  • Added partial model types in explored actions
  • Report API versions before executing an action instead of after (Issues #274, #290)

ASP.NET Core

  • Improve logging for ambiguous actions (Issue #248)
  • Pre-aggregate API version models (Issue #306)