Field noteOct 23, 20261 min read1 source

Reylo 0.3.0 released: import .sql files into TypeScript with types inferred from the live database, no ORM or codegen

In one minute

Reylo 0.3.0 has been released on GitHub. The release adds support for running queries against a Cloudflare Durable Object's SQLite-backed SQL storage through ctx.storage.sql including use inside ctx.storage.transactionSync For SQLite projects Reylo now prepares statements against drivers listed in

What changed: Same event as Reylo: Import .SQL files straight into TypeScript and get full type inference without an ORM or codegen step.

Reylo 0.3.0 has been released on GitHub. The release adds support for running queries against a Cloudflare Durable Object's SQLite-backed SQL storage through ctx.storage.sql, including use inside ctx.storage.transactionSync().

For SQLite projects, Reylo now prepares statements against drivers listed in the application's package.json, including better-sqlite3, @libsql/client, sqlite3, and @tursodatabase/database. It reports statements those driver versions reject. The release also adds types for FTS5 and FTS4 functions, exposes a query's source file through .source, and prefixes Reylo-generated parameter, column-value, and row-count errors with that file path.

The release fixes type inference cases in Postgres and MySQL. Three corrections can widen previously inferred types and may require null checks: a Postgres outer-joined with query, a Postgres JSON coalesce with a non-[] default, and a MySQL scalar subquery whose with shadows a table. It also adds a using-reylo agent skill installable with npx skills add colinhacks/reylo --skill using-reylo.

The release notes do not establish production adoption, performance effects, or compatibility beyond the listed behavior and tested database versions.

Evidence / sources

  1. 1github.com/colinhacks/reylo/releases/tag/v0.3.0
All Field Notes

Next reads

Read next

Open the graph
  1. 01topicGithubExplore the github topic hub.
  2. 02archiveField NotesOpen the latest editorial analysis.
  3. 03source ledgerSource LedgerInspect the public source evidence graph.
Who read this page?Machine requests, hidden until opened

Loading the privacy-safe route aggregate...

Open the JSON contract