We are happy to announce that the ODL 6.5.0 is released and available on nuget along with the source code oncodeplex (please read the git history for the v6.5.0 code info and all previous version). Detailed release notes are listed below.

Bug Fix

  • Fix a bug for supporting “Core.OptimisticConcurrency” annotation.
  • Fix bugs for enum  1) ODataUriParser should support nullable Enum as a function parameter. 2) Dynamic enum property should have @odata.type annotation.

New Features

  • EdmLib & ODataLib now support TypeDefinition

A type definition defines a specialization of one of the primitive types. for details please refer to here

  • EdmLib & ODataLib now support serializing and deserializing unsigned integers

A shared model that contains type defs for unsigned integers is defined. we will have a blog post on this website soon about how to use it in your service.  

  • ODataLib now supports $count on collection of Primitive or complex type
$count is used to request only the number of items of a collection of entities or items of a collection-valued property.
  • Support Capabilities.ChangeTracking annotation
Services advertise their change-tracking capabilities by annotating entity sets with the Capabilities.ChangeTracking. see spec at here
  • OData Client for .Net now supports changing http method in BuildingRequest event handler

 

  • OData Client for .Net & ODataLib now support Windows Phone 8.1 project.

 

  •  Provide a new (API/flag) to enhance the writer performance by disable validation

    In ODataMessageWriterSettings and ODataMessageReaderSettings, an flag "EnableFullValidation" is added to turn on/off full validation to improve perf.

     public class Microsoft.OData.Core.ODataMessageWriterSettings    {     public bool EnableFullValidation{get;set;}

     public class Microsoft.OData.Core.ODataMessageReaderSettings  {     public bool EnableFullValidation{get;set;} 

MISC

  • Rename client portable dll from “Microsoft.Data.Services.Client.Portable” to “Microsoft.Data.Services.Client” 

Call to Action

You and your team are highly welcomed to try out this new version if you are interested in the new features and fixes above. For any feature request, issue or idea please feel free to reach out to us atodatafeedback@microsoft.com.