Skip to content

Orbita v0.2.0 — The Fullstack Meta-Framework Release

Published on 2026-11-29

Orbita v0.2.0 transforms ob from a fast Lua runtime into a complete, batteries-included fullstack web meta-framework — still shipping as a single Rust binary with zero external runtime dependencies.


Highlights

1. ob:router & Modular Apps

Build clean, domain-organized web applications inspired by Django, Laravel, and Rails: - File-based routing (index, [id], [...slug], _layout, _404, _error) that works identically in ob run and inside ob build --compile single-file binaries. - Fluent chaining: router.new():static("/public", "public"):use(...):mount("/auth", ...):mount("/", ...). - Built-in request context: URL-decoded ctx.query/ctx.params, ctx:form(), ctx:json_body(), ctx:files() (binary-safe multipart/form-data), ctx:validate(rules), ctx.cookies, ctx:set_cookie(), and one-shot ctx:flash().

2. Angular/Vue-Style .tyl + .html + .css Templates

Keep logic, markup, and styling cleanly separated — no JSX required: - Automatic file pairing (index.tyl + index.html + index.css). - Modern control flow: @if (...) { ... } @else { ... } and @for (item in list) { ... } @empty { ... }. - Clean bindings: {{ expr }}, :attr="expr", @click="action", <slot />, and reusable <Component :prop="val" />.

3. ob:db & SQL Migrations

Declarative schemas inspired by Kotlin Exposed + Django / ActiveRecord ergonomics: - conn:table("tasks", { ... }) + conn:create_tables(...) + db.default() singleton. - Zero-boilerplate CRUD: :find, :find_by, :create, :update(id, {...}), :toggle(id, col), :destroy(id), :exists, :count, and :transaction(fn). - Fluent SQL DSL with :select, :join, :left_join, :where, :where_like, :where_or_like, :order_by, :limit, :offset. - Sequential SQL migrations via ob g migration <name>, ob db migrate, and ob db status.

4. Production HTTP Engine (Hyper) & Security

  • Migrated ob:http server to Hyper 1.x: HTTP/1.1 Keep-Alive, Chunked Transfer, HTTP/2, configurable max_body_size (413 Payload Too Large), automatic Gzip compression, and Graceful Shutdown on Ctrl+C.
  • Upgraded ob:crypto password hashing to Argon2id (crypto.hash_password, crypto.verify_password, crypto.random_hex).
  • Built-in security middlewares: router.csrf(), router.security_headers(), router.rate_limit(), router.cors(), plus APP_ENV=production stack-trace hiding.

5. Developer Experience

  • 12-Factor Runtime Config: config.toml + ob:config + http.serve(handler) with ENV > config.toml > defaults.
  • CLI Generators: ob init --web, ob g app, ob g route, ob g component, ob g migration.
  • Browser Live Reload: ob run --watch now restarts HTTP servers cleanly and auto-reloads open browser tabs.
  • Native ob.class(base?): clean OOP without __index boilerplate.
  • JS Compiler & Islands: fixed multiline returns, export default, table-typed params, and added useState / hydrateIslands + html.raw() / html.island().

Upgrade

cargo install --git https://github.com/k-wrk/Orbita.git --tag v0.2.0
ob --version