Skip to content

Build(deps): bump github.com/txn2/txeh from 1.7.0 to 1.8.0#3919

Merged
abhishek9686 merged 1 commit intodevelopfrom
dependabot/go_modules/develop/github.com/txn2/txeh-1.8.0
Mar 17, 2026
Merged

Build(deps): bump github.com/txn2/txeh from 1.7.0 to 1.8.0#3919
abhishek9686 merged 1 commit intodevelopfrom
dependabot/go_modules/develop/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.7.0 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
  • 99a9be8 Add DNS cache flush support (--flush flag) (#48)
  • e181697 housekeeping: tighten linting, testing, and verification standards (#47)
  • 7e2837d housekeeping: fix OpenSSF Scorecard token permissions and pin docs deps (#42)
  • 77ad396 housekeeping: add HOMEBREW_TAP_TOKEN to .goreleaser.yml (#41)
  • fa1f898 housekeeping: update .goreleaser.yml to adjust signing args and output config...
  • d2f988f Test Coverage, CLAUDE.md, and README Footer (#39)
  • bedfe2c chore(ci): bump codecov/codecov-action (#32)
  • 319b00b chore(deps): bump github.com/spf13/cobra from 1.9.1 to 1.10.2 (#33)
  • c1d8a21 chore(ci): bump github/codeql-action (#34)
  • aecd4be chore(ci): bump ossf/scorecard-action (#35)
  • 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 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.7.0 to 1.8.0.
- [Release notes](https://github.com/txn2/txeh/releases)
- [Commits](txn2/txeh@v1.7.0...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
@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@tenki-reviewer
Copy link

dependabot[bot] does not have a Code Reviewer seat assigned. You can manage seats in your settings.

@abhishek9686 abhishek9686 merged commit 6fdc607 into develop Mar 17, 2026
4 of 5 checks passed
@dependabot dependabot bot deleted the dependabot/go_modules/develop/github.com/txn2/txeh-1.8.0 branch March 17, 2026 18:31
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