beads v0.9.1
Performance optimization and critical bug fixes release.
Highlights
🚀 Incremental JSONL Export: Major performance improvement - only exports changed issues instead of regenerating the entire file
🔄 Auto-Migration: Seamless database schema upgrades with no manual intervention
🐛 Critical Fixes: Resolved race conditions that could cause data loss
⚡ Performance: 1.9x faster ID replacement with regex caching
What's New
Features:
- Incremental export with dirty issue tracking
- Auto-flush with 5-second debounce after CRUD operations
- Automatic import when JSONL is newer than database
- ID space partitioning for parallel worker agents (
--idflag) - Silent auto-migration of dirty_issues table
Critical Bug Fixes:
- Fixed TOCTOU race condition in dirty tracking (could cause data loss)
- Fixed export with filters incorrectly clearing all dirty issues
- Fixed malformed ID detection never finding malformed IDs
- Refactored dependency dirty marking to eliminate code duplication
Performance:
- Incremental export only writes changed issues (vs full export)
- Regex caching in ID replacement: 1.9x improvement
- Automatic debounced flush prevents excessive I/O
Upgrade Notes
No breaking changes. All changes are backward compatible.
Simply pull the latest version - your existing database will be automatically migrated on first use.
See CHANGELOG.md for complete details.
Credits
This release includes contributions from automated code review and testing.