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
How Braze’s CTO is rethinking engineering for the agentic area
10h ago
Amazon Employees Are 'Tokenmaxxing' Due To Pressure To Use AI Tools
21h ago

Implementing Multicloud Data Sharding with Hexagonal Storage Adapters
15h ago

DeepMind’s CEO Says AGI May Be ~4 Years Away. The Last Three Missing Pieces Are Not What Most People Think.
15h ago

CCSnapshot - A Claude Code Configs Transfer Tool
21h ago