Repository navigation
Conversation
The Markdown exporter read a member's change from its type, so a deleted member was written as added, and it only knew methods and properties, so a removed field or event went missing. It now walks the diff instead of parsing the XML and writes every member, attribute and accessor change. Fixes #56, fixes #27. Co-Authored-By: Claude Opus 5.5 <[email protected]>
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.
--format markdownnow reports every change the XML holds. Deleted members say "deleted", and fields, events, attribute changes and accessor changes are no longer left out.Prompt summary: The tool is being dusted off. The Markdown report is one of the formats a pull request comment can carry, and it currently says the opposite of what happened.
Why
The exporter took a member's change from the type that contains it, so a deleted member of a modified type was written as "is added" (#56). It only looked at methods and properties, so a removed enum value or event left the report empty (#27). A modified member with no declaration text, such as one whose attributes changed, was also written as "is added".
What
Walks the diff, not the XML
The exporter reads the diff tree the engine returns, now that its types are part of the tool. It used to parse the XML output, because JustAssembly's diff types were internal. Types keep their document order, and nested types follow their declaring type, as before.
Every kind of change
A member that only one side has is "added" or "deleted" by its own change type. A modified member lists each declaration change, its attribute changes and its accessor changes, such as "
setis deleted." A modified type lists its own declaration changes, such as its visibility or attributes, before its members.Verify
mise run testThe snapshots change only in their Markdown sections. The scenario
added-and-removednow says### `Draw()` is deleted.🤖 Generated with Claude Code