Skip to content

Report every change in the Markdown output - #70

Merged
Mpdreamz merged 1 commit into
mainfrom
markdown
Nov 14, 2026
Merged

Mpdreamz merged 1 commit into
mainfrom
markdown

Conversation

@Mpdreamz

Copy link
Copy Markdown
Contributor

--format markdown now 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 "set is deleted." A modified type lists its own declaration changes, such as its visibility or attributes, before its members.

Verify

mise run test

The snapshots change only in their Markdown sections. The scenario added-and-removed now says ### `Draw()` is deleted.

🤖 Generated with Claude Code

@Mpdreamz Mpdreamz added the bug A defect fixed (patch) label Nov 14, 2026
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]>
@Mpdreamz
Mpdreamz merged commit d3e0b64 into main Nov 14, 2026
6 checks passed
@Mpdreamz
Mpdreamz deleted the markdown branch November 14, 2026 07:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug A defect fixed (patch)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant