Skip to content

chore(deps): bump github.com/urfave/cli/v3 from 3.3.9 to 3.4.1 - #11

Merged
Slach merged 1 commit into
mainfrom
dependabot/go_modules/github.com/urfave/cli/v3-3.4.1
Aug 19, 2025
Merged

Slach merged 1 commit into
mainfrom
dependabot/go_modules/github.com/urfave/cli/v3-3.4.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 18, 2025

Copy link
Copy Markdown
Contributor

Bumps github.com/urfave/cli/v3 from 3.3.9 to 3.4.1.

Release notes

Sourced from github.com/urfave/cli/v3's releases.

v3.4.1

What's Changed

Full Changelog: urfave/cli@v3.4.0...v3.4.1

v3.4.0

What's Changed

New Contributors

Full Changelog: urfave/cli@v3.3.9...v3.4.0

Commits
  • c53cbcd Merge pull request #2186 from urfave/make-v3-recommended
  • 8a4b044 Merge pull request #2179 from urfave/dependabot/github_actions/actions/checko...
  • e086038 chore(deps): bump actions/checkout from 4 to 5
  • 357bd32 Document that v3 is recommended for new development
  • bb3b8eb Merge pull request #2181 from urfave/use-updated-actions-labels
  • b755406 Use recommended GitHub Actions runner labels
  • 3976dfc Merge pull request #2180 from urfave/consistent-public-defaults-and-more
  • c32894b Use OsExiter consistently
  • c923775 Ensure public vars reference public types
  • ba5d54b Merge pull request #2177 from jllovet/contributor-docs
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update go code labels Aug 18, 2025
Bumps [github.com/urfave/cli/v3](https://github.com/urfave/cli) from 3.3.9 to 3.4.1.
- [Release notes](https://github.com/urfave/cli/releases)
- [Changelog](https://github.com/urfave/cli/blob/main/docs/CHANGELOG.md)
- [Commits](urfave/cli@v3.3.9...v3.4.1)

---
updated-dependencies:
- dependency-name: github.com/urfave/cli/v3
  dependency-version: 3.4.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update go code labels Aug 18, 2025
@coveralls

Copy link
Copy Markdown

Pull Request Test Coverage Report for Build 17055549192

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 85.762%

Totals Coverage Status
Change from base Build 16898228427: 0.0%
Covered Lines: 2060
Relevant Lines: 2402

💛 - Coveralls

@Slach
Slach merged commit 5ac6156 into main Aug 19, 2025
@dependabot
dependabot Bot deleted the dependabot/go_modules/github.com/urfave/cli/v3-3.4.1 branch August 19, 2025 04:52
isushkov-akamai pushed a commit to isushkov-akamai/altinity-mcp that referenced this pull request Mar 30, 2026
…thub.com/urfave/cli/v3-3.4.1

chore(deps): bump github.com/urfave/cli/v3 from 3.3.9 to 3.4.1
BorisTyshkevich added a commit that referenced this pull request May 15, 2026
Self-review #3 turned up four real bugs, three documentation drifts, and
three dead-code / consistency issues. No wire-shape change beyond the
bug fixes; all behaviour-affecting fixes have regression tests.

Bugs:

- **identityClaims comment lied** (#5-dup). The "intentionally unused"
  comment + bare `_ = identityClaims` next to a block that DOES read
  identityClaims.ExpiresAt (used to derive `expires_in`) was an invitation
  for a future "clean up unused vars" PR to silently drop the upstream
  identity validation. Comment rewritten to name the three jobs the
  validation actually does; underscore drop assigned.

- **cacheTTLFromHeader int64 overflow** (#7). `time.Duration(n) *
  time.Second` overflows when n > ~9.22e9, wrapping to a negative
  Duration that hit the "directive absent" sentinel branch and
  silently returned cimdDefaultCacheTTL (5m) instead of the intended
  cimdMaxCacheTTL (1h). Clamp n against int(cimdMaxCacheTTL/time.Second)
  before the multiply. Test rows added in TestCacheTTLFromHeader for
  max-age=9999999999 and max-age=int64.max.

- **upstream 200 OK with RFC 6749 error body mapped to 502 server_error**
  (#8). Non-RFC-compliant IdPs and test stubs that return HTTP 200 +
  {"error":"invalid_grant"} hit our "no usable token" branch → 502
  server_error. Replay-oracle contract assumes downstream sees
  invalid_grant. tokenResp struct gains Error / ErrorDescription
  fields; non-empty Error → downstream invalid_grant regardless of
  status. New TestOAuthTokenUpstream200WithErrorBody covers this.

- **Content-Type prefix-match too permissive** (#9). strings.HasPrefix
  accepted application/json-ld, application/jsonpatch+json, etc.
  Replaced with isApplicationJSON helper that splits on ";", trims,
  case-folds, and exact-matches "application/json". TestIsApplicationJSON
  covers the new behaviour.

UX / contract:

- **/oauth/register 404 → 410 Gone + JSON** (#11). Legacy DCR clients
  hitting the route now get an RFC 7591 §3.2.2-shaped error body
  pointing them at CIMD, not Go's bare text/plain 404. New
  handleOAuthRegisterRemoved handler. TestOAuthRegisterGone.

- **upstream_offline_access description rewritten** (#6). Previous
  desc tag claimed the flag "issues JWE-wrapped refresh tokens" —
  post-#115 it doesn't, and can't. Rewritten to explain the flag is
  upstream-scope-only and v1 issues no downstream refresh tokens
  regardless of its value.

Dead code:

- **#12 removals**: defaultRefreshTokenTTLSeconds (oauth_server.go),
  oauthRegistrationPath() method, OAuthConfig.RegistrationPath +
  YAML fixture + 2 test assertions, decodeStringSlice +
  TestDecodeStringSlice, statelessRegisteredClient.TokenEndpointAuthMethod
  (write-only field). statelessRegisteredClient is now one field.

- **#14 dec.UseNumber no-op + string copy**: oauthex.ClientRegistrationResponse
  has a custom UnmarshalJSON that bypasses outer-decoder settings, so
  UseNumber() was a no-op and strings.NewReader(string(body)) was a
  wasted copy. json.Unmarshal(body, &doc) directly.

Style:

- **Named upstream HTTP timeout** (#1). oauthUpstreamHTTPTimeout =
  10 * time.Second constant; both call sites use it.

Docs / comments:

- **oauthKidV1 comment** (#13). Said "client_id / refresh-token JWE
  artifacts" and "30-day window" — neither exists post-#115. Rewritten
  to name pending-auth (10 min) as the longest live legacy artifact and
  to indicate the SHA256(secret) fallback can be deleted in a follow-up
  after one rolling restart.

- **mustJWESecret error string**: said "OAuth client registration and
  forward-mode token wrapping" → now "JWE-wrapped pending-auth state
  and downstream auth-code minting".

- **oauth_server_test.go stale tombstone** removed.

- **oidcScopesForAdvertisement** doc no longer mentions DCR responses.

- **docs/oauth_authorization.md** banner explains the #115 cutover
  (DCR removed → CIMD only, no downstream refresh tokens, HA replay).

Tests added or strengthened: TestCacheTTLFromHeader (+2 overflow rows),
TestIsApplicationJSON (8 cases), TestValidateCIMDClientIDURL_Reject
(+data:/javascript:/file: scheme rejects), TestOAuthRegisterGone,
TestOAuthTokenRefreshGrantUnsupported, TestOAuthASMetadataShape,
TestOAuthTokenUpstream200WithErrorBody.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file go Pull requests that update go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants