Repository navigation
Releases
mojo-inotify v0.1.5
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-compilerto 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-compilerrun 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
a687573build: bump version to 0.1.5d1a3cc2build: recipe pins mojo-compiler to the build's minor
mojo-inotify v0.1.4
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.mdand 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
- As in v0.1.3.
Upgrade / run
None: no code or API change.
Commits
git log v0.1.3..v0.1.4
mojo-inotify v0.1.3
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 precompileof a package that usesadd_watchno longer fails.
Changes
Added
- Conda recipe (
recipe.yaml). - README install block, one example, and badges for CI, latest release and license.
Fixed
mojo precompileno longer fails on the recursiveCStringSpan.__init__(theas_c_string_spancall ofadd_watchmoves 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
- As in v0.1.2.
Upgrade / run
uv sync
Commits
c7b08c4fix(release): pyproject.toml, recipe.yaml and uv.lock say 0.1.3e4cb137build: conda recipe3581ee5docs: one example, one install block7cad54ffix: mojo precompile no longer fails on a recursive CStringSpan.initd8c0189fix(release): pyproject and uv.lock say 0.1.2, the version of the latest tag76c6566docs: CI, latest-release and license badges
mojo-inotify v0.1.2
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
- As in v0.1.1.
Upgrade / run
uv sync # installs Mojo 1.2.0
Commits
e189175build: Mojo 1.2.0c86a4dedocs: NOTICE names the owner and contact
mojo-inotify v0.1.1
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 withexisting function with conflicting signature: the 1.2 stdlib declares libcreadandwritewith its own argument types. The library now calls glibc's__readand__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.1fix: build on Mojo 1.2 (one commit)
mojo-inotify v0.1.0
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
readcalls themselves. - An
Eventis 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,writeormkdirwith 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
eb6f085docs: CI badge992a6b4build: uv.lock (mojo 1.1.0)6c7390adocs(inotify): README, api, design, skill, CI, bench vs Pythonfe237b2feat(inotify): non-blocking inotify with one read buffer and in-place eventsc6d3811test(gate): inotify scenarios, Python ctypes oracle, gate with mutant self-check7b00bd3chore: repo layout, Apache-2.0, mojo>=1.1