|
1 | 1 | # Changelog |
2 | 2 |
|
3 | 3 | ## v5.3.8 |
4 | | -- **Fix: daily `vulncheck` CI job failing since ~Aug 19** — the Go 1.26.4 toolchain pinned in `go.mod`/`go.work` shipped 7 stdlib CVEs (net/url, html/template, crypto/tls x2, encoding/asn1, net/http, golang.org/x/net/idna) that were patched in Go 1.26.5/1.26.6. Bumped every module (`go.mod` x8, `go.work`) and all three Dockerfiles to Go 1.26.8; `govulncheck ./...` now reports 0 called vulnerabilities. |
5 | | -- **Fix: `Deliver` workflow permanently red** — the `prod` job blocked on a never-granted manual approval for the `production` environment, which GitHub auto-fails after its ~30-day max run duration, turning every push's Deliver status red even though build/test/package/staging all passed. Split the production promotion (GHCR `:stable` tag + Pages deploy) into its own `promote.yml`, triggered after `Deliver` succeeds, so a pending approval no longer blocks or fails the delivery pipeline's status. |
6 | | -- **README: removed the retired Go Report Card badge**, replaced with dynamically-sourced Go version and license badges (shields.io, read from `go.mod`/`LICENSE`) so the badge row can't drift out of date. |
7 | | -- No library code changes; verified with `gofmt`, `go vet`, full race-enabled `go test ./...`, `govulncheck`, and Docker builds (`Dockerfile`, `Dockerfile.quickstart`) plus the quickstart container smoke test. |
| 4 | + |
| 5 | +### Highlights |
| 6 | +- **Full ecosystem version alignment**: Synchronized all core Go modules and language bindings (Python `sop4py`, C# `Sop`, Java, Rust) to release version v5.3.8. |
| 7 | +- **Zero known vulnerabilities**: Pinned Go toolchain 1.26.8 across all modules and Docker containers, resolving 7 standard library CVEs and verifying 0 called vulnerabilities with `govulncheck`. |
| 8 | +- **Deterministic container and CI test validation**: Resolved direct I/O failover simulation in root/container environments and restored full race-detector test coverage in CI. |
| 9 | + |
| 10 | +### Reliability |
| 11 | +- **Container test runner hardening**: Updated `Test_EC_Failover_Reinstate_FastForward_Short` in `infs/integrationtests` to utilize the DirectIO simulator and `fs.TriggerFailover` instead of filesystem chmod manipulations, eliminating permission bypasses in container and root execution contexts. |
| 12 | +- **Race detector coverage**: Verified clean execution across core packages under Go race detection (`inmemory`, `btree`, `common`, `fs`, `cache`, `cel`, `encoding`, `database`, `jsondb`, `search`). |
| 13 | + |
| 14 | +### Performance |
| 15 | +- **Reproducible cache latency**: Verified 62.09 ns/op L1 MRU hit latency and 66.17 us/op under heavy mixed-cache workloads. |
| 16 | +- **Vector store throughput**: Benchmarked end-to-end ACID transaction pipeline in `ai/vector` at 16.23 ms for batch 50-vector upsert, KNN query, and durable commit. |
| 17 | +- **CI benchmark stabilization**: Calibrated benchmark iteration scaling in performance workflows to prevent runner timeouts. |
| 18 | + |
| 19 | +### Developer Experience |
| 20 | +- **Quickstart zero-dependency demo**: Validated `examples/quickstart` and published container image (`ghcr.io/sharedcode/sop-quickstart`) providing instant zero-configuration testing. |
| 21 | +- **Unified versioning**: Enhanced `scripts/update_version.sh` for atomic multi-language version updates. |
| 22 | + |
| 23 | +### AI/Data |
| 24 | +- **Knowledge Base compilation**: Verified and generated complete base knowledge base in `ai/sop_base_knowledge.json` containing 1,257 knowledge items and 1,397 categories. |
| 25 | +- **Query and Join execution**: Verified Adaptive Hash Join planning in AI agent runtime executing in 1.10 ms. |
| 26 | + |
| 27 | +### Security |
| 28 | +- **Go toolchain update**: Upgraded all modules and Dockerfiles to Go 1.26.8, addressing CVEs in `net/url`, `html/template`, `crypto/tls`, `encoding/asn1`, `net/http`, and `golang.org/x/net/idna`. |
| 29 | +- **Dependency hardening**: Bumped `go-git` to v5.19.2 and `cel-go` to v0.29.0 to eliminate open Dependabot advisories. |
| 30 | + |
| 31 | +### CI/CD |
| 32 | +- **Gated delivery pipeline**: Decoupled production promotion into `.github/workflows/promote.yml` so pending manual approvals do not block or fail continuous delivery status. |
| 33 | +- **Test execution fix**: Explicitly configured package test targets in `.github/workflows/go.yml` for comprehensive coverage reporting with race detector. |
| 34 | + |
| 35 | +### Documentation |
| 36 | +- **Badge cleanup**: Removed retired Go Report Card badge, added dynamically resolved Go version, license, and CI build status badges. |
| 37 | +- **Architecture and Investor analysis**: Added detailed architectural positioning ("Why SOP?") and multi-horizon product roadmap. |
| 38 | + |
| 39 | +### Breaking Changes |
| 40 | +- None. Full backward compatibility maintained for all storage layouts, transaction protocols, and APIs. |
| 41 | + |
| 42 | +### Upgrade Notes |
| 43 | +- Go 1.26.8 or later is recommended when building from source. No data migration required for existing stores. |
8 | 44 |
|
9 | 45 | ## v5.3.7 |
10 | 46 | - **Descending iterators for the in-memory B-Tree**: `AllDesc()` and `RangeDesc(from, to)` walk keys newest-first; `RangeDesc` seeks straight to the high bound. Both covered by unit tests; quickstart shows a newest-first scan. |
|
0 commit comments