Skip to content

refactor(adapters)!: remove deprecated createCloudflareHandler alias#79

Merged
scalvert merged 1 commit into
mainfrom
drop-deprecated-cloudflare-alias
Jun 19, 2026
Merged

refactor(adapters)!: remove deprecated createCloudflareHandler alias#79
scalvert merged 1 commit into
mainfrom
drop-deprecated-cloudflare-alias

Conversation

@scalvert

Copy link
Copy Markdown
Owner

Completes the adapter consolidation (#74, #75). Removes the createCloudflareHandler / CloudflareAdapterConfig aliases that were kept for one release after the rename to createWebRequestHandler.

Breaking change

createCloudflareHandler and CloudflareAdapterConfig are removed. Migrate:

-import { createCloudflareHandler, type CloudflareAdapterConfig } from 'docusaurus-plugin-mcp-server/adapters';
+import { createWebRequestHandler, type WebRequestAdapterConfig } from 'docusaurus-plugin-mcp-server/adapters';

They were exact aliases, so the swap is name-only — no behavior change.

Why now

This is the last API-stability gate before 1.0.0: the adapter surface is now a single generic web-standard handler (createWebRequestHandler) plus the Node local-dev server, with no legacy names lingering.

Verification

typecheck, eslint, build, 75/75 tests, and snippets:check all pass.

🤖 Generated with Claude Code

Drop the createCloudflareHandler / CloudflareAdapterConfig aliases kept for
one release after the rename to createWebRequestHandler. The adapter surface
is now a single generic web-standard handler with no legacy names.

BREAKING CHANGE: createCloudflareHandler and CloudflareAdapterConfig are
removed. Use createWebRequestHandler / WebRequestAdapterConfig instead.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@scalvert
scalvert merged commit fdf6a38 into main Jun 19, 2026
9 checks passed
@scalvert
scalvert deleted the drop-deprecated-cloudflare-alias branch June 19, 2026 23:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant