3.5.3
📦 prettier
✨ 4 features🐛 4 fixes🔧 6 symbols
Summary
Prettier 3.5.3 introduces support for CSS light-dark() functions and TypeScript 5.0 accessors, alongside various formatting improvements for JSX and Angular.
Migration Steps
- Run 'npx prettier --write .' to apply new formatting rules to your codebase.
✨ New Features
- Added support for formatting CSS 'light-dark()' functions.
- Improved formatting for nested ternary expressions in JavaScript/TypeScript.
- Added support for the 'accessor' keyword in TypeScript 5.0+ classes.
- Enhanced support for Angular 19+ control flow syntax.
🐛 Bug Fixes
- Fixed an issue where comments in JSX were sometimes moved to incorrect positions.
- Fixed a bug where long strings in JSON were not wrapping correctly according to printWidth.
- Resolved a crash when parsing certain invalid SCSS files.
- Fixed inconsistent indentation in Markdown code blocks.
🔧 Affected Symbols
csstypescriptjsxangularmarkdownjson