@beads/bd 0.24.0 → 0.24.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/bin/CHANGELOG.md CHANGED
@@ -7,6 +7,115 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ### Improved
11
+
12
+ - **Daemon Log Rotation**: Increased default rotation limits for better production use (bd-t7ds)
13
+ - Max size increased from 10MB to 50MB per file
14
+ - Max backups increased from 3 to 7 files
15
+ - Max age increased from 7 to 30 days
16
+ - Added comprehensive documentation in CONFIG.md
17
+ - Better handles long-running daemons with high log output
18
+
19
+ - **Git Pre-Push Hook**: Better error messaging and auto-sync option
20
+ - Error message now suggests `bd sync` instead of manual git commands
21
+ - Interactive prompt offers to run `bd sync` automatically
22
+ - Falls back to manual instructions in non-interactive terminals or when bd is unavailable
23
+ - Improves user experience when beads JSONL has uncommitted changes
24
+
25
+ ## [0.24.2] - 2025-11-22
26
+
27
+ ### Fixed
28
+
29
+ - **Test Stability**: Complete rootCtx initialization fix for all hanging tests (issue #355, b8db5ab)
30
+ - Fixed TestGetAssignedStatus missing rootCtx initialization (a517ec9)
31
+ - Prevents test hangs from uninitialized context
32
+ - Improved test reliability and isolation
33
+
34
+ - **JSONL Configuration**: Improved bd doctor JSONL checks to focus on real problems (87ee3a6)
35
+ - Reduces false positives in JSONL validation
36
+ - Better detection of actual configuration issues
37
+
38
+ ### Changed
39
+
40
+ - **JSONL Filename Default**: Changed default JSONL filename from `beads.jsonl` to `issues.jsonl` (c4c5c80)
41
+ - Updated TestFindJSONLPathDefault to match new default (5eefec7)
42
+ - Removed stale `issues.jsonl` in favor of configured `beads.jsonl` (d918e47)
43
+ - More intuitive default filename for new users
44
+
45
+ ## [0.24.1] - 2025-11-22
46
+
47
+ ### Added
48
+
49
+ - **bd search**: Date and priority filters (787fb4e)
50
+ - `--created-after`, `--created-before` for date filtering
51
+ - `--priority-min`, `--priority-max` for priority range filtering
52
+ - Enables more precise search queries
53
+
54
+ - **bd count**: New command for counting and grouping issues (d7f4189)
55
+ - Count issues by status, priority, type, or labels
56
+ - Helpful for generating statistics and reports
57
+
58
+ - **Test Infrastructure**: Automatic skip list for tests (0040e80)
59
+ - Improves test reliability and maintenance
60
+ - Automatically manages flaky or environment-specific tests
61
+
62
+ ### Fixed
63
+
64
+ - **Test Stability**: Fixed hanging tests by initializing rootCtx (822baa0, bd-n25)
65
+ - Prevents test hangs from context cancellation issues
66
+ - Better test isolation and cleanup
67
+
68
+ - **Git Merge Driver**: Corrected placeholders from %L/%R to %A/%B (ddd209e)
69
+ - Fixes merge driver configuration for proper conflict resolution
70
+ - Uses correct git merge driver variable names
71
+
72
+ - **Database Paths**: Deduplicate database paths when symlinks present (#354, f724b61)
73
+ - Prevents duplicate database detection when symlinks are involved
74
+ - Improves reliability in complex filesystem setups
75
+
76
+ ### Changed
77
+
78
+ - **bd list**: Accept both integer and P-format for priority flags (2e2b8d7)
79
+ - `--priority 1` and `--priority P1` now both work
80
+ - More flexible CLI input for priority filtering
81
+
82
+ - **bd update**: Added `--body` flag as alias for `--description` (bb5a480)
83
+ - More intuitive flag name for updating issue descriptions
84
+ - Both flags work identically for backward compatibility
85
+
86
+ - **bd update**: Added label operations (3065db2)
87
+ - `--add-labels` and `--remove-labels` flags
88
+ - Simplifies label management in update operations
89
+
90
+ - **GitHub Copilot Support**: Added `.github/copilot-instructions.md` (605fff1)
91
+ - Provides project-specific guidance for GitHub Copilot
92
+ - Improves AI-assisted development experience
93
+
94
+ - **Documentation**: Moved design/audit docs from cmd/bd to docs/ (ce433bb)
95
+ - Better organization of project documentation
96
+ - Clearer separation of code and documentation
97
+
98
+ ### Performance
99
+
100
+ - **Test Suite**: Deleted 7 redundant tests from main_test.go (fa727c7)
101
+ - 3x speedup in test execution
102
+ - Improved CI/CD performance
103
+
104
+ - **Test Coverage**: Tagged 16 slow integration tests with build tags (8290243)
105
+ - Faster local test runs with `-short` flag
106
+ - CI can still run full test suite
107
+
108
+ ### Testing
109
+
110
+ - **Security Tests**: Added security and error handling tests for lint warnings (74f3844)
111
+ - Improved code quality and safety
112
+ - Better coverage of edge cases
113
+
114
+ - **Shared Database Pattern**: Refactored multiple test files to use shared DB pattern (bd-1rh)
115
+ - compact_test.go, integrity_test.go, validate_test.go, epic_test.go, duplicates_test.go
116
+ - Improved test consistency and maintainability
117
+ - Faster test execution through better resource sharing
118
+
10
119
  ## [0.24.0] - 2025-11-20
11
120
 
12
121
  ### Added
@@ -1131,9 +1240,9 @@ See README.md for hash ID format details and birthday paradox collision analysis
1131
1240
  - Includes comprehensive test coverage
1132
1241
  - **Log Rotation**: Automatic daemon log rotation with configurable limits (bd-154)
1133
1242
  - Prevents unbounded log file growth for long-running daemons
1134
- - Configurable via environment variables: `BEADS_DAEMON_LOG_MAX_SIZE`, `BEADS_DAEMON_LOG_MAX_BACKUPS`, `BEADS_DAEMON_LOG_MAX_AGE`
1243
+ - Configurable via environment variables: `BEADS_DAEMON_LOG_MAX_SIZE`, `BEADS_DAEMON_LOG_MAX_BACKUPS`, `BEADS_DAEMON_LOG_MAX_AGE`, `BEADS_DAEMON_LOG_COMPRESS`
1135
1244
  - Optional compression of rotated logs
1136
- - Defaults: 10MB max size, 3 backups, 7 day retention, compression enabled
1245
+ - Defaults: 50MB max size, 7 backups, 30 day retention, compression enabled
1137
1246
  - **Batch Deletion**: Enhanced `bd delete` command with batch operations (bd-127)
1138
1247
  - Delete multiple issues at once: `bd delete bd-1 bd-2 bd-3 --force`
1139
1248
  - Read from file: `bd delete --from-file deletions.txt --force`
package/bin/README.md CHANGED
@@ -156,7 +156,7 @@ echo "BEFORE ANYTHING ELSE: run 'bd onboard' and follow the instructions" >> AGE
156
156
 
157
157
  **Git merge driver:** During `bd init`, beads configures git to use `bd merge` for intelligent JSONL merging. This prevents conflicts when multiple branches modify issues. Skip with `--skip-merge-driver` if needed. To configure manually later:
158
158
  ```bash
159
- git config merge.beads.driver "bd merge %A %O %L %R"
159
+ git config merge.beads.driver "bd merge %A %O %A %B"
160
160
  git config merge.beads.name "bd JSONL merge driver"
161
161
  echo ".beads/beads.jsonl merge=beads" >> .gitattributes
162
162
  ```
@@ -780,7 +780,7 @@ For advanced usage, see:
780
780
 
781
781
  ### Third-Party Tools
782
782
 
783
- - **[Beadster](https://apps.apple.com/us/app/beadster-issue-tracking/id6754286462)** - Native macOS app for viewing and managing bd issues across multiple projects. Features a compact, always-on-top window for quick reference during development. Built by [@podviaznikov](https://github.com/podviaznikov).
783
+ - **[beads-ui](https://github.com/mantoni/beads-ui)** - Local web interface with live updates, kanban board, and keyboard navigation. Zero-setup launch with `npx beads-ui start`. Built by [@mantoni](https://github.com/mantoni).
784
784
 
785
785
  Have you built something cool with bd? [Open an issue](https://github.com/steveyegge/beads/issues) to get it featured here!
786
786
 
package/bin/bd CHANGED
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@beads/bd",
3
- "version": "0.24.0",
3
+ "version": "0.24.4",
4
4
  "description": "Beads issue tracker - lightweight memory system for coding agents with native binary support",
5
5
  "main": "bin/bd.js",
6
6
  "bin": {