encoding/CHANGELOG.md

11 lines
594 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Changelog: @go/encoding
## [v1.0.0] - 2026-04-22
### Added
- **基础编解码引擎**:提供基于 `[]byte` 的 Hex 和 Base64 (Standard/URL) 编解码支持。
- **静默 API (Must Series)**:新增 `MustUnXxx` 系列 API自动屏蔽解码错误简化业务处理逻辑。
- **Web 协议支持**:新增 URL 编解码与 HTML 转义/反转义接口。
- **高级整数编码**:移植并重构 `IntEncoder`,支持自定义进制、补齐填充 (`FillInt`)、位置置换 (`ExchangeInt`) 与 HMAC-SHA512 哈希校验。
- **健壮性校验**:新增 UTF-8 有效性检测。