Skip to content

🚀 Release 0.69.0 (Atlas moth)

Choose a tag to compare

@github-actions github-actions released this 01 Dec 00:19
· 121 commits to main since this release
atlas-moth-kling.mp4

The video above was generated with Oxen.ai.

Atlas moth: One of the largest moths in the world, a gentle giant of Asian forests whose rust-red wings end in tips shaped like a snake's head.

Breaking changes

  • oxenai now requires polars 1.36.1 or later, the first release that can hold every column type Oxen reads (UInt128 and Float16). An environment pinned to an older polars needs to upgrade it before installing this release. #1236
  • Four HTTP endpoints that no oxen or oxenai release sends are removed, on self-hosted servers and on Oxen.ai, and now answer 404. A direct caller of the workspace data frame rename moves the data frame with PATCH /repos/{ns}/{name}/workspaces/{id}/files/{path} instead, which also removes it from its old path. The others have no replacement. docs/deprecations.md lists each one. #1227 #1246 #1248
    • GET /repos/{ns}/{name}/commits/all
    • GET /repos/{ns}/{name}/commits_db
    • POST /repos/{ns}/{name}/meta/{resource}
    • PUT /repos/{ns}/{name}/workspaces/{id}/data_frames/rename/{path}
  • Reading a repository's size (GET /size, and the namespace read that totals it) no longer starts a recalculation. A repository with no recorded size reports pending at 0 until a push, a workspace commit, or POST /size records one. On a self-hosted server, POST /size records the size of a repository that has had no push since sizes began to be recorded. Before, every such read started a thread of its own, one per repository on a namespace read. Size reads also answer during a migration, prune, or fsck instead of failing. #1239

Performance

  • The S3 storage backend isn't supported in open source yet, so please hold off on using it for now. On Oxen.ai, clone, pull, and fetch from a repository stored on S3 now fetch up to 32 small files at once: a clone of 1,000 files of 1 KiB went from 34.0 s to 1.77 s (95% less), and a batch download of 3,000 such files from 99.8 s to 3.75 s. #1237
  • Again, the S3 storage backend isn't ready for open source use yet, so please hold off on it. On Oxen.ai, the first thumbnail of a video stored on S3 reads only the parts of the file its first frame needs, instead of downloading the whole video first. #1232
  • oxen fetch no longer re-downloads history for branches it already has. On a repository with 271 branches and nothing new, a fetch that was still running after 3 minutes, fetching 270 branches, took 33 s and fetched 8. The server also sends only the commits a fetch's base doesn't already reach, where it used to send the history back to the root for a branch that wasn't ahead of the client's HEAD. #1231
  • oxen push --missing-files and oxen push --revalidate on a branch the remote doesn't have, or under --force, list only the commits the branch adds, instead of the whole tree of every commit in its history. #1235
  • Pushes, commit lookups, and repository stats and size reads no longer hold up the server's other requests while they read the disk. #1225 #1234
  • Saving a large data frame from Python no longer copies it first. #1236

Bug fixes

  • A resized image was labeled with the type of its original file rather than the format it was encoded in, so a JPEG saved as .png came back as PNG bytes marked image/jpeg. Images cached before this release are labeled correctly too. #1245

Dependency updates

  • tokio 1.54.1, tokio-util 0.7.20, aws-sdk-s3 1.161.0, and maturin 1.16.0. #1228 #1232 #1235 #1237
  • oxenai hands data frames between Rust and Python polars through the Arrow C stream interface instead of pyo3-polars, with the same polars.DataFrame arguments and return values. df_utils.save now raises a TypeError naming the expected type when given anything else. #1236

Internal improvements

  • liboxen reports a push's upload progress to an observer the caller supplies. #1205
  • Local release builds use thin LTO by default, cutting a rebuild after a small change from about 6 minutes to about 2. Published binaries and wheels keep the settings they shipped with. #1230
  • Release workflow, CI, test suite, and documentation improvements. #1225 #1228 #1232 #1233 #1236 #1237 #1238 #1240

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