This commit is contained in:
Steve Yegge
2025-11-24 00:07:34 -08:00
3 changed files with 141 additions and 66 deletions

File diff suppressed because one or more lines are too long

View File

@@ -7,6 +7,45 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
## [0.24.3] - 2025-11-24
### Added
- **Built-in version tracking** (bd-loka): bd now tracks its own version in metadata.json
- **Auto-migrate database on CLI version bump** (bd-jgxi): Database schema migrations happen automatically when upgrading
- **metadata.json version tracking validation** in `bd doctor` (bd-u4sb)
- **Agent upgrade awareness documentation and tooling**
- **Complete command set standardization** (bd-au0)
- **--shared flag for bd hooks install**: Install versioned hooks that can be committed to git
- **Aider integration**: Proper YAML config format for beads issue tracking
- **BEADS_SYNC_BRANCH environment variable**: Override sync branch configuration
- **--upgrade-mcp flag** for bump-version.sh script
- **Monitor Web UI enhancements**: Interactive filters, find-as-you-type, improved UX/UI
### Fixed
- **Handle FOREIGN KEY constraint violations gracefully during import** (bd-koab)
- **Auto-fix metadata.json jsonl_export mismatch** (bd-afd)
- **Enforce ZFC (JSONL First Consistency)**: Refuse export when DB >> JSONL (bd-l0r)
- **Remove mtime fast-path in hasJSONLChanged** (bd-v0y): More reliable change detection
- **Fix N+1 query pattern in export operations** (bd-rcmg): Performance improvement
- **Merge conflicts now prefer closed>open and deletion>modification** (bd-pq5k)
- **Support both canonical and legacy JSONL filenames** in merge driver check
- **Auto-repair stale merge driver configs** with invalid placeholders
- **Add executable bit validation for git hooks** (bd-fwul)
- **Auto-configure sync.branch during bd init** (bd-flil)
- **bd doctor check and fix for missing sync.branch config** (bd-rsua)
- **Improve pre-push hook**: Suggest bd sync with auto-sync option
- **Fix race condition in client socket cleanup** (bd-4owj)
- **Daemon respects auto-commit/auto-push DB config** (#360)
- **Use dynamic JSONL path in daemon sync branch operations** (#361)
- **Improve staleness check error handling** (bd-2q6d, bd-o4qy, bd-n4td)
- **Change file permissions from 0644 to 0600** for better security
- **Fix Windows CI test failures** and various cross-platform issues
- **Fix GH#366**: Encourage descriptions when creating issues
- **Fix GH#367**: bd import defaulting to stdin is confusing
- **Fix priority 0 bug display** using nullish coalescing
### Improved
- **Daemon Log Rotation**: Increased default rotation limits for better production use (bd-t7ds)

View File

@@ -62,6 +62,33 @@ update_file() {
fi
}
# Update CHANGELOG.md: move [Unreleased] to [version] and create new [Unreleased]
update_changelog() {
local version=$1
local date=$(date +%Y-%m-%d)
if [ ! -f "CHANGELOG.md" ]; then
echo -e "${YELLOW}Warning: CHANGELOG.md not found, skipping${NC}"
return
fi
# Check if there's an [Unreleased] section
if ! grep -q "## \[Unreleased\]" CHANGELOG.md; then
echo -e "${YELLOW}Warning: No [Unreleased] section in CHANGELOG.md${NC}"
echo -e "${YELLOW}You may need to manually update CHANGELOG.md${NC}"
return
fi
# Create a temporary file with the updated changelog
if [[ "$OSTYPE" == "darwin"* ]]; then
# macOS
sed -i '' "s/## \[Unreleased\]/## [Unreleased]\n\n## [$version] - $date/" CHANGELOG.md
else
# Linux
sed -i "s/## \[Unreleased\]/## [Unreleased]\n\n## [$version] - $date/" CHANGELOG.md
fi
}
# Main script
main() {
# Check arguments
@@ -203,6 +230,10 @@ main() {
"# bd-hooks-version: $NEW_VERSION"
done
# 10. Update CHANGELOG.md
echo " • CHANGELOG.md"
update_changelog "$NEW_VERSION"
echo ""
echo -e "${GREEN}✓ Version updated to $NEW_VERSION${NC}"
echo ""
@@ -332,12 +363,17 @@ main() {
npm-package/package.json \
README.md \
cmd/bd/templates/hooks/*
# Add PLUGIN.md if it exists
if [ -f "PLUGIN.md" ]; then
git add PLUGIN.md
fi
# Add CHANGELOG.md if it exists
if [ -f "CHANGELOG.md" ]; then
git add CHANGELOG.md
fi
git commit -m "chore: Bump version to $NEW_VERSION
Updated all component versions: