Packages

prettier

3.10.1 · 12 Nov 2026MIT196.9M / weekRepositoryHomepagenpmAtom feed

Upgrading prettier From 0.0.2 to 0.22.0

21 releases in betweennotes for 17

Reading releases, release notes and advisories…

Other targets from 0.0.2Latest3.10.1
  1. 0.0.2yours
  2. 8 releases
  3. 0.11.0major
  4. 1 release
  5. 0.14.0major
  6. 1 release
  7. 0.15.0major
  8. 0.16.0major
  9. 0.17.0major
  10. 1 release
  11. 0.18.0major
  12. 0.19.0major
  13. 0.20.0major
  14. 0.21.0major
  15. 0.22.0target
4+
changes to make
0
advisories fixed
59+
new
121+
fixes

Counted from 17 of 21 release notes. Advisories are counted from the advisory database, in full.

Before you upgrade

Tick each one off as you go
  • Breaking0.19.0
  • Breaking0.0.8
  • Breaking0.0.6
  • Deprecated0.0.10

Release by release

  1. 0.22.0

    9 Mar 20171 new · 14 fixes
    • New

      Add CLI Example to Readme

    • Fixed

      Fix paren removal on UnionTypeAnnotation

    • Fixed

      Ensure no parens for JSX inside of an ArrayExpression

    • Fixed

      Fix object expression in arrow function expression

  2. 0.21.0

    3 Mar 20172 new · 9 fixes
    • New

      Introduce -l option

    • New

      Add parenthesis around assignments

    • Fixed

      Don't wrap JSX Elements in parentheses in {}

    • Fixed

      Fix comment after the last argument of a function

  3. 0.20.0

    28 Feb 20172 new · 8 fixes
    • New

      Adds another preset to related projects

    • New

      Allow breaking for logical expressions in member chains

    • Fixed

      Fix extra parens for update expressions

    • Fixed

      Fix empty options

  4. 0.19.0

    Migration needed23 Feb 20175 new · 12 fixes
    • Breaking

      Remove extra parens around ternary arguments of a new call

    • New

      Add note about trailingComma option in versions 0.18.0 and below

    • New

      Add missing explanatory comment in ForStatement case

    • New

      Add this for Member factory whitelist and remove softline

  5. 0.18.0

    16 Feb 20176 fixes
    • Fixed

      Fix --debug-check

    • Fixed

      Don't add newline following newline

    • Fixed

      Do not inline new as last argument

    • Fixed

      Ensure importKind is printed

    • Fixed

      Do not put \n inside of empty object method bodies

    • Fixed

      Fix trailing new lines preservation

  6. 0.17.1nothing new or fixed in the note

  7. 0.17.0

    14 Feb 20173 new · 10 fixes
    • New

      Add --debug-check cli option

    • New

      Add option for putting > on the last line in jsx

    • New

      Introduce prettier-ignore-next

    • Fixed

      Fix spurious newline (fixes #614)

  8. 0.16.0

    6 Feb 20172 new · 5 fixes
    • New

      Add parenthesis around single argument arrow if comments

    • New

      Support dangling comments in ClassBody

    • Fixed

      Fix ternary indent bug

    • Fixed

      Fix use strict as expression statement

    • Fixed

      Do not attach comments to EmptyStatement

    • Fixed

      Fix files with only comments on the flow parser

    • Fixed

      Fix single indented JSX comment

151 other lines we could not sort, mostly version bumps
  • Run 0.21.0

    0.22.0
  • Improve readme CLI usage example

    0.22.0
  • Update lint-staged docs to use husky for less config.

    0.22.0
  • Update README.md

    0.22.0
  • Cleanup needsParens

    0.22.0
  • Break if opening element breaks

    0.22.0
  • Parenthesize function expressions in expression position

    0.22.0
  • Update the README to add a pre-commit hook

    0.22.0
  • TypeScript Parser

    0.22.0
  • Recursively find leading comments inside ReturnStatements

    0.22.0

15 internal lines (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.