Rename web_search binding kind to websearch#14164
Merged
NuroDev merged 1 commit intoJun 2, 2026
Merged
Conversation
Pre-launch rename of the public binding type from 'web_search' to 'websearch' so the on-the-wire shape matches the product name. The wrangler config key, the binding-type string sent to the Cloudflare API (in the multipart-upload metadata), and the miniflare option key all move from web_search / webSearch to websearch. * workers-utils: rename the 'web_search' binding-kind tag in the config schema, validation, type generation, and metadata mapping. * miniflare: rename the plugin directory web-search/ -> websearch/ and the WEB_SEARCH_PLUGIN / WebSearchOptionsSchema / option key to WEBSEARCH_PLUGIN / WebsearchOptionsSchema / websearch. * wrangler: update upload-form, type-generation, print-bindings, config-diffs, startDevWorker, dev/miniflare, and the websearch CLI command module to emit and consume 'websearch' end-to-end. The runtime WebSearch type exposed on env.WEBSEARCH is unchanged.
🦋 Changeset detectedLatest commit: 5c8dd7b The changes in this PR will be included in the next version bump. This PR includes changesets to release 9 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Contributor
|
Codeowners approval required for this PR:
Show detailed file reviewers |
create-cloudflare
@cloudflare/deploy-helpers
@cloudflare/kv-asset-handler
miniflare
@cloudflare/pages-shared
@cloudflare/unenv-preset
@cloudflare/vite-plugin
@cloudflare/vitest-pool-workers
@cloudflare/workers-editor-shared
@cloudflare/workers-utils
wrangler
@cloudflare/wrangler-bundler
commit: |
NuroDev
approved these changes
Jun 2, 2026
workers-devprod
approved these changes
Jun 2, 2026
workers-devprod
left a comment
Contributor
There was a problem hiding this comment.
Codeowners reviews satisfied
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.
What this PR does
Pre-launch rename of the public binding type from
web_searchtowebsearchso the on-the-wire shape matches the product name (Web Search). The wrangler config key, the binding-type string sent to the Cloudflare API (in the multipart-upload metadata), and the miniflare option key all move fromweb_search/webSearchtowebsearch.The runtime
WebSearchtype exposed onenv.WEBSEARCHis unchanged — this is purely a config-surface rename.Update for users