Skip to content

fix(deps): update module github.com/jferrl/go-githubauth to v1.7.0#97

Merged
fernandonogueira merged 1 commit into
mainfrom
renovate/github.com-jferrl-go-githubauth-1.x
Jul 2, 2026
Merged

fix(deps): update module github.com/jferrl/go-githubauth to v1.7.0#97
fernandonogueira merged 1 commit into
mainfrom
renovate/github.com-jferrl-go-githubauth-1.x

Conversation

@renovate

@renovate renovate Bot commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
github.com/jferrl/go-githubauth v1.6.0v1.7.0 age confidence

Release Notes

jferrl/go-githubauth (github.com/jferrl/go-githubauth)

v1.7.0

Compare Source

[v1.7.0] - 2026-06-30

GitHub Enterprise Cloud (GHEC) support and a more foolproof installation-token configuration.

Added
  • Custom Base URL: New WithBaseURL option sets the API base URL verbatim (only normalizing a trailing slash), mirroring how go-github targets a custom endpoint. Unlike WithEnterpriseURL, it does not append /api/v3/, enabling GitHub Enterprise Cloud with data residency (https://api.SUBDOMAIN.ghe.com/) and pointing the client at an httptest server in tests (#​50)
Changed
  • Order-independent options: WithBaseURL, WithEnterpriseURL, WithHTTPClient, and WithRetryOnThrottle can now be combined in any order. Previously WithHTTPClient rebuilt the client and silently discarded a base URL or retry setting applied before it
  • Fail-loud configuration: An invalid base URL (or a nil HTTP client) is now reported by the first call to Token() instead of silently falling back to the public GitHub API
Fixed
  • HTTP client no longer mutated: WithHTTPClient operates on a shallow copy, so the caller's *http.Client (which may be shared elsewhere) keeps its original transport
  • No panic on nil client: passing nil to WithHTTPClient now yields a clear error instead of panicking
Maintenance
  • Removed the deprecated, no-op net.Dialer.DualStack field from the pooled HTTP client
  • Renamed the unexported githubClient.client field to httpClient for clarity
Tests
  • Added coverage for WithBaseURL (GHEC and httptest URLs), option order-independence, fail-loud misconfiguration, and verification that the caller's HTTP client is not mutated
Dependencies
  • Bumped actions/cache from 5 to 6 (#​49)
  • Bumped actions/checkout from 6 to 7 (#​48)
  • Bumped codecov/codecov-action from 6 to 7 (#​46)

Full Changelog: jferrl/go-githubauth@v1.6.0...v1.7.0


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@fernandonogueira fernandonogueira merged commit 4eaa0ca into main Jul 2, 2026
1 check passed
@fernandonogueira fernandonogueira deleted the renovate/github.com-jferrl-go-githubauth-1.x branch July 2, 2026 04:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant