Skip to content

v0.7.0

Compare
Choose a tag to compare
@nicholasjng nicholasjng released this 02 Feb 11:03
· 51 commits to main since this release
1586b02

⭐ Highlights

Changes the lakeFS-spec transaction to operate on short-lived ephemeral branches (#258).

Transaction versioning operations are implicitly scoped to the given repository and transaction branch, so you do not need to manually specify these arguments anymore:

# will automatically merge into `main` upon successful completion of `tx`.
with fs.transaction("my-repo", "main") as tx:
    fs.put("my-file.txt", f"my-repo/{tx.branch.id}/my-file.txt")
    tx.commit(message="Add my file")

🚨 Breaking changes

The usage of LakeFSFileSystem.transaction was changed. It is now necessary to call it with a repository name to properly initialize the transaction.

What's Changed

Full Changelog: v0.6.1...v0.7.0