News

Oh Data! Microsoft Ships First Major OData Update in Nearly 8 Years

Microsoft today shipped a preview of OData .NET 8. The last major update, coming in the Microsoft.OData.Core NuGet package, was version 7.0, which was released in August of 2016.

OData, short for Open Data Protocol, is a standardized protocol for creating and consuming RESTful APIs, allowing for the querying and updating of data using HTTP commands and integration with various data services.

OData .NET 8 Preview 1
[Click on image for larger view.] OData .NET 8 Preview 1 (source: Microsoft).

"It has been almost 8 years since the last major release of OData .NET core libraries," said Microsoft's Clément Habinshuti in a post today (April 26) announcing OData .NET 8 Preview 1. "This release presents an opportunity for us to modernize our stack, address some technical debt and take better advantage of investments in .NET. To make adoption and upgrading to the new version smooth, we have opted to limit the number of breaking changes."

Of course, data technology (and every technology) has changed a lot since 2016, so breaking changes are hard to avoid. Thus today's post lists 15 breaking changes for the Core component, with others listed for the Client and other components.

The "most disruptive" change is moving on from the .NET Framework to .NET 8 and later.

"We understand that there are still a lot of people using .NET Framework," Habinshuti said. "For this reason, we will continue to maintain OData .NET v7 suite of libraries for the foreseeable future. We currently have no plans to drop support for OData Core 7.x. We will eventually stop adding new features after the 8.0 major release."

Planned changes for the Core component include:

  • Make ODataUtf8JsonWriter the default JSON writer implementation.
  • Use ValueTask<T> instead of Task<T> for async I/O operations where applicable.
  • Allow customers to include custom annotations in the payload that are not included in the include-odata-annotations preference header.
  • When writing the Scale attribute in XML CSDL, write variable in lowercase instead of Variable.
  • Change the ODataLibraryCompatibility enum into a flags enum where each bit will represent a different compatibility setting that can be used to enable some legacy serialization behavior.
  • Remove deprecated APIs and behavior flags.

A Microsoft 2022 DevBlogs post unveiled a next-generation OData offering called OData.Neo. It shows no published releases, though work on the project appears to have been done as recently as February.

About the Author

David Ramel is an editor and writer at Converge 360.

comments powered by Disqus

Featured

  • Mastering Blazor Authentication and Authorization

    At the Visual Studio Live! @ Microsoft HQ developer conference set for August, Rockford Lhotka will explain the ins and outs of authentication across Blazor Server, WebAssembly, and .NET MAUI Hybrid apps, and show how to use identity and claims to customize application behavior through fine-grained authorization.

  • Linear Support Vector Regression from Scratch Using C# with Evolutionary Training

    Dr. James McCaffrey from Microsoft Research presents a complete end-to-end demonstration of the linear support vector regression (linear SVR) technique, where the goal is to predict a single numeric value. A linear SVR model uses an unusual error/loss function and cannot be trained using standard simple techniques, and so evolutionary optimization training is used.

  • Low-Code Report Says AI Will Enhance, Not Replace DIY Dev Tools

    Along with replacing software developers and possibly killing humanity, advanced AI is seen by many as a death knell for the do-it-yourself, low-code/no-code tooling industry, but a new report belies that notion.

  • Vibe Coding with Latest Visual Studio Preview

    Microsoft's latest Visual Studio preview facilitates "vibe coding," where developers mainly use GitHub Copilot AI to do all the programming in accordance with spoken or typed instructions.

  • Steve Sanderson Previews AI App Dev: Small Models, Agents and a Blazor Voice Assistant

    Blazor creator Steve Sanderson presented a keynote at the recent NDC London 2025 conference where he previewed the future of .NET application development with smaller AI models and autonomous agents, along with showcasing a new Blazor voice assistant project demonstrating cutting-edge functionality.

Subscribe on YouTube