Skip to content

feat: add release notes drafter#174

Open
marcus wants to merge 1 commit intocodex/lint-fix-linter-fixesfrom
codex/release-notes-drafter-impl
Open

feat: add release notes drafter#174
marcus wants to merge 1 commit intocodex/lint-fix-linter-fixesfrom
codex/release-notes-drafter-impl

Conversation

@marcus
Copy link
Copy Markdown
Owner

@marcus marcus commented Apr 29, 2026

Scope

  • Add td release-notes to draft deterministic markdown from local git commits.
  • Add repo-dir-aware git helpers for ref resolution, nearest reachable semver tag selection, and oldest-first commit listing.
  • Add release-note grouping/rendering for breaking changes, features, bug fixes, documentation, and improvements.
  • Update README, release guide, and manual website command reference docs.

Assumptions

  • "Changes" means commits in a local git ref range.
  • This first slice does not call GitHub APIs and does not generate AI-authored prose.

Tests

  • go test ./internal/git ./internal/releasenotes ./cmd
  • go test ./... failed with ambient TD_FEATURE_SYNC_AUTOSYNC=1 and TD_FEATURE_SYNC_CLI=1 because internal/features expects default feature state.
  • env -u TD_FEATURE_SYNC_AUTOSYNC -u TD_FEATURE_SYNC_CLI go test ./...
  • TD_ANALYTICS=false go run . release-notes --from v0.44.0 --to HEAD
  • TD_ANALYTICS=false go run . release-notes --from v0.44.0 --to HEAD --version v0.45.0 --date 2026-04-29

Docs

  • website/docs/command-reference.md appears manually maintained, so it was refreshed in this PR.

Draft deterministic markdown release notes from local git history with a new td release-notes command.

Nightshift-Task: release-notes
Nightshift-Ref: https://github.com/marcus/nightshift
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant