chore: align dependencies to v1.5.2 (by AI)

This commit is contained in:
AI Engineer 2026-06-11 19:12:37 +08:00
parent 77e73281ad
commit d1ff9159e4
2 changed files with 5 additions and 2 deletions

View File

@ -1,5 +1,8 @@
# Changelog: @go/encoding
## v1.5.3 (2026-06-11)
- **依赖对齐**: 升级 `jsmod` 依赖至 v1.5.2,升级 `cast` 依赖至 v1.5.2。
## v1.5.2 (2026-06-08)
- **回滚与修复**: 修正了 `v1.5.1` 中架构设计的失误,将 Go 核心层的 `EncodeInt``IntEncoder.EncodeInt` 返回值从 `string` 恢复为 `[]byte`,彻底消除由于频繁强制转换导致的内存逃逸,恢复了高频并发场景下的零拷贝性能基准。
- **JS 智能桥接**: 通过在 `js_export.go` 的注册阶段采用匿名闭包函数 `func(u uint64) string`,完美兼顾了底层的高效性和 JS 环境面向字符串开发的友好体验。

4
go.mod
View File

@ -2,6 +2,6 @@ module apigo.cc/go/encoding
go 1.25.0
require apigo.cc/go/cast v1.5.0
require apigo.cc/go/cast v1.5.2
require apigo.cc/go/jsmod v1.5.0
require apigo.cc/go/jsmod v1.5.2