Release 1.15.3
parent
3cd1d003c0
commit
a5ccfa1ecb
|
@ -26,7 +26,7 @@ Tip! Don't write this stuff manually.
|
|||
|
||||
-->
|
||||
|
||||
**Prettier 1.15.2**
|
||||
**Prettier 1.15.3**
|
||||
[Playground link](https://prettier.io/playground/#.....)
|
||||
```sh
|
||||
# Options (if any):
|
||||
|
|
|
@ -19,7 +19,7 @@ BEFORE SUBMITTING AN ISSUE:
|
|||
-->
|
||||
|
||||
**Environments:**
|
||||
- Prettier Version: 1.15.2
|
||||
- Prettier Version: 1.15.3
|
||||
- Running Prettier via: <!-- CLI, Node.js API, Browser API, etc. -->
|
||||
- Runtime: <!-- Node.js v6, Chrome v67, etc. -->
|
||||
- Operating System: <!-- Windows, Linux, macOS, etc. -->
|
||||
|
|
37
CHANGELOG.md
37
CHANGELOG.md
|
@ -1,3 +1,40 @@
|
|||
# 1.15.3
|
||||
|
||||
[diff](https://github.com/prettier/prettier/compare/1.15.2...1.15.3)
|
||||
|
||||
- JavaScript: support `htm` ([#5565](https://github.com/prettier/prettier/pull/5565))
|
||||
- JavaScript: support logical assignment operator ([#5489](https://github.com/prettier/prettier/pull/5489))
|
||||
- JavaScript: do not add quotes for interpolation-only attributes in `html` templates ([#5544](https://github.com/prettier/prettier/pull/5544))
|
||||
- JavaScript: add missing parenthesis for binary in optional member ([#5543](https://github.com/prettier/prettier/pull/5543))
|
||||
- JavaScript: fix a parser regression ([#5530](https://github.com/prettier/prettier/pull/5530))
|
||||
- JavaScript: improve union types with leading comments ([#5575](https://github.com/prettier/prettier/pull/5575))
|
||||
- TypeScript: support BigInt ([#5546](https://github.com/prettier/prettier/pull/5546), [#5577](https://github.com/prettier/prettier/pull/5577))
|
||||
- TypeScript: inline method decorators should stay inlined ([#5444](https://github.com/prettier/prettier/pull/5444))
|
||||
- TypeScript: do not change `module` into `namespace` and break/hug their body correctly ([#5551](https://github.com/prettier/prettier/pull/5551))
|
||||
- TypeScript: do not add invalid semicolon for construct in interface with `// prettier-ignore` ([#5469](https://github.com/prettier/prettier/pull/5469))
|
||||
- HTML: do not touch comments ([#5525](https://github.com/prettier/prettier/pull/5525))
|
||||
- HTML: preserve bogus comments `<! ... >`/`<? ... >` ([#5565](https://github.com/prettier/prettier/pull/5565))
|
||||
- HTML: support IE conditional start/end comment ([#5470](https://github.com/prettier/prettier/pull/5470))
|
||||
- HTML: do not add extra indentation for js template in `<script>` ([#5527](https://github.com/prettier/prettier/pull/5527))
|
||||
- HTML: leading spaces for the first interpolation in `<textarea>` are sensitive ([#5468](https://github.com/prettier/prettier/pull/5468))
|
||||
- HTML: preserve content for element in `<pre>` correctly ([#5473](https://github.com/prettier/prettier/pull/5473))
|
||||
- HTML: correct column for error code frame ([#5553](https://github.com/prettier/prettier/pull/5553))
|
||||
- Angular: support interpolation in attributes ([#5573](https://github.com/prettier/prettier/pull/5573))
|
||||
- Angular: do not print colon for `then` and `else` in `*ngIf` ([#5542](https://github.com/prettier/prettier/pull/5542))
|
||||
- Angular/Vue: do not normalize tag/attribute names ([#5526](https://github.com/prettier/prettier/pull/5526), [#5549](https://github.com/prettier/prettier/pull/5549))
|
||||
- Vue: preserve custom block ([#5458](https://github.com/prettier/prettier/pull/5458))
|
||||
- Vue: remove unnecessary semicolon and preserve necessary semicolon for single expression in event bindings ([#5519](https://github.com/prettier/prettier/pull/5519))
|
||||
- Vue: group `slot-scope` correctly ([#5563](https://github.com/prettier/prettier/pull/5563))
|
||||
- Markdown: do not trim content in inline-math ([#5485](https://github.com/prettier/prettier/pull/5485))
|
||||
- Markdown: add more category to CJK regex ([#5480](https://github.com/prettier/prettier/pull/5480))
|
||||
- SCSS: update parser for performance improvements ([#5481](https://github.com/prettier/prettier/pull/5481))
|
||||
- YAML: preserve the first document head end marker `---` ([#5502](https://github.com/prettier/prettier/pull/5502))
|
||||
- API: resolve `ignored` field correctly in `.getFileInfo()` with absolute filePath ([#5570](https://github.com/prettier/prettier/pull/5570))
|
||||
- API/CLI: fix a bug that caches for `.js` config files did not respect `.clearConfigCache()` ([#5558](https://github.com/prettier/prettier/pull/5558))
|
||||
- API/CLI: ignore `unset` in `.editorconfig` ([#5550](https://github.com/prettier/prettier/pull/5550))
|
||||
- CLI: report status code `0` for `--list-different` + `--write` ([#5512](https://github.com/prettier/prettier/pull/5512))
|
||||
- Standalone: fix a regression for browser compatibility ([#5560](https://github.com/prettier/prettier/pull/5560))
|
||||
|
||||
# 1.15.2
|
||||
|
||||
[diff](https://github.com/prettier/prettier/compare/1.15.1...1.15.2)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "prettier",
|
||||
"version": "1.16.0-dev",
|
||||
"version": "1.15.3",
|
||||
"description": "Prettier is an opinionated code formatter",
|
||||
"bin": {
|
||||
"prettier": "./bin/prettier.js"
|
||||
|
|
Loading…
Reference in New Issue