Skip to content

Conversation

@ascorbic
Copy link
Contributor

@ascorbic ascorbic commented Dec 23, 2025

Changes

Previously the CLoudflare adapter applied a default config if there was no wrangler config file. This PR changes the behaviour to always apply defaults, which are merged with the user config. This allows us to auto-provision bindings for sessions, assets and images.

Testing

Added lots of tests: unit tests for the config handling, and integraiton tests for sessions and images.

Docs

Updates the JSDocs for the cloudflare adapter config.

I'm working on an update to the adapter docs that will include this.

@changeset-bot
Copy link

changeset-bot bot commented Dec 23, 2025

🦋 Changeset detected

Latest commit: 13c119c

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

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

@ascorbic ascorbic added the pr preview Apply this label to a PR to generate a preview release label Dec 23, 2025
@github-actions github-actions bot added the pkg: integration Related to any renderer integration (scope) label Dec 23, 2025
@github-actions
Copy link
Contributor

⚠️ Package Trust Level Decreased

Caution

Decreased trust levels may indicate a higher risk of supply chain attacks. Please review these changes carefully.

📦 Package 🔒 Before 🔓 After
@cloudflare/unenv-preset trusted-with-provenance none
workerd trusted-with-provenance none
undici provenance none
miniflare trusted-with-provenance none
youch provenance none
@cloudflare/workerd-darwin-64 trusted-with-provenance none
@cloudflare/workerd-darwin-arm64 trusted-with-provenance none
@cloudflare/workerd-linux-64 trusted-with-provenance none
@cloudflare/workerd-linux-arm64 trusted-with-provenance none
@cloudflare/workerd-windows-64 trusted-with-provenance none
wrangler trusted-with-provenance none

@ascorbic ascorbic merged commit 4463a55 into next Dec 23, 2025
23 checks passed
@ascorbic ascorbic deleted the auto-provision-bindings branch December 23, 2025 16:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pkg: integration Related to any renderer integration (scope) pr preview Apply this label to a PR to generate a preview release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants