Changelog
Version history and release notes for omni-svelte.
Changelog
v0.1.0-alpha (current)
Initial release.
Added
defineSchema()andfield.*builder API for schema-driven code generation- Drizzle ORM integration — generates
pgTabledefinitions from.schema.tsfiles - Zod validator generation —
createXSchemaandupdateXSchemaper table - ActiveRecord
Modelclass withfind,findMany,create,query(),with(),.update(),.delete() - Model relationships:
hasMany,belongsTo,hasOne,belongsToMany - Model lifecycle hooks:
creating,created,updating,updated,deleting,deleted FactoryandFakerutilities for test data generation- Better-Auth integration — auto-generates server config from
svelte.config.js - Virtual module aliases:
$db,$auth/server,$auth/client,$models/*,$schema,$validation/* OmniPlugininterface with full lifecycle hooksomniSvelte()Vite plugin — zero-config hook injection, code generation, hot reload- Auto-generated
src/omni-env.d.tsfor virtual module TypeScript support
Package exports
omni-svelte—defineSchema,fieldomni-svelte/vite—omniSvelte()omni-svelte/database—createModel,Model,Factory,Fakeromni-svelte/auth— auth typesomni-svelte/plugins—OmniPluginand all plugin type definitions
Upcoming: v0.2.0
See the Roadmap for what's coming in v0.2 — CLI tooling, createFactory, relationship codegen, and the developer REPL.