Skip to content

chore(deps): bump astro from 7.1.6 to 7.3.2 - #384

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/astro-7.3.2
Closed

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

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 9, 2026

Copy link
Copy Markdown
Contributor

Bumps astro from 7.1.6 to 7.3.2.

Release notes

Sourced from astro's releases.

astro@7.3.2

Patch Changes

  • #17896 a548223 Thanks @​matthewp! - Fixes <script>/<style> rendering in MDX so that only literal content (including content injected by remark/rehype plugins) is treated as trusted markup. A dynamic value passed as a <script>/<style> child (e.g. <script>{value}</script>) is now escaped like any other element's content instead of being rendered raw. Use set:html to explicitly opt a dynamic value back into raw rendering.

  • #17931 c1a6a89 Thanks @​astro-factory! - Fixes the dev toolbar returning a 504 "Outdated Optimize Dep" error when a workspace-linked package imports a dependency that Vite's initial scan did not discover

  • #17908 42e9188 Thanks @​astro-factory! - Fixes i18n fallback routing replacing the first substring match instead of the actual locale segment, which mangled paths like /energy/en/about into /esergy/en/about

  • #17936 4b92ddc Thanks @​astro-factory! - Fixes sessions breaking in dev mode with the Cloudflare adapter when middleware is present

  • Updated dependencies [a548223]:

    • @​astrojs/markdown-satteri@​0.4.1

astro@7.3.1

Patch Changes

astro@7.3.0

Minor Changes

  • #17767 ce7c91f Thanks @​astro-factory! - Adds --ignore-lock flag to astro preview, allowing multiple preview servers to run simultaneously on different ports. This is useful for E2E testing workflows (e.g., Playwright) that need to run several preview servers at once.

  • #17818 c0b6581 Thanks @​florian-lefebvre! - Adds a logger parameter to image services hooks

    Custom image services now receive Astro's runtime logger as an extra argument. Messages logged with it are routed through the destination configured in logger and respect your log level, instead of being written straight to the console:

    import type { LocalImageService } from 'astro';
    const service: LocalImageService = {
    // ...
    async transform(inputBuffer, transform, imageConfig, logger) {
    logger.warn(Could not optimize &quot;${transform.src}&quot;. Passing it through unchanged.);
    return { data: inputBuffer, format: 'png' };
    },
    };

    Astro's built-in Sharp service now uses this logger for the warnings it emits when it encounters an unexpected or unsupported source format.

  • #17818 c0b6581 Thanks @​florian-lefebvre! - Adds logger to the context object passed to cache providers

    Custom cache providers now receive Astro's runtime logger on the context passed to onRequest(). Messages logged with it are routed through the destination configured in logger and respect your log level, instead of being written straight to the console:

    import type { CacheProvider } from 'astro';
    const provider: CacheProvider = {

... (truncated)

Changelog

Sourced from astro's changelog.

7.3.2

Patch Changes

  • #17896 a548223 Thanks @​matthewp! - Fixes <script>/<style> rendering in MDX so that only literal content (including content injected by remark/rehype plugins) is treated as trusted markup. A dynamic value passed as a <script>/<style> child (e.g. <script>{value}</script>) is now escaped like any other element's content instead of being rendered raw. Use set:html to explicitly opt a dynamic value back into raw rendering.

  • #17931 c1a6a89 Thanks @​astro-factory! - Fixes the dev toolbar returning a 504 "Outdated Optimize Dep" error when a workspace-linked package imports a dependency that Vite's initial scan did not discover

  • #17908 42e9188 Thanks @​astro-factory! - Fixes i18n fallback routing replacing the first substring match instead of the actual locale segment, which mangled paths like /energy/en/about into /esergy/en/about

  • #17936 4b92ddc Thanks @​astro-factory! - Fixes sessions breaking in dev mode with the Cloudflare adapter when middleware is present

  • Updated dependencies [a548223]:

    • @​astrojs/markdown-satteri@​0.4.1

7.3.1

Patch Changes

7.3.0

Minor Changes

  • #17767 ce7c91f Thanks @​astro-factory! - Adds --ignore-lock flag to astro preview, allowing multiple preview servers to run simultaneously on different ports. This is useful for E2E testing workflows (e.g., Playwright) that need to run several preview servers at once.

  • #17818 c0b6581 Thanks @​florian-lefebvre! - Adds a logger parameter to image services hooks

    Custom image services now receive Astro's runtime logger as an extra argument. Messages logged with it are routed through the destination configured in logger and respect your log level, instead of being written straight to the console:

    import type { LocalImageService } from 'astro';
    const service: LocalImageService = {
    // ...
    async transform(inputBuffer, transform, imageConfig, logger) {
    logger.warn(Could not optimize &quot;${transform.src}&quot;. Passing it through unchanged.);
    return { data: inputBuffer, format: 'png' };
    },
    };

    Astro's built-in Sharp service now uses this logger for the warnings it emits when it encounters an unexpected or unsupported source format.

  • #17818 c0b6581 Thanks @​florian-lefebvre! - Adds logger to the context object passed to cache providers

    Custom cache providers now receive Astro's runtime logger on the context passed to onRequest(). Messages logged with it are routed through the destination configured in logger and respect your log level, instead of being written straight to the console:

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps [astro](https://github.com/withastro/astro/tree/HEAD/packages/astro) from 7.1.6 to 7.3.2.
- [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.3.2/packages/astro)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Sep 9, 2026
@dependabot
dependabot Bot requested a review from a team as a code owner September 9, 2026 07:48
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Sep 9, 2026
marc0olo added a commit that referenced this pull request Sep 14, 2026
## Summary

Closes #384, which cannot resolve: astro 7.2.10 changed its
`@astrojs/markdown-remark` peer from an exact pin to `^7.3.0`, and only
`@astrojs/mdx` 8 satisfies that, which only arrives with Starlight 0.42.
Dependabot bumps one package, so `npm ci` fails with ERESOLVE. Same
shape as #337 → #339.

Clears three advisories:

| | severity | patched in |
|---|---|---|
| GHSA-26w7-cxv4-gfx2 — astro RCE via AVIF image optimization | critical
| astro 7.2.8 |
| GHSA-376h-93r7-7g6f — astro auth bypass when stripping `base` | medium
| astro 7.2.4 |
| GHSA-2v37-7h3g-55p8 — nanoid infinite loop (transitive, via postcss) |
high | nanoid 3.3.18 |

`npm audit` reports 0 vulnerabilities after the bump.

## Starlight 0.42 breaking changes

- **Mobile menu** moved to `popover` + `.sl-menu-button`, dropping
`starlight-menu-button`, `aria-expanded` and
`data-mobile-menu-expanded`. Nothing in `src/` or `custom.css` targets
those.
- **`tagline` config option removed.** Our `Hero.astro` uses the
`hero.tagline` frontmatter field, which is unaffected.
- **Package now ships JS + `.d.ts`** instead of TS source. We only
import `@astrojs/starlight/loaders`, `/schema` and `/components`.
- **Browser floor raised** to Chrome/Edge 116, Safari 17, Firefox 125.

## Verification

Built against a `main` baseline, both on node 22:

- `llms.txt`, `llms-full.txt`, `sitemap.xml` and all 210 `.md` endpoints
byte-identical; `feed.xml` differs only by `lastBuildDate` and item
order (pre-existing nondeterminism)
- HTML diffs across all 210 pages are confined to the new mobile-menu
markup, the `generator` meta tags, and page-local tab ids (a 0.41.8
change)
- `package-lock.json` keeps its `libc` metadata; a macOS `npm install`
strips it, so it was restored by hand and re-validated with `npm ci`

## One upstream bug worked around

Under astro 7.3 / mdx 8, an `.astro` component with scoped styles
rendered inside another component's slot in MDX gets `xmlns` serialized
as `:xmlns`. It reproduces with a minimal component inside `<TabItem>`
and is specific to `xmlns` (`xmlns:xlink`, `viewBox` and ordinary
attributes are fine). Here it hit the two footer icons of `CodeExample`,
so those SVGs now omit `xmlns` — inline SVG does not need it. To be
reported upstream; nothing is filed yet.
@dependabot @github

dependabot Bot commented on behalf of github Sep 14, 2026

Copy link
Copy Markdown
Contributor Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/astro-7.3.2 branch September 14, 2026 16:05
marc0olo added a commit that referenced this pull request Sep 14, 2026
## Summary

There is no `.github/dependabot.yml` today, so dependabot runs
**security updates only**, and those bump one package at a time. Astro
releases `astro` and `@astrojs/*` in lockstep with narrow peer ranges,
so a single-package bump inside that family frequently cannot resolve at
all: #384 fails `npm ci` with ERESOLVE, as did #337 before it.

This enables npm version updates with three groups:

- `astro` / `astro-security` — `astro` + `@astrojs/*` in one PR, so
dependabot resolves the family in a single pass. This is the fix for the
#384 class.
- `rest` — everything else in one PR, so the weekly run stays at two
PRs.

## What this does not fix

Grouping fixes resolution, not code. A Starlight minor is a breaking
release, so a grouped PR still fails the build check whenever the new
version needs source changes (0.39 changed the `autogenerate` sidebar
shape, 0.42 rewrote the mobile-menu markup). Those still get taken over
by hand on an `infra/` branch, which is also the only way to get a
preview: `preview-deployment.yml` is skipped on dependabot PRs because
their token is read-only.

`.agents/upstream-tracking.md` gains a section recording that, plus the
two lockfile and rendering checks worth running when taking a bump over.
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