v1.16.0 - supported toolchain, current dependencies
v1.16.0 - supported toolchain, current dependencies
BREAKING: the minimum Go version is now 1.25, raised from 1.22. Go supports
only its two most recent releases (1.25 and 1.26), so 1.22 through 1.24 no
longer receive upstream fixes and building ygo now requires a supported
toolchain. If you are pinned to an older Go, stay on v1.15.0.
Why the raise: to hold the 1.22 floor we were pinning modernc.org/sqlite at
v1.29.10 - released May 2024, twenty-seven months ago - in the layer that
stores your documents, plus four transitive pins and dependabot ignore rules.
That trade had stopped paying: we were holding back the storage engine to stay
compatible with toolchains that are themselves unsupported.
Changed:
- Minimum Go version raised to 1.25. The CI matrix is now 1.25 and 1.26, the
releases upstream supports. - modernc.org/sqlite v1.29.10 -> v1.56.0 and coder/websocket v1.8.12 ->
v1.8.15, with every version pin and dependabot ignore rule removed so both
track upstream again. modernc.org/gc/v3, hashicorp/golang-lru/v2,
modernc.org/strutil and modernc.org/token leave the dependency graph
entirely. - The golangci-lint config is migrated from v1 to v2 (the v1 pin could no
longer build a go 1.25 module on its Go 1.24 job).
Fixed:
- Three decode errors in the Any codec no longer start with a capitalized word,
so they read correctly when wrapped by a caller. Surfaced by golangci-lint v2
folding gosimple, stylecheck and quickfix into staticcheck, which also caught
a copy loop that is a copy() and a redundant embedded-field selector.
No API or wire-format change. Verified: the full suite under -race, the
persistence layer additionally at -count=10 (WAL and busy timeout still applied
from our DSN, both BEGIN IMMEDIATE regression tests still pass), the
cross-language fixtures byte-identical against yjs@13.6.32, and the nested NATS
module rebuilt both through the local replace and against the published core.
The optional NATS backplane adapter is versioned separately as the nested
module server/backplane/nats (currently v0.2.0).