@astrojs/compiler
4.0.0 · 27 Apr 2026MIT8.8M / weekRepositoryHomepagenpmAtom feed
Upgrading @astrojs/compiler From 0.5.6 to 4.0.0
165 releases in betweennotes for 57
- 10+
- changes to make
- 0
- advisories fixed
- 36+
- new
- 71+
- fixes
Counted from 57 of 165 release notes. Advisories are counted from the advisory database, in full.
Before you upgrade
Tick each one off as you go- Breaking4.0.0
- Breaking3.0.0
- Breaking3.0.0
- Breaking3.0.0
- Breaking2.0.0
- Breaking1.0.0
- Breaking0.32.0
- Breaking0.32.0
- Breaking0.32.0
- Breaking0.28.0
Release by release
- Breaking
Calling
templateEnter/templateExitwhen emitting<template> - New
Expand
compactoption to support JSX-style whitespace stripping
- Breaking
3.0.1no release note
- Breaking
Removes the first argument of
$$result.createAstro() - Breaking
Removes
renderScriptfromTransformOptions. It is now the default and only behavior - Breaking
Removes
experimentalScriptOrderfromTransformOptions. It is now the default and only behavior - Fixed
Fixes an issue where
server:deferwas treated like a transition directive, causing ViewTransitions CSS to be included even when notransition:*directives were used.
- Breaking
2.13.1no release note
- New
Support HTML <selectedcontent> element
- New
Adds a
walkAsyncutility function that returns a Promise from the tree traversal process. - Fixed
Fixes a potential parsing issue with head content defined in a component where another component is rendered first.
- Fixed
Fixes a CSS scoping issue when a selector contains only pseudo selectors.
- New
- Fixed
Reverts a change where view transitions were made async to accomodate the CSP requirements.
- Fixed
2.12.1no release note
- New
Add head propagation metadata to server islands
- New
1 internal line (docs, tests, tooling) left out.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.