diff --git a/CHANGELOG.md b/CHANGELOG.md index 9ee3fb8..9e27e49 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,18 @@ # 更新日志 +2.3.0 +--- +- CHANGE: 使用`touka-httpc`封装`HTTP Client`, 更新到`v0.2.0`版本, 参看`touka-httpc` +- CHANGE: 重构前端页面, 见[#49](https://github.com/WJQSERVER-STUDIO/ghproxy/pull/49) +- CHANGE: 重构`blacklist`实现 +- CHANGE: 优化404处理 +- CHANGE: 重构`whitelist`实现 +- CHANGE: 对`proxy`进行结构性调整 +- CHANGE: `chunckedreq`与`gitreq`共用`BufferPool`和`HTTP Client` +- CHANGE: 新增`HTTP Client`配置块 +- CHANGE: 加入内置主题配置, 支持通过配置切换主题 +- CHANGE: 将许可证转为WJQserver Studio License 2.0 + 25w14b --- - PRE-RELEASE: 此版本是v2.3.0的预发布版本,请勿在生产环境中使用; diff --git a/README.md b/README.md index 667e6ad..b68d9a8 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,9 @@ ### 项目特点 -- 基于Go语言实现,使用[Gin框架](https://github.com/gin-gonic/gin) +- 基于Go语言实现,支持多平台 +- 使用[Gin](https://github.com/gin-gonic/gin)作为Web框架 +- 使用[Touka-HTTPC](https://github.com/satomitouka/touka-httpc)作为HTTP客户端 - 支持Git clone,raw,realeases等文件拉取 - 支持Docker部署 - 支持速率限制 @@ -146,6 +148,7 @@ url = "socks5://127.0.0.1:1080" # "http://127.0.0.1:7890" 支持Socks5/HTTP(S) "test/test1", "example/repo2", "another/*" + "another" ] } ``` @@ -160,6 +163,7 @@ url = "socks5://127.0.0.1:1080" # "http://127.0.0.1:7890" 支持Socks5/HTTP(S) "test/test1", "example/repo2", "another/*" + "another" ] } ``` @@ -168,10 +172,7 @@ url = "socks5://127.0.0.1:1080" # "http://127.0.0.1:7890" 支持Socks5/HTTP(S) ```Caddyfile example.com { - reverse_proxy { - to 127.0.0.1:7210 - } - encode zstd gzip + reverse_proxy * 127.0.0.1:7210 } ``` diff --git a/VERSION b/VERSION index e3a4f19..cc6612c 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -2.2.0 \ No newline at end of file +2.3.0 \ No newline at end of file diff --git a/deploy/install-dev.sh b/deploy/install-dev.sh index e412c46..24c8cf0 100644 --- a/deploy/install-dev.sh +++ b/deploy/install-dev.sh @@ -90,7 +90,7 @@ tar -zxvf ${ghproxy_dir}/ghproxy-linux-$ARCH.tar.gz -C ${ghproxy_dir} chmod +x ${ghproxy_dir}/ghproxy # 下载pages -wget -q -O ${ghproxy_dir}/pages/index.html https://raw.githubusercontent.com/WJQSERVER-STUDIO/ghproxy/dev/pages/boostrap/index.html +wget -q -O ${ghproxy_dir}/pages/index.html https://raw.githubusercontent.com/WJQSERVER-STUDIO/ghproxy/dev/pages/bootstrap/index.html wget -q -O ${ghproxy_dir}/pages/favicon.ico https://raw.githubusercontent.com/WJQSERVER-STUDIO/ghproxy/dev/pages/bootstrap/favicon.ico