Originally created by: dependabot[bot]
Bumps astro from 6.4.7 to 7.0.6.
Sourced from astro's releases.
astro@7.0.6
Patch Changes
#17261](https://github.com/href="https://redirect.github.com/withastro/astro/pull/17261">/issues/17261)
79aa99cThanks@astrobot-houston! - Fixes a false deprecation warning formarkdown.gfmandmarkdown.smartypantswhen using the Container API#17247](https://github.com/href="https://redirect.github.com/withastro/astro/pull/17247">/issues/17247)
f94280dThanks@chatman-media! - Fixes route generation throwing "Missing parameter" (or silently dropping the segment) when a dynamic param's value is0. The generator used truthy checks instead of checking forundefined, sopaginate(posts, { params: { categoryId: 0 } })would crash even though0is a perfectly valid param value.#17278](https://github.com/href="https://redirect.github.com/withastro/astro/pull/17278">/issues/17278)
6f11739Thanks@astrobot-houston! - Fixes missing CSS for virtual style modules (e.g., responsive image layout styles) in dev mode when JavaScript is disabled#17250](https://github.com/href="https://redirect.github.com/withastro/astro/pull/17250">/issues/17250)
0b30b35Thanks@matthewp! - Fixes thesecurity.checkOrigincheck so it is applied consistently to Astro Actions and on-demand endpoints, regardless of how the request pipeline is composed. Previously, the origin check could be skipped in the composableastro/honopipeline depending on the order of themiddleware()primitive (or when it was omitted).#17274](https://github.com/href="https://redirect.github.com/withastro/astro/pull/17274">/issues/17274)
8c3579bThanks@astrobot-houston! - Fixes missingrender()type overload for live collection entries. Previously, callingrender()on aLiveDataEntryproduced a TypeScript error when using onlylive.config.tswithout acontent.config.ts.#17257](https://github.com/href="https://redirect.github.com/withastro/astro/pull/17257">/issues/17257)
4208297Thanks@astrobot-houston! - Fixesastro checkfailing to find@astrojs/checkandtypescriptwhen astro is installed in a directory outside the project tree (e.g. pnpm virtual store)#17272](https://github.com/href="https://redirect.github.com/withastro/astro/pull/17272">/issues/17272)
b428648Thanks@matthewp! - Fixes island component paths so that extensionless imports (e.g.import { Counter } from '../components/Counter') resolve to the real file on disk, matching Vite's extension order and directoryindexresolution. This makes theinclude/excludeoptions of JSX renderer integrations (React, Preact, Solid) match components imported without a file extension, and removes the spurious React 19 "Invalid hook call" warning logged on every request in dev whenincludewas set alongside another JSX renderer#17279](https://github.com/href="https://redirect.github.com/withastro/astro/pull/17279">/issues/17279)
2aeaa44Thanks@astrobot-houston! - Fixes a bug where<Picture inferSize>with a remote image could fail withFailedToFetchRemoteImageDimensionswhen the image server rate-limits requests (e.g. HTTP 429). Remote dimensions are now resolved once per render instead of once per output format.#17251](https://github.com/href="https://redirect.github.com/withastro/astro/pull/17251">/issues/17251)
5240e26Thanks@matthewp! - Hardens the handling of attribute rendering when using with custom elements.#17248](https://github.com/href="https://redirect.github.com/withastro/astro/pull/17248">/issues/17248)
429bd62Thanks@astrobot-houston! - Fixes a crash when using Astro'sgetViteConfigwith Vitest browser mode (e.g., Storybook vitest runner). Astro now skips dev server setup inside Vitest, preventing errors.#17260](https://github.com/href="https://redirect.github.com/withastro/astro/pull/17260">/issues/17260)
14524c0Thanks@matthewp! - Fixes a regression where a<script>inside a component rendered throughAstro.slots.render()was hoisted out of its original position instead of staying next to its component contentUpdated dependencies [
eb6f97e]:astro@7.0.5
Patch Changes
#17242](https://github.com/href="https://redirect.github.com/withastro/astro/pull/17242">/issues/17242)
9c05ba4Thanks@matthewp! - Fixes an error that could occur after the dev server restarts when using an adapter such as@astrojs/cloudflare, where a request would fail with a500referencing a missing pre-bundled dependency:The file does not exist at "node_modules/.vite/deps_ssr/astro_compiler-runtime.js?v=6419660d" which is in the optimize deps directory. The dependency might be incompatible with the dep optimizer. Try adding it to `optimizeDeps.exclude`.#17202](https://github.com/href="https://redirect.github.com/withastro/astro/pull/17202">/issues/17202)
c6d254dThanks@matthewp! - Refactors path alias resolution to use Vite's nativetsconfigPathsoptionThis is an internal change with no expected impact on user projects. Astro now defers tsconfig and jsconfig
pathsalias resolution to Vite, keeping a small fallback for a few CSS cases Vite does not yet handle.#17123](https://github.com/href="https://redirect.github.com/withastro/astro/pull/17123">/issues/17123)
72e29bdThanks@martrapp! - Fixes an issue where the ClientRouter wipes head elements after page transitions if the<head>contains aserver:defercomponent.#17232](https://github.com/href="https://redirect.github.com/withastro/astro/pull/17232">/issues/17232)
257505eThanks@matthewp! - Fixes a bug where<style>tags from components such as a content collection'sContentcould be silently dropped from the output when anawaitappeared before the component in an.astrofile's markup.#17193](https://github.com/href="https://redirect.github.com/withastro/astro/pull/17193">/issues/17193)
a7352fdThanks@jan-kubica! - Fixes the background dev server failing to start whenastrois hoisted outside the project'snode_modules(for example bun workspaces). The background process is now spawned from Astro's own resolved location instead of a path assumed under the project root.#17255](https://github.com/href="https://redirect.github.com/withastro/astro/pull/17255">/issues/17255)
581d171Thanks@astrobot-houston! - Fixes prefetch not working for links insideserver:defercomponentsastro@7.0.4
... (truncated)
Sourced from astro's changelog.
7.0.6
Patch Changes
#17261](https://github.com/href="https://redirect.github.com/withastro/astro/pull/17261">/issues/17261)
79aa99cThanks@astrobot-houston! - Fixes a false deprecation warning formarkdown.gfmandmarkdown.smartypantswhen using the Container API#17247](https://github.com/href="https://redirect.github.com/withastro/astro/pull/17247">/issues/17247)
f94280dThanks@chatman-media! - Fixes route generation throwing "Missing parameter" (or silently dropping the segment) when a dynamic param's value is0. The generator used truthy checks instead of checking forundefined, sopaginate(posts, { params: { categoryId: 0 } })would crash even though0is a perfectly valid param value.#17278](https://github.com/href="https://redirect.github.com/withastro/astro/pull/17278">/issues/17278)
6f11739Thanks@astrobot-houston! - Fixes missing CSS for virtual style modules (e.g., responsive image layout styles) in dev mode when JavaScript is disabled#17250](https://github.com/href="https://redirect.github.com/withastro/astro/pull/17250">/issues/17250)
0b30b35Thanks@matthewp! - Fixes thesecurity.checkOrigincheck so it is applied consistently to Astro Actions and on-demand endpoints, regardless of how the request pipeline is composed. Previously, the origin check could be skipped in the composableastro/honopipeline depending on the order of themiddleware()primitive (or when it was omitted).#17274](https://github.com/href="https://redirect.github.com/withastro/astro/pull/17274">/issues/17274)
8c3579bThanks@astrobot-houston! - Fixes missingrender()type overload for live collection entries. Previously, callingrender()on aLiveDataEntryproduced a TypeScript error when using onlylive.config.tswithout acontent.config.ts.#17257](https://github.com/href="https://redirect.github.com/withastro/astro/pull/17257">/issues/17257)
4208297Thanks@astrobot-houston! - Fixesastro checkfailing to find@astrojs/checkandtypescriptwhen astro is installed in a directory outside the project tree (e.g. pnpm virtual store)#17272](https://github.com/href="https://redirect.github.com/withastro/astro/pull/17272">/issues/17272)
b428648Thanks@matthewp! - Fixes island component paths so that extensionless imports (e.g.import { Counter } from '../components/Counter') resolve to the real file on disk, matching Vite's extension order and directoryindexresolution. This makes theinclude/excludeoptions of JSX renderer integrations (React, Preact, Solid) match components imported without a file extension, and removes the spurious React 19 "Invalid hook call" warning logged on every request in dev whenincludewas set alongside another JSX renderer#17279](https://github.com/href="https://redirect.github.com/withastro/astro/pull/17279">/issues/17279)
2aeaa44Thanks@astrobot-houston! - Fixes a bug where<Picture inferSize>with a remote image could fail withFailedToFetchRemoteImageDimensionswhen the image server rate-limits requests (e.g. HTTP 429). Remote dimensions are now resolved once per render instead of once per output format.#17251](https://github.com/href="https://redirect.github.com/withastro/astro/pull/17251">/issues/17251)
5240e26Thanks@matthewp! - Hardens the handling of attribute rendering when using with custom elements.#17248](https://github.com/href="https://redirect.github.com/withastro/astro/pull/17248">/issues/17248)
429bd62Thanks@astrobot-houston! - Fixes a crash when using Astro'sgetViteConfigwith Vitest browser mode (e.g., Storybook vitest runner). Astro now skips dev server setup inside Vitest, preventing errors.#17260](https://github.com/href="https://redirect.github.com/withastro/astro/pull/17260">/issues/17260)
14524c0Thanks@matthewp! - Fixes a regression where a<script>inside a component rendered throughAstro.slots.render()was hoisted out of its original position instead of staying next to its component contentUpdated dependencies [
eb6f97e]:7.0.5
Patch Changes
#17242](https://github.com/href="https://redirect.github.com/withastro/astro/pull/17242">/issues/17242)
9c05ba4Thanks@matthewp! - Fixes an error that could occur after the dev server restarts when using an adapter such as@astrojs/cloudflare, where a request would fail with a500referencing a missing pre-bundled dependency:The file does not exist at "node_modules/.vite/deps_ssr/astro_compiler-runtime.js?v=6419660d" which is in the optimize deps directory. The dependency might be incompatible with the dep optimizer. Try adding it to `optimizeDeps.exclude`.#17202](https://github.com/href="https://redirect.github.com/withastro/astro/pull/17202">/issues/17202)
c6d254dThanks@matthewp! - Refactors path alias resolution to use Vite's nativetsconfigPathsoptionThis is an internal change with no expected impact on user projects. Astro now defers tsconfig and jsconfig
pathsalias resolution to Vite, keeping a small fallback for a few CSS cases Vite does not yet handle.#17123](https://github.com/href="https://redirect.github.com/withastro/astro/pull/17123">/issues/17123)
72e29bdThanks@martrapp! - Fixes an issue where the ClientRouter wipes head elements after page transitions if the<head>contains aserver:defercomponent.#17232](https://github.com/href="https://redirect.github.com/withastro/astro/pull/17232">/issues/17232)
257505eThanks@matthewp! - Fixes a bug where<style>tags from components such as a content collection'sContentcould be silently dropped from the output when anawaitappeared before the component in an.astrofile's markup.#17193](https://github.com/href="https://redirect.github.com/withastro/astro/pull/17193">/issues/17193)
a7352fdThanks@jan-kubica! - Fixes the background dev server failing to start whenastrois hoisted outside the project'snode_modules(for example bun workspaces). The background process is now spawned from Astro's own resolved location instead of a path assumed under the project root.
... (truncated)
a86160e [ci] release (#17256](https://github.com/href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/17256">/issues/17256))f94280d Fix route generator throwing on a dynamic param value of 0 (#17247](https://github.com/href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/17247">/issues/17247))6f11739 fix(css): use raw module ID for virtual CSS cache lookup in dev mode (#17267](https://github.com/href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/17267">/issues/17267))...26c68f6 [ci] format2aeaa44 Fix inferSize for remote images in the Picture component (#17279](https://github.com/href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/17279">/issues/17279))b428648 Resolve extensionless imports in island component paths (#17272](https://github.com/href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/17272">/issues/17272))14524c0 Keep component scripts in place when rendered via Astro.slots.render() (#17260](https://github.com/href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/17260">/issues/17260))8c3579b fix: add render() type overload for live collection entries (#16688](https://github.com/href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/16688">/issues/16688)) (#17274](https://github.com/href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/17274">/issues/17274))94dd2aa [ci] format5240e26 Validate attribute names on custom HTML elements during SSR (#17251](https://github.com/href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/17251">/issues/17251))Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Originally posted by: cloudflare-workers-and-pages[bot]
Deploying gitdesktop with
Cloudflare Pages
5ad6dfdView logs