Packages

@astrojs/compiler

4.0.0 · 27 Apr 2026MIT8.8M / weekRepositoryHomepagenpmAtom feed

Upgrading @astrojs/compiler From 0.26.1 to 0.33.0

34 releases in betweennotes for 14

Other targets from 0.26.1Latest4.0.0
  1. 0.26.1yours
  2. 0.27.0major
  3. 2 releases
  4. 0.28.0major
  5. 1 release
  6. 0.29.0major
  7. 19 releases
  8. 0.30.0major
  9. 1 release
  10. 0.31.0major
  11. 4 releases
  12. 0.32.0major
  13. 0.33.0target
4+
changes to make
0
advisories fixed
6+
new
17+
fixes

Counted from 14 of 34 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

  1. 0.33.0

    17 Jan 20231 new · 3 fixes
    • New

      Improve error recovery when using the transform function. 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 type could hang the compiler

    • Fixed

      Handle edge case with TypeScript generics handling and our TSX output

    • Fixed

      Ignore trailing whitespace in components

  2. 0.32.0

    Migration needed11 Jan 20231 new
    • Breaking

      Remove pathname option in favour of sourcefile option

    • Breaking

      Remove site and projectRoot options in favour of the astroGlobalArgs option

    • Breaking

      Remove experimentalStaticExtraction option. It is now the default.

    • New

      Merge sourcefile and moduleId options as a single filename option. Add a new normalizedFilename option to generate stable hashes instead.

  3. 0.31.4

    4 Jan 20233 fixes
    • Fixed

      Rename SerializeOtions interface to SerializeOptions

    • Fixed

      Fixes export hoisting edge case

    • Fixed

      Handle module IDs containing quotes

  4. 0.31.3

    20 Dec 20221 fix
  5. 0.31.2

    20 Dec 20222 fixes
    • Fixed

      Corner case that component in head expression will case body tag missing

    • Fixed

      Improve fidelity of sourcemaps for frontmatter

  6. 0.30.1 – 0.31.13 releases, nothing new or fixed; 2 without a note

  7. 0.30.0

    5 Dec 20221 new
    • New

      Provide the moduleId of the astro component

  8. 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.