Skip to content

Upgrading prettier-plugin-tailwindcss 0.7 to 0.8

Review needed0.7.4 → 0.8.1New1Changed1Fixed15

Review neededUpgrade verdict

1 changed default.

  • Nothing in this range needs changes to your code. It adds features and fixes.
Nothing to change

No breaking, platform, security or deprecated items in this range.

Nothing in this upgrade needs a code or configuration change.

Generated by DepDelta from published .d.ts files. Not mixed with prose notes.

  • removed: const printers: Record<string, Printer>
  • changed: const parsers: Record<string, Parser> → const parsers: Record<string, prettier0.Parser<any> | (() => Promise<prettier0.Parser<any> | undefined>) | undefined>, printers: Record<string, prettier0.Printer<any> | (() =…
  • added: export { printers }
  • added: function createSorter(opts: SorterOptions): Promise<Sorter>
  • added: interface Sorter
  • added: interface SorterOptions
  • added: method Sorter.sortClassAttributes(classes: string[]): string[]
  • added: method Sorter.sortClassLists(classes: string[][]): string[][]
  • added: property SorterOptions.base?: string
  • added: property SorterOptions.configPath?: string
  • added: property SorterOptions.filepath?: string
  • added: property SorterOptions.preserveDuplicates?: boolean
  • added: property SorterOptions.preserveWhitespace?: boolean
  • added: property SorterOptions.stylesheetPath?: string