config/CHANGELOG.md

34 lines
1.6 KiB
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)
## [1.5.3] - 2026-06-21
- **依赖更新**: 升级依赖 `jsmod``v1.5.3``cast``v1.5.3``rand``v1.5.3``encoding``v1.5.4``safe``v1.5.2``file``v1.5.5`
## [1.5.2] - 2026-06-11
- **版本对齐**: 基础设施全局对齐 v1.5.2。
## [1.5.1] - 2026-06-04
- **修复**: 优化 `config.Load` 加载逻辑,支持在 `env.yaml` 中通过 `name` 作为 key 查找并加载特定配置块(如 `service:`)。
- **变更**: 补充 `TestConfig_EnvYamlWithPrefix` 测试用例验证前缀加载功能。
## [1.5.0] - 2026-05-10
- **变更**: 基础设施全局对齐发布。
## [1.0.7] - 2026-05-09
- **修复**: 在 `resolveConfigPath` 中补充了对无后缀 `.yaml` 配置文件的支持。
- **变更**: 将 `apigo.cc/go/file` 的依赖升级至 `v1.0.7` 以对齐基础设施。
- **变更**: 补充针对无后缀 `.yaml` 文件的回归测试 `TestForYaml_Support`
## [1.0.6] - 2026-05-06
- **变更**: 修复与基础设施的兼容性。
## [1.0.5] - 2026-05-05
- **变更**: 基础设施对齐与生态系统同步发布。
## [1.0.4] - 2026-05-02
- **变更**: 重构了 `Load`,使用 `errors.Join` 改进了错误处理。
- **变更**: 将 `findFile` 重命名为 `resolveConfigFilePath` 以提高代码清晰度。
- **变更**: 更新了测试套件以验证错误返回,并移除了重复的类型定义。
- **变更**: 新增 `bench_test.go` 用于性能评估。
- **变更**: 新增 `TEST.md` 用于跟踪测试覆盖率。
- **变更**: 更新了 `README.md`,提供完整的 API 指南。