Repository navigation
NHyDB 0.27.1
Pre-release
Pre-release
Added
- Prebuilt wheels for CPython 3.9–3.14 on Linux (x86_64, aarch64;
manylinux_2_28), macOS (x86_64, arm64) and Windows (x64), published on
PyPI:pip install nhydb.
Changed
close()releases the file handle and the write lock immediately, not only
when the object is released. Afterwards every file access raises
NHyDBError("database is closed"); previously reads on a closed database
could still succeed. Repeated calls have no effect.- If the commit in
close(commit=True)fails, the database stays open (retry,
or discard withclose(commit=False)).close(commit=False)releases handle
and lock even if writing the buffer fails; uncommitted data never becomes
visible, also not after reopening.
Fixed
- Windows:
compact_file()failed with "Access is denied (os error 5)" when
the database had been closed but the object was still referenced. - Windows: the Rust corruption test no longer uses Unix-only positional file
I/O. - Windows: the Python test for rolling back a failed append relies on the
POSIX file size limit and is skipped on Windows; the same property is
checked on all platforms by a Rust test with injected write errors.