New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Release v3 #13142
Comments
Switching to MDX2 is also breaking and is due. We should probably include #12209 too. |
We can include it if someone can work on it. (I don't use MDX, not interested) |
I had worked on it before and will try again but it was very difficult... |
This comment was marked as resolved.
This comment was marked as resolved.
Please consider PR #7111 ("JS: Break lines before binary operators (fixes #3806)"). #3806 (comment) is a nice status summary for this long-standing issue. |
The following should probably also be included: |
Can we rename prettier-plugin-svelte has to have a new |
I don't think we are going to make more breaking changes to the plugin system, (except #10156). I think we are ready to release an alpha version for plugins to adopt. |
Other problems: some phrases like U盘 is sometimes typed without space (although fullwidth can be used here), and sometimes dates are typeset without spaces. |
See #11597 |
Why not drop Node 14? |
Node.js 14 is maintenance LTS until April 30, 2023, so we need to support it https://github.com/nodejs/Release#release-schedule |
What if we drop it only for direct-from-github installs? |
Sure we can. |
We can. |
How about completely removing support for Flow comment types? They're a mess and can't be properly supported anyway. See facebook/flow#8355 Related issues: https://github.com/prettier/prettier/issues?q=is%3Aopen+is%3Aissue+label%3A%22area%3Aflow+comment+types%22 An alternative solution that probably isn't really needed: #9564 (comment) |
I agree with you. |
#13016 would be IMO very important to be able to use the cache from release 2.7 (at all). |
What about rewriting Prettier in TypeScript for version 3.0? Why is Prettier not written in TypeScript in the first place? |
@martinszeltins v3 makes a step in this direction by shipping with typings (#14212), thus replacing @types/prettier. Generating those types from source would be even better but that’s currently out of scope. Feel free to help when v3 is released! |
The latest v3 alpha to date is 3.0.0-alpha.6, which was released on Feb 3 (more than three months ago). I don’t remember if there are any risky changes merged into |
So can we relook into dropping Node14 support? I don't think prettier will touch stable before this date? |
We discussed Node.js support recently https://github.com/prettier/prettier/wiki/The-policy-to-drop-Node.js-version I don't understand why anyone except maintainers want support less versions ... Just curious. |
As long as there is any performance improvement by dropping node14 (even <1%) then I am positive towards this. |
It takes time for the community to migrate away from old Node versions, even after their end of life. I’m up for dropping Node 14 in Prettier v4 (not 3), but now, even if release in early May, it would be a bit too early. |
To move the world forward. Otherwise we'd always still be supporting IE too. |
Just want to brief here, we are blocked by VSCode support. prettier/prettier-vscode#2947 |
There is still no conclusion to #3806. I feel this long standing issue should be addressed before v3, even if it's closing it as "won't fix" so we can move on. |
we'll collect feedback from users via experimental flags after v3 is released. So there is no need to draw any conclusions about it yet. |
I know this is last minute but can this be considered for v3? #4081 People working in monorepos are doing some ugly workarounds now, tools like turbo runs prettier from the directory of the package so you have to put a copy or symlink of your .prettierignore file into every package. |
Why is the latest release 3.0.0-alpha.6 on Github while on npm is 3.0.0-alpha.12? |
|
released |
Thanks to everyone involved in Prettier v3!! 🙌 🎉 🚀 |
next branch
trailingComma
option default value toall
(Change default value oftrailingComma
to"all"
#11479)prettier.doc.builders.concat
(Removeprettier.doc.builders.concat
#13203)Update(Removed since this will breakprint
function signature to not acceptpath
(need investigate)path.map(print)
)doctype
in lowercase #7391)--loglevel
flag to--log-level
(Change--loglevel
to--log-level
#13204)Support MDX 2? (MDX 3 #12209)Postponedexports
field (Restructure package files, addexports
#13530)node scripts/draft-blog-post.mjs
to generate a blog post draft (a file namedYYYY-MM-DD-version.md
inwebsite/blog
) fromchangelog_unreleased
changelog_unreleased
node scripts/clean-changelog-unreleased.mjs
@PrettierCode
account via TweetDecknode scripts/generate-schema.mjs
to SchemaStore if we added a new option.@types/prettier
since v3.0.0 DefinitelyTyped/DefinitelyTyped#66073Then monitor Twitter/GitHub for any immediate issues 😄
The text was updated successfully, but these errors were encountered: