Skip to content

Commit 5b9a6d7

Browse files
authored
Merge pull request #74 from AptS-1547/develop
Develop & Release 0.5.0-alpha.3
2 parents 35dfad0 + 6363d40 commit 5b9a6d7

11 files changed

Lines changed: 296 additions & 467 deletions

File tree

CHANGELOG.md

Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,39 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [v0.5.0-alpha.3] - 2026-02-04
9+
10+
### 🎉 Release Highlights
11+
12+
v0.5.0-alpha.3 是一次依赖优化版本,主要亮点:
13+
14+
- **HTTP 客户端替换** - 将 reqwest 替换为轻量级的 ureq,显著减少依赖体积
15+
- **GeoIP 服务改进** - 改进日志信息,增强错误处理
16+
- **Docker 标签策略优化** - alpha/beta/rc 版本不再打 latest 标签
17+
18+
### Changed
19+
- **HTTP 客户端迁移** - 将 GeoIP 外部 API 调用从 reqwest 迁移到 ureq
20+
- ureq 是同步轻量级 HTTP 客户端,通过 `spawn_blocking` 异步执行
21+
- 移除 hyper、quinn (QUIC)、tower 等重量级依赖,减小编译体积
22+
- **Docker 镜像标签策略** - 优化预发布版本的标签行为
23+
- alpha/beta/rc 版本仅打版本号标签(如 `v0.5.0-alpha.3`
24+
- 正式版本打 `latest``stable` 和主版本号标签(如 `v1`
25+
26+
### Improved
27+
- **GeoIP 服务日志** - 错误日志中显示完整 URL,便于调试
28+
- **GeoIP API 响应处理** - 正确处理 ip-api.com 返回的 `status: fail` 状态
29+
- **文档版本显示** - VitePress 导航栏动态显示当前版本号
30+
31+
### Fixed
32+
- **GeoIP API 默认 URL** - 增加 `status` 字段请求参数,确保能检测 API 失败状态
33+
34+
### Dependencies
35+
- 替换 `reqwest` (0.13) 为 `ureq` (3.1.4)
36+
- 移除 hyper、hyper-util、quinn、tower、tower-http 等间接依赖
37+
38+
### Tests
39+
- 新增 4 个 GeoIP 外部 API 测试(标记 `#[ignore]` 因依赖外部网络)
40+
841
## [v0.5.0-alpha.2] - 2026-02-04
942

1043
### 🎉 Release Highlights
@@ -1165,7 +1198,8 @@ v0.3.0 是一个重大版本更新,包含大量安全增强、性能优化和
11651198
- Update README.md
11661199
- Initial commit
11671200

1168-
[Unreleased]: https://github.com/AptS-1547/shortlinker/compare/v0.5.0-alpha.2...HEAD
1201+
[Unreleased]: https://github.com/AptS-1547/shortlinker/compare/v0.5.0-alpha.3...HEAD
1202+
[v0.5.0-alpha.3]: https://github.com/AptS-1547/shortlinker/compare/v0.5.0-alpha.2...v0.5.0-alpha.3
11691203
[v0.5.0-alpha.2]: https://github.com/AptS-1547/shortlinker/compare/v0.5.0-alpha.1...v0.5.0-alpha.2
11701204
[v0.5.0-alpha.1]: https://github.com/AptS-1547/shortlinker/compare/v0.4.3...v0.5.0-alpha.1
11711205
[v0.4.3]: https://github.com/AptS-1547/shortlinker/compare/v0.4.2...v0.4.3

0 commit comments

Comments
 (0)