Skip to content

fix(deps): update dependency @astrojs/compiler to v3 - autoclosed#205

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

fix(deps): update dependency @astrojs/compiler to v3 - autoclosed#205
renovate[bot] wants to merge 1 commit intomainfrom
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.1^3.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.

@changeset-bot
Copy link

changeset-bot bot commented Mar 6, 2026

⚠️ No Changeset found

Latest commit: 691dca9

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

@codecov
Copy link

codecov bot commented Mar 6, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 86.35%. Comparing base (e009e15) to head (691dca9).
⚠️ Report is 7 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #205   +/-   ##
=======================================
  Coverage   86.35%   86.35%           
=======================================
  Files          16       16           
  Lines         359      359           
  Branches       88       85    -3     
=======================================
  Hits          310      310           
  Misses         49       49           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@renovate renovate bot changed the title fix(deps): update dependency @astrojs/compiler to v3 fix(deps): update dependency @astrojs/compiler to v3 - autoclosed Mar 11, 2026
@renovate renovate bot closed this Mar 11, 2026
@renovate renovate bot deleted the renovate/astrojs-compiler-3.x branch March 11, 2026 12:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants