Skip to content

Bump github.com/txn2/txeh from 1.5.5 to 1.8.0#236

Open
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/go_modules/github.com/txn2/txeh-1.8.0
Open

Bump github.com/txn2/txeh from 1.5.5 to 1.8.0#236
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/go_modules/github.com/txn2/txeh-1.8.0

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 16, 2026

Bumps github.com/txn2/txeh from 1.5.5 to 1.8.0.

Release notes

Sourced from github.com/txn2/txeh's releases.

txeh-v1.8.0

Features

  • DNS cache flush after hosts file changes (#43, #48)
    • Library: FlushDNSCache() function, AutoFlush option in HostsConfig
    • CLI: --flush / -f flag, TXEH_AUTO_FLUSH=1 env var
    • macOS: dscacheutil -flushcache + killall -HUP mDNSResponder
    • Linux: resolvectl flush-caches (systemd 239+), falls back to systemd-resolve --flush-caches
    • Windows: ipconfig /flushdns
    • Flush failures are non-fatal. The hosts file is saved, a warning is printed to stderr.

Improvements

  • Refactored CLI mutation commands (add, remove host/ip/cidr/comment) to use shared saveHosts helper
  • Descriptive error message when Linux has no systemd-resolved (explains that flushing isn't needed)
  • Source citations in platform flush implementations (man pages, vendor docs)

Fixes

  • Build-tag platform-specific tests so they only compile on the correct OS
  • Bump Go from 1.24.4 to 1.24.7 (fixes GO-2025-3956 os/exec.LookPath vuln)

Documentation

  • CLI reference: --flush flag, TXEH_AUTO_FLUSH, platform requirements table
  • Troubleshooting: cross-reference to --flush from manual flush instructions

Changelog

Others

  • 99a9be89258822319df5fcf79ce28acb09b85448 Add DNS cache flush support (--flush flag) (#48)
  • 7e2837d8f3b32864318e018b0e0f0ec93f71f213 housekeeping: fix OpenSSF Scorecard token permissions and pin docs deps (#42)
  • e1816974e0c631fc1c2f2ccd5ac9285a9f46e3f9 housekeeping: tighten linting, testing, and verification standards (#47)

txeh-v1.7.2

Features

  • Enterprise-grade CI pipeline, linting, and code quality tooling (#31)
  • Fuzz tests, property-based tests, dead code detection (#37)

Improvements

  • CLI cmd package test coverage: 44.7% to 81.6% (#39)
  • Overall test coverage: 90.2% to 92.4% (#39)
  • Documentation overhaul (#38)
  • README attribution footer (#39)

Fixes

... (truncated)

Commits

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 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)

Bumps [github.com/txn2/txeh](https://github.com/txn2/txeh) from 1.5.5 to 1.8.0.
- [Release notes](https://github.com/txn2/txeh/releases)
- [Commits](https://github.com/txn2/txeh/commits/v1.8.0)

---
updated-dependencies:
- dependency-name: github.com/txn2/txeh
  dependency-version: 1.8.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Mar 16, 2026
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.

0 participants