Skip to content

Support categorized changelog templates - #14

Merged
dblock merged 2 commits into
masterfrom
dblock/changelog-templates
Nov 11, 2026
Merged

dblock merged 2 commits into
masterfrom
dblock/changelog-templates

Conversation

@dblock

@dblock dblock commented Nov 11, 2026

Copy link
Copy Markdown
Owner

Ports dblock/ruby-gem-release#51 and dblock/ruby-gem-release#52. Add optional prompt/category templates on KeepAChangelog class instances; remove prompts and empty categories without losing notes, examples or comparison references, and restore the configured development template. Intridea accepts multiple prompts and restores one-level headings without old notes. Defaults and path-first constructors remain unchanged.

Bottom layer of the planned changelog → Markdown section → consumer testing stack. No publication or version bump; registry lookup still returns E404 for 0.1.0.

Validation: npm run test:coverage (77 passing tests; 100% changelog lines/functions, 97.12% branches; whole project 99.24% lines, 100% functions, 94.49% branches), npm run lint, git diff --check, and npm run test:package with real strict-engine installed class/API/type consumers. Remaining changelog branches are absent-reference/heading and cleanup fallbacks; no runtime lines are excluded.

AI-authored by GitHub Copilot on behalf of @dblock.

Port ruby-gem-release #51/#52 with opt-in Keep a Changelog contribution templates and categorized Intridea development sections. Preserve class-first configuration, default behavior, source slices, comparison references and immutable templates. Cover actual class writes, empty notes, Markdown examples, CRLF, installed consumers and public declarations.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Port ruby-gem-release #53 with exact-heading validation, read-only validation and deterministic body replacement. Share mdast boundaries with changelogs while preserving surrounding source, Unicode, newline style and EOF policy. Exercise real file failures, repeated edits, installed consumers and public declarations.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@dblock
dblock added this pull request to stack #17 November 11, 2026 18:07
@dblock
dblock merged commit 0674aaf into master Nov 11, 2026
8 checks passed
@dblock
dblock deleted the dblock/changelog-templates branch November 11, 2026 18:27
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