Skip to content

chore(deps): update dependency @astrojs/compiler to v3#8023

Open
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/astrojs-compiler-3.x
Open

chore(deps): update dependency @astrojs/compiler to v3#8023
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/astrojs-compiler-3.x

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Mar 6, 2026

This PR contains the following updates:

Package Change Age Confidence
@astrojs/compiler (source) 2.13.13.0.0 age confidence

Release Notes

withastro/compiler (@​astrojs/compiler)

v3.0.0

Compare Source

Major Changes
  • c05e16e: Removes the first argument of $$result.createAstro()

    $$result.createAstro() does not accept an AstroGlobalPartial as the first argument anymore:

    -const Astro = $$result.createAstro($$Astro, $$props, $$slots);
    +const Astro = $$result.createAstro($$props, $$slots);
  • c05e16e: Removes renderScript from TransformOptions. It is now the default and only behavior

  • c05e16e: Removes experimentalScriptOrder from TransformOptions. It is now the default and only behavior

Patch Changes
  • 811e90f: Fixes an issue where server:defer was treated like a transition directive, causing ViewTransitions CSS to be included even when no transition:* directives were used.

  • 755f046: Fixes a CSS scoping regression where selectors using the nesting selector (&) with pseudo-classes or pseudo-elements (e.g. &:last-of-type, &::before) inside :global() contexts would incorrectly receive a duplicate scope attribute.

  • f89451a: Fixed an issue where explicit <html> and <head> tags were removed from output when a JSX comment appeared between DOCTYPE and the <html> tag.

  • 8275bdd: Fixes a bug where trailing whitespaces were preserved before <style> tags after transformation, in certain cases. Now trailing whitespaces are correctly removed.

  • 56ef0ca: Fixes TSX output to transform top-level returns into throws in order to avoid downstream TypeScript parsing issues

  • e329d20: Fix slot attribute stripped inside expression

  • 02de370: fixed a bug where the Astro compiler incorrectly handled the 'as' property name in Props interfaces.

    This allows Astro components to use 'as' as a prop name (common pattern for polymorphic components) without breaking TypeScript type inference. The Props type is now correctly preserved when destructuring objects with an 'as'
    property.

  • 615eb21: Fix CSS nesting so nested selectors without an ampersand are parsed and scoped correctly.


Configuration

📅 Schedule: 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 becomes conflicted, 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.

@renovate renovate bot added the dependencies Pull requests that update a dependency file label Mar 6, 2026
@changeset-bot
Copy link

changeset-bot bot commented Mar 6, 2026

⚠️ No Changeset found

Latest commit: dbbb73c

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@github-actions
Copy link
Contributor

github-actions bot commented Mar 6, 2026

💻 Website Preview

The latest changes are available as preview in: https://pr-8023.graphql-tools.pages.dev

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.

0 participants