chore!: remove unused HTTP adapters (keep Hono only) + MSW plugin (12.0)#2391
Merged
Conversation
The express/fastify/nextjs/nestjs/nuxt/sveltekit adapters and @objectstack/plugin-msw had ZERO internal consumers and were not dogfooded — pure release/maintenance surface + untested-integration liability. Removed; @objectstack/hono (the adapter actually used, via @objectstack/client) is kept. Open edition = Hono adapter only. - Delete 6 adapter packages + plugin-msw (fixed group 73 → 66). - client: drop plugin-msw / msw dev usage (deleted client.msw.test.ts). - Correct HttpDispatcher's misleading `@deprecated → createDispatcherPlugin` note (createDispatcherPlugin is a kernel route plugin, not a drop-in); the class is now used only by the Hono adapter + internal dispatcher-plugin. - Docs: rest/README + hono/README adapter references updated to Hono-only. Resolves the #2380 blast-radius concern (HttpDispatcher consumers collapse to Hono). Verified: full workspace build green (69 tasks); client tests 101. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
📓 Docs Drift CheckThis PR changes 5 package(s): 24 hand-written doc(s) reference the affected code and may need an implementation-accuracy re-verification:
|
This was referenced Jun 27, 2026
Closed
os-zhuang
added a commit
that referenced
this pull request
Jun 27, 2026
…2.0) (#2393) Follow-up to the adapter trim (#2391). Hand-written docs only (ADRs / audits / CHANGELOGs left as historical): - docs/HARDENING.md: Fastify recipe → Hono recipe (the @objectstack/fastify import was broken after removal); CSRF → hono/csrf; CORS → createHonoApp. - docs/design/driver-turso.md: drop plugin-msw row; "all adapters" → Hono. - packages/plugins/driver-memory/README.md: drop plugin-msw bullets. - packages/runtime/README.md: framework examples narrowed to Hono. - docs/launch-readiness.md: stale express/fastify residual note → Hono. Verified: no removed-package refs remain in current docs. Co-authored-by: Jack Zhuang <277994282+os-zhuang@users.noreply.github.com> Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
os-zhuang
added a commit
that referenced
this pull request
Jul 11, 2026
feat(app-shell): cloud:ai-model-status panel — see the env's effective AI model in admin (cloud#797) (#2391) objectui@6fa8e6aeb67c53169b7c9c4bbc1ef7cf897d0cbf
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.
Strategic trim for a solo-maintained framework: ship only the adapter actually used.
Why
The
express/fastify/nextjs/nestjs/nuxt/sveltekitadapters and@objectstack/plugin-mswhave zero internal consumers and aren't dogfooded — pure release/maintenance surface and an untested-integration liability ("supported framework" that may silently break).@objectstack/honois the one actually wired in (via@objectstack/client).Changes
@objectstack/plugin-msw(changeset fixed group 73 → 66).@objectstack/client: dropplugin-msw/mswusage (removedclient.msw.test.ts); rest of client unaffected.HttpDispatcher's misleading@deprecated → createDispatcherPluginnote —createDispatcherPluginis a kernel route-registering plugin, not a drop-in for a callable adapter dispatcher. The class is now used only by the Hono adapter + the internal dispatcher-plugin.rest/README+hono/READMEadapter references → Hono-only.Resolves #2380
The HttpDispatcher removal was risky because of the 7-adapter blast radius. With those gone,
HttpDispatcherhas ~2 consumers (Hono + internal) — the class is fine to keep as-is; no factory migration needed. The misleading deprecation is fixed.Verification
check-changeset-fixed✓ (66 public packages).@objectstack/clienttests 101 pass.Follow-up (not in this PR)
A docs pass for incidental mentions of the removed frameworks (e.g.
docs/HARDENING.mdFastify recipe, some ADRs) — historical/strategic docs, non-blocking.Breaking (removes published packages) → lands in 12.0.0. Anyone needing another adapter can build on the public
HttpDispatcherAPI or maintain it out-of-tree.🤖 Generated with Claude Code