bunqueue v2.1.6
blog · release
bunqueue v2.1.6
Fixes 2 bugs and ships 2 additions. S3 backup hardening - 10 bug fixes with 33 new tests: - Replace silent catch in cleanup with proper logging - Reject retention < 1 and intervalMs < 60s in config validation - Validate SQLite magic bytes…
To install bunqueue v2.1.6
Section titled “To install bunqueue v2.1.6”bun add bunqueue@2.1.6npm install bunqueue@2.1.6To upgrade bunqueue
Section titled “To upgrade bunqueue”bun add bunqueue@latestWhat’s new
Section titled “What’s new”- 33 new S3 backup tests covering config validation, backup/restore operations, cleanup, and manager lifecycle
- Documentation for gzip compression, SHA256 checksums,
.meta.jsonfiles, scheduling details, AWS env var aliases, and restore safety notes
Bugfixes
Section titled “Bugfixes”- S3 backup hardening - 10 bug fixes with 33 new tests:
- Replace silent catch in cleanup with proper logging
- Reject retention < 1 and intervalMs < 60s in config validation
- Validate SQLite magic bytes before restore to prevent data corruption
- Guard cleanup against retention=0 deleting all backups
- Add S3 list pagination to handle >100 backups
- Run WAL checkpoint before backup to include uncheckpointed data
- Replace blocking gzipSync/gunzipSync with async CompressionStream
- Flaky sandboxedWorker concurrent test - Poll all 4 job results in parallel instead of sequentially to avoid exceeding the 5s test timeout.
Thanks to 1 contributor!
Section titled “Thanks to 1 contributor!”← bunqueue v2.1.5 · Release on GitHub · Commits since v2.1.4 · Full changelog · All posts