Skip to content

Releases

v0.2.0

Choose a tag to compare

@felipeg48 felipeg48 released this 28 Oct 13:09
94dc710

Validate follower-read staleness and fail fast; custom staleness through every adapter.

  • New FollowerReadClause(d) (string, error) gate: 0 → follower_read_timestamp(), >0 → '-Xs', <0 → error.
  • BREAKING: FollowerReadWithStaleness(d) now returns (string, error) and rejects d<=0 (previously emitted invalid SQL).
  • New custom-staleness adapter methods (pgx/sqlx QueryFollowerReadAs etc.; gorm scope errors on invalid staleness).

See CHANGELOG.md.

v0.1.0

Choose a tag to compare

@felipeg48 felipeg48 released this 21 Oct 18:12
9c08ca7

First tagged release of the CockroachDB Go library (cockroachlabs org).

  • Retries, multi-region, follower reads, circuit breaker, CDC, metrics, AI/vector
  • Cockroach Continuum: Cloud client, virtual clusters, MCP client, Aegis-over-MCP, metric-export, health

Install:
go get github.com/cockroachlabs/cockroachdb-go-library@v0.1.0

Docs: https://pkg.go.dev/github.com/cockroachlabs/cockroachdb-go-library