Skip to content

fix(cask): drop the deprecated verified: from the url stanza - #77

Merged
jnahian merged 1 commit into
mainfrom
fix/cask-verified-deprecation
Sep 7, 2026
Merged

jnahian merged 1 commit into
mainfrom
fix/cask-verified-deprecation

Conversation

@jnahian

@jnahian jnahian commented Sep 7, 2026

Copy link
Copy Markdown
Owner

Closes #76

Homebrew deprecated the verified: parameter to url, so every brew command that touched the tap printed:

Warning: Calling the `verified` parameter in the `url` stanza is deprecated! Use the default URL verification behaviour instead.
  /opt/homebrew/Library/Taps/jnahian/homebrew-reader.md/Casks/reader-md.rb:5

verified: exists to vouch for a download host unrelated to homepage. Ours is github.com/jnahian/reader.md, which is the homepage, so Homebrew's default verification already accepts it — the argument was inert. Removing it is the whole change.

release.sh only rewrites the version and sha256 lines (release.sh:93-97), so the deletion survives future releases.

Verification

Copied the edited cask into the tap checkout and loaded it:

  • brew info --cask jnahian/reader.md/reader-mdno warning, cask resolves with the same version, requirements, and artifacts as before. (Tap restored afterwards.)
  • Full brew audit --cask could not run on this machine: Homebrew's developer commands refuse with Your Xcode (26.6) at /Applications/Xcode.app is too outdated. Please update to Xcode 27.0. Worth a run wherever Xcode is current.

🤖 Generated with Claude Code

https://claude.ai/code/session_015FzPq6pEHPreGzSDystgdL

Homebrew deprecated the `verified:` parameter, so every `brew` command
touching the tap printed a warning pointing at Casks/reader-md.rb:5.

The parameter exists to vouch for a download host unrelated to `homepage`.
Ours is github.com/jnahian/reader.md — exactly the homepage — so default
URL verification already covers it and the argument was never doing work.

release.sh only rewrites the version and sha256 lines, so this stays gone
across releases.

Closes #76

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015FzPq6pEHPreGzSDystgdL
@jnahian jnahian added the bug Something isn't working label Sep 7, 2026
@jnahian
jnahian merged commit 7edda10 into main Sep 7, 2026
1 check passed
@jnahian
jnahian deleted the fix/cask-verified-deprecation branch September 7, 2026 11:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Homebrew cask: drop the deprecated verified: from the url stanza

1 participant