diff --git a/CHANGELOG.md b/CHANGELOG.md index e686d5b..d1d8f22 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # Changelog +## v1.5.4 - 2026-06-21 +- **依赖更新**: 升级依赖 `jsmod` 至 `v1.5.3`,`cast` 至 `v1.5.3`,`rand` 至 `v1.5.3`,`encoding` 至 `v1.5.4`,`shell` 至 `v1.5.3`,`safe` 至 `v1.5.2`,`id` 至 `v1.5.4`,`file` 至 `v1.5.5`,`config` 至 `v1.5.3`,`log` 至 `v1.5.8`。 + ## v1.5.2 - 2026-06-05 - **优化: 生命周期日志清理**: - 移除了内部冗余的 `scheduler started` 与 `scheduler stopped gracefully` 控制台输出。这些状态现由 `apigo.cc/go/starter` 框架统一劫持并提供标准化的生命周期审计。 diff --git a/TEST.md b/TEST.md index 61b4600..62af86e 100644 --- a/TEST.md +++ b/TEST.md @@ -1,7 +1,7 @@ # Test Report ## Environment -- **Date**: 2026-05-14 +- **Date**: 2026-06-21 - **Go Version**: go 1.25.0 - **OS**: darwin/amd64 @@ -14,14 +14,14 @@ | TestTaskTimeout | PASS | 2.50s | | TestTaskPanicRecover | PASS | 2.50s | | TestTaskManualRun | PASS | 0.20s | -| TestGracefulStop | PASS | 2.04s | +| TestGracefulStop | PASS | 1.00s | ## Benchmarks -| Benchmark | Iterations | ns/op | B/op | allocs/op | -|-----------|------------|-------|------|-----------| -| BenchmarkTaskRegistration | 3966831 | 308.0 | 272 | 5 | -| BenchmarkTaskExecutionOverhead/Get | 52783425 | 22.35 | 0 | 0 | -| BenchmarkTaskExecutionOverhead/List | 10555030 | 113.3 | 32 | 2 | +| Benchmark | Iterations | ns/op | +|-----------|------------|-------| +| BenchmarkTaskRegistration | 4059084 | 294.0 | +| BenchmarkTaskExecutionOverhead/Get | 51555876 | 19.81 | +| BenchmarkTaskExecutionOverhead/List | 9835569 | 106.5 | ## Details diff --git a/go.mod b/go.mod index 8565590..f7221ac 100644 --- a/go.mod +++ b/go.mod @@ -3,21 +3,21 @@ module apigo.cc/go/task go 1.25.0 require ( - apigo.cc/go/log v1.5.6 + apigo.cc/go/log v1.5.8 github.com/robfig/cron/v3 v3.0.1 ) -require apigo.cc/go/jsmod v1.5.2 // indirect +require apigo.cc/go/jsmod v1.5.3 // indirect require ( - apigo.cc/go/cast v1.5.2 // indirect - apigo.cc/go/config v1.5.2 // indirect - apigo.cc/go/encoding v1.5.3 // indirect - apigo.cc/go/file v1.5.4 // indirect - apigo.cc/go/id v1.5.3 // indirect - apigo.cc/go/rand v1.5.2 // indirect - apigo.cc/go/safe v1.5.1 // indirect - apigo.cc/go/shell v1.5.2 // indirect + apigo.cc/go/cast v1.5.3 // indirect + apigo.cc/go/config v1.5.3 // indirect + apigo.cc/go/encoding v1.5.4 // indirect + apigo.cc/go/file v1.5.5 // indirect + apigo.cc/go/id v1.5.4 // indirect + apigo.cc/go/rand v1.5.3 // indirect + apigo.cc/go/safe v1.5.2 // indirect + apigo.cc/go/shell v1.5.3 // indirect golang.org/x/crypto v0.52.0 // indirect golang.org/x/sys v0.45.0 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect