Skip to content

v0.7.0

Choose a tag to compare

@sanketsahu sanketsahu released this 09 Jul 06:04
· 171 commits to main since this release
24f4e1a

Runs real Supabase projects. A full production schema — Cap-go/capgo's 335 migrations + an 80 KB seed — now applies and is queryable via @supabase/supabase-js unchanged. 168 integration tests pass on both the wasm and native engines.

Engines

  • Native embedded Postgres 17 is now the default on macOS/Linux (~59 MB RAM at boot vs PGlite's ~575–650 MB WASM heap). Windows still defaults to WASM; --engine / TINBASE_ENGINE override. The programmatic createBackend() default stays PGlite (browser-safe). First native run downloads ~12 MB of Postgres binaries (cached).

Automation

  • pg_net emulationnet.http_post / net.http_get / net.http_delete enqueue a request an in-process worker sends, recording the reply in net._http_response. The Supabase cron.schedule(..., $$ select net.http_post(...) $$) pattern works with no C extension.
  • Cron matches in UTC now, like hosted pg_cron.
  • pgmq gained drop_queue, purge_queue, list_queues.

Real-project compatibility

  • CREATE EXTENSION tolerance (unavailable extensions skipped, not fatal)
  • per-migration search_path reset (fresh-connection semantics)
  • CREATE INDEX CONCURRENTLY stripped inside the migration transaction
  • Supabase Vault emulation (vault.secrets / decrypted_secrets / create_secret; dev-only plaintext)
  • moddatetime stand-in
  • full GoTrue auth.users column set

Docs & project

  • Repo moved to github.com/tinbase/tinbase
  • Website: browser-rendered OG image, dark-only theme, refreshed docs
  • Roadmap: Phase 7 — connect to an external Postgres

Notes: native is macOS/Linux only (Windows uses WASM); local Vault secrets are cleartext (dev use only).

Full changelog: https://github.com/tinbase/tinbase/blob/main/CHANGELOG.md

What's Changed

  • feat: white-text green buttons + docs feature-completeness matrix by @sanketsahu in #28
  • feat(website): browser-rendered OG image (fixes clipped headline) by @sanketsahu in #29
  • chore: point repo links at github.com/tinbase/tinbase by @sanketsahu in #30
  • fix(website): dark-only theme, independent of system preference by @sanketsahu in #31
  • feat: default to the native engine (embedded Postgres) where supported by @sanketsahu in #32
  • docs(roadmap): Phase 7 — connect to an external Postgres by @sanketsahu in #34
  • docs: document cron's pg_cron differences (timezone, no pg_net) by @sanketsahu in #33
  • feat: emulate pg_net (net.http_*) + run cron in UTC by @sanketsahu in #35
  • feat: run real Supabase projects' migrations unchanged (Cap-go/capgo) by @sanketsahu in #36
  • chore(release): 0.7.0 by @sanketsahu in #37

Full Changelog: v0.6.1...v0.7.0