{"id":283,"date":"2014-06-24T01:08:00","date_gmt":"2014-06-24T01:08:00","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/odatateam\/2014\/06\/24\/announcement-odatalib-6-4-0-release\/"},"modified":"2014-06-24T01:08:00","modified_gmt":"2014-06-24T01:08:00","slug":"announcement-odatalib-6-4-0-release","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/odata\/announcement-odatalib-6-4-0-release\/","title":{"rendered":"[Announcement] ODataLib 6.4.0 Release"},"content":{"rendered":"<p><span>We&nbsp;are happy to announce that the ODL 6.4.0 is released and available on&nbsp;<a href=\"https:\/\/www.nuget.org\/packages\/Microsoft.OData.Core\/\">nuget<\/a>&nbsp;along with the source code on<a href=\"https:\/\/odata.codeplex.com\/SourceControl\/latest\">codeplex<\/a>&nbsp;(please read the&nbsp;<a href=\"https:\/\/odata.codeplex.com\/SourceControl\/list\/changesets\">git history<\/a>&nbsp;for the v6.4.0 code info and all previous version). Detailed release notes are listed below.<\/span><\/p>\n<h2>Bug Fix<\/h2>\n<ul>\n<li>Fix a bug for top level dynamic property payload don&rsquo;t have @odata.type annotation<\/li>\n<\/ul>\n<h2><span>New Features<\/span><\/h2>\n<ul>\n<li>\n<p><strong>ODataLib supports write &amp; read async headers &amp; payload<\/strong><\/p>\n<\/li>\n<\/ul>\n<p>&nbsp; ODataLib now supports new aysnc API in .Net 4.0. For example you can now use code like: &nbsp;<span style=\"font-size: 12px;font-family: verdana, geneva;color: #0000ff\">var customers = await ctx.Customers.ExecuteAsync();<\/span><\/p>\n<ul>\n<li>&nbsp;<strong style=\"font-size: 12px\">OData Client supports using enum in query options &amp; operation parameter<\/strong><\/li>\n<\/ul>\n<p>please refer to this blog post&nbsp;<span style=\"text-decoration: underline\"><a href=\"http:\/\/blogs.msdn.com\/b\/odatateam\/archive\/2014\/03\/18\/use-enumeration-types-in-odata.aspx\">http:\/\/blogs.msdn.com\/b\/odatateam\/archive\/2014\/03\/18\/use-enumeration-types-in-odata.aspx<\/a><\/span><\/p>\n<ul>\n<li><strong>Support server side paging on client<\/strong><\/li>\n<\/ul>\n<div>On client side you should be able to write code:<\/div>\n<div>\n<p>&nbsp; &nbsp; &nbsp;<span style=\"font-family: verdana, geneva;color: #0000ff;font-size: small\"> &nbsp;NorthwindEntities ctx = new NorthwindEntities(new Uri(@&#8221;<a href=\"http:\/\/services.odata.org\/V4\/Northwind\/Northwind.svc\/\"><span style=\"color: #0000ff\">http:\/\/services.odata.org\/V4\/Northwind\/Northwind.svc\/<\/span><\/a>&#8220;));<\/span><\/p>\n<p><span style=\"font-family: verdana, geneva;color: #0000ff;font-size: small\">&nbsp; &nbsp; &nbsp;var customers = ctx.Customers.GetAllPages(); \/\/ automatically get all pages of the Customers entity set&nbsp;&nbsp;&nbsp;<\/span><\/p>\n<p><span style=\"font-family: verdana, geneva;color: #0000ff;font-size: small\">&nbsp; &nbsp; &nbsp;foreach (var customer in customers)<\/span><\/p>\n<p><span style=\"font-family: verdana, geneva;color: #0000ff;font-size: small\">&nbsp; &nbsp; &nbsp;{<\/span><\/p>\n<p><span style=\"font-family: verdana, geneva;color: #0000ff;font-size: small\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Console.WriteLine(customer.CustomerID);<\/span><\/p>\n<p><span style=\"font-family: verdana, geneva;color: #0000ff;font-size: small\">&nbsp; &nbsp; &nbsp;}<\/span><\/p>\n<h2>&nbsp;Call to Action<\/h2>\n<\/div>\n<p><span style=\"font-size: 12px\">You and your team are highly welcomed to try out this new version if you are interested in the&nbsp;new features and fixes above. For any feature request, issue or idea please feel free to reach out to&nbsp;us at <a href=\"mailto:odatafeedback@microsoft.com\">odatafeedback@microsoft.com<\/a>.<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>We&nbsp;are happy to announce that the ODL 6.4.0 is released and available on&nbsp;nuget&nbsp;along with the source code oncodeplex&nbsp;(please read the&nbsp;git history&nbsp;for the v6.4.0 code info and all previous version). Detailed release notes are listed below. Bug Fix Fix a bug for top level dynamic property payload don&rsquo;t have @odata.type annotation New Features ODataLib supports write [&hellip;]<\/p>\n","protected":false},"author":520,"featured_media":3253,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-283","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-odata"],"acf":[],"blog_post_summary":"<p>We&nbsp;are happy to announce that the ODL 6.4.0 is released and available on&nbsp;nuget&nbsp;along with the source code oncodeplex&nbsp;(please read the&nbsp;git history&nbsp;for the v6.4.0 code info and all previous version). Detailed release notes are listed below. Bug Fix Fix a bug for top level dynamic property payload don&rsquo;t have @odata.type annotation New Features ODataLib supports write [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/odata\/wp-json\/wp\/v2\/posts\/283","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/odata\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/odata\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/odata\/wp-json\/wp\/v2\/users\/520"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/odata\/wp-json\/wp\/v2\/comments?post=283"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/odata\/wp-json\/wp\/v2\/posts\/283\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/odata\/wp-json\/wp\/v2\/media\/3253"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/odata\/wp-json\/wp\/v2\/media?parent=283"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/odata\/wp-json\/wp\/v2\/categories?post=283"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/odata\/wp-json\/wp\/v2\/tags?post=283"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}