Skip to content

chore!: remove unused HTTP adapters (keep Hono only) + MSW plugin (12.0)#2391

Merged
os-zhuang merged 1 commit into
mainfrom
v11-remove-httpdispatcher
Jun 27, 2026
Merged

chore!: remove unused HTTP adapters (keep Hono only) + MSW plugin (12.0)#2391
os-zhuang merged 1 commit into
mainfrom
v11-remove-httpdispatcher

Conversation

@os-zhuang

Copy link
Copy Markdown
Contributor

Strategic trim for a solo-maintained framework: ship only the adapter actually used.

Why

The express / fastify / nextjs / nestjs / nuxt / sveltekit adapters and @objectstack/plugin-msw have zero internal consumers and aren't dogfooded — pure release/maintenance surface and an untested-integration liability ("supported framework" that may silently break). @objectstack/hono is the one actually wired in (via @objectstack/client).

Changes

  • Delete 7 packages: 6 non-Hono adapters + @objectstack/plugin-msw (changeset fixed group 73 → 66).
  • @objectstack/client: drop plugin-msw / msw usage (removed client.msw.test.ts); rest of client unaffected.
  • Correct HttpDispatcher's misleading @deprecated → createDispatcherPlugin note — createDispatcherPlugin is 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.
  • Docs: rest/README + hono/README adapter references → Hono-only.

Resolves #2380

The HttpDispatcher removal was risky because of the 7-adapter blast radius. With those gone, HttpDispatcher has ~2 consumers (Hono + internal) — the class is fine to keep as-is; no factory migration needed. The misleading deprecation is fixed.

Verification

  • No source imports any deleted package (grep clean).
  • check-changeset-fixed ✓ (66 public packages).
  • Full workspace build green (69 tasks); @objectstack/client tests 101 pass.

Follow-up (not in this PR)

A docs pass for incidental mentions of the removed frameworks (e.g. docs/HARDENING.md Fastify 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 HttpDispatcher API or maintain it out-of-tree.

🤖 Generated with Claude Code

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>
@vercel

vercel Bot commented Jun 27, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
spec Ready Ready Preview, Comment Jun 27, 2026 4:53pm

Request Review

@github-actions github-actions Bot added documentation Improvements or additions to documentation dependencies Pull requests that update a dependency file tests tooling labels Jun 27, 2026
@github-actions

Copy link
Copy Markdown
Contributor

📓 Docs Drift Check

This PR changes 5 package(s): packages/adapters, @objectstack/client, packages/plugins/plugin-msw, @objectstack/rest, @objectstack/runtime.

24 hand-written doc(s) reference the affected code and may need an implementation-accuracy re-verification:

  • content/docs/concepts/cloud-artifact-api.mdx (via packages/runtime)
  • content/docs/concepts/implementation-status.mdx (via @objectstack/client, @objectstack/rest, @objectstack/runtime)
  • content/docs/concepts/north-star.mdx (via packages/runtime)
  • content/docs/concepts/packages.mdx (via @objectstack/client, @objectstack/rest, @objectstack/runtime)
  • content/docs/guides/api-reference.mdx (via @objectstack/rest, @objectstack/runtime)
  • content/docs/guides/authentication.mdx (via @objectstack/client, @objectstack/runtime)
  • content/docs/guides/client-sdk.mdx (via @objectstack/client)
  • content/docs/guides/cloud-deployment.mdx (via @objectstack/runtime)
  • content/docs/guides/deployment-vercel.mdx (via @objectstack/runtime)
  • content/docs/guides/driver-configuration.mdx (via @objectstack/runtime)
  • content/docs/guides/hook-bodies.mdx (via @objectstack/runtime)
  • content/docs/guides/packages.mdx (via packages/adapters, @objectstack/client, packages/plugins/plugin-msw, @objectstack/rest, @objectstack/runtime)
  • content/docs/guides/plugin-chatbot-integration.mdx (via @objectstack/runtime)
  • content/docs/guides/plugins.mdx (via @objectstack/rest)
  • content/docs/guides/production-readiness.mdx (via @objectstack/runtime)
  • content/docs/guides/project-scoping.mdx (via @objectstack/client)
  • content/docs/guides/runtime-services/data-service.mdx (via packages/client)
  • content/docs/guides/runtime-services/index.mdx (via packages/client)
  • content/docs/guides/single-project-mode.mdx (via @objectstack/runtime)
  • content/docs/guides/skills.mdx (via packages/client)
  • content/docs/protocol/objectos/http-protocol.mdx (via @objectstack/runtime)
  • content/docs/protocol/objectos/index.mdx (via @objectstack/runtime)
  • content/docs/protocol/objectos/lifecycle.mdx (via @objectstack/runtime)
  • content/docs/protocol/objectos/realtime-protocol.mdx (via @objectstack/client)

Advisory only. To re-verify, run the docs-accuracy-audit workflow scoped to these files:
node scripts/docs-audit/affected-docs.mjs origin/main → pass the list as args.docs.

@os-zhuang
os-zhuang merged commit 7087cfe into main Jun 27, 2026
17 checks passed
@os-zhuang
os-zhuang deleted the v11-remove-httpdispatcher branch June 27, 2026 16:56
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file documentation Improvements or additions to documentation size/xl tests tooling

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[11.0][A3] Remove deprecated HttpDispatcher class (staged; use createDispatcherPlugin)

1 participant