From 561e025fc257c4f68b776c749eb32754f5db5079 Mon Sep 17 00:00:00 2001 From: Steve Yegge Date: Tue, 14 Oct 2025 03:32:56 -0700 Subject: [PATCH] chore: Bump version to 0.9.2 Release notes: - --deps flag for one-command issue creation (#18) - External reference tracking for linking to external trackers - Critical bug fixes (dep tree, auto-import, parallel creation) - Windows build support and Go extension examples - Community PRs merged (#8, #10, #12, #14, #15, #17) See CHANGELOG.md for full details. --- CHANGELOG.md | 74 +++++++++++++++++++++++++++++++++++++++++++++++ cmd/bd/version.go | 2 +- 2 files changed, 75 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d004957e..2217598e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,64 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.9.2] - 2025-10-14 + +### Added +- **One-Command Dependency Creation**: `--deps` flag for `bd create` (#18) + - Create issues with dependencies in a single command + - Format: `--deps type:id` or just `--deps id` (defaults to blocks) + - Multiple dependencies: `--deps discovered-from:bd-20,blocks:bd-15` + - Whitespace-tolerant parsing + - Particularly useful for AI agents creating discovered-from issues +- **External Reference Tracking**: `external_ref` field for linking to external trackers + - Link bd issues to GitHub, Jira, Linear, etc. + - Example: `bd create "Issue" --external-ref gh-42` + - `bd update` supports updating external references + - Tracked in JSONL for git portability +- **Metadata Storage**: Internal metadata table for system state + - Stores import hash for idempotent auto-import + - Enables future extensibility for system preferences + - Auto-migrates existing databases +- **Windows Support**: Complete Windows 11 build instructions (#10) + - Tested with mingw-w64 + - Full CGo support documented + - PATH setup instructions +- **Go Extension Example**: Complete working example of database extensions (#15) + - Demonstrates custom table creation + - Shows cross-layer queries joining with issues + - Includes test suite and documentation +- **Issue Type Display**: `bd list` now shows issue type in output (#17) + - Better visibility: `bd-1 [P1] [bug] open` + - Helps distinguish bugs from features at a glance + +### Fixed +- **Critical**: Dependency tree deduplication for diamond dependencies (bd-85, #1) + - Fixed infinite recursion in complex dependency graphs + - Prevents duplicate nodes at same level + - Handles multiple blockers correctly +- **Critical**: Hash-based auto-import replaces mtime comparison (bd-84) + - Git pull updates mtime but may not change content + - Now uses SHA256 hash to detect actual changes + - Prevents unnecessary imports after git operations +- **Critical**: Parallel issue creation race condition (PR #8, bd-66) + - Multiple processes could generate same ID + - Replaced in-memory counter with atomic database counter + - Syncs counters after import to prevent collisions + - Comprehensive test coverage + +### Changed +- Auto-import now uses content hash instead of modification time +- Dependency tree visualization improved for complex graphs +- Better error messages for dependency operations + +### Community +- Merged PR #8: Parallel issue creation fix +- Merged PR #10: Windows build instructions +- Merged PR #12: Fix quickstart EXTENDING.md link +- Merged PR #14: Better enable Go extensions +- Merged PR #15: Complete Go extension example +- Merged PR #17: Show issue type in list output + ## [0.9.1] - 2025-10-14 ### Added @@ -122,12 +180,28 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## Version History +- **0.9.2** (2025-10-14): Community PRs, critical bug fixes, and --deps flag - **0.9.1** (2025-10-14): Performance optimization and critical bug fixes - **0.9.0** (2025-10-12): Pre-release polish and collision resolution - **0.1.0**: Initial development version ## Upgrade Guide +### Upgrading to 0.9.2 + +No breaking changes. All changes are backward compatible: +- **--deps flag**: Optional new feature for `bd create` +- **external_ref**: Optional field, existing issues unaffected +- **Metadata table**: Auto-migrates on first use +- **Bug fixes**: All critical fixes are transparent to users + +Simply pull the latest version and rebuild: +```bash +go install github.com/steveyegge/beads/cmd/bd@latest +# or +git pull && go build -o bd ./cmd/bd +``` + ### Upgrading to 0.9.1 No breaking changes. All changes are backward compatible: diff --git a/cmd/bd/version.go b/cmd/bd/version.go index e56324c5..ed3c646e 100644 --- a/cmd/bd/version.go +++ b/cmd/bd/version.go @@ -8,7 +8,7 @@ import ( const ( // Version is the current version of bd - Version = "0.9.0" + Version = "0.9.2" // Build can be set via ldflags at compile time Build = "dev" )