TinyShip
TinyShip
  • Docs
  • Updates
    ← Back to Updates
    May 1, 2026Release

    TinyShip 2.2.0 - SQLite / D1 Multi-Database Support

    TinyShip 2.2.0 Released

    This release focuses on database capability upgrades by adding SQLite and Cloudflare D1 support, making local development and Cloudflare deployment paths more consistent. This update marks TinyShip as fully adapted to the Cloudflare ecosystem: the TanStack app can run on Workers with a Cloudflare D1 database, and email delivery can use Cloudflare Email.

    Core Additions

    Three-Dialect Database Support: Added runtime DB_DIALECT switching for pg / sqlite / d1, with unified adaptation across Next.js, Nuxt.js, and TanStack Start

    Completed SQLite Dev Workflow: Added db:check:sqlite, db:push:sqlite, db:seed:sqlite, and db:studio:sqlite commands for out-of-the-box usage

    Improved D1 Integration: TanStack Start now supports D1 binding on Cloudflare Workers, while local SQLite and online D1 follow the same schema strategy

    Configuration and Engineering Improvements

    Dialect-Specific Driver and Schema Split: Introduced dialect-specific database drivers and schema directories for stronger type safety and better cross-dialect maintainability

    Docker SQLite Runtime Support: All three app Dockerfiles now prepare a data directory for SQLite persistence mounts

    Environment Variable Enhancements: env.example now includes DB_DIALECT and SQLITE_DB_PATH for clearer database switching setup

    Testing and Stability

    E2E Dialect Compatibility Enhancements: Test cleanup and credits helpers now support SQLite / D1 scenarios for broader regression coverage

    Nuxt Query Compatibility Fix: Fixed SQLite query compatibility in admin APIs (for example, ilike -> like) to prevent admin-page 500 errors

    Completed Multi-Round Regression Validation: Final E2E validation rounds across all three frameworks under PG / SQLite show stable pass rates on key flows