Repository navigation
Conversation
Assemblies were paired by file name only, so a dll and a renamed copy of it could not be compared, and an assembly only one side had was dropped without a word. A single assembly on each side is now compared regardless of its name; an unpaired assembly is printed, and counts as removed or added API when --target names it. Fixes #38. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.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.
assembly|old/Lib - Copy.dllagainstassembly|new/Lib.dllnow compares the two. An assembly only one side has is printed, and it counts toward the suggested version when--targetnames it.Prompt summary: The tool is being dusted off. A diff must not fail on two differently named builds of one library, and it must not hide an assembly a release added or dropped.
Why
Assemblies were paired only by file name. Two single dlls with different names gave "Unable to create diff!" and exit code
1(#38). An assembly only one side had was dropped without a word, so a release that removed a whole assembly could suggestNone.What
A single assembly on each side
When each side holds exactly one assembly, the two are compared whatever their file names. With more than one on a side, pairing stays by file name.
Assemblies only one side has
Each one prints a line,
[diff] Only in the old version: Extra.dllor[diff] Only in the new version: Extra.dll. When--targetnames it, a removed assembly makes the suggestionMajorand an added one at leastMinor. Without targets it only prints: a directory of build output gains and loses dependency dlls, and those are not the library's API.Verify
🤖 Generated with Claude Code