Highlights
Breaking changes
- [BREAKING] The minimal required Node.js version is v14
- [BREAKING] All public APIs are asynchronous
- [BREAKING] Change default value of
trailingComma
to"all"
Plugin system
- [BREAKING] the
embed
method of a printer has now to match a completely new signature, addedgetVisitorKeys
method - [BREAKING] The second argument
parsers
passed toparsers.parse
has been removed - [BREAKING]
prettier.doc.builders.concat
has been removed - [BREAKING]
textToDoc
trims trailing hard lines now
If you are a plugin developer, please try this version and send us your feedback!
Full Changelog: 2.7.1...3.0.0-alpha.0