Skip to content

fix(deps): update @astrojs packages - #1769

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

lacolaco-actions-worker[bot] merged 1 commit into
mainfrom
renovate/@astrojs-packages

Conversation

@renovate

@renovate renovate Bot commented Jun 2, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
@astrojs/node (source) 10.1.1 → 10.1.2 age confidence
@astrojs/react (source) 5.0.5 → 5.0.6 age confidence
astro (source) 6.3.8 → 6.4.0 age confidence

Release Notes

withastro/astro (@​astrojs/node)

v10.1.2

Compare Source

Patch Changes
withastro/astro (@​astrojs/react)

v5.0.6

Compare Source

Patch Changes
withastro/astro (astro)

v6.4.0

Compare Source

Minor Changes
  • #​16468 4cff3a1 Thanks @​matthewp! - Adds a new preserveBuildServerDir adapter feature

    Adapters can now set preserveBuildServerDir: true in their adapter features to keep the dist/server/ directory structure for static builds, mirroring the existing preserveBuildClientDir option. This is useful for adapters that require a consistent dist/client/ and dist/server/ layout regardless of build output type.

    setAdapter({
      name: 'my-adapter',
      adapterFeatures: {
        buildOutput,
        preserveBuildClientDir: true,
        preserveBuildServerDir: true,
      },
    });
  • #​16848 f732f3c Thanks @​Princesseuh! - Adds a new markdown.processor configuration option, allowing you to choose an alternative Markdown processor.

    Websites with many Markdown/MDX files tend to be slow to build because the unified ecosystem (e.g., remark, rehype) is slow to process. This feature introduces the ability to replace this part of the build pipeline with another processor.

    The default processor is unified(). This means that existing configurations remain unchanged and your remark/rehype plugins continue to work.

    // astro.config.mjs
    import { defineConfig } from 'astro/config';
    import { unified } from '@​astrojs/markdown-remark';
    import remarkToc from 'remark-toc';
    
    export default defineConfig({
      markdown: {
        processor: unified({
          remarkPlugins: [remarkToc],
        }),
      },
    });

    In addition to this new configuration option, Astro provides a new alternative processor based on Rust: Sätteri. You can choose to use it now by installing @astrojs/markdown-satteri, importing the satteri() processor, and adapting your existing configuration:

    // astro.config.mjs
    import { defineConfig } from 'astro/config';
    import { satteri } from '@​astrojs/markdown-satteri';
    
    export default defineConfig({
      markdown: {
        processor: satteri({
          features: { directive: true },
        }),
      },
    });

    This processor does not support the remark and rehype plugins. This means you may need to convert them to MDAST or HAST plugins to retain your current functionality.

    The existing top-level markdown.remarkPlugins, markdown.rehypePlugins, markdown.remarkRehype, markdown.gfm, and markdown.smartypants options still work, but are now deprecated and will be removed in a future major update. The matching remarkPlugins, rehypePlugins, and remarkRehype options on the MDX integration are also deprecated for the same reason. To anticipate their removal, move them onto unified({...}) (or your preferred plugin processor) :

    // astro.config.mjs
    import { defineConfig } from 'astro/config';
    import remarkToc from 'remark-toc';
    import rehypeSlug from 'rehype-slug';
    + import { unified } from '@​astrojs/markdown-remark';
    
    export default defineConfig({
      markdown: {
    +    processor: unified({
    +      remarkPlugins: [remarkToc],
    +      rehypePlugins: [rehypeSlug],
    +      remarkRehype: true,
    +      gfm: true,
    +      smartypants: true,
    +    }),
    -    remarkPlugins: [remarkToc],
    -    rehypePlugins: [rehypeSlug],
    -    remarkRehype: true,
    -    gfm: true,
    -    smartypants: true,
      },
    });

    For more information on enabling and using this feature in your project, see our Markdown guide. To give feedback on this new Rust processor, see the Native Markdown / MDX parsing and processing RFC.

Patch Changes
  • #​16468 4cff3a1 Thanks @​matthewp! - Skips the static preview server when an adapter provides its own previewEntrypoint, allowing the adapter to handle both static and dynamic routes

  • #​16811 e0e26db Thanks @​matthewp! - Fixes X-Forwarded-Host and X-Forwarded-Proto headers being ignored when set in a custom src/app.ts fetch handler before creating FetchState

  • #​16468 4cff3a1 Thanks @​matthewp! - Fixes the static preview server to respect preserveBuildClientDir, serving files from build.client instead of outDir when the adapter requires it

  • #​16770 1e2aa11 Thanks @​matthewp! - Fixes a race condition where the Vite dep optimizer could lose React dependencies in dev mode when using Astro Actions

  • #​16468 4cff3a1 Thanks @​matthewp! - Exempts internal routes (e.g. server islands) from getStaticPaths() validation, fixing server island rendering on static sites

  • #​16468 4cff3a1 Thanks @​matthewp! - Fixes preview for static sites that contain non-prerendered routes. Previously, the preview command ignored SSR routes discovered during route scanning and always used the static preview server.

  • Updated dependencies [f732f3c, f732f3c]:


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.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • 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

github-actions Bot commented Jun 2, 2026 •

Copy link
Copy Markdown
Contributor

Renovate PR Review Results

⚖️ Safety Assessment: ✅ Safe

🔍 Release Content Analysis

astro 6.3.8 → 6.4.0 (Minor)

  • 新機能: markdown.processor 設定オプションを追加。Rust製の高速プロセッサ Sätteri (@astrojs/markdown-satteri) を選択可能に
  • 非推奨化 (Deprecation): 以下のトップレベル markdown.* オプションが非推奨になったが、まだ動作する (削除は将来のメジャーバージョン):
    • markdown.remarkPlugins
    • markdown.rehypePlugins
    • markdown.remarkRehype
    • markdown.gfm
    • markdown.smartypants
  • バグ修正: X-Forwarded-Host/X-Forwarded-Proto ヘッダーの無視バグ修正、React依存関係のレースコンディション修正、static siteのサーバーアイランドレンダリング修正など

@astrojs/node 10.1.1 → 10.1.2 (Patch)

  • @astrojs/internal-helpers@0.10.0 への依存更新のみ。実質的な変更なし

@astrojs/react 5.0.5 → 5.0.6 (Patch)

  • @astrojs/internal-helpers@0.10.0 への依存更新のみ。実質的な変更なし

🎯 Impact Scope Investigation

astro.config.ts での非推奨オプション使用状況:

プロジェクトは非推奨化された以下のオプションを使用している:

  • markdown.gfm: true
  • markdown.remarkPlugins: [remarkBreaks, remarkMath, remarkEmbed](カスタムプラグイン含む)
  • markdown.rehypePlugins: [rehypeExtractVideoHtml, rehypeGithubEmoji, rehypeGithubAlert, rehypeKatex, [rehypeMermaid, ...], rehypeImageCdn](カスタムプラグイン含む)

ただし、これらは 6.4.0 では削除されておらず、引き続き動作する。非推奨警告が出る可能性があるが、ビルドエラーにはならない。

カスタムプラグインの互換性:

  • tools/remark-embed/ - unified plugin API準拠、互換性あり
  • tools/rehype-extract-video-html/ - unified plugin API準拠、互換性あり
  • tools/rehype-image-cdn/ - unified plugin API準拠、互換性あり

依存関係への影響:

  • @astrojs/internal-helpers が 0.9.x → 0.10.0 に更新(内部実装のみ)
  • @astrojs/markdown-remark が 7.1.x → 7.2.0 に更新(内部リファクタリングのみ)
  • shiki 系パッケージが 4.0.x → 4.1.0 に更新(シンタックスハイライト改善)

💡 Recommended Actions

  • 即時対応不要: 破壊的変更なし。そのままマージ可能
  • 将来の対応: Astro 7.x のリリースに向けて、非推奨オプションを markdown.processor: unified({...}) 形式へ移行する計画を立てておくことを推奨(現時点では任意)
// 将来の移行例(今すぐ対応不要)
import { unified } from '@astrojs/markdown-remark';

export default defineConfig({
  markdown: {
    syntaxHighlight: { ... }, // 継続利用可能
    shikiConfig: { ... },      // 継続利用可能
    processor: unified({
      remarkPlugins: [remarkBreaks, remarkMath, remarkEmbed],
      rehypePlugins: [...],
      gfm: true,
    }),
  },
});

🔗 Reference Links

Generated by koki-develop/claude-renovate-review

@lacolaco-actions-worker
lacolaco-actions-worker Bot enabled auto-merge (squash) June 2, 2026 11:06
@github-actions

github-actions Bot commented Jun 2, 2026 •

Copy link
Copy Markdown
Contributor

🚀 Preview deployment ready!

✅ Preview URL: https://pr-1769---web-njpdbbjcea-an.a.run.app
📝 Commit SHA: 7f4172a (view commit)

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

@renovate
renovate Bot force-pushed the renovate/@astrojs-packages branch from 5756e75 to 7f4172a Compare June 2, 2026 11:16
@renovate
renovate Bot temporarily deployed to development June 2, 2026 11:16 Inactive
@lacolaco-actions-worker
lacolaco-actions-worker Bot merged commit 94f4d9e into main Jun 2, 2026
14 checks passed
@lacolaco-actions-worker
lacolaco-actions-worker Bot deleted the renovate/@astrojs-packages branch June 2, 2026 11:19

This branch had an error being deployed

1 failed deployment
development — 7f4172ae Deployed Jun 2, 2026 by lacolaco-actions-worker[bot] via shutdown-preview #618
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