Packages

@astrojs/compiler

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

Upgrading @astrojs/compiler From 0.31.3 to 4.0.0

75 releases in betweennotes for 26

Other targets from 0.31.3Newest 0.x0.33.0
4.0.0, 3.0.0, 2.0.0 have no release note on GitHub or in the repository's changelog, so their breaking changes are missing from the counts below.
  1. 0.31.3yours
  2. 1 release
  3. 0.32.0major
  4. 0.33.0major
  5. 1.0.0major
  6. 30 releases
  7. 2.0.0major
  8. 37 releases
  9. 3.0.0major
  10. 1 release
  11. 4.0.0target
  12. 2 pre
4+
changes to make
0
advisories fixed
9+
new
33+
fixes

Counted from 26 of 75 release notes. Advisories are counted from the advisory database, in full.

Before you upgrade

Tick each one off as you go
  • Breaking1.0.0
  • Breaking0.32.0
  • Breaking0.32.0
  • Breaking0.32.0

Release by release

  1. 2.13.0 – 4.0.05 releases, no release note

  2. 2.12.2

    9 Jun 20251 fix
    • Fixed

      Reverts a change where view transitions were made async to accomodate the CSP requirements.

  3. 2.10.0 – 2.12.18 releases, no release note

  4. 2.9.2

    17 Jul 20241 fix
    • Fixed

      Escape script tags with unknown types

  5. 2.4.0 – 2.9.115 releases, no release note

  6. 2.3.4

    15 Dec 20231 fix
    • Fixed

      Fixes a memory reference error when an expression is the final node in a file

  7. 2.3.3

    15 Dec 20234 fixes
    • Fixed

      Fixed an index out of range error when multibyte characters were rendered as markup

    • Fixed

      Fix index out of range [0] error when there is a component before the <html> tag

    • Fixed

      Fixes an issue where when there are nested expressions, subsequent content was incorrectly treated as plain text in some cases.

    • Fixed

      Fixes an issue causing index out of range errors when handling some multibyte characters like \u2028.

  8. 2.3.2

    14 Nov 20231 fix
    • Fixed

      Revert table related parsing change as it resulted in a regression

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.