Skip to content

🚀 Release 0.70.0 (dragonfly)

Choose a tag to compare

@github-actions github-actions released this 01 Dec 22:56
· 81 commits to main since this release
dragonfly-kling.mp4

The video above was generated with Oxen.ai.

Dragonfly: A nimble flier with huge wraparound eyes and four glassy wings, able to hover in place and then dart off in any direction.

Breaking changes

  • The server now refuses, with a 400, to write a commit for a request whose author name or email is missing or blank: file uploads, deletes and moves, imports and zip uploads, workspace commits, data frames created from a directory, and repositories created with seed files. The error says how to set both with oxen config --name "Your Name" --email you@example.com. Before, a client with only a name configured made commits with an empty author email. Pushed commits are unaffected. This applies on self-hosted servers and on Oxen.ai. #1254

New features

  • File downloads now answer byte ranges and carry ETags, so a browser can seek within a video stored in a repository without downloading all of it, and a client can check that its copy is current and get a 304 when it is. This covers committed files, workspace files, and version files, on self-hosted servers and on Oxen.ai. Resized images and video thumbnails are still sent whole. #1252
  • On a self-hosted server, a HEAD request for a committed file, a workspace file, or a version file answers with the download's headers and no body, and no longer makes a resized image or video thumbnail just to answer it. #1255
  • oxenai exceptions now include the error's hint, the next step the CLI prints with it, such as oxen pull after a refused push. #1247

Bug fixes

  • Two pushes to the same branch at once could both report success while the branch kept only one of them. A push now moves the branch only if no other push moved it first, and otherwise fails with the usual suggestion to oxen pull. A forced push still replaces the branch. #1247
  • Two requests editing the same workspace at once could discard each other's changes: an unstage racing an add of the same file could delete the add after it reported success, and a move racing a commit could land as a copy. Edits to one workspace now take turns, while edits to different workspaces still run in parallel. #1256
  • A file uploaded to a workspace while a commit moved it could be checked against the old commit, so a file matching the old content staged nothing while the upload reported it staged, and a file new to the moved commit staged as added rather than modified. #1257
  • Paging through a workspace's staged changes could list some files twice and skip others. #1253
  • oxen prune could delete a live version file that an earlier release had stored under a hash spelled with leading zeros, and oxen fsck and moving a repository between storage backends read those files wrong too. #1242
  • A file uploaded under a hash spelled with leading zeros or in upper case could not be read back under that spelling, and a chunked upload declared that way was refused although its content was right. #1242

Performance

  • Comparing data frames no longer holds up the server's other requests while it reads the disk. #1250

Dependency updates

  • aws-config 1.13.4, aws-sdk-s3 1.163.0, and serde_json 1.0.154. #1247 #1252

Internal improvements

  • Stricter checks on the version file hashes a request or a remote sends. #1242
  • CI fails when a workspace crate other than oxen-py depends on pyo3. #1249
  • Test suite and documentation improvements. #1251 #1256

Binaries are available for the following platforms:

  • Docker arm64
  • Docker x86_64
  • Linux arm64
  • Linux x86_64
  • MacOS arm64 (Apple Silicon)
  • MacOS x86_64 (Intel)
  • Windows x86_64

🐧 Linux Binaries
The Linux binaries require a minimum glibc version of 2.34.

These are the minimum versions of common distributions with glibc 2.34 or later.

Distribution First version with glibc 2.34+
Amazon Linux 2023
Arch 2021
CentOS Stream 9
Debian 12
Fedora 35
RHEL 9.0
Ubuntu 22.04

The -rhel8 tarballs and wheels are for RHEL 8 and its rebuilds, which have glibc
2.28. No distribution in the table above needs them.

🖥️ Windows Binaries
The Windows binaries require a minimum version of Visual C++ 2022.
You may need to install the latest Microsoft Visual C++ Redistributable.

🍏 MacOS Binaries
The MacOS arm64 (Apple Silicon) binaries require a minimum version of MacOS 11 Big Sur.
The MacOS x86_64 (Intel) binaries require a minimum version of MacOS 10.13 High Sierra.

🐍 Python Wheels
The Python wheels are abi3 wheels built against Python 3.11 and compatible with
Python 3.11+. They are available for the following platforms:

  • Linux arm64
  • Linux x86_64
  • MacOS arm64 [Apple Silicon]
  • MacOS x86_64 [Intel]
  • Windows x86_64