Skip to content

[pull] main from withastro:main - #696

Merged
pull[bot] merged 7 commits into
code:mainfrom
withastro:main
Aug 21, 2026
Merged

[pull] main from withastro:main#696
pull[bot] merged 7 commits into
code:mainfrom
withastro:main

Conversation

@pull

@pull pull Bot commented Aug 21, 2026

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

florian-lefebvre and others added 7 commits August 21, 2026 12:32
#17783)

* fix(content): add apng to the image() schema format union

`apng` was added to VALID_INPUT_FORMATS in #17774, but the ImageFunction
type in content/config.ts was not updated to match, so passing an image
from a collection schema to a component failed to type-check.

Add a type test asserting the schema's format union matches
ImageInputFormat, and widen the check workflow's path filter so changes
under packages/astro/src and the shipped .d.ts files run the examples
check before merge.

* revert: keep astro check path filter as-is
…from astro/app/manifest (#17787)

Co-authored-by: factory[bot] <factory[bot]@users.noreply.github.com>
…ls with quote characters (#17789)

* fix(cloudflare): wrap frontmatter in function instead of rewriting return statements

Replace the `RETURN_REPLACE_RE` regex tokenizer with a function-wrapping
approach. Instead of rewriting `return` → `throw` (which failed on regex
literals containing quote characters), wrap the frontmatter in
`async function __astro__() { ... }` so `return` is valid syntax.

Static import declarations are hoisted above the wrapper so the dep
scanner can still discover them.

Fixes #17697

* refactor(cloudflare): remove unused esbuild frontmatter plugin

---------

Co-authored-by: factory[bot] <factory[bot]@users.noreply.github.com>
Co-authored-by: Matthew Phillips <matthew@matthewphillips.info>
@pull pull Bot locked and limited conversation to collaborators Aug 21, 2026
@pull pull Bot added the ⤵️ pull label Aug 21, 2026
@pull
pull Bot merged commit 7c541a7 into code:main Aug 21, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants