Skip to content

feat: Complete Phase 5 Framework Adapters — Hono, Express, Fastify, SvelteKit, Nuxt, Next.js Server Actions#664

Merged
hotlong merged 5 commits into
mainfrom
copilot/complete-framework-adapters
Feb 13, 2026
Merged

feat: Complete Phase 5 Framework Adapters — Hono, Express, Fastify, SvelteKit, Nuxt, Next.js Server Actions#664
hotlong merged 5 commits into
mainfrom
copilot/complete-framework-adapters

Conversation

Copilot AI commented Feb 13, 2026

Copy link
Copy Markdown
Contributor

Completes all remaining Phase 5 roadmap items. The Hono adapter was a middleware-only stub; Express/Fastify were only available via NestJS; SvelteKit/Nuxt had no support.

Hono Adapter (expanded)

  • createHonoApp() with full Auth/GraphQL/Meta/Data/Storage route dispatchers, AuthPlugin service support, .well-known discovery — 26 tests (up from 3)

Next.js Server Actions (new)

  • createServerActions() returning typed ServerActionResult<T> with query, getById, create, update, remove, getMetadata
"use server";
const actions = createServerActions({ kernel });
const result = await actions.query('account', { limit: 10 });

New Adapter Packages

Package Pattern Tests
@objectstack/express Express v5 Router ({*path} wildcards) 2
@objectstack/fastify Fastify plugin via objectStackPlugin() 9
@objectstack/sveltekit Web-standard Request/Response handler for +server.ts 17
@objectstack/nuxt h3 router via createH3Router() 7

All adapters follow the established pattern: HttpDispatcher from @objectstack/runtime, AuthPlugin service preferred with dispatcher fallback, consistent error shape.

Security

  • Bumped fastify peer dep to ^5.7.2 (Content-Type validation bypass fix)
  • Bumped h3 peer dep to ^1.15.5 (request smuggling fix)
  • CodeQL: 2 informational js/missing-rate-limiting on auth handlers — rate limiting is an app-level concern, not the adapter's

ROADMAP.md

  • Phase 5 status: 🟡 → ✅, Package Status Matrix updated with new packages
Original prompt

完成roadmap开发,Phase 5: Framework Adapters (🟡 Mostly Complete)

Goal: First-class integration with popular web frameworks.
Completed

Next.js Adapter — App Router, Auth/GraphQL/Meta/Data/Storage handlers (9/10)
NestJS Adapter — Full DI module, Express/Fastify support (10/10)
Hono Server Plugin — Production HTTP server with static file serving
Remaining

Hono Adapter — Currently a stub (middleware only). Needs full route dispatchers for Auth/GraphQL/Meta/Data/Storage matching Next.js/NestJS completeness
Next.js Server Actions — Support for React Server Actions pattern
Express Adapter — Standalone Express integration (currently via NestJS only)
Fastify Adapter — Standalone Fastify integration (currently via NestJS only)
SvelteKit Adapter — Community request
Nuxt Adapter — Community request


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

@vercel

vercel Bot commented Feb 13, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
objectstack-play Canceled Canceled Feb 13, 2026 3:24pm
spec Ready Ready Preview, Comment Feb 13, 2026 3:24pm

Request Review

…route dispatchers

Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
Copilot AI and others added 3 commits February 13, 2026 15:17
…er Actions

Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
…nerabilities

Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
Copilot AI changed the title [WIP] Complete roadmap development for framework adapters feat: Complete Phase 5 Framework Adapters — Hono, Express, Fastify, SvelteKit, Nuxt, Next.js Server Actions Feb 13, 2026
Copilot AI requested a review from hotlong February 13, 2026 15:26
@hotlong
hotlong marked this pull request as ready for review February 13, 2026 15:27
Copilot AI review requested due to automatic review settings February 13, 2026 15:27
@hotlong
hotlong merged commit 87c06f9 into main Feb 13, 2026
3 checks passed

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR completes Phase 5 of the ObjectStack roadmap by delivering comprehensive framework adapter support. It expands the existing Hono adapter from a middleware stub to a full-featured implementation, adds Next.js Server Actions support, and introduces four brand-new adapter packages for Express, Fastify, SvelteKit, and Nuxt. All adapters follow the established HttpDispatcher pattern with consistent AuthPlugin service integration.

Changes:

  • New Packages: Added standalone adapters for Express (v5), Fastify, SvelteKit, and Nuxt with full Auth/GraphQL/Metadata/Data/Storage route dispatchers
  • Hono Expansion: Expanded from middleware stub (3 tests) to full createHonoApp with all route dispatchers (26 tests)
  • Next.js Server Actions: Added createServerActions() API with typed ServerActionResult for query/getById/create/update/remove/getMetadata operations
  • Security: Bumped fastify to ^5.7.2 and h3 to ^1.15.5 to address CVE fixes
  • ROADMAP: Updated Phase 5 status from 🟡 (Mostly Complete) to ✅ (Complete) and added 5 new packages to the Package Status Matrix

Reviewed changes

Copilot reviewed 34 out of 35 changed files in this pull request and generated no comments.

Show a summary per file
File Description
packages/adapters/express/ New Express v5 adapter with router-based integration using {*path} wildcard syntax (2 tests)
packages/adapters/fastify/ New Fastify plugin adapter with objectStackPlugin and objectStackDecorator exports (9 tests)
packages/adapters/sveltekit/ New SvelteKit adapter with web-standard Request/Response handlers and createHandle hook (17 tests)
packages/adapters/nuxt/ New Nuxt/h3 router adapter with createH3Router for server routes (7 tests)
packages/adapters/hono/ Expanded createHonoApp with full dispatcher routes, .well-known endpoint, AuthPlugin service support (26 tests, up from 3)
packages/adapters/nextjs/src/index.ts Added createServerActions() API for React Server Actions pattern with typed results (6 new tests)
ROADMAP.md Updated Phase 5 status to ✅ Complete, added 5 new packages to matrix, updated Next.js adapter to 10/10
pnpm-lock.yaml Added dependencies for new adapter packages with security-patched versions
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants