prettier v1.15.3 Release Notes
-
- ๐ JavaScript: support
htm
(#5565) - ๐ JavaScript: support logical assignment operator (#5489)
- JavaScript: do not add quotes for interpolation-only attributes in
html
templates (#5544) - JavaScript: add missing parenthesis for binary in optional member (#5543)
- ๐ JavaScript: fix a parser regression (#5530)
- JavaScript: improve union types with leading comments (#5575)
- ๐ TypeScript: support BigInt (#5546, #5577)
- TypeScript: inline method decorators should stay inlined (#5444)
- TypeScript: do not change
module
intonamespace
and break/hug their body correctly (#5551) - TypeScript: do not add invalid semicolon for construct in interface with
// prettier-ignore
(#5469) - HTML: do not touch comments (#5525)
- HTML: preserve bogus comments
<! ... >
/<? ... >
(#5565) - ๐ HTML: support IE conditional start/end comment (#5470)
- HTML: do not add extra indentation for js template in
<script>
(#5527) - HTML: leading spaces for the first interpolation in
<textarea>
are sensitive (#5468) - HTML: preserve content for element in
<pre>
correctly (#5473) - HTML: correct column for error code frame (#5553)
- ๐ Angular: support interpolation in attributes (#5573)
- ๐จ Angular: do not print colon for
then
andelse
in*ngIf
(#5542) - Angular/Vue: do not normalize tag/attribute names (#5526, #5549)
- Vue: preserve custom block (#5458)
- ๐ Vue: remove unnecessary semicolon and preserve necessary semicolon for single expression in event bindings (#5519)
- Vue: group
slot-scope
correctly (#5563) - Markdown: do not trim content in inline-math (#5485)
- Markdown: add more category to CJK regex (#5480)
- ๐ SCSS: update parser for performance improvements (#5481)
- YAML: preserve the first document head end marker
---
(#5502) - API: resolve
ignored
field correctly in.getFileInfo()
with absolute filePath (#5570) - API/CLI: fix a bug that caches for
.js
config files did not respect.clearConfigCache()
(#5558) - API/CLI: ignore
unset
in.editorconfig
(#5550) - CLI: report status code
0
for--list-different
+--write
(#5512) - ๐ป Standalone: fix a regression for browser compatibility (#5560)
- ๐ JavaScript: support