feat: Complete Phase 5 Framework Adapters — Hono, Express, Fastify, SvelteKit, Nuxt, Next.js Server Actions#664
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
…route dispatchers Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
…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
hotlong
marked this pull request as ready for review
February 13, 2026 15:27
Contributor
There was a problem hiding this comment.
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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-knowndiscovery — 26 tests (up from 3)Next.js Server Actions (new)
createServerActions()returning typedServerActionResult<T>withquery,getById,create,update,remove,getMetadataNew Adapter Packages
@objectstack/express{*path}wildcards)@objectstack/fastifyobjectStackPlugin()@objectstack/sveltekitRequest/Responsehandler for+server.ts@objectstack/nuxtcreateH3Router()All adapters follow the established pattern:
HttpDispatcherfrom@objectstack/runtime, AuthPlugin service preferred with dispatcher fallback, consistent error shape.Security
fastifypeer dep to^5.7.2(Content-Type validation bypass fix)h3peer dep to^1.15.5(request smuggling fix)js/missing-rate-limitingon auth handlers — rate limiting is an app-level concern, not the adapter'sROADMAP.md
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.