Skip to content

v0.2.0 β€” SQL, Near and Far

Latest

Choose a tag to compare

@vt128 vt128 released this 14 Jun 18:09
2a110fa

Remote/online libSQL databases β€” additive, and still pure-Go.

New

  • connect_remote(url, auth_token?) β€” connect to a remote libSQL server, either a self-hosted sqld or Turso Cloud, over a pure-Go client (no cgo). It returns the same Database object as connect(), so every existing method β€” query / execute / insert / transactions / schema ops β€” works over the remote database.
  • Self-hostable end to end: point connect_remote at your own open-source sqld, or at Turso Cloud β€” same client, same SQLite dialect; on-disk files stay standard-SQLite-compatible.

Unchanged (backward compatible)

  • The local engine is still pure-Go modernc.org/sqlite β€” no cgo, builds on every platform; existing scripts run identically.

Notes

  • go floor 1.19 β†’ 1.20 (the pure-Go libSQL client requires it). modernc.org/sqlite upgraded v1.24.0 β†’ v1.31.1.
  • Verified end-to-end against both a local Docker sqld and Turso Cloud.