chore: bump version to 1.8.0

This commit is contained in:
SunBK201 2025-11-11 21:12:47 +08:00
parent 50fdf9c0cd
commit aec56830f8
9 changed files with 10 additions and 9 deletions

View File

@ -1,4 +1,4 @@
FROM --platform=$BUILDPLATFORM golang:1.19-alpine AS builder
FROM --platform=$BUILDPLATFORM golang:1.21-alpine AS builder
WORKDIR /app

View File

@ -10,6 +10,7 @@ UA3F 是一个 HTTP Header 重写工具,作为一个 HTTP、SOCKS5、TPROXY、
- 支持 opkg 安装、编译安装、Docker 部署多种方式
- 支持 OpenWrt 17.01 及以上版本
- 兼容 Clash Fake-IP & Redir-Host 多种模式伴生运行
- 支持 TTLTCP TimestampIPID 伪装
<table>
<tr>
@ -97,6 +98,8 @@ sudo -u shellcrash /usr/bin/ua3f
- `-r <regex>`: 自定义正则匹配 User-Agent, 默认为空, 表示所有 User-Agent 都会被重写
- `-s`: 部分替换,仅替换正则匹配到的部分
- `-z`: 重写规则json string 格式,仅在 RULES 重写策略模式下生效
- `-o ttl,tcpts,ipid`: 启用 TTL、TCP Timestamp、IP ID 伪装功能
</details>
### 服务模式说明

View File

@ -8,7 +8,7 @@
set -e
project_name="ua3f"
release_version="1.7.0"
release_version="1.8.0"
target=main.go
dist=./dist
release_dir=./bin

View File

@ -1,5 +1,5 @@
Package: ua3f
Version: 1.7.0-1
Version: 1.8.0-1
Depends: luci-compat, ipset, iptables, iptables-mod-tproxy, iptables-mod-extra, iptables-mod-nat-extra, kmod-ipt-conntrack, iptables-mod-ipopt, iptables-mod-nfqueue, iptables-mod-conntrack-extra, kmod-nf-conntrack-netlink
Source: /feed/openwrt
SourceName: UA3F

View File

@ -1,5 +1,5 @@
Package: ua3f
Version: 1.7.0-1
Version: 1.8.0-1
Depends: luci-compat, ipset, iptables, iptables-mod-tproxy, iptables-mod-extra, iptables-mod-nat-extra, kmod-ipt-conntrack, iptables-mod-ipopt, iptables-mod-nfqueue, iptables-mod-conntrack-extra, kmod-nf-conntrack-netlink
Source: /feed/openwrt
SourceName: UA3F

View File

@ -1,7 +1,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=UA3F
PKG_VERSION:=1.7.0
PKG_VERSION:=1.8.0
PKG_RELEASE:=1
# PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz

View File

@ -6,7 +6,7 @@ local NamedSection = cbi.NamedSection
local ua3f = cbi.Map("ua3f",
"UA3F",
[[
<a href="https://github.com/SunBK201/UA3F" target="_blank">Version: 1.7.0</a>
<a href="https://github.com/SunBK201/UA3F" target="_blank">Version: 1.8.0</a>
<br>
Across the Campus we can reach every corner in the world.
]]

View File

@ -2,8 +2,6 @@ module github.com/sunbk201/ua3f
go 1.21
toolchain go1.24.6
require (
github.com/coreos/go-iptables v0.8.0
github.com/dlclark/regexp2 v1.11.4

View File

@ -15,7 +15,7 @@ import (
"github.com/sunbk201/ua3f/internal/statistics"
)
const version = "1.7.0"
const version = "1.8.0"
func main() {
cfg, showVer := config.Parse()