Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Here is everything you need to know about this upgrade. Please take a good look at what changed and the test results before merging this pull request.
What changed?
✳️ prettier (~3.0.0 → ~3.1.1) · Repo · Changelog
Release Notes
3.1.1
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 67 commits:
Release 3.1.1
Use `attributes` instead of deprecated `assertions` (#15758)
Consistently use tabs in ternaries when `useTabs` is `true` (#15662)
fix example to fit the actual experimentalTernaries behaviour (#15747)
Remove claim, untrue since over 5 years ago, that cursorOffset is incompatible with rangeStart/rangeEnd (#15750)
Add cursorOffset to Playground (#15751)
Allow skipping symlink patterns, to avoid raising a fault (#15533)
Fix expect call in dts test (#15766)
chore(deps): update dependency flow-parser to v0.223.3 (#15760)
chore(deps): update dependency hermes-parser to v0.18.0 (#15761)
Remove outdated code (#15759)
Keep empty import attributes and assertions (#15757)
Keep curly braces and `from` keyword in empty `import` statements (#15756)
Support TypeScript 5.3 (#15718)
Implement our own config explorer (#15663)
Simplify mockable (#15729)
chore(deps): update dependency eslint-config-prettier to v9.1.0 (#15754)
chore(deps): update babel to v7.23.5 (#15755)
chore(deps): update dependency @babel/parser to v7.23.5 (#15753)
chore(deps): update dependency postcss to v8.4.32 (#15752)
documenting the `hardline` within an `ifBreak` odd behaviour (#15746)
Add simple lint script for blog post (#15737)
Fix blog date and add truncate comment (#15736)
Added a blog post about the new CLI (#15731)
chore(deps): update dependency jest-light-runner to v0.6.0 (#15734)
Update `cspell.json` (#15722)
Bounty Blog Post (#15705)
chore(deps): update dependency html-ua-styles to v0.0.3 (#15721)
Update Jest to v30 (#15580)
Update `ts-api-utils` (#15717)
chore(deps): update dependency meriyah to v4.3.9 (#15714)
chore(deps): update dependency @babel/parser to v7.23.4 (#15715)
Bump xalvarez/prevent-file-change-action from 1.4.0 to 1.5.1 (#15712)
Fix unstable and ugly formatting for comments in destructuring patterns (#15708)
chore(deps): update dependency parse-json to v8.1.0 (#15704)
Fix changelog (#15703)
Refresh yarn.lock files (#15694)
Bump @babel/traverse from 7.22.5 to 7.23.3 (#15693)
Update yarn to v3.7.0 (#15692)
chore(deps): update dessant/lock-threads action to v5 (#15657)
Bump dessant/support-requests from 3.0.0 to 4.0.0 (#15680)
chore(deps): update dependency iterate-directory-up to v1.1.1 (#15690)
chore(deps): update dependency flow-parser to v0.222.0 (#15688)
chore(deps): update dependency ignore to v5.3.0 (#15689)
chore(deps): update dependency file-entry-cache to v7.0.2 (#15687)
chore(deps): update glimmer to v0.85.13 (#15686)
chore(deps): update dependency url-or-path to v2.3.0 (#15684)
Enable `--experimental-ternaries` in playground (#15677)
docs: update the JSON schema location to use https (#15674)
Make `findProjectRoot` async (#15672)
Update UMD template to reflect new ternaries (#15670)
Improve coverage
Improve coverage
Fix argument passed to `lilconfig.search()` (#15363)
chore(deps): update dependency angular-estree-parser to v9 (#15658)
Fix spelling issue in ternaries blog post (#15654)
Improve `RegExp`s in markdown printer (#15656)
Fix link to "A curious case of the ternaries" blog post (#15652)
Remove unused `findParentDir` (#15651)
Remove `overrideLocEnd` (#15645)
Clean changelog
Run yarn
Revert "Revert "Add blog post for experimental ternaries"" (#15618)
Add 3.1 blog post (#15503)
Git blame ignore 3.1.0
Bump Prettier dependency to 3.1.0
Update dependents count
Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with
@depfu rebase
.All Depfu comment commands