Skip to content

Move binding utilities into workers-utils - #15454

Merged
jamesopstad merged 2 commits into
mainfrom
james/move-print-bindings-to-workers-utils
Sep 1, 2026
Merged

Move binding utilities into workers-utils#15454
jamesopstad merged 2 commits into
mainfrom
james/move-print-bindings-to-workers-utils

Conversation

@jamesopstad

Copy link
Copy Markdown
Contributor

Move binding utilities into @cloudflare/workers-utils

Binding conversion, printing, and local-development validation are now exported from @cloudflare/workers-utils so they can be shared by Wrangler, the Cloudflare Vite plugin, and other consumers.

The corresponding exports have been removed from @cloudflare/deploy-helpers. Consumers should import them directly from @cloudflare/workers-utils instead.


  • Tests
    • Tests included/updated
    • Automated tests not possible - manual testing has been completed as follows:
    • Additional testing not necessary because:
  • Public documentation
    • Cloudflare docs PR(s):
    • Documentation not necessary because: internal change

A picture of a cute animal (not mandatory, but encouraged)

@changeset-bot

changeset-bot Bot commented Sep 1, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 7ef6cb8

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 9 packages
Name Type
@cloudflare/deploy-helpers Minor
@cloudflare/workers-utils Minor
wrangler Minor
@cloudflare/remote-bindings Patch
@cloudflare/autoconfig Patch
@cloudflare/cli-shared-helpers Patch
@cloudflare/vite-plugin Patch
@cloudflare/vitest-plugin Patch
@cloudflare/workers-auth Patch

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

@ask-bonk

ask-bonk Bot commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Author identity unknown

*** Please tell me who you are.

Run

git config --global user.email "you@example.com"
git config --global user.name "Your Name"

to set your account's default identity.
Omit --global to set the identity only in this repository.

fatal: empty ident name (for runner@runnervmgx7h7.4p3m1potxkcepj0gvj03zddmbe.yx.internal.cloudapp.net) not allowed

github run

@ask-bonk

ask-bonk Bot commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

@jamesopstad Bonk workflow failed. Check the logs for details.

View workflow run · To retry, trigger Bonk again.

@pkg-pr-new

pkg-pr-new Bot commented Sep 1, 2026

Copy link
Copy Markdown
@cloudflare/autoconfig

npm i https://pkg.pr.new/@cloudflare/autoconfig@15454

@cloudflare/build-output-utils

npm i https://pkg.pr.new/@cloudflare/build-output-utils@15454

@cloudflare/codemods

npm i https://pkg.pr.new/@cloudflare/codemods@15454

@cloudflare/config

npm i https://pkg.pr.new/@cloudflare/config@15454

create-cloudflare

npm i https://pkg.pr.new/create-cloudflare@15454

@cloudflare/deploy-helpers

npm i https://pkg.pr.new/@cloudflare/deploy-helpers@15454

@cloudflare/kv-asset-handler

npm i https://pkg.pr.new/@cloudflare/kv-asset-handler@15454

miniflare

npm i https://pkg.pr.new/miniflare@15454

@cloudflare/pages-functions

npm i https://pkg.pr.new/@cloudflare/pages-functions@15454

@cloudflare/pages-shared

npm i https://pkg.pr.new/@cloudflare/pages-shared@15454

@cloudflare/unenv-preset

npm i https://pkg.pr.new/@cloudflare/unenv-preset@15454

@cloudflare/vite-plugin

npm i https://pkg.pr.new/@cloudflare/vite-plugin@15454

@cloudflare/vitest-plugin

npm i https://pkg.pr.new/@cloudflare/vitest-plugin@15454

@cloudflare/workers-auth

npm i https://pkg.pr.new/@cloudflare/workers-auth@15454

@cloudflare/workers-editor-shared

npm i https://pkg.pr.new/@cloudflare/workers-editor-shared@15454

@cloudflare/workers-utils

npm i https://pkg.pr.new/@cloudflare/workers-utils@15454

wrangler

npm i https://pkg.pr.new/wrangler@15454

commit: 7ef6cb8

@jamesopstad
jamesopstad force-pushed the james/move-print-bindings-to-workers-utils branch from f919a32 to 05d2132 Compare September 1, 2026 11:31
@jamesopstad
jamesopstad marked this pull request as ready for review September 1, 2026 11:32
@workers-devprod
workers-devprod requested review from a team and emily-shen and removed request for a team September 1, 2026 11:32
@workers-devprod

workers-devprod commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Codeowners approval required for this PR:

  • ✅ @cloudflare/wrangler
Show detailed file reviewers

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔍 Devin Review: 2 flags

Not posted on this PR by your GitHub settings — view them in Devin Review. (Configure)

Devin Review
@jamesopstad
jamesopstad force-pushed the james/move-print-bindings-to-workers-utils branch from 05d2132 to 8e5046c Compare September 1, 2026 12:15
Comment thread packages/workers-utils/src/config/binding-local-support.ts Outdated

@workers-devprod workers-devprod left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Codeowners reviews satisfied

@jamesopstad
jamesopstad force-pushed the james/move-print-bindings-to-workers-utils branch from 8e5046c to 7ef6cb8 Compare September 1, 2026 14:19
@jamesopstad
jamesopstad merged commit dbbb795 into main Sep 1, 2026
76 of 78 checks passed
@jamesopstad
jamesopstad deleted the james/move-print-bindings-to-workers-utils branch September 1, 2026 15:07
@github-project-automation github-project-automation Bot moved this from Untriaged to Done in workers-sdk Sep 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants