Skip to content

deps: bump astro from 6.3.7 to 7.1.1 - #416

Merged
EricAndrechek merged 2 commits into
mainfrom
dependabot/npm_and_yarn/astro-7.1.0
Aug 10, 2026
Merged

deps: bump astro from 6.3.7 to 7.1.1#416
EricAndrechek merged 2 commits into
mainfrom
dependabot/npm_and_yarn/astro-7.1.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 21, 2026

Copy link
Copy Markdown
Contributor

Bumps astro from 6.3.7 to 7.1.1.

Release notes

Sourced from astro's releases.

astro@7.1.1

Patch Changes

astro@7.1.0

Minor Changes

  • #17302 5f4dc03 Thanks @​astrobot-houston! - Adds a new deferRender option to the glob() content loader

    When set to true, renderable entries (such as Markdown) are not rendered during content sync. Instead, rendering is deferred until the entry is actually rendered in a page, using the same on-demand path that .mdx files already use.

    This reduces memory usage during astro build for large collections whose rendered output is much larger than the source — for example, Markdown that uses heavy rehype plugins like rehype-katex. Such builds could previously run out of memory while storing the eagerly-rendered HTML for every entry.

    // src/content.config.ts
    import { defineCollection } from 'astro:content';
    import { glob } from 'astro/loaders';
    const docs = defineCollection({
    loader: glob({ pattern: '**/*.md', base: 'src/content/docs', deferRender: true }),
    });

    By default deferRender is false, preserving the existing behavior of rendering entries eagerly during sync so their rendered HTML can be cached across builds.

  • #17296 30698a2 Thanks @​ematipico! - Adds a new experimental collectionStorage option for controlling how the content layer persists its data store

    By default, Astro serializes the entire content layer data store to a single file (.astro/data-store.json). For very large content collections, this file can grow large enough to hit platform file-size limits.

    Set experimental.collectionStorage: 'chunked' to instead split the data store across many smaller, content-addressed files inside a .astro/data-store/ directory, described by a manifest:

    // astro.config.mjs
    import { defineConfig } from 'astro/config';
    export default defineConfig({
    experimental: {
    collectionStorage: 'chunked',
    },
    });

    Because each part file is named by a hash of its contents, unchanged parts keep the same name across builds and are not rewritten, and identical parts are deduplicated. The default value is 'single-file', which preserves the current behavior.

  • #17214 44c4989 Thanks @​ematipico! - Adds support for the more specific CSP directives script-src-elem, script-src-attr, style-src-elem, and style-src-attr through a new kind option.

    Previously, CSP was only scoped to generic script-src/style-src directives. Now each source or hash can be scoped to a narrower directive — for example, to allow inline style attributes (such as those from define:vars or Shiki) without loosening the policy for your <style> and <link> elements.

    Scoping sources and hashes in your config

... (truncated)

Changelog

Sourced from astro's changelog.

7.1.1

Patch Changes

7.1.0

Minor Changes

  • #17302 5f4dc03 Thanks @​astrobot-houston! - Adds a new deferRender option to the glob() content loader

    When set to true, renderable entries (such as Markdown) are not rendered during content sync. Instead, rendering is deferred until the entry is actually rendered in a page, using the same on-demand path that .mdx files already use.

    This reduces memory usage during astro build for large collections whose rendered output is much larger than the source — for example, Markdown that uses heavy rehype plugins like rehype-katex. Such builds could previously run out of memory while storing the eagerly-rendered HTML for every entry.

    // src/content.config.ts
    import { defineCollection } from 'astro:content';
    import { glob } from 'astro/loaders';
    const docs = defineCollection({
    loader: glob({ pattern: '**/*.md', base: 'src/content/docs', deferRender: true }),
    });

    By default deferRender is false, preserving the existing behavior of rendering entries eagerly during sync so their rendered HTML can be cached across builds.

  • #17296 30698a2 Thanks @​ematipico! - Adds a new experimental collectionStorage option for controlling how the content layer persists its data store

    By default, Astro serializes the entire content layer data store to a single file (.astro/data-store.json). For very large content collections, this file can grow large enough to hit platform file-size limits.

    Set experimental.collectionStorage: 'chunked' to instead split the data store across many smaller, content-addressed files inside a .astro/data-store/ directory, described by a manifest:

    // astro.config.mjs
    import { defineConfig } from 'astro/config';
    export default defineConfig({
    experimental: {
    collectionStorage: 'chunked',
    },
    });

    Because each part file is named by a hash of its contents, unchanged parts keep the same name across builds and are not rewritten, and identical parts are deduplicated. The default value is 'single-file', which preserves the current behavior.

  • #17214 44c4989 Thanks @​ematipico! - Adds support for the more specific CSP directives script-src-elem, script-src-attr, style-src-elem, and style-src-attr through a new kind option.

    Previously, CSP was only scoped to generic script-src/style-src directives. Now each source or hash can be scoped to a narrower directive — for example, to allow inline style attributes (such as those from define:vars or Shiki) without loosening the policy for your <style> and <link> elements.

... (truncated)

Commits

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Jul 21, 2026
@dependabot
dependabot Bot requested review from a team and taitelee July 21, 2026 08:34
@github-actions github-actions Bot added documentation Improvements or additions to documentation area/docs Documentation, site/, README labels Jul 21, 2026
@EricAndrechek EricAndrechek moved this from Backlog to Ready in WaveHouse Task Board Aug 3, 2026
@EricAndrechek

Copy link
Copy Markdown
Member

Why this can't merge as-is

Astro 7 alone is peer-broken against the pinned Starlight:

  • @astrojs/starlight@0.38.5 (what main resolves) peer-requires astro: ^6.0.0
  • @astrojs/starlight@0.41.x peer-requires astro: ^7.0.2

So astro and Starlight have to move in the same commit. Dependabot can't escape this on its own — it won't propose a Starlight bump while astro is on 6, and it won't pull astro 7 into the Starlight PR — which is why this has sat here since 2026-07-21.

The same knot catches two entries in #439: starlight-image-zoom@0.15.0 and starlight-links-validator@0.25.2 both require @astrojs/starlight >= 0.41. Installed against 0.38.5 the docs build dies with:

[AstroUserError] The configured 'markdown.processor' is not supported by the starlight-image-zoom plugin.

Those two are held back in #439 and ride along here instead.

What this PR needs to become

One coordinated upgrade, verified locally (not yet pushed):

Package From To
astro 6.3.7 7.1.6
@astrojs/starlight 0.38.5 0.41.6
starlight-image-zoom 0.14.2 0.15.0
starlight-links-validator 0.24.1 0.25.2

Not 7.2.0 / 0.41.7: both were published inside the minimumReleaseAge: 10080 (7-day) supply-chain cooldown in pnpm-workspace.yaml, so pnpm install rejects them with ERR_PNPM_NO_MATURE_MATCHING_VERSION. 7.1.6 and 0.41.6 are the newest that clear the window.

No source changes were needed — every other integration declares a permissive peer range (@astrojs/starlight-tailwind, @wave-rf/starlight-llm-tools, @wave-rf/astro-themed-mermaid, @wave-rf/cloudflare-md-router) and all satisfy Astro 7 / Starlight 0.41 as-is.

One lockfile fix was required: rehype-katex and rehype-mermaid had a stale @types/hast@3.0.4 pinned while Astro 7's markdown chain resolves 3.0.5. Two copies make the Root types structurally incompatible and astro check rejects the rehypePlugins array. Both packages already declare @types/hast: ^3.0.0 and are at their latest versions, so pnpm dedupe collapses them to a single 3.0.5 — no override needed.

Verification

make build-docs clean: 21 pages, all internal links valid, 68 diagram PNGs rendered, pagefind index built.

Follow-up (not in this PR)

Astro 7 deprecates markdown.remarkPlugins / markdown.rehypePlugins / markdown.remarkRehype in favour of unified({...}) from @astrojs/markdown-remark. It's a warning today and the build is green, but it will break on Astro 8 — worth its own issue rather than widening this one.

EricAndrechek added a commit that referenced this pull request Aug 10, 2026
Three of the group's 16 updates break the build; the other 13 are fine.

typescript ^7.0.2 (catalog-wide) breaks the SDK dts build — tsup 8.5.1
bundles rollup-plugin-dts 6.1.1, which predates TS 7 and dies with
"Cannot read properties of undefined (reading 'useCaseSensitiveFileNames')".
@astrojs/check 0.9.10 also peer-caps typescript at ^5 || ^6. Held at ^6.0.3
until tsup ships a rollup-plugin-dts that handles TS 7; the native-port
migration deserves its own PR, not a drive-by in a security batch.

starlight-image-zoom 0.15.0 and starlight-links-validator 0.25.2 both
require @astrojs/starlight >= 0.41, and 0.25.2 additionally requires
astro >= 7.0.2. Against the pinned Starlight 0.38.5 the docs build fails
with "The configured 'markdown.processor' is not supported". Held until
the astro 7 upgrade (#416) carries Starlight 0.38 -> 0.41.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QFfYUaPp3Pv3gLjniiHCpm
Bumps [astro](https://github.com/withastro/astro/tree/HEAD/packages/astro) from 6.3.7 to 7.1.1.
- [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.1.1/packages/astro)

---
updated-dependencies:
- dependency-name: astro
  dependency-version: 7.1.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot changed the title deps: bump astro from 6.3.7 to 7.1.0 deps: bump astro from 6.3.7 to 7.1.1 Aug 10, 2026
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/astro-7.1.0 branch from f29c211 to 0014e42 Compare August 10, 2026 19:23
Astro 7 can't land alone: @astrojs/starlight 0.38.5 peer-requires
astro ^6.0.0, while starlight 0.41.x requires astro ^7.0.2. Dependabot
can't escape that on its own — it won't bump Starlight while astro is on
6, nor pull astro 7 into the Starlight PR — so both move here.

This also lifts the two holds from #439: starlight-image-zoom 0.15.0 and
starlight-links-validator 0.25.2 both require starlight >= 0.41, which is
now satisfied. No source changes were needed; every other integration
declares a permissive peer range and satisfies astro 7 / starlight 0.41
as-is.

The lockfile is a full rebuild (pnpm clean --lockfile + pnpm install).
Dependabot's generated lockfile contained 35+ entries younger than the
minimumReleaseAge cooldown in pnpm-workspace.yaml (e.g.
@esbuild/openbsd-arm64@0.28.2, published 2 days before the 7-day cutoff),
so `pnpm install` refused it. Rebuilding from a policy-respecting
resolution also collapses the duplicate @types/hast (3.0.4 + 3.0.5) whose
incompatible Root types made `astro check` reject the rehypePlugins array.

Verified: pnpm install --frozen-lockfile, astro check, and make build-docs
clean — 21 pages, all internal links valid, 68 diagram PNGs rendered.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QFfYUaPp3Pv3gLjniiHCpm
@github-actions

Copy link
Copy Markdown

📚 Docs preview is livehttps://53db01ae-wavehouse-docs.wave-rf.workers.dev

  • Commit807d53f: deps: carry starlight 0.41 with the astro 7 upgrade
  • Author@EricAndrechek, Claude Opus 5 (1M context)
  • Committed — 2026-08-10 15:25 (UTC-04:00)
  • Deployed — 2026-08-10 15:29 EDT

@github-code-quality

Copy link
Copy Markdown
Contributor

Code Coverage Overview

Languages: Go

Go

The overall coverage in commit 807d53f in the dependabot/npm_and_y... branch remains at 90%, unchanged from commit 4f599bd in the main branch.

Show a code coverage summary of the most impacted files.
File main 4f599bd dependabot/npm_and_y... 807d53f +/-
cmd/wavehouse/main.go 70% 72% +2%

@EricAndrechek
EricAndrechek merged commit b66bbe5 into main Aug 10, 2026
20 checks passed
@EricAndrechek
EricAndrechek deleted the dependabot/npm_and_yarn/astro-7.1.0 branch August 10, 2026 19:36
@github-project-automation github-project-automation Bot moved this from Ready to Done in WaveHouse Task Board Aug 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/docs Documentation, site/, README dependencies Pull requests that update a dependency file documentation Improvements or additions to documentation javascript Pull requests that update javascript code

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

1 participant