Webinar-Lottie.svg

lakeFS Acquires DVC, Uniting Data Version Control Pioneers to Accelerate AI-Ready Data

webcros.svg

lakeFS Named as a Cool Vendor™ in the 2026 Gartner® Coolest Vendor Innovations

Clients at REST: the lakeFS Compatibility Story

Ariel Shaqed (Scolnicov)Ariel Shaqed (Scolnicov)
Published February 9, 2025

•

Updated February 9, 2025

Table of Contents

Watch how lakeFS works!

Watch how to get started with lakeFS

As a user of lakeFS, you probably started by using its web interface. But as an object store, lakeFS is also a server that uses storage and is used by client programs. Some of these programs you develop yourself. Others are developed for you – for instance the Garbage Collection clients. You can also use higher-level interfaces: lakefs-spec provides integrations with Pandas, Polars, and other, there are adapters for Airflow, and many others.

Over time there is significant investment in all of these uses. But data storage solutions such as lakeFS must continue to operate over time. You will upgrade lakeFS, to gain access to new features or bug fixes. What happen to your investment? Back when we released lakeFS 1.0 we posted our guarantees. But they can be a bit terse, so let’s analyze them here.

What is compatibility?

Any networked service like lakeFS needs to specify compatibility in a precise manner. The generally accepted semantic versioning gives clear guidelines for how version numbers advance based on their effect on an interface. But a networked service has multiple interfaces!

The lakeFS version applies to these interfaces:

  • lakeFS keeps state — all stored data and all stored metadata — on its storage. If a new server version changes these formats it must either be backwards-compatible or stored data must be rewritten. Such a rewrite is hugely expensive, can be dangerous, and it requires downtime. Clearly this is an interface between lakeFS and its backing storage. In terms of compatibility, because data lives forever, this is probably the most important interface.
  • lakeFS clients communicate with lakeFS using the REST API – another interface. The REST API is versioned and specified in swagger.yml, an OpenAPI specification.
  • lakeFS publishes SDKs for some programming languages.

Most lakeFS features and endpoints are “supported”. The few exceptions are marked “experimental” or “internal” in swagger.yml. Compatibility guarantees apply only to supported features.

lakeFS also has a configuration file. We do not currently make compatibility guarantees about the lakeFS configuration file: some upgrades may require rewriting the configuration file in the new version, even to preserve existing functionality. However we have never done so in the 1.0 series so far.

lakeFS compatibility guarantees

The released lakeFS version 1.0.0 uses semantic versioning to guarantee compatibility. Briefly, post 1.0.0, semantic versioning guarantees:

  • A patch release 1.x.y -> 1.x.(y+1) is entirely compatible.
  • A minor release 1.x.y -> 1.(x+1).0 is backwards compatible: old clients can continue to use the new server.
  • A major release 1.x.y -> 2.0.0 can change anything. This is obviously a major undertaking. Currently there are no plans for a 2.0.0 release.

What does this mean for each interface?

Storage

For storage, any upgrade must be backwards compatible: It must be possible to upgrade a minor release of lakeFS without losing data. Ideally this is possible without any downtime.

Since releasing 1.0.0 on 2023-10-19 (and even before 1.0.0), we have never required any downtime. In extreme cases, downtime might be required to allow running some upgrade procedure on stored data. We will continue to make every effort to avoid requiring downtime. We do not envisage requiring such downtime.

We do this by not adding required fields to stored data.

Of course, a major release may require downtime.

REST API

The 1.x lakeFS API is specified as OpenAPI in api/swagger.yml. It is forwards and backwards compatible. A minor release 1.y can add new features to the API – but still makes these guarantees for any supported part of the API:

  • A client program that uses only pre-1.y features will continue to work with a lakeFS server of version 1.y. It is possible to use “old” clients with “new” servers.
  • A client program that uses the 1.y REST API but not any new features will continue to work with a lakeFS server of version before 1.y. _It is possible to use “new” clients with “old” servers, as long as they do not attempt to use “new” features.

What this means in practice is that a minor release:

  • may add new endpoints to the REST API, but may not change an existing path;
  • may add optional query arguments to existing paths;
  • may add optional parameters to JSON bodies.

None of these guarantees apply to an endpoint or to a field marked “experimental” or “internal”.

SDK APIs

lakeFS publishes client SDKs for programmatic access the to REST API. These SDKs for Python, and for Java and other languages running on the JVM are supported (a Rust SDK is also available, but it does not provide compatibility guarantees). Using a client SDK increases type safety of client programs and offers easier exploration of available API options. OpenAPI code generators automatically create these client SDKs. Users of these SDKs receive every API option is available using a consistent syntax by using it at a version matching the server version.

Because the SDKs wrap the REST API, programs using them enjoy all compatibility guarantees of the API. We additionally make this guarantee for the SDK at the source code level:

  • A program using supported API features of some level <= 1.x should work, unchanged, with any client SDK of level >= 1.x. (The sole exception is for releases that fix bugs in the generated code, of course!)

For example, suppose that an API adds an optional argument. The corresponding SDK will support the added argument, but it will not change any existing API in order to do so. For instance, the JVM client will add a nullable required argument.

Additional SDKs

Our SDK compatibility guarantee is a commitment on stability of generated code. As such it comes with a price: we cannot publish SDKs generated by many of the available OpenAPI code generators. We will not publish SDKs generated by code generator that are not stable across API versions, as these dependencies have no versioning guarantees.

As an alternative, your project might generate its own API from a given version of the lakeFS API. This allows you to control directly the code generator and the version of the API, and perform upgrades as required.

High-level SDKs

lakeFS also makes certain high-level SDKs available. These have a release version that can be different from the supported lakeFS REST API. They inherit the API guarantees of lakeFS, but will have their own SDK guarantees. In particular, a program that uses a high level SDK at a fixed version will remain compatible with lakeFS servers of advancing minor revisions.

Currently a high-level SDK is available for Python. It is not yet at version 1.0.0, and by Semantic Versioning does not make any compatibility guarantees until we release that version. However we do make every effort to keep the same SDK guarantees: existing programs should continue to work when advancing a minor release of the Python high-level SDK.

A high-level SDK might use experimental features of the REST API. When it does so, it can sometimes gloss over unsupported changes to the use of these features. Naturally, if the feature is removed entirely from the server, the high-level SDK will stop supporting these experimental features as well. You can refer to this great introduction to the high-level Python SDK.

How are features added?

Minor

When we are sure we want a feature in lakeFS, we simply add it to the API. Because it adds a new feature, this will be a minor version bump. Upon implementation of the server side and a release, the feature is ready to use.

Experimental and internal

We are not always immediately able to commit to a feature. In such cases we tag the feature, and in any case release it as a minor release.

  • Features with uncertain usefulness or usability we tag “experimental”. The API for such a feature may remain, or it may change incompatibly, or it be removed entirely. This is an experiment! We are of course delighted to hear your experiences in using it and respond!
  • Some features may not be suitable for general use. For instance, the lakeFS web UI needs to know about lakeFS setup, so it calls getSetupState. This API call is probably not useful in other applications.
  • If you believe you need to use such an API, let’s talk!

Where now?

lakeFS has many integration options available. Understanding the lakeFS compatibility guarantees for major version 1 lets you use any of these across different versions of lakeFS and your tools.

The Control Plane for AI-Ready Data

Versioned. Reproducible. Compliant.