Skip to content

[pull] main from withastro:main#461

Merged
pull[bot] merged 9 commits intocode:mainfrom
withastro:main
Mar 25, 2026
Merged

[pull] main from withastro:main#461
pull[bot] merged 9 commits intocode:mainfrom
withastro:main

Conversation

@pull
Copy link

@pull pull bot commented Mar 25, 2026

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 : )

merlinnot and others added 9 commits March 25, 2026 11:35
* feat: expose Sharp encoder config options for image generation

* simplify types

* Update .changeset/calm-coats-approve.md

Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: Yan <61414485+yanthomasdev@users.noreply.github.com>

* docs: add @default undefined to encoder option JSDoc blocks

* Update packages/astro/src/types/public/config.ts

Co-authored-by: Armand Philippot <git@armand.philippot.eu>

* Update packages/astro/src/types/public/config.ts

Co-authored-by: Armand Philippot <git@armand.philippot.eu>

* Update packages/astro/src/types/public/config.ts

Co-authored-by: Armand Philippot <git@armand.philippot.eu>

* Update packages/astro/src/types/public/config.ts

Co-authored-by: Armand Philippot <git@armand.philippot.eu>

---------

Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
Co-authored-by: Yan <61414485+yanthomasdev@users.noreply.github.com>
Co-authored-by: Matthew Phillips <matthew@matthewphillips.info>
Co-authored-by: Armand Philippot <git@armand.philippot.eu>
* feat(markdown/remark): Smartypants config

* feat(astro): Smartypants config

* test: add e2e Smartypants config tests

* docs: add changesets

* docs: update public Astro config types docs

this file is used to autogenerate the configuration reference documentation

* fix: unused import

* feat: change docs version

* feat: set since version in config to 6.1.0

* fix: adapt default type definition

* refactor: use retext-smartypants options

* fix: remove export of Smartypants type from astro core

* fix: reexport Smartypants type but lintignore it

* Update packages/astro/src/types/public/config.ts

Co-authored-by: Armand Philippot <git@armand.philippot.eu>

---------

Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
Co-authored-by: Armand Philippot <git@armand.philippot.eu>
Guard the buildStart hook in vite-plugin-scripts to skip this.emitFile()
when Vite is running in serve mode. emitFile() is a Rollup build-time API
that Vite stubs out during dev, producing a spurious warning:

  [WARN] [vite] [plugin:astro:scripts] context method emitFile() is not
  supported in serve mode.

The fix captures the Vite command via the config hook and returns early
from buildStart when command === 'serve'.

Fixes #16026
Fixes #15975
…re adapter (#16062)

* Warn on Vite 8 in dev, add vite override when adding Cloudflare adapter

* add changeset

* Fix type error: warnIfVite8 root param accepts URL | string
@pull pull bot locked and limited conversation to collaborators Mar 25, 2026
@pull pull bot added the ⤵️ pull label Mar 25, 2026
@pull pull bot merged commit 87fd6a4 into code:main Mar 25, 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.

6 participants