Repository navigation
0.1.9-release
·
290 commits
to master
since this release
Changelog
- 5923a3a refactor(logging): 用原生 slog.LevelVar 替换自定义 handler
- bdc45e5 refactor: determine request body by HTTP method instead of body==nil
- d6f37d7 refactor: hardcode HTTP prefix instead of parsing scheme from URI
- c32fb08 refactor: change FormatTunnelExpiration to unexported formatTunnelExpiration
- 56e676e fix: prerelease 改为 false,避免 GoReleaser auto 误判
- 91b36ab fix: changelog.use 改为 git,避免依赖远程 tag 做 compare
- a282782 fix: GoReleaser v2 语法修正
- 1ace2d8 fix: 修复 GoReleaser archive 双扩展名 + test config 缺少 release hooks
- e07f441 build: 用 GoReleaser 替代手写构建脚本
- a7a387e docs: 移除安装脚本参数与环境变量章节
- 957c044 docs: 更新安装命令为三渠道(GitHub/GitCode/OBS)
- ac94215 fix: avoid duplicate error log on command failure
- bf238f9 fix: increase upload timeout and retry count (10 retries, 30s/60s/600s timeouts)
- d243a87 fix: change SERVER_DOMAIN to use HTTPS protocol in build.sh
- 68862eb fix(auth): verifyClient 也跳过 TLS 证书校验
- 5eeb5b9 fix: 去掉 -k flag,直接在 HTTP client 写死 InsecureSkipVerify
- f552aa5 feat(cli): 加 -k/--insecure 跳过 TLS 证书校验,后端请求改用 HTTPS
- 5631157 refactor(cli): 删除所有 //nolint 指令,用 .golangci.yml 全局禁用对应 linter
- 17c669f refactor: 精简 Go doc comment,去掉实现细节,只标明主要业务逻辑
- 83c1c9d refactor(install): 各渠道独立烤制 URL,artifact 保留 OBS 默认值
- f4bcd18 refactor(install): 去掉跨源 fallback,各渠道只从自己的 DEFAULT_ARTIFACT_URL 下载
- a683d7b refactor(cli): 清理注释,仅保留导出标识符的文档注释
- fbbf0de refactor(connect): 统一使用 cobra RunE,移除 log.Fatalf
- 6dee345 feat(install.sh): multi-mirror auto-detection for GitHub/GitCode/OBS
- f1ddb3d fix(install): update OBS bucket URL to tools-artifact.developer.huaweicloud.com
- 9133517 feat(install): multi-mirror auto-detection for GitHub/GitCode/OBS
- 02c3641 fix: 429 空响应不再补充默认值,让服务端返回有意义错误
- 00aef5e fix(install): resolve tar.exe path when System32 not in PATH
- a384ea4 fix: 修复 shl6688 8.25 检视意见
- 8818681 fix(ci): Verify version 步骤去掉 ./ 前缀,BIN 是绝对路径
- 7efd5b7 fix(build): tar czf 一次性打包二进制+sha256,不用 tar rzf 追加
- 795b9b5 feat(build): 产物打包为 tar.gz,减少上传文件数 + install 脚本同步适配
- 3b8b8d3 fix(ci): GitCode 上传修复 — 清空响应文件防残留 + HTTP 000 重试
- 2a913ea fix(ci): GitCode 大文件上传修复 — 禁用 Expect:100-continue + HTTP 100 兜底 + 203 重试
- 4b72df1 fix(ci): 版本 Release 上传前先清理旧附件,修复重跑时同名文件冲突
- ee64d03 fix(ci): curl 命令增加超时设置,防止 GitCode 上传卡死
- 9e93f1a fix(ci): GitCode 上传增加 5xx-xx 错误重试(最多 3 次,间隔 5 秒)
- cff218d fix(ci): GitCode Release 上传改用两步式 API(upload_url + PUT),修复 release_id 获取失败
- 47fd281 fix: 代码审查修复 — ClusterId JSON tag 回退 + nolint/import 修正
- b0808d6 feat(auth): 登录失败时附上 API Key 管理页 URL,提示用户删除 API Key 后重试
- 5a95074 fix: 修复 7 个 P0 安全问题 (gosec)
- 93bcaa2 fix: 修复 codecheck P1/P2/P3 问题
- 51e21c5 docs: 补充安装脚本参数文档,修正 configuration.md 安装目录说明
- 93ac9f9 fix(comments): 修正 4 处注释与代码不一致——send.go ports 用途、connectCmd 模式、traceFunc 级别、relayChannelType 接收方式
- 21914c8 docs: 更新文档至最新状态——API Key 认证、Host/Connect --token/--api-key、移除 -j、show 连接统计
- 0f4d3b9 refactor(auth): 去掉裸数据回退,登录失败错误加 Failed to login 前缀
- 2f07c0a feat(auth): 适配浏览器登录回调的 {error_code, error_msg, result} 包装格式
- 65a4053 fix(cli): connect --token 模式要求显式 tunnelId,不走默认隧道
- c0c275c refactor(api): address PR #7 review comments on client.go
- 200562a refactor(cli): host 默认隧道逻辑改为按 -p 区分
- 6e35369 fix(print): formatBytes 先 math.Round 到 1 位小数再 FormatFloat,避免浮点精度误差导致多余小数
- fc26780 refactor(print): formatBytes 统一处理,消除特判分支,自动去尾零
- 3ca8c1c feat(cli): host/connect 支持 tunnel set 设置的默认隧道
- fb369f8 docs: 更新 README,移除 -j flag、ping.go/version.go/sign.go,更新配置表和项目结构
- a5a08fd fix(auth): login callback server error 日志级别改为 Debug
- 35ddaeb fix(auth): 过滤 net.ErrClosed,避免 listener 关闭时误报 WARN
- 0e0efbd refactor(auth): 重命名 aksk.go 为 apikey.go,文件名与内容相符
- 786d7b6 refactor(auth): 重命名 aksk.go 为 apikey.go,文件名与内容相符
- 65d1e57 fix(auth): 捕获并记录 server.Serve 错误,重命名 aksk.go 为 apikey.go
- 4f196a7 refactor(api): 合并 sign.go 到 client.go,删除 sign.go
- 07661ce refactor(api): 合并 sign.go 到 client.go,删除 sign.go
- 9112eb8 refactor(cmd): 合并 version.go 到 root.go,删除 version.go
- 44f32d4 refactor(cmd): runError 用 cmd.PrintErrln 替代 fmt.Fprintln,合并 version.go 到 root.go
- c228e05 refactor: 移除 -j flag 和 printJSON,暂不提供 JSON 输出
- b40a4f3 refactor: 移除 -j flag 和 printJSON,暂不提供 JSON 输出
- 3125d43 refactor: 移除 -j flag 和 printJSON,暂不提供 JSON 输出
- 8282bef refactor: 移除 -j flag 和 printJSON,暂不提供 JSON 输出
- bbc41da refactor: 移除 -j flag 和 printJSON,暂不提供 JSON 输出
- 69b1846 refactor(print): 简化 formatBytes,用显式 suffix 切片替代 KMGTPE 索引
- e49524a refactor(print): 简化 formatRemaining,用 strconv.FormatFloat 替代分支判断
- 67d0acd refactor: 移除 caCert 开发用自签名证书
- e52b764 fix(api): 401 解析错误体时保留 Unauthorized 前缀
- 28bb147 fix(api): 401 响应解析错误体,打印错误码和错误内容
- dc44198 fix: 修复 shl6688 检视意见(send.go 2项)
- 2690d67 refactor(auth): 移除 --huaweicloud flag 和 loginType,合并 ping.go 到 echo.go
- d89959a fix: 修复 shl6688 检视意见(connect/listen/client 7项)
- c61a261 Merge remote-tracking branch 'origin/master' into develop
- 385c440 fix(ci): PR 触发不再误发 Release + 升级所有 Actions 到最新
- 4fb232c feat: PR 触发增加 master 分支
- 4c1593b feat: 添加 PR 触发,提 PR 时自动构建 + 测试
- d963b46 feat: 版本号含 release 才发布到 GitHub/GitCode Release
- da2bf62 fix: 修复 GitCode Release 上传失败
- 30846f5 docs: 更新 CLI README
- 9c9ca62 Add Apache License 2.0
- 51614f1 feat(install): 精简安装脚本为纯远程模式 + GitCode latest 滚动 Release
- f046353 feat(ci): 构建产物镜像上传到 GitCode Release
- ecca4ea build: remove dev env, update test/prod env config
- ee86046 ci: manual-trigger release + fix install script artifact naming
- da05f2d refactor(auth): remove unused loadFromConfigFile helper
- 5fcacc0 fix(auth): silence no-default-tunnel log on logout
- b788af4 refactor(auth): persist user info via config file only
- e129654 feat(auth): show apikey management page url in no-browser login hint
- 41df4b7 refactor(auth): persist default tunnel id via config file only
- 763c30d refactor(auth): remove unused ExpiresAt field and expiry logic
- 5e113d2 fix: write empty config file instead of '{}'; remove duplicate API response body log
- 18fb8b2 fix: write empty config file instead of '{}'; remove duplicate API response body log
- aef2539 fix(auth): store credential & user_info keyring-first, config file only as fallback
- f150aa0 fix(auth): store credential & user_info keyring-first, config file only as fallback
- 53822e5 ci: add Build CLI workflow (cross-platform build + conditional GitHub Release)
- 9327ce4 fix: port validation message, echo random port, ping exit on error, API key read order
- 2322a73 refactor: 统一 --api-key 认证流程,通过 SetOverrideAPIKey 注入认证链
- 8240ca1 浏览器登录修改
- 945534f 开发者隧道三期