Repository navigation
Support categorized changelog templates - #14
Merged
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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, andnpm run test:packagewith 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.