3.0.0-alpha.0
版本发布时间: 2022-08-17 21:29:39
prettier/prettier最新发布版本:3.3.3(2024-07-13 20:27:31)
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: https://github.com/prettier/prettier/compare/2.7.1...3.0.0-alpha.0