🐛 Bug Fixes
- 5042019 formatter: Keep fill layout for array with comment after [ (#28170) (leaysgur)
- 9d37ff6 formatter: Use position-based comment checks for concise arrays (#28169) (leaysgur)
- 016c4a2 formatter: Keep a comment before
}inside a JSX spread child (#28103) (vidigoat) - 190bb1e formatter: Keep parens around an instantiation expression ending an operand through any tight parent (#28168) (leaysgur)
- a5314a1 formatter: Keep
;beforeinandinstanceofclass members (#28166) (leaysgur) - 3a56e7c formatter: Keep closing HTML comments at the start of a line (#28064) (Cameron)
- 23d23d6 formatter_markdown: Honor range ignore inside directives (#28164) (leaysgur)
- 5f1fd3d formatter: Measure width heuristics by display width (#28098) (leaysgur)
- a5a52cf formatter: Keep parens around private
inexpressions (#28096) (leaysgur) - 999496e formatter: Measure a short key by its display width (#28026) (vidigoat)
- 7e9aa44 formatter: Keep parens around a looser operand of an instantiation expression (#28025) (vidigoat)
- 6912d1f formatter: Keep an arrow signature that exactly fills the line for any body (#27989) (leaysgur)
- eb1d9f9 formatter_core: Count a flat
linespace infitsonly when text follows (#27987) (leaysgur)
⚡ Performance
- 1ed93af data_structures: Copy short strings without a memcpy call (#27953) (leaysgur)
- 7948f0b formatter_core: Shrink
FormatElementto 16B (#28012) (leaysgur) - 788af22 formatter: Keep
AstNodes on the stack, and only chain links in the arena (#27963) (leaysgur)