Repository navigation
Releases
v1.4.0
v1.3.1
Fix: feed deps's version-range parser rejected a range with both bounds
empty (e.g. (, ), [,]) as invalid, even though the NuGet grammar treats
an empty bound as unbounded on that side — same as "", i.e. any version.
This produced false unsatisfied findings for real packages with
legitimately unbounded dependency ranges (found scanning a production
feed).
Fix: feed deps had no client-side pacing and aborted the entire scan —
discarding every finding already collected — on the first HTTP error,
including a transient 429/503 from a feed's own rate limiter (e.g. nginx
limit_req). A 429/503 is now retried up to 3 times with backoff, honoring
the response's Retry-After header when it sends one, before giving up.
New nugctl feed deps --max-rps <float> caps the request rate up front for
a feed that rate-limits aggressively.
Closes #3
v1.3.0
New: nugctl feed deps [--package <id>] [-o table|json|yaml] — a
dependency-graph scan that checks whether a package's declared NuGet
dependencies actually resolve in the feed. For every package version
scanned (or just one with --package), it reads the registration's
dependencyGroups and reports each dependency as ok, missing (the
dependency package doesn't exist in the feed), or unsatisfied (it
exists, but no listed version satisfies the required range). Designed
for CI like feed verify: exit 0/1/2.
Correctly follows NuGet version-range semantics (1.0.0, [1.0.0],
(1.0.0,), [1.0.0,2.0.0), ...), excludes prerelease candidates from
stable ranges, and transparently fetches registration pages a feed left
out-of-line rather than inlined.
Fix: internal/client.CatalogEntry now correctly defaults a missing
listed property to true per the NuGet v3 registration schema (it
previously defaulted to false).
Closes #2
v1.2.0
New: nugctl feed verify --push --force-delete — an explicit, feed-specific
opt-in that appends force=true to the push round-trip's cleanup delete.
Feeds with a recent-download guard (e.g. Barn, which returns RFC 9457 HTTP
409 unless deletion explicitly forces past it) previously failed cleanup on
an otherwise successful round trip. Ordinary --push is unchanged: it still
sends a plain delete and reports 409 as a failed cleanup check with no
retry. --force-delete requires --push and is rejected otherwise.
Closes #1
v1.1.0
New: nugctl feed verify [--push] [--package <id>] — a conformance-oracle
command that validates a NuGet v3 feed's protocol compliance: required
resource presence/responsiveness, registration/flat-container/hash
integrity, well-formed 404s, credential-rejection behavior, and (with
--push) a full push/poll/download/unlist round-trip. Built for CI: exits
0 (all checks passed), 1 (a check failed), or 2 (couldn't run at all).
Supports -o table|json|yaml like every other command.
Fix: --url/NUGCTL_URL now work without any profile configured — every
command previously required a profile to exist in ~/.config/nugctl/config.yml
even when a URL was supplied directly. A single flag is now enough, e.g. in
a bare CI container with no config file at all. An explicitly-named
--profile that doesn't exist still errors.
Verify downloads against checksums.txt (sha256).
v1.0.4
Fix: nugctl upgrade could fail on Windows with a file-lock error during the self-replace step. Windows won't let you overwrite a file mapped into a running process, and antivirus real-time scanning can transiently lock the freshly-downloaded binary.
On Windows, the running exe is now moved aside first (renaming an open file is allowed even though overwriting one isn't), the new binary is installed, and the old one is restored automatically if that fails - so a failed upgrade never leaves you without a working binary. Each rename retries briefly to ride out a transient AV lock.
Verify downloads against checksums.txt (sha256).
v1.0.3
Add HTTP Basic Auth support, for feeds sitting behind a reverse proxy/gateway that gates access separately from the feed's own API key. New --basic-auth-user / --basic-auth-pass flags (env: NUGCTL_BASIC_AUTH_USER / _PASS, profile fields basic_auth_user / basic_auth_pass) — usable alongside an API key if both are required.
auth login now prompts for Basic Auth credentials; auth logout clears all stored credentials (API key + Basic Auth).
Verify downloads against checksums.txt (sha256).
v1.0.2
Cache the feed's service index (~/.config/nugctl/cache/), keyed by feed URL, with a 30-minute TTL and ETag/Last-Modified conditional revalidation once stale. Avoids an index.json round trip before every command.
Any resource-URL-backed call (search, registration, push, pull, delete, deprecate) that hits a 404 transparently re-fetches the index and retries once before failing.
New: --no-cache flag / NUGCTL_NO_CACHE env var, and nugctl cache clear.
Verify downloads against checksums.txt (sha256).
v1.0.1
Fix: package list/info could fail entirely against feeds (e.g. BaGetter) that return catalogEntry.tags as a JSON array rather than a space-delimited string. Tags now accepts either shape.
Also adds a Makefile for reproducible cross-platform release builds.
Verify downloads against checksums.txt (sha256).