Packages

prettier-plugin-astro

1.1.2 · 23 Oct 2026MIT1.7M / weekRepositoryHomepagenpmAtom feed

Upgrading prettier-plugin-astro From 0.8.0 to 1.1.2

18 releases in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 0.8.0Newest 0.x0.14.1
  1. 0.8.0yours
  2. 1 release
  3. 0.9.0major
  4. 1 release
  5. 0.10.0major
  6. 0.11.0major
  7. 1 release
  8. 0.12.0major
  9. 3 releases
  10. 0.13.0major
  11. 0.14.0major
  12. 1 release
  13. 1.0.0major
  14. 3 releases
  15. 1.1.2target
  16. 3 pre

Before you upgrade

Tick each one off as you go
  • Breaking1.0.0
  • Breaking1.0.0
  • Breaking1.0.0-beta.0

Release by release

  1. 1.1.2

    23 Oct 20261 fix
    • Fixed

      Updates the Astro compiler to the latest release

  2. 1.1.1

    9 Oct 20261 fix
    • Fixed

      Fixes a TypeError ("Cannot read properties of undefined (reading 'semi')") when a comment appears before a statement inside a template expression.

  3. 1.1.0

    24 Sep 20262 fixes
    • Fixed

      Fix non-idempotent indentation of multiline comments nested inside CSS rules.

    • Fixed

      Fixes raw elements being forcefully paired up when self-closed.

  4. 1.0.1

    17 Sep 20263 fixes
    • Fixed

      Publish TypeScript declarations for Astro plugin options.

    • Fixed

      Fixes an error when a JavaScript comment appears before a raw or custom-printed element, such as a <script> in the alternate branch of a conditional expression.

    • Fixed

      Fix non-idempotent CSS <style> block formatting with astroCompressHTML set to 'html' or 'none'.

  5. 1.0.0

    Migration needed8 Sep 2026
    • Breaking

      Raises the minimum supported Node version to 22.12.0.

    • Breaking

      The plugin has been fully rewritten on top of Astro 7's new Rust compiler. This rewrite fixes many long-standing issues, such as certain elements not being handled properly inside expressions.

  6. 0.14.1

    16 Jul 20241 fix
    • Fixed

      Fixes an issue where style and script tags would sometimes get moved to other tags

  7. 0.14.0

    24 May 20241 new
    • New

      Adds a new option called astroSkipFrontmatter to disable formatting the frontmatter. This can be useful when using other tools to format the frontmatter, such as Biome or dprint.

  8. 0.13.0

    19 Jan 20241 fix
    • Fixed

      Fix plugin sometimes including significant whitespace inside components, fragments and custom elements

3 other lines we could not sort, mostly version bumps
  • When unset / undefined, the attributes stay as written, i.e <Comp value={value} /> and <Comp {value} /> can co-exist in the same file.

    1.1.0
  • When set to true, attributes that can be written in the shorthand form will automatically be transformed. <Comp value={value} /> will become <Comp {value} />

    1.1.0
  • When set to false, attributes will always be expanded to their full form.

    1.1.0

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.