All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.
- Relax build tags to compile on other platforms out of the box, if supported by our dependencies. PR #44
- Add FlagWaitLock to wait on Open until the file lock can be acquired. PR #42
- Create separate lock file on non windows systems. PR #42
- Open by default returns an error if the file lock can not be acquired. PR #42
- Fix flush callback not being executed on success. PR #34
- Panic on atomic operation (arm, x86-32) and File lock not released when panic occurs. PR #31
- Added
Observer
to txfile for collecting per transaction metrics. PR #23 - Make file syncing configurable. PR #29
- Added
Observer
to pq package for collecting operational metrics. PR #26
- Queue reader requires explicit transaction start/stop calls. PR #27
- Fix build for *BSD. PR #20
- Add
(*pq.Reader).Begin/Done
to reuse a read transaction for multiple reads. PR #4 - Add
Flags
to txfile.Options. PR #5 - Add support to increase a file's maxSize on open. PR #5
- Add support to reduce the maximum file size PR #8
- Add support to pre-allocate the meta area. PR #7
- Improved error handling and error reporting. PR #15, #16, #17, #18
- Begin returns an error if transaction is not compatible to file open mode. PR #17
- Introduce Error type to txfile and pq package. PR #17, #18
- Refine platform dependent file syncing. PR #10
- Begin methods can return an error. PR #17
- Windows Fix: Add missing file unlock on close, so file can be reopened and locked. PR #11
- Windows Fix: Can not open file because '' can not be locked right now. PR #11
- Windows Fix: Max mmaped area must not exceed actual file size on windows. PR #11