Skip to content

Support Cloudflare Preview deployments#16435

Merged
matthewp merged 5 commits into
withastro:mainfrom
jamesopstad:cloudflare-preview-environments
Apr 21, 2026
Merged

Support Cloudflare Preview deployments#16435
matthewp merged 5 commits into
withastro:mainfrom
jamesopstad:cloudflare-preview-environments

Conversation

@jamesopstad
Copy link
Copy Markdown
Contributor

@jamesopstad jamesopstad commented Apr 21, 2026

Changes

Add support for Preview deployments (currently in private beta)

Non-inheritable bindings set internally by the Cloudflare adapter are now also set in the previews section of the config so that they are inherited by Preview deployments.

Testing

Tests added.

Docs

This feature is currently in private beta. The docs will be available on the Cloudflare docs site when it is released publicly.

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Apr 21, 2026

🦋 Changeset detected

Latest commit: 116b8d7

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

@github-actions github-actions Bot added the pkg: integration Related to any renderer integration (scope) label Apr 21, 2026
Copy link
Copy Markdown
Contributor

@matthewp matthewp left a comment

Choose a reason for hiding this comment

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

Thanks!

@matthewp
Copy link
Copy Markdown
Contributor

@jamesopstad Waiting for this to go out of draft before merging.

@jamesopstad jamesopstad marked this pull request as ready for review April 21, 2026 12:22
@jamesopstad jamesopstad marked this pull request as draft April 21, 2026 12:37
@jamesopstad jamesopstad marked this pull request as ready for review April 21, 2026 13:08
@jamesopstad
Copy link
Copy Markdown
Contributor Author

@jamesopstad Waiting for this to go out of draft before merging.

Thanks! I've updated the logic to check against the relevant part of the config and added tests.

@matthewp matthewp merged commit c4d321b into withastro:main Apr 21, 2026
23 checks passed
@astrobot-houston astrobot-houston mentioned this pull request Apr 21, 2026
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)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants