Originally published byDev.to
Native Node.js Support
The HTTP layer now runs natively on Node.js β no adapter required. listen(port) works the same on Bun and Node.
Before:
import { adapter } from "@hedystia/adapter";
import { createServer } from "node:http";
const app = new Framework().get("/", () => "ok");
createServer(adapter(app).toNodeHandler()).listen(3000);
After:
import Framework from "hedystia";
new Framework().get("/", () => "ok").listen(3000);
@hedystia/ws β Universal WebSocket
A new package that works identically across Bun, Node.js, and Deno. Topic-based pub/sub, runtime-aware client, portable server that plugs into any HTTP runtime.
import { WebSocketServer } from "@hedystia/ws/server";
import { createWebSocket } from "@hedystia/ws/client";
PostgreSQL Driver for @hedystia/db
Native PostgreSQL support via the pg package. Full CRUD, transactions, caching, migrations, and schema sync.
const db = database({
schemas: { users },
database: { name: "postgres", provider: "pg" },
connection: { host: "localhost", user: "postgres", database: "mydb" },
});
Validations Expansion
20+ new schema factories: h.bigint(), h.tuple(), h.record(), h.map(), h.set(), h.intersection(), h.discriminatedUnion(), h.lazy(), h.default(), h.transform(), h.refine(), h.pipe(), plus object methods (.strict(), .pick(), .partial(), etc.) and coercion shortcuts.
Ecosystem Integrations (2.2)
- @hedystia/astro β Use reactive View components inside Astro with client directives. View is a fine-grained reactive UI engine with no virtual DOM β signals, memos, effects, JSX, flow components, and SSR.
- @hedystia/better-auth β Plug @hedystia/db into Better Auth as your auth database. @hedystia/db is a type-safe ORM supporting SQLite, MySQL, PostgreSQL, File, and S3 with smart caching and migrations.
Full changelog
https://docs.hedystia.com/blog/2.3
Docs
πΊπΈ
More news from United StatesUnited States
NORTH AMERICA
Related News
What Does "Building in Public" Actually Mean in 2026?
19h ago
The Agentic Headless Backend: What Vibe Coders Still Need After the UI Is Done
19h ago
Why Iβm Still Learning to Code Even With AI
21h ago
I gave Claude a persistent memory for $0/month using Cloudflare
1d ago
NYT: 'Meta's Embrace of AI Is Making Its Employees Miserable'
1d ago