Skip to content

chore(deps): Bump astro from 6.4.8 to 7.2.0 - #160

Merged
tbantle22 merged 3 commits into
devfrom
dependabot/npm_and_yarn/astro-7.2.0
Aug 14, 2026
Merged

chore(deps): Bump astro from 6.4.8 to 7.2.0#160
tbantle22 merged 3 commits into
devfrom
dependabot/npm_and_yarn/astro-7.2.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 13, 2026

Copy link
Copy Markdown
Contributor

Bumps astro from 6.4.8 to 7.2.0.

Release notes

Sourced from astro's releases.

astro@7.2.0

Minor Changes

  • #17174 0224a3a Thanks @​matthewp! - Adds the astro preview --background flag to start preview servers as background processes.

    This makes preview servers easier to manage from scripts and AI coding agents because the command returns after the server is ready instead of keeping the terminal attached to the long-running process.

    astro preview --background

    When a preview server is running in the background, you can inspect or stop it with new astro preview subcommands:

    astro preview status
    astro preview logs
    astro preview logs --follow
    astro preview stop

    If Astro detects that astro preview is being run by an AI coding agent, background mode is enabled automatically. This matches the existing behavior for astro dev, allowing agents to continue working after the preview server starts while still receiving the server URL and process ID.

    To opt out of automatic background mode for preview servers, set ASTRO_PREVIEW_BACKGROUND=0 before running astro preview.

  • #17532 7f94895 Thanks @​florian-lefebvre! - Adds support for paths relative to your project root in logger.entrypoint

    Previously, pointing logger.entrypoint at a custom log handler living in your own project required building an absolute URL. You can now write the path directly:

    // astro.config.mjs
    import { defineConfig } from 'astro/config';
    export default defineConfig({
    logger: {
    
    entrypoint: new URL('./src/logger.js', import.meta.url),
    
    
    entrypoint: './src/logger.js',
    },
    });

Paths starting with ./ or ../ are resolved against your project root. Package specifiers such as @org/astro-logger, absolute paths, and URL entrypoints keep working as before.

  • #17084 961bbe5 Thanks @​matthewp! - Widens the AstroPrerenderer render() return type so prerenderers can report incremental-build metadata

    A prerenderer's render() may now resolve to either a Response (as before) or a PrerenderResult object that pairs the response with the content entries and optimized-image transforms the page resolved. This lets prerenderers that render out of process (for example, in an adapter's runtime like workerd) report those dependencies back to the build, so incremental static builds can track and replay them for skipped pages.

    import type { AstroPrerenderer, PrerenderResult } from 'astro';
    const prerenderer: AstroPrerenderer = {

  • ... (truncated)

    Changelog

    Sourced from astro's changelog.

    7.2.0

    Minor Changes

    • #17174 0224a3a Thanks @​matthewp! - Adds the astro preview --background flag to start preview servers as background processes.

      This makes preview servers easier to manage from scripts and AI coding agents because the command returns after the server is ready instead of keeping the terminal attached to the long-running process.

      astro preview --background

      When a preview server is running in the background, you can inspect or stop it with new astro preview subcommands:

      astro preview status
      astro preview logs
      astro preview logs --follow
      astro preview stop

      If Astro detects that astro preview is being run by an AI coding agent, background mode is enabled automatically. This matches the existing behavior for astro dev, allowing agents to continue working after the preview server starts while still receiving the server URL and process ID.

      To opt out of automatic background mode for preview servers, set ASTRO_PREVIEW_BACKGROUND=0 before running astro preview.

    • #17532 7f94895 Thanks @​florian-lefebvre! - Adds support for paths relative to your project root in logger.entrypoint

      Previously, pointing logger.entrypoint at a custom log handler living in your own project required building an absolute URL. You can now write the path directly:

      // astro.config.mjs
      import { defineConfig } from 'astro/config';
      export default defineConfig({
      logger: {
      
      entrypoint: new URL('./src/logger.js', import.meta.url),
      
      
      entrypoint: './src/logger.js',
      },
      });

    Paths starting with ./ or ../ are resolved against your project root. Package specifiers such as @org/astro-logger, absolute paths, and URL entrypoints keep working as before.

  • #17084 961bbe5 Thanks @​matthewp! - Widens the AstroPrerenderer render() return type so prerenderers can report incremental-build metadata

    A prerenderer's render() may now resolve to either a Response (as before) or a PrerenderResult object that pairs the response with the content entries and optimized-image transforms the page resolved. This lets prerenderers that render out of process (for example, in an adapter's runtime like workerd) report those dependencies back to the build, so incremental static builds can track and replay them for skipped pages.

    import type { AstroPrerenderer, PrerenderResult } from 'astro';

  • ... (truncated)

    Commits

    @dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Aug 13, 2026
    @dependabot
    dependabot Bot requested a review from tbantle22 as a code owner August 13, 2026 19:11
    @dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Aug 13, 2026
    Bumps [astro](https://github.com/withastro/astro/tree/HEAD/packages/astro) from 6.4.8 to 7.2.0.
    - [Release notes](https://github.com/withastro/astro/releases)
    - [Changelog](https://github.com/withastro/astro/blob/main/packages/astro/CHANGELOG.md)
    - [Commits](https://github.com/withastro/astro/commits/astro@7.2.0/packages/astro)
    
    ---
    updated-dependencies:
    - dependency-name: astro
      dependency-version: 7.2.0
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    @dependabot
    dependabot Bot force-pushed the dependabot/npm_and_yarn/astro-7.2.0 branch from 6ab4ba2 to e8947ca Compare August 13, 2026 21:12
    tbantle22 and others added 2 commits August 13, 2026 14:33
    Astro 7 (with Vite 8 and the Rust compiler) alongside the integration and
    config changes it requires.
    
    @astrojs/react 5.0.1 -> 6.0.2.
    
    @astrojs/tailwind is removed rather than upgraded: its latest release (6.0.2)
    declares `astro: ^3 || ^4 || ^5`, so it never supported Astro 6 either and is
    effectively unmaintained — it only resolved at all because .npmrc sets
    legacy-peer-deps. Astro runs <style> blocks and imported CSS through PostCSS on
    its own, so Tailwind is wired up there instead: a shared buildPostcssConfig with
    a thin per-site postcss.config.mjs, mirroring how tailwind.config.mjs already
    works. The integration also injected the @tailwind directives, which now live in
    shared/styles/global.css and are imported once by DocsLayout. postcss and
    autoprefixer become direct dependencies, having been transitive through the
    integration. Tailwind itself stays on v3 — v4 is its own major migration.
    
    @astrojs/markdown-remark becomes a direct dependency. Astro 7 switches the
    default Markdown pipeline to Sätteri and no longer installs the remark/rehype
    package, but shared/config/astro.mjs already passes `processor: unified(...)`,
    so the existing remark/rehype plugin chain keeps working untouched — it just
    needs the package declared.
    
    compressHTML is pinned to true. Astro 7 changed the default to 'jsx', which
    strips whitespace between inline elements the way React does; docs pages are
    almost entirely prose, so that would drop spaces around inline <code> and <em>.
    
    Not affected: no astro:transitions usage, no getContainerRenderer imports, no
    experimental flags, and no src/fetch.ts (newly reserved).
    
    Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
    Conflicts came from PR #166 (@dolthub 0.4.3 + the react-icons swap) landing on
    dev while this branch changed the same files. All resolved as unions:
    
    - site/*/package.json: dev's @dolthub/react-components 0.4.3, react-hooks 0.3.1,
      and react-icons (replacing @react-icons/all-files) plus this branch's astro
      7.2.0, @astrojs/react 6.0.2, @astrojs/markdown-remark, postcss/autoprefixer,
      and the removal of @astrojs/tailwind.
    - DocsLayout.astro: keeps the global.css import this branch added and dev's
      corrected "react-icons" wording in the client:only comment.
    - package-lock.json: regenerated with npm install rather than hand-merged.
    
    Verified after resolving: tsc clean, all three sites build (196/78/79 pages),
    Tailwind still emits preflight and compiled @apply rules, and 90/90 Cypress
    specs pass.
    
    Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
    @tbantle22
    tbantle22 merged commit b704c7c into dev Aug 14, 2026
    7 checks passed
    @tbantle22
    tbantle22 deleted the dependabot/npm_and_yarn/astro-7.2.0 branch August 14, 2026 17:50
    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

    Projects

    None yet

    Development

    Successfully merging this pull request may close these issues.

    1 participant