Packages

prettier

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

Upgrading prettier From 1.0.1 to 1.19.1

64 releases in betweennotes for 63

Other targets from 1.0.1Latest3.10.1
  1. 1.0.1yours
  2. 56 releases
  3. 1.16.4breaking
  4. 6 releases
  5. 1.19.1target
1+
change to make
0
advisories fixed
20+
new
85+
fixes

Counted from 63 of 64 release notes. Advisories are counted from the advisory database, in full.

Before you upgrade

Tick each one off as you go
  • Breaking1.16.4

Release by release

  1. 1.18.2 – 1.19.13 releases, nothing new or fixed in the notes

  2. 1.18.1

    7 Jun 20191 new
    • New

      TypeScript: Add trailing comma in tsx, only for arrow function ([#6190]

  3. 1.18.0nothing new or fixed in the note

  4. 1.17.1

    13 May 20193 fixes
    • Fixed

      Range: Fix ranged formatting not using the correct line width ([#6050]

    • Fixed

      JavaScript: Fix closure compiler typecasts ([#5947]

    • Fixed

      Handlebars: Fix {{else}}{{#if}} into {{else if}} merging ([#6080]

  5. 1.17.0nothing new or fixed in the note

  6. 1.16.4

    Migration needed3 Feb 20191 fix
    • Breaking

      Unfortunately this lead to a minor breaking change: prettier.getSupportInfo('1.15.0') would report that it supported babel, not babylon, which breaks text-editor integrations.

    • Fixed

      API: Fix prettier.getSupportInfo() reporting babel parser for older versions of Prettier. ([#5826]

  7. 1.16.3nothing new or fixed in the note

  8. 1.16.2

    30 Jan 20193 fixes
    • Fixed

      CLI: Fix CI detection to avoid unwanted TTY behavior ([#5804]

    • Fixed

      HTML: Do not format non-normal whitespace as normal whitespace ([#5797]

    • Fixed

      JavaScript: Fix record type cast comment detection ([#5793]

96 other lines we could not sort, mostly version bumps
  • TypeScript: Only add trailing commas in tuples for --trailing-comma=all ([#6199]

    1.18.2
  • Config: Match dotfiles in config overrides ([#6194]

    1.18.1
  • JavaScript: Respect parenthesis around optional chaining before await ([#6087]

    1.17.1
  • JavaScript: Improved multiline closure compiler typecast comment detection ([#6070]

    1.17.1
  • TypeScript: Revert "Update typescript-estree to new package name" ([#5818]

    1.16.3
  • TypeScript: Stable parentheses for function type in the return type of arrow function ([#5790]

    1.16.1
  • MDX: Correctly recognize inline JSX ([#5783]

    1.16.1
  • JavaScript: Improve union types with leading comments

    1.15.3
  • TypeScript: Inline method decorators should stay inlined

    1.15.3
  • HTML: Preserve bogus comments <! ... >/<? ... >

    1.15.3

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