The NuGet packages for OData v4 Web API 5.8 RC are available on the NuGet gallery.

Download this release

You can install or update the NuGet packages for OData Web API v5.8 using the Package Manager Console:

PM> Install-Package Microsoft.AspNet.OData -Pre

What’s in this release?

Improvements and fixes:

  • Fixed typographical error, changed availabe to available in README. PR #519 by orthographic-pedant

  • [ConcurrencyCheck] attribute doesn’t work with EF. Issue #522, PR #529

  • Manually using ODataQueryOptions.Validate and setting SelectExpandQueryOption.LevelsMaxLiteralExpansionDepth. Issue #516, PR #524

  • CultureInfo property can’t be serialized. Issue #427, PR #542

  • Add operationId for Swagger json generation. Issue #302, PR #552

  • ETag can’t work for double type. Issue #475, PR #549

  • EditLink is wrong in 5.7. Issue #543, PR #554

  • $count is evaluated prematurely at the call queryOptions.ApplyTo. Issue #1, PR #562

  • Unnecessary casts in expression when querying properties of the base class for the inheritor. Issue #560, PR #556 by Yuriy Soldatkin

  • Regression about the complex inheritance build. Issue #575, PR #577

  • ProcedureConfiguration API to support types known at runtime. PR #580 by Yogev Mizrahi

  • Array of enum doesn’t work for convention model builder. Issue #581, PR #582

New Features:

  • Web API does not support Edm.Date literal in $filter when the property is Edm.Date [Nullable=True] and the backend is EF. Issue #482, PR #541

  • Add swagger model APIs. Issue #302, PR #520

  • Expand query option contain $count don’t work. Issue #349, PR #553

  • Added UrlConventions configuration in DefaultODataPathHandler that supports ODataSimplified Uri convention. PR #599 by Gan Quan

  • Make other nested query options in to work. Issue #557, PR #569

  • Added config options SerializeNullCollectionsAsEmpty and DoNotSerializeNullCollections. Issue #490, PR #583 by nickkin-msft

  • Enable to serialize the null dynamic propery by config. Issue #313, PR #573

OData Web API v5.8 RC package has a dependency on OData v4 Lib 6.14.

Questions and feedback

You and your team are warmly welcomed to try out this new version if you are interested in the new features and fixes above. You are also welcomed to contribute your code to OData Web API repository. For any feature request, issue or idea please feel free to reach out to us at GitHub Issues.