Skip to content
This repository was archived by the owner on Nov 22, 2026. It is now read-only.

Releases

mojo-inotify v0.1.5

Choose a tag to compare

@amarbarosys amarbarosys released this 08 Nov 23:02

mojo-inotify-public v0.1.5

Released: 2026-11-08 · Commit: a687573 · Previous: v0.1.4

What it does

Watch files and directories from Mojo with Linux inotify. One preallocated read buffer, events read in place, and a pollable file descriptor for an event loop.

Highlights

  • Packaging only: the conda recipe pins mojo-compiler to the minor the package was built with (<1.3.0a0), so it cannot be installed on a Mojo it does not load on.

Changes

Changed

  • recipe.yaml: mojo-compiler run dependency pinned to the build's minor (<1.3.0a0).

Verified

Check Result
pkg-conda dry run on the version commit (H1-H3,H6) PASS: mojo-inotify-0.1.5-hb0f4dca_0.conda

Known limits

  • Packages are built on one Mojo minor only; see the package protocol.

Upgrade / run

None: no API change.

Commits

  • a687573 build: bump version to 0.1.5
  • d1a3cc2 build: recipe pins mojo-compiler to the build's minor

mojo-inotify v0.1.4

Choose a tag to compare

@amarbarosys amarbarosys released this 07 Nov 14:40

mojo-inotify-public v0.1.4

Released: 2026-11-07 · Tag: v0.1.4 · Previous: v0.1.3

What it does

Watch files and directories from Mojo with Linux inotify. One preallocated read buffer, events read in place, and a pollable file descriptor for an event loop.

Highlights

  • Docs only: CHANGELOG names no home path.

Changes

Changed

  • CHANGELOG.md and the release notes name no home path.

Verified

Check Result
mojo-lib-audit on this tree PASS
gh-publish --check (ci-local) OK

Known limits

Upgrade / run

None: no code or API change.

Commits

git log v0.1.3..v0.1.4

mojo-inotify v0.1.3

Choose a tag to compare

@amarbarosys amarbarosys released this 04 Nov 14:36

mojo-inotify v0.1.3

Released: 2026-11-04 · Commit: c7b08c4 · Previous: v0.1.2

What it does

Watch files and directories from Mojo with Linux inotify. One preallocated read buffer, events read in place, and a pollable file descriptor for an event loop.

Highlights

  • mojo precompile of a package that uses add_watch no longer fails.

Changes

Added

  • Conda recipe (recipe.yaml).
  • README install block, one example, and badges for CI, latest release and license.

Fixed

  • mojo precompile no longer fails on the recursive CStringSpan.__init__ (the as_c_string_span call of add_watch moves into a helper); the gate now precompiles the package too.

Verified

Check Result
ci-local: the GitHub workflow in a clean Ubuntu 24.04 container PASS

Known limits

Upgrade / run

uv sync

Commits

  • c7b08c4 fix(release): pyproject.toml, recipe.yaml and uv.lock say 0.1.3
  • e4cb137 build: conda recipe
  • 3581ee5 docs: one example, one install block
  • 7cad54f fix: mojo precompile no longer fails on a recursive CStringSpan.init
  • d8c0189 fix(release): pyproject and uv.lock say 0.1.2, the version of the latest tag
  • 76c6566 docs: CI, latest-release and license badges

mojo-inotify v0.1.2

Choose a tag to compare

@amarbarosys amarbarosys released this 29 Oct 21:10

mojo-inotify v0.1.2

Released: 2026-10-29 · Commit: e189175 · Previous: v0.1.1

What it does

Watch files and directories from Mojo with Linux inotify. One preallocated read buffer, events read in place, and a pollable file descriptor for an event loop.

Highlights

  • Builds and runs on the stable Mojo 1.2.0 release.

Changes

Changed

  • The pin moves to Mojo 1.2.0 (pyproject.toml, uv.lock); README and skill say Mojo 1.2.

Verified

Check Result
ci-local: the GitHub workflow in a clean Ubuntu 24.04 container, Mojo 1.2.0 PASS

Known limits

Upgrade / run

uv sync   # installs Mojo 1.2.0

Commits

  • e189175 build: Mojo 1.2.0
  • c86a4de docs: NOTICE names the owner and contact

mojo-inotify v0.1.1

Choose a tag to compare

@amarbarosys amarbarosys released this 21 Oct 10:37

mojo-inotify v0.1.1

Released: 2026-10-21 · Commit: the one tagged v0.1.1 · Previous: v0.1.0

What it does

Watch files and directories from Mojo with Linux inotify. One preallocated read buffer, events read in place, and a pollable file descriptor for an event loop.

Highlights

  • Builds on the Mojo 1.2 nightly as well as on Mojo 1.1.

Changes

Fixed

  • Building with Mojo 1.2 (1.2.0.dev2026102105) failed with existing function with conflicting signature: the 1.2 stdlib declares libc read and write with its own argument types. The library now calls glibc's __read and __write, the same functions under names the stdlib does not declare (exported since GLIBC_2.2.5, on every x86-64 glibc).

Verified

Check Result
scripts/ci.sh on Mojo 1.1.0 PASS
scripts/ci.sh on Mojo 1.2.0.dev2026102105 PASS
scripts/ci.sh on a pristine Ubuntu 24.04.5 VM (Mojo 1.1.0) PASS

Known limits

  • As in v0.1.0. Linux with glibc only.

Upgrade / run

git pull && uv sync

No API change.

Commits

  • v0.1.1 fix: build on Mojo 1.2 (one commit)

mojo-inotify v0.1.0

Choose a tag to compare

@amarbarosys amarbarosys released this 21 Oct 07:18

mojo-inotify v0.1.0

Released: 2026-10-21 · Commit: eb6f085 · Previous: first release

What it does

Watch files and directories from Mojo with Linux inotify. One preallocated read buffer, events read in place, and a pollable file descriptor for an event loop.

Highlights

  • Draining 200k events takes 37 to 38 ms against 121 to 125 ms in Python: the loop runs at the cost of the read calls themselves.
  • An Event is an 8-byte view into the buffer, no copy per event.
  • All IN_* constants exported; names up to 255 bytes; moves keep their cookie.

Changes

First public release, no earlier version.

Verified

Check Result
scripts/check.sh: 10 scenarios vs a Python ctypes oracle, each run twice PASS all
scripts/selfcheck.sh: 4 mutant runners all rejected
scripts/ci.sh on a pristine Ubuntu 24.04.5 VM PASS all

Known limits

  • Linux only.
  • Queue overflow (IN_Q_OVERFLOW) is not covered by the gate.
  • A program that declares its own read, write or mkdir with other argument types will not build; see docs/design.md.

Upgrade / run

git clone https://github.com/amarbaro/mojo-inotify && cd mojo-inotify && uv sync
mojo run -I src examples/quickstart.mojo

Commits

  • eb6f085 docs: CI badge
  • 992a6b4 build: uv.lock (mojo 1.1.0)
  • 6c7390a docs(inotify): README, api, design, skill, CI, bench vs Python
  • fe237b2 feat(inotify): non-blocking inotify with one read buffer and in-place events
  • c6d3811 test(gate): inotify scenarios, Python ctypes oracle, gate with mutant self-check
  • 7b00bd3 chore: repo layout, Apache-2.0, mojo>=1.1