Repository navigation
Conversation
Checking a solution's updates meant running nuget X for each package. In a solution, upgrades reads every package the projects reference directly, compares each with its latest stable release, and prints one table: the change to the API the code uses and how many breaking changes hit it. --all counts every change, -f json writes upgrades.json, and --fail-on fails on an update at that level. 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.
assembly-differ upgrades, run in a solution, lists every directly referenced package that has a newer release. For each one it shows the change to the API your code uses and how many breaking changes hit it.Prompt summary: Running the tool against a local solution should make validating dependency updates easy, as part of the CLI designed together with the owner:
nuget X [to]for one package, andupgradesfor every package at once, both limited by default to what the code uses.Why
nuget Xanswers for one package. Answering "which of my updates are safe to take" meant listing the packages, finding their latest versions, and runningnuget Xfor each.What
One table for the solution
upgradesreads each project'sproject.assets.jsonfor the packages it references directly, and the version andlib/folder each framework resolves. It compares each with its latest stable release on the NuGet.config feeds. Packages already on their latest release are counted, not listed. A package with no assemblies, such as a build-only one, gets a note.What the code uses
As with
nuget Xfrom #81, only changes to API the built projects reference count, so a purely additive update showsNoneunder the column "Change to what you use".--allcounts every change. The comparisons run quietly, one stderr line per package, andassembly-differ nuget <package> <version>shows one update in full.Output and gating
Markdown by default;
-f jsonwritesupgrades.json, withupToDateand per packagefrom,to,suggestedVersionChange,breakingChanges,usesOnlyandprojects.--fail-on majorexits4when any update breaks something the code uses.Verify
The fixture compiler now takes an assembly name and the test package helper a file name, so a test can publish several packages.
🤖 Generated with Claude Code