@astrojs/compiler
4.0.0 · 27 Apr 2026MIT8.8M / weekRepositoryHomepagenpmAtom feed
Upgrading @astrojs/compiler From 0.2.19 to 0.33.0
119 releases in betweennotes for 55
- 8+
- changes to make
- 0
- advisories fixed
- 27+
- new
- 92+
- fixes
Counted from 55 of 119 release notes. Advisories are counted from the advisory database, in full.
Before you upgrade
Tick each one off as you go- Breaking0.32.0
- Breaking0.32.0
- Breaking0.32.0
- Breaking0.28.0
- Breaking0.20.0
- Breaking0.20.0
- Breaking0.19.0
- Breaking0.12.0
Release by release
- New
Improve error recovery when using the
transformfunction. The compiler will now properly reject the promise with a useful message and stacktrace rather than print internal errors to stdout. - Fixed
Fix edge case where
export typecould hang the compiler - Fixed
Handle edge case with TypeScript generics handling and our TSX output
- Fixed
Ignore trailing whitespace in components
- New
- Breaking
Remove
pathnameoption in favour ofsourcefileoption - Breaking
Remove
siteandprojectRootoptions in favour of theastroGlobalArgsoption - Breaking
Remove
experimentalStaticExtractionoption. It is now the default. - New
Merge
sourcefileandmoduleIdoptions as a singlefilenameoption. Add a newnormalizedFilenameoption to generate stable hashes instead.
- Breaking
- Fixed
Rename
SerializeOtionsinterface toSerializeOptions - Fixed
Fixes export hoisting edge case
- Fixed
Handle module IDs containing quotes
- Fixed
- Fixed
Corner case that component in head expression will case body tag missing
- Fixed
Improve fidelity of sourcemaps for frontmatter
- Fixed
- New
Allow
scriptandstylebefore HTML - Fixed
Corner case with slot expression in head will cause body tag missing
- New
0.31.0nothing new or fixed in the note
- Fixed
Fix edge case where
<was not handled properly inside of expressions - Fixed
Fix edge case with Prop detection for TSX output
- Fixed
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.