github Dicklesworthstone/destructive_command_guard v0.18.1

50 minutes ago

What's Changed in v0.18.1

Fixed

  • dcg update finds the latest release again. dcg update without --version, dcg update --check and the background "new version available" notice found the newest version by reading GitHub's full release listing. The update library refuses a listing page over 4 MiB, and the listing passed that size when v0.18.0 was published, so these commands failed with "listing page body exceeded the 4194304-byte cap" on every installed version. They now ask GitHub's /releases/latest endpoint, which returns a single release, so the size of the listing no longer matters. The listing is read only if that request fails. dcg update --version vX.Y.Z is unchanged.
  • Versions up to 0.18.0 still read the listing. The notes of older releases were shortened, which brought the listing back under the limit, so dcg update works on those versions again. If an older version still reports the 4194304-byte cap, run dcg update --version v0.18.1 or the installer below.

See CHANGELOG.md for details.

Installation

curl -fsSL "https://raw.githubusercontent.com/Dicklesworthstone/destructive_command_guard/main/install.sh" | bash -s -- --easy-mode

Or via Homebrew / Scoop:

brew install dicklesworthstone/tap/dcg
# or upgrade:
brew upgrade dcg
scoop update
scoop install dcg

Verification

All release archives, installers, and SHA256SUMS are signed with Minisign (keyid: 69B3955C8D2E62A8):

minisign -Vm SHA256SUMS -P RWSoYi6NXJWzaRs1mJmOwwXrZfPWcq6MXnQlNMLBYKzlIQTLwuVQG6uO
sha256sum -c SHA256SUMS --ignore-missing

Full Changelog: v0.18.0...v0.18.1

Don't miss a new destructive_command_guard release

NewReleases is sending notifications on new releases.