Skip to content

chore(deps): bump astro from 5.17.3 to 6.4.8#1341

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/astro-6.4.7
Open

chore(deps): bump astro from 5.17.3 to 6.4.8#1341
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/astro-6.4.7

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 16, 2026

Copy link
Copy Markdown
Contributor

Bumps astro from 5.17.3 to 6.4.8.

Release notes

Sourced from astro's releases.

astro@6.4.8

Patch Changes

astro@6.4.7

Patch Changes

  • #17035 197e50e Thanks @​astrobot-houston! - Fixes getRelativeLocaleUrl, getAbsoluteLocaleUrl, and getAbsoluteLocaleUrlList to strip trailing slashes when trailingSlash: 'never' is configured

  • #16967 3719765 Thanks @​astrobot-houston! - Fixes double URL-encoded paths returning 400 Bad Request on on-demand routes

    Previously, any URL containing a double-encoded character (like %255B, which is [ encoded twice) was unconditionally rejected with a 400 Bad Request before middleware or route handlers could run. This broke embedded tools like Sanity Studio whose client-side router legitimately produces double-encoded URLs.

    The fix replaces the rejection approach with iterative decoding — multi-level percent-encoding is now fully resolved to its canonical form before being passed to middleware and route matching. This preserves the security fix for CVE-2025-66202 (middleware authorization bypass via double encoding) because middleware now always sees the fully decoded path, making bypass impossible. For example, /api/%2561dmin is decoded to /api/admin, which middleware can correctly block.

  • #17066 2f4d92a Thanks @​matthewp! - Fixes prerendered redirect targets being incorrectly bundled into the SSR function in hybrid mode, causing massive bundle size inflation

  • #16882 621beb7 Thanks @​jettwayio! - fix(render): honour compressHTML when joining head elements

  • #16892 8d753b0 Thanks @​astrobot-houston! - Fixes custom elements in MDX having their children's slot attribute stripped by the JSX runtime

    When custom elements (tags with hyphens like <my-element>) are used in MDX files, the slot HTML attribute on their children is now correctly preserved. Previously, the shared JSX runtime would treat slot as an Astro slot assignment and remove it from the output, breaking Shadow DOM named slot distribution for web components.

  • #16957 544ee76 Thanks @​thelazylamaGit! - Fixes stale inline CSS in server-rendered HTML after CSS file edits during dev

    When editing a CSS file (.css, .scss, etc.) during development, the inline <style> tags in server-rendered HTML would retain old CSS content instead of updating. This caused a brief flash of old CSS (FOUC) on fresh page loads before Vite's client-side HMR corrected the styles.

    The fix ensures that Astro's per-route dev CSS virtual modules are invalidated in both the SSR module graph and the module runner's evaluation cache when a style file changes, so the next page render picks up the fresh CSS.

  • #17044 2220d22 Thanks @​astrobot-houston! - Fixes CSS from client:only islands leaking to unrelated pages when Rollup bundles non-CSS-importing modules into the same chunk as CSS-importing modules

  • #17040 7c4763d Thanks @​astrobot-houston! - Fixes HMR not triggering for files inside the src/middleware/ directory during dev

  • #16672 52fc862 Thanks @​martinheidegger! - Fixes support for numeric IDs in YAML frontmatter when using content collection references

  • #16762 9de80ae Thanks @​alexanderdombroski! - Adds a JSON schema to the Wrangler configuration file generated when running astro add cloudflare

  • #17046 ef771ec Thanks @​ematipico! - Improves the diagnostics emitted when Astro parses incorrect .astro files.

astro@6.4.6

Patch Changes

  • #16765 b10e86e Thanks @​fkatsuhiro! - Fixes an issue where renaming an image file while the dev server is running triggers a build error. Now Astro correctly hot-reloads the image without crashing.

  • #17026 add3df1 Thanks @​matthewp! - Hardens addAttribute to drop attribute names containing characters that are invalid per the HTML spec (", ', >, /, =, whitespace)

  • #17033 ffda27b Thanks @​matthewp! - Validates the request origin against allowedDomains before fetching prerendered error pages. When allowedDomains is configured and the Host header matches, the original origin is used. Otherwise, the fetch falls back to localhost.

astro@6.4.5

... (truncated)

Changelog

Sourced from astro's changelog.

6.4.8

Patch Changes

6.4.7

Patch Changes

  • #17035 197e50e Thanks @​astrobot-houston! - Fixes getRelativeLocaleUrl, getAbsoluteLocaleUrl, and getAbsoluteLocaleUrlList to strip trailing slashes when trailingSlash: 'never' is configured

  • #16967 3719765 Thanks @​astrobot-houston! - Fixes double URL-encoded paths returning 400 Bad Request on on-demand routes

    Previously, any URL containing a double-encoded character (like %255B, which is [ encoded twice) was unconditionally rejected with a 400 Bad Request before middleware or route handlers could run. This broke embedded tools like Sanity Studio whose client-side router legitimately produces double-encoded URLs.

    The fix replaces the rejection approach with iterative decoding — multi-level percent-encoding is now fully resolved to its canonical form before being passed to middleware and route matching. This preserves the security fix for CVE-2025-66202 (middleware authorization bypass via double encoding) because middleware now always sees the fully decoded path, making bypass impossible. For example, /api/%2561dmin is decoded to /api/admin, which middleware can correctly block.

  • #17066 2f4d92a Thanks @​matthewp! - Fixes prerendered redirect targets being incorrectly bundled into the SSR function in hybrid mode, causing massive bundle size inflation

  • #16882 621beb7 Thanks @​jettwayio! - fix(render): honour compressHTML when joining head elements

  • #16892 8d753b0 Thanks @​astrobot-houston! - Fixes custom elements in MDX having their children's slot attribute stripped by the JSX runtime

    When custom elements (tags with hyphens like <my-element>) are used in MDX files, the slot HTML attribute on their children is now correctly preserved. Previously, the shared JSX runtime would treat slot as an Astro slot assignment and remove it from the output, breaking Shadow DOM named slot distribution for web components.

  • #16957 544ee76 Thanks @​thelazylamaGit! - Fixes stale inline CSS in server-rendered HTML after CSS file edits during dev

    When editing a CSS file (.css, .scss, etc.) during development, the inline <style> tags in server-rendered HTML would retain old CSS content instead of updating. This caused a brief flash of old CSS (FOUC) on fresh page loads before Vite's client-side HMR corrected the styles.

    The fix ensures that Astro's per-route dev CSS virtual modules are invalidated in both the SSR module graph and the module runner's evaluation cache when a style file changes, so the next page render picks up the fresh CSS.

  • #17044 2220d22 Thanks @​astrobot-houston! - Fixes CSS from client:only islands leaking to unrelated pages when Rollup bundles non-CSS-importing modules into the same chunk as CSS-importing modules

  • #17040 7c4763d Thanks @​astrobot-houston! - Fixes HMR not triggering for files inside the src/middleware/ directory during dev

  • #16672 52fc862 Thanks @​martinheidegger! - Fixes support for numeric IDs in YAML frontmatter when using content collection references

  • #16762 9de80ae Thanks @​alexanderdombroski! - Adds a JSON schema to the Wrangler configuration file generated when running astro add cloudflare

  • #17046 ef771ec Thanks @​ematipico! - Improves the diagnostics emitted when Astro parses incorrect .astro files.

6.4.6

Patch Changes

  • #16765 b10e86e Thanks @​fkatsuhiro! - Fixes an issue where renaming an image file while the dev server is running triggers a build error. Now Astro correctly hot-reloads the image without crashing.

  • #17026 add3df1 Thanks @​matthewp! - Hardens addAttribute to drop attribute names containing characters that are invalid per the HTML spec (", ', >, /, =, whitespace)

... (truncated)

Commits

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Jun 16, 2026
@simple-agent-manager

Copy link
Copy Markdown
Contributor

Reviewed locally after #1340 merged. This PR is blocked as a standalone Astro upgrade: \undefined
 ERR_PNPM_RECURSIVE_EXEC_FIRST_FAIL  Command "typecheck" not found

Did you mean "pnpm typecheck"? passed, but \undefined
 ERR_PNPM_RECURSIVE_EXEC_FIRST_FAIL  Command "build" not found

Did you mean "pnpm build"? and \undefined
 ERR_PNPM_RECURSIVE_EXEC_FIRST_FAIL  Command "test" not found

Did you mean "pnpm test"? fail in \ because current \ is incompatible with \ (error: ). This needs to be combined/rebased with the Starlight upgrade before it can be merged.

@simple-agent-manager

Copy link
Copy Markdown
Contributor

Reviewed locally after #1340 merged.

This PR is blocked as a standalone Astro upgrade: pnpm typecheck passed, but pnpm build and pnpm test fail in @simple-agent-manager/www#build because current @astrojs/starlight@0.37.7 is incompatible with astro@6.4.7.

Observed error:

options.starlightConfig.markdown.processedDirs is not iterable

This needs to be combined/rebased with the Starlight upgrade before it can be merged.

@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/astro-6.4.7 branch 2 times, most recently from 26e9194 to 83de48c Compare June 17, 2026 04:45
Bumps [astro](https://github.com/withastro/astro/tree/HEAD/packages/astro) from 5.17.3 to 6.4.8.
- [Release notes](https://github.com/withastro/astro/releases)
- [Changelog](https://github.com/withastro/astro/blob/astro@6.4.8/packages/astro/CHANGELOG.md)
- [Commits](https://github.com/withastro/astro/commits/astro@6.4.8/packages/astro)

---
updated-dependencies:
- dependency-name: astro
  dependency-version: 6.4.7
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot changed the title chore(deps): bump astro from 5.17.3 to 6.4.7 chore(deps): bump astro from 5.17.3 to 6.4.8 Jun 19, 2026
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/astro-6.4.7 branch from 83de48c to c98546c Compare June 19, 2026 06:11
@sonarqubecloud

Copy link
Copy Markdown

@codspeed-hq

codspeed-hq Bot commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

Merging this PR will not alter performance

✅ 6 untouched benchmarks


Comparing dependabot/npm_and_yarn/astro-6.4.7 (c98546c) with main (8736c13)

Open in CodSpeed

@simple-agent-manager

Copy link
Copy Markdown
Contributor

Re-reviewed locally on 2026-06-20 against PR head c98546c6 in /workspaces/sam-pr-1341.

Local verification:

  • pnpm install --frozen-lockfile passed.
  • pnpm typecheck passed.
  • pnpm build failed in @simple-agent-manager/www#build.
  • pnpm test also failed because the @simple-agent-manager/www#build dependency fails.

Failure:

[@astrojs/starlight] An unhandled error occurred while running the "astro:config:setup" hook
options.starlightConfig.markdown.processedDirs is not iterable

The installed dependency set is astro@6.4.8 with current @astrojs/starlight@0.37.7, and that combination is still incompatible. This PR is not merge-ready as a standalone Astro upgrade; I did not deploy to staging or merge because local build/test gates fail.

@simple-agent-manager

Copy link
Copy Markdown
Contributor

Re-reviewed locally on 2026-06-22 against PR head c98546c6.

Local verification:

  • pnpm install --frozen-lockfile passed.
  • pnpm typecheck passed.
  • pnpm --filter @simple-agent-manager/www build failed.

Failure:

[@astrojs/starlight] An unhandled error occurred while running the "astro:config:setup" hook
options.starlightConfig.markdown.processedDirs is not iterable

This PR is still not merge-ready as a standalone Astro upgrade because the installed set is astro@6.4.8 with @astrojs/starlight@0.37.7, and that pair is incompatible. I did not deploy to staging or merge because the local build gate fails.

@simple-agent-manager

Copy link
Copy Markdown
Contributor

Reviewed locally during Dependabot sweep. Leaving this open: after merging over current main and installing with the PR lockfile, pnpm typecheck passes, but pnpm --filter @simple-agent-manager/www build fails during Astro config setup. Error: options.starlightConfig.markdown.processedDirs is not iterable from @astrojs/starlight@0.37.7 under astro@6.4.8. This needs a coordinated Starlight-compatible Astro upgrade rather than merging the Astro bump alone.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants