feat (C3): Remove a bindings snippet for Hono template#6481
feat (C3): Remove a bindings snippet for Hono template#6481CarmenPopoviciu merged 6 commits intocloudflare:mainfrom roottool:feature/remove-binding-snippet-for-hono
Conversation
🦋 Changeset detectedLatest commit: 2e738eb The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
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 |
|
A wrangler prerelease is available for testing. You can install this latest build in your project with: npm install --save-dev https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/10384193221/npm-package-wrangler-6481You can reference the automatically updated head of this PR with: npm install --save-dev https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/prs/6481/npm-package-wrangler-6481Or you can use npx https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/10384193221/npm-package-wrangler-6481 dev path/to/script.jsAdditional artifacts:npx https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/10384193221/npm-package-create-cloudflare-6481 --no-auto-updatenpm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/10384193221/npm-package-cloudflare-kv-asset-handler-6481npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/10384193221/npm-package-miniflare-6481npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/10384193221/npm-package-cloudflare-pages-shared-6481npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/10384193221/npm-package-cloudflare-vitest-pool-workers-6481npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/10384193221/npm-package-cloudflare-workers-editor-shared-6481npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/10384193221/npm-package-cloudflare-workers-shared-6481Note that these links will no longer work once the GitHub Actions artifact expires.
Please ensure constraints are pinned, and |
Co-authored-by: Carmen Popoviciu <carmen.popoviciu@gmail.com>
|
LGTM! @yusukebe does this look good on your side as well? |
|
@CarmenPopoviciu yes! @roottool Great work! Thank you! |
|
fantastic! much awesomeness @roottool !! thank you for your contribution. I'll try to get the CI green and have this merged in |
|
Congratulations @roottool, the maintainer of this repository has issued you a holobyte! Here it is: https://holopin.io/holobyte/clzuyj04040240cmgkwitmgir This badge can only be claimed by you, so make sure that your GitHub account is linked to your Holopin account. You can manage those preferences here: https://holopin.io/account. |
What this PR solves / how to test
This PR Fixes honojs/hono#3193.
Until Hono v4.4.13, an
interfacewas not available for bindings. ref. #5675Since Hono v4.5.0, it can pass an
interface. So we can remove that snippet and pass theCloudflareBindingsdirectly.Author has addressed the following
{ Bindings: CloudflareBindings }isn't written in the document with a framework guide.