NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Go modules · #426 by repository stars
Last release 26 days ago
13 Sep 2026
Release timing varies
gaps range from 1 weeks to 3 months
Some releases are documented
notes for 10 of 31 stable releases
Nothing withdrawn
no release was ever pulled
3 years old
88 releases · first in 2023
One column per quarter.
Nothing published for this version
同步 dev:加强 deploy 输入防护并开放显式 traceroute 与 tiny MTR
同步 dev:加强 deploy 输入防护并开放显式 traceroute 与 tiny MTR
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
新增 traceroute 终止原因:根据 ICMPv4 / ICMPv6、TCP、UDP 的实际响应语义区分 destination_reached 、 unreachable 和 max_hops ,不再通过响应 IP 是否等于目标 IP 判断终点 by @EveCat29 in nxtrace
destination_reached、unreachable 和 max_hops,不再通过响应 IP 是否等于目标 IP 判断终点 by @EveCat29 in nxtrace#205!N、!H、!P、!F、!X 等;分片 MTU 未知时仅输出 !FTrace Stopped 终止说明;--output / --output-default 会同步写入无 ANSI 的纯文本原因StopReason,包含 hop、reason、responses、markers;classic / raw / JSON 不追加文本 footer,保持机器可读输出兼容stop_reason;MTR report / raw 新增 path_end,逐 probe 记录可携带 responsepath_end 为准--json > --table > --classic > --raw > --output > 实时输出;日志输出被覆盖时会通过 stderr 提示且不创建无效文件NextTrace API,机器可读 data_provider 规范值统一为 NextTrace-API;继续兼容大小写不敏感的 LeoMoeAPI / LeoMoe 输入别名 by @tsosunchia in nxtrace#208github.com/modelcontextprotocol/go-sdk 1.7.0、github.com/stretchr/testify 1.12.0、golang.org/x/mod 0.40.0、golang.org/x/net 0.58.0 等额外的:
本版本重点调整 traceroute / MTR 的路径终止判断。程序不再通过最后一个响应地址是否等于目标地址推断是否到达终点,而是使用协议响应语义。
依赖结构化输出的程序应优先读取 traceroute 的 stop_reason / StopReason 和 MTR 的 path_end。
MTR raw stdout 仍保持固定 12 列,不可达边界诊断写入 stderr。
旧的 LeoMoeAPI / LeoMoe provider 输入仍然有效,但输出已统一为 NextTrace-API。
Full Changelog: v1.7.2...v1.7.3
Nothing published for this version
Nothing published for this version
新增独立 DNS 客户端模式:完整版 nexttrace 支持 -l / --dns ,通过 NextTrace adapter 复用 natesales/q v0.19.12 公共子包,提供 q-compatible DNS 查询体验
nexttrace 支持 -l / --dns,通过 NextTrace adapter 复用 natesales/q v0.19.12 公共子包,提供 q-compatible DNS 查询体验pretty、column、raw、json、yaml 输出,以及多 server、多 RR type、reverse lookup、DNSSEC/EDNS、NSID、A/AAAA 应答 PTR 补查与 recursive AXFR~/.qrc、Q_DEFAULT_SERVER、NO_COLOR、SSLKEYLOGFILE 等输入nexttrace;nexttrace-tiny / ntr 不注册该功能,传入 -l / --dns 会提示使用 full builddomain 作为 owner,缺失时回退 ownergithub.com/natesales/q 0.19.12、github.com/quic-go/quic-go 0.61.0、golang.org/x/net 0.57.0、github.com/mattn/go-runewidth 0.0.27、github.com/charmbracelet/log 1.0.0 等额外的:
DNS 模式是独立 CLI 工作流,-l / --dns 必须作为第一个参数;它不会替换 traceroute、GeoIP/RDNS、WebUI、MCP 或其他服务路径使用的 resolver。
从源码构建现在要求 Go 1.26.5+;macOS 原生构建 TCP/UDP 抓包仍需要 Xcode Command Line Tools 与 cgo / libpcap。
tiny / ntr 仍保持轻量 flavor 边界,不包含 DNS 客户端依赖。
Full Changelog: v1.7.1...v1.7.2
Nothing published for this version
Nothing published for this version
修复 Fast Trace 初始化流程: --fast-trace / --file 现在会先准备 LeoMoeAPI runtime,再进入快速测试,避免 GeoIP / FastIP 相关初始化缺失
--fast-trace / --file 现在会先准备 LeoMoeAPI runtime,再进入快速测试,避免 GeoIP / FastIP 相关初始化缺失NEXTTRACE_API_V4_TOKEN 时 Fast Trace 仍初始化旧 v3 WebSocket 的问题;v4 token runtime 准备成功后会跳过 v3 WS1.26.4,CI / build / regression workflow 同步固定使用 Go 1.26.4golang.org/x/net 0.56.0、golang.org/x/sys 0.46.0、golang.org/x/term 0.44.0、golang.org/x/sync 0.21.0、github.com/quic-go/quic-go 0.59.1、github.com/mattn/go-runewidth 0.0.24 等额外的:
本版本主要是 Fast Trace 初始化稳定性修复和依赖 / 工具链更新。
配置 NextTrace API v4 token 的用户,Fast Trace 会优先走 v4 runtime,不再无意义初始化旧 v3 LeoMoe WebSocket。
--from 路径不受 Fast Trace runtime 初始化影响。
Full Changelog: v1.7.0...v1.7.1
新增 NextTrace API v4 HTTP GeoIP provider:当数据源为 LeoMoeAPI 且配置了 NEXTTRACE_API_V4_TOKEN 时,GeoIP 查询会改用 GET https://api.nxtrace.org/v4/ipGeo?ip=<ip> ,并通过 X-
LeoMoeAPI 且配置了 NEXTTRACE_API_V4_TOKEN 时,GeoIP 查询会改用 GET https://api.nxtrace.org/v4/ipGeo?ip=<ip>,并通过 X-NextTrace-Token 请求头传 token-x / --setup-api-v4-token:可在当前 shell 会话中粘贴并保存 NextTrace API v4 token,后续从该 shell 启动的 nexttrace 会自动加载nexttrace -x 使用临时 token 文件,不写 shell profile、永久环境变量或 nt_config.yaml;同时提供 parent-PID session 文件和 same-user fallback 文件,兼容 go run 等 wrapper 启动方式LeoMoeAPI 默认仍走旧 v3 WebSocket / PoW 流程;配置 v4 token 后会跳过 v3 WebSocket 初始化0700X-NextTrace-Quota-Remaining、X-NextTrace-Quota-Expires-At、X-NextTrace-Quota-Cost、X-NextTrace-Quota-Source,但不改变默认输出格式d / D 可在经典指标表与 History 视图间切换,默认仍保持经典表格g / G 可在 heatmap、bars、sparkline 三种图表间循环Host、Last、Avg、Loss、Historymodelcontextprotocol/go-sdk 1.6.0、golang.org/x/net 0.54.0、tidwall/gjson 1.19.0 等额外的:
这是集成 nexttrace api v4 的首个版本;未配置 NEXTTRACE_API_V4_TOKEN 时默认行为仍保持旧 v3 WebSocket / PoW。
历史视图只在 TTY 交互式 MTR 下启用;非 TTY / report / raw 输出保持原有行为。
History 列使用固定 100ms 延迟刻度;启用 --no-color 时使用 ASCII,并以 x 表示超时样本。
Full Changelog: v1.6.5...v1.7.0
Nothing published for this version
新增 Deploy MCP 模式: nexttrace --deploy --mcp 会在 deploy 网络服务中挂载 Streamable HTTP MCP endpoint /mcp ,供 Agent / MCP Client 直接调用 NextTrace 能力
nexttrace --deploy --mcp 会在 deploy 网络服务中挂载 Streamable HTTP MCP endpoint /mcp,供 Agent / MCP Client 直接调用 NextTrace 能力--deploy-token 与 NEXTTRACE_DEPLOY_TOKEN;外网监听且未手动设置 token 时会自动生成 token,WebUI / REST API / WebSocket / MCP 均受保护/auth/login:WebUI 可通过 HttpOnly Cookie 访问受保护页面;Agent / API / MCP 支持 Authorization: Bearer <token> 与 X-NextTrace-Tokeninternal/service 层,为 Web / MCP 提供结构化能力入口,覆盖 traceroute、MTR report/raw、MTU、speed、Nali 标注、Geo lookup 与 Globalpingnexttrace_capabilities、nexttrace_traceroute、nexttrace_mtr_report、nexttrace_mtr_raw、nexttrace_mtu_trace、nexttrace_speed_test、nexttrace_annotate_ips、nexttrace_geo_lookup、nexttrace_globalping_trace、nexttrace_globalping_limits、nexttrace_globalping_get_measurement80,UDP 默认 33494,ICMP 保持无端口语义,避免 Agent 调用 ICMP 时生成无效 payloadskills/nexttrace/,说明 MCP 启动、客户端注册、全工具能力、Globalping 用法、CLI fallback、平台限制、校验流程与输出模板额外的:
--mcp 只能与 --deploy 同用,不提供 stdio MCP 模式。
本地 loopback 监听默认免 token;外网监听建议显式设置 --deploy-token 或 NEXTTRACE_DEPLOY_TOKEN,避免自动生成 token 出现在日志 / CI 输出中。
Globalping 是远端探针能力,不支持本地 source_address / source_device / dot_server / packet_size / tos / ttl_interval 等本机 trace 参数。
nexttrace-tiny / ntr 不注册 WebUI / MCP deploy 参数。
Full Changelog: v1.6.4...v1.6.5
Nothing published for this version
新增独立 CDN 测速模式 --speed :支持 Apple(默认)与 Cloudflare 后端、候选节点选择、指定 --endpoint 、 --source / --dev 、TTY 输出、非交互模式和 --json 机器可读输出
--speed:支持 Apple(默认)与 Cloudflare 后端、候选节点选择、指定 --endpoint、--source / --dev、TTY 输出、非交互模式和 --json 机器可读输出--nali:可标注命令参数或管道输入中的 IPv4 / IPv6 字面量,并复用 NextTrace 现有 GeoIP provider、--data-provider、--language、--dot-server、--dn42、-4 / -6--dev 语义:它只通过 source address 影响路由选择,不代表真实绑定出接口;独立 --mtu 也遵循该 source-address 语义,并额外使用网卡名查询本地 MTU--listen :0 会显示实际监听端口SourceDevice 传入 ICMP 发送路径x/net、x/term、powclient v0.3.0,并将 release action 升级到 v3额外的:
--speed 和 --nali 仅在完整版 nexttrace 中提供,nexttrace-tiny 与 ntr 不注册这两个参数。
--speed --json 在 stdout 上只输出一个 JSON 文档;退出码 2 表示测速降级完成。
Windows 上 --dev 不保证真实出接口;如果需要严格控制出口,请以系统路由表和指定 source IP 的实际行为为准。
Full Changelog: v1.6.2...v1.6.4
Nothing published for this version
进一步补强 --source / --dev 的跨平台行为:macOS / Linux 上会绑定到指定源网卡;Windows 上 --dev 继续只用于选择 source address,不再进入不受支持的绑定路径,相关错误提示也更明确
--source / --dev 的跨平台行为:macOS / Linux 上会绑定到指定源网卡;Windows 上 --dev 继续只用于选择 source address,不再进入不受支持的绑定路径,相关错误提示也更明确pcap open failed ... Cannot set as promisc 导致 --tcp / UDP 探测不可用的问题--init 的说明与行为github.com/fatih/color 升级到 v1.19.0,github.com/mattn/go-runewidth 升级到 v0.0.22额外的:
curl -sL https://nxtrace.org/nt | bash 仍默认安装完整版 nexttrace
如需tiny或 ntr,可分别使用:
curl -sL https://nxtrace.org/nt | bash -s -- --flavor tiny
curl -sL https://nxtrace.org/nt | bash -s -- --flavor ntr
在 macOS 和 Linux 上,--dev 表示绑定指定源网卡;在 Windows 上,--dev 只用于选择 source address,不保证真实出接口
Full Changelog: v1.6.1...v1.6.2
新增 MTR 模式,支持交互式 TUI、 --report 报告模式、 --raw 流式输出,以及 --wide 、 --show-ips 、 -y/--ipinfo 等显示控制
--report 报告模式、--raw 流式输出,以及 --wide、--show-ips、-y/--ipinfo 等显示控制mtr_raw--mtu 模式,用于路径 MTU 探测;该模式独立于普通 traceroute / MTR,引入单独的输出与 JSON schema,并支持 GeoIP、RDNS、--dot-server 等常用参数--mtu 模式的输出与平台兼容性:TTY 下支持状态与 PMTU 高亮,重定向/管道输出退化为无 ANSI 的逐行流式文本,并补齐 Windows 下的 MTU 处理、WinDivert 超时/过滤与权限提示问题--psize 语义为“探测包总大小”(包含 IP 与探测协议头),默认按协议和 IP 族自动取最小合法值;同时支持负值随机化每个 probe 的包大小,并新增 -Q/--tos 用于设置 IP TOS / traffic class--output <FILE> 和 --output-default,便于实时落盘和脚本处理--dot-server 现在不仅影响目标域名解析,也会影响 GeoIP / LeoMoe FastIP 等相关请求的域名解析,并在失败时回退系统 DNSnexttrace 完整版、nexttrace-tiny 精简版、ntr MTR 专用版额外的:
-t 现在用于 --mtr;如果你想要旧的表格输出,请改用 --table
--table 现在是一次探测完成后的最终汇总表,不再是旧的实时 table 刷新模式
nexttrace 包含常规 traceroute、独立 --mtu、MTR、Globalping 和 WebUI;nexttrace-tiny 保留常规 traceroute、独立 --mtu 与快速跟踪;ntr 默认进入 MTR TUI,不提供常规 traceroute / 独立 --mtu / Globalping / WebUI
Windows 下通常只需要 WinDivert,不再像 v1.5.0 那样依赖 Npcap
包管理器当前默认提供的是完整版 nexttrace
Full Changelog: v1.5.0...v1.6.1
NextTrace 在同一 release tag 下发布 三种构建版本,按需选用:
| 功能 | nexttrace(完整版) |
nexttrace-tiny |
ntr |
|---|---|---|---|
| 常规 traceroute | ✅ | ✅ | — |
| MTR TUI | ✅ | — | ✅(默认) |
MTR 报告(-r) |
✅ | — | ✅ |
MTR 宽报告(-w) |
✅ | — | ✅ |
MTR 原始输出(--raw) |
✅ | — | ✅ |
Globalping(--from) |
✅ | — | — |
WebUI(--deploy) |
✅ | — | — |
快速跟踪(-F) |
✅ | ✅ | — |
| 默认运行模式 | traceroute | traceroute | MTR TUI |
| 二进制名 | nexttrace |
nexttrace-tiny |
ntr |
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
修复 trace 时延迟计时错误的问题 by @Yunlq in nxtrace#94
额外的:
若需在 Windows 下使用 TCP/TCPv6 模式需要自行前置应用 Npcap 和 WinDivert
其中的 WinDivert 可通过 --init 参数安装
在 Windows 版中新增参数 --icmp-mode 和新环境变量 NEXTTRACE_ICMPMODE,使用户可以手动控制所有模式中 ListenICMP 函数的选择,默认的自动决策依赖是否有 admin 权限,以及是否成功调用 Npcap ;若强制指定 PCAP 模式但实际无法使用,也会给出报错提示并自动回退到 Socket 模式
Full Changelog: v1.4.2...v1.5.0
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →