@astrojs/compiler
4.0.0 · 27 Apr 2026MIT8.8M / weekRepositoryHomepagenpmAtom feed
Upgrading @astrojs/compiler From 0.14.3 to 0.33.0
61 releases in betweennotes for 14
- 4+
- changes to make
- 0
- advisories fixed
- 6+
- new
- 17+
- fixes
Counted from 14 of 61 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
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
0.30.1 – 0.31.13 releases, nothing new or fixed; 2 without a note
- New
Provide the moduleId of the astro component
- New
0.29.8 – 0.29.1912 releases, no release note
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.