Skip to content

fix(deps): update dependency astro to v6.2.2#1636

Merged
lacolaco-actions-worker[bot] merged 1 commit into
mainfrom
renovate/@astrojs-packages
May 9, 2026
Merged

fix(deps): update dependency astro to v6.2.2#1636
lacolaco-actions-worker[bot] merged 1 commit into
mainfrom
renovate/@astrojs-packages

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented May 9, 2026

This PR contains the following updates:

Package Change Age Confidence
astro (source) 6.2.16.2.2 age confidence

Release Notes

withastro/astro (astro)

v6.2.2

Compare Source

Patch Changes
  • #​16292 00f48ee Thanks @​p-linnane! - Fixes head metadata propagation in dev for adapters that load modules in the prerender Vite environment, such as @astrojs/cloudflare. The astro:head-metadata plugin previously only tracked the ssr environment, so maybeRenderHead() could fire inside an unrelated component's <template> element, trapping subsequent hoisted <style> blocks.

  • #​16451 778865f Thanks @​maximslo! - Fixes build crash when processing animated AVIF images. Sharp now gracefully passes through unsupported image formats instead of crashing during the build.

  • #​16548 7214d3e Thanks @​senutpal! - Fixes scoped styles applying to the wrong element when vite.css.transformer is set to 'lightningcss' and a selector uses a nested & inside :where(...), such as Tailwind v4's space-x-*, space-y-*, and divide-* utilities.

  • #​16566 9ac96b4 Thanks @​web-dev0521! - Fixes data-astro-prefetch="tap" not triggering when clicking nested elements (e.g. <span>, <img>, <svg>) inside an anchor tag.

  • #​15994 1e70d18 Thanks @​ossaidqadri! - Fix <style> compilation failure when importing Astro components via tsconfig path aliases

  • #​16144 1cd6650 Thanks @​fkatsuhiro! - Fixed a regression where .html was unexpectedly stripped from dynamic route parameters on non-page routes (.ts endpoints and redirects). This caused endpoints like /some/[...id].ts returning id: 'file.html' on getStaticPaths to not serve that file because the generated route (/some/file.html) would get matched as id: file that is not part of the list returned by getStaticPaths.

  • #​16415 559c0fd Thanks @​0xbejaxer! - Fix CSS traversal boundaries so pages with export const partial = true still contribute styles when imported as components by other pages.

  • #​16516 17f1867 Thanks @​fkatsuhiro! - Fixes an issue where the index route would return a 404 error when using a custom base path combined with trailingSlash: 'never'. This ensures that the home page and internal rewrites are correctly matched under these configurations.

  • #​16515 280ec88 Thanks @​jp-knj! - Fixes an issue where i18n.fallback pages with fallbackType: 'rewrite' were emitted with empty bodies during astro build.

  • #​16565 7959798 Thanks @​enjoyandlove! - Fixes session persistence when session.delete() is the first mutation in a request (no prior get, set, has, or keys). The session was marked dirty in memory, but persistence skipped the save because #data stayed undefined, so the backing store could still return the deleted key on the next request.

  • #​16527 86fd80d Thanks @​enjoyandlove! - Prevents script deduplication state from being consumed while rendering inert <template> contexts.

  • #​16540 e59c637 Thanks @​ascorbic! - Skips session storage reads when no session cookie is present. Previously, calling session.get() on a request without a session cookie would initialize the storage driver and make a read that was guaranteed to miss. On network-backed drivers this added latency and resource usage to every anonymous request.

  • #​16517 6ab0b3c Thanks @​adamchal! - Removes inline CSS for prerendered routes from the SSR manifest. The static HTML on disk already inlines those styles, and the SSR worker never renders prerendered routes, so the data was dead weight. Builds with many prerendered routes and build.inlineStylesheets: "always" (or "auto" with small stylesheets) will see a smaller SSR entry chunk, which reduces cold-start parse time on platforms like Cloudflare Workers.

  • #​16509 d3d3557 Thanks @​cyphercodes! - Fix conditional named slot callbacks receiving arguments from Astro.slots.render().

  • #​16236 c6b068e Thanks @​fkatsuhiro! - Fixes the position prop on <Image /> and <Picture /> components to correctly apply object-position styles

  • #​16018 d14f47c Thanks @​felmonon! - Fix defineLiveCollection() so LiveLoader data types declared as interfaces are accepted.


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 9, 2026

Renovate PR Review Results

⚖️ Safety Assessment: ✅ Safe

🔍 Release Content Analysis

This is a patch release (6.2.1 → 6.2.2) containing exclusively bug fixes. No breaking changes, no new APIs, no migration steps required.

Bug fixes included:

  • [#16292] Head metadata propagation in dev for prerender Vite environment (Cloudflare adapter — not used in this project)
  • [#16451] Build crash when processing animated AVIF images — not relevant (no AVIF in this project)
  • [#16548] Scoped styles applying to wrong element when vite.css.transformer = 'lightningcss' and selectors use nested & inside :where(...)potentially relevant (project uses Tailwind v4 + lightningcss)
  • [#16566] data-astro-prefetch="tap" not triggering on nested elements — not used
  • [#15994] <style> compilation failure when importing Astro components via tsconfig path aliases — potentially relevant (project uses tsconfig path aliases: @lib/notion, @lib/post, etc.)
  • [#16144] .html stripped from dynamic route parameters on non-page routes — not applicable (static output)
  • [#16415] CSS traversal for pages with export const partial = true — not used
  • [#16516] Index route 404 with custom base path + trailingSlash: 'never' — not used
  • [#16515] i18n.fallback pages with fallbackType: 'rewrite' emitted with empty bodies — not used (project uses i18n without fallback rewrites)
  • [#16565] Session delete() persistence bug — sessions not used
  • [#16527] Script deduplication in <template> contexts — internal fix
  • [#16540] Unnecessary session storage reads on anonymous requests — sessions not used
  • [#16517] Inline CSS for prerendered routes removed from SSR manifest — optimization (project uses static output with node adapter)
  • [#16509] Named slot callbacks with Astro.slots.render() — not relevant
  • [#16236] position prop on <Image /> / <Picture /> — not used
  • [#16018] defineLiveCollection() / LiveLoader interface types — not used

Internal dependency changes (pnpm-lock.yaml):

  • tsconfck@3.1.6 removed; replaced by get-tsconfig@5.0.0-beta.4 + jsonc-parser@3.3.1 (internal Astro dependency shift)

🎯 Impact Scope Investigation

Directly relevant fixes for this project:

  1. Tailwind v4 + lightningcss scoped styles fix (#16548): This project uses tailwindcss@4.2.4 with @tailwindcss/vite. The fix corrects scoped styles being applied to wrong elements — this is a correctness improvement that benefits this project.

  2. tsconfig path aliases <style> compilation (#15994): This project defines path aliases (@lib/notion, @lib/post, @lib/i18n, @lib/query, @lib/markdown) in tsconfig.json. The fix prevents potential style compilation failures when importing Astro components via these aliases.

No impact from:

  • Session-related fixes (no session usage)
  • Cloudflare/AVIF/SSR-specific fixes (project is static with Node adapter)
  • i18n fallback rewrite fix (project uses i18n without fallback rewrites)

PR diff scope: Changes are limited to package.json (version bump 6.2.16.2.2) and pnpm-lock.yaml (lockfile regeneration). No application code changes.

💡 Recommended Actions

  • No migration steps required. This is a drop-in patch update.
  • Merge as-is. The two bug fixes relevant to this project (Tailwind v4 lightningcss scoped styles, tsconfig alias style compilation) are improvements with no risk of regression.

🔗 Reference Links

Generated by koki-develop/claude-renovate-review

@lacolaco-actions-worker lacolaco-actions-worker Bot merged commit d360f6d into main May 9, 2026
15 checks passed
@lacolaco-actions-worker lacolaco-actions-worker Bot deleted the renovate/@astrojs-packages branch May 9, 2026 17:26
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 9, 2026

🚀 Preview deployment ready!

✅ Preview URL: https://pr-1636---web-njpdbbjcea-an.a.run.app
📝 Commit SHA: 66c5b42 (view commit)

This comment was automatically generated by the deploy-preview workflow.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants