Releases: prettier/prettier
Releases Β· prettier/prettier
2.8.3
2.8.2
2.8.1
2.8.0
π Release note
3.0.0-alpha.4
What's Changed
- Remove support for Flow comment types by @thorn0 in #13687
- Make
resolveParser
work like v2 by @fisker in #13732 - Add
__debug
apis to cjs version by @fisker in #13731
Other changes since v2, see 3.0.0-alpha.1
release notes
Full Changelog: 3.0.0-alpha.3...3.0.0-alpha.4
3.0.0-alpha.3
- Fix
exports
field inpackage.json
file
Other changes since v2, see 3.0.0-alpha.1
release notes
Full Changelog: 3.0.0-alpha.2...3.0.0-alpha.3
3.0.0-alpha.2
- Fix bundled
index.cjs
file
Other changes since v2, see 3.0.0-alpha.1
release notes
Full Changelog: 3.0.0-alpha.1...3.0.0-alpha.2
3.0.0-alpha.1
If you are a plugin developer, please try this version and send us feedback! Feel free to ping @fisker if you have any questions about v3 migration.
Breaking change since v3.0.0-alpha.0
- Package file structure updated,
exports
field added topackage.json
https://unpkg.com/browse/prettier@3.0.0-alpha.1/
Changes since Prettier v2
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
Full Changelog: 2.7.1...3.0.0-alpha.1
3.0.0-alpha.0
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