Merge branch 'v3.8.x'

# Conflicts:
#	scripts/release/steps/show-instructions-after-npm-publish.js
#	src/language-markdown/print/children.js
#	tests/format/markdown/commonmark-test-suite/__snapshots__/format.test.js.snap
#	tests/format/markdown/list/__snapshots__/format.test.js.snap
#	tests/format/mdx/mdx/__snapshots__/format.test.js.snap
This commit is contained in:
fisker committed 2026-06-09 19:36:36 +08:00
commit aa9c17742f
6 files changed
+62 -26

No files matched your search

+36
View File
@@ -1,3 +1,39 @@
# 3.8.4
[diff](https://github.com/prettier/prettier/compare/3.8.3...3.8.4)
#### Markdown: Fix blank lines between list items and nested sub-lists being removed in Markdown/MDX ([#17746](https://github.com/prettier/prettier/pull/17746) by [@byplayer](https://github.com/byplayer))
Prettier was removing blank lines between list items and their nested sub-lists, converting loose lists into tight lists and changing their semantic meaning.
<!-- prettier-ignore -->
```markdown
<!-- Input -->
- a
- b
- c
- d
<!-- Prettier 3.8.3 -->
- a
- b
- c
- d
<!-- Prettier 3.8.4 -->
- a
- b
- c
- d
```
# 3.8.3
[diff](https://github.com/prettier/prettier/compare/3.8.2...3.8.3)