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

  • Hands On: New VS Code Insiders Build Creates Web Page from Image in Seconds

    New Vision support with GitHub Copilot in the latest Visual Studio Code Insiders build takes a user-supplied mockup image and creates a web page from it in seconds, handling all the HTML and CSS.

  • Naive Bayes Regression Using C#

    Dr. James McCaffrey from Microsoft Research presents a complete end-to-end demonstration of the naive Bayes regression technique, where the goal is to predict a single numeric value. Compared to other machine learning regression techniques, naive Bayes regression is usually less accurate, but is simple, easy to implement and customize, works on both large and small datasets, is highly interpretable, and doesn't require tuning any hyperparameters.

  • VS Code Copilot Previews New GPT-4o AI Code Completion Model

    The 4o upgrade includes additional training on more than 275,000 high-quality public repositories in over 30 popular programming languages, said Microsoft-owned GitHub, which created the original "AI pair programmer" years ago.

  • Microsoft's Rust Embrace Continues with Azure SDK Beta

    "Rust's strong type system and ownership model help prevent common programming errors such as null pointer dereferencing and buffer overflows, leading to more secure and stable code."

  • Xcode IDE from Microsoft Archrival Apple Gets Copilot AI

    Just after expanding the reach of its Copilot AI coding assistant to the open-source Eclipse IDE, Microsoft showcased how it's going even further, providing details about a preview version for the Xcode IDE from archrival Apple.

Subscribe on YouTube

Upcoming Training Events