v0.9.0 Full auto repair
This release now contains full crash recovery and repairs corrupted files, brings lagging indexes up to sync and guarantees commits are only written in full.
The repair behavior is tested with a stress test writing to storage in a tight loop and artificially crashing the process. An upper bound on potential data loss is guaranteed and only depends on write buffer size, hence is configurable.
The documentation has received an overhaul and is available at https://node-event-storage.readthedocs.io/en/latest/
This release also drops official support for nodejs < 18, though it should still be functional.
This project is now considered production ready.
The next release will be a breaking change, moving the code base to ESM.
Full change log:
v0.8.0...v0.9.0