|
2 | 2 |
|
3 | 3 | All notable changes to the SuperHTML extension will be documented in this file. |
4 | 4 |
|
| 5 | +## [v0.7.0] |
| 6 | +- Added support for `[role]` and `[aria-*]` attributes (thanks bitterlox!) which |
| 7 | + includes also autocomplete support for the language server. |
| 8 | +- Greatly improved JS formatting: JS code has now a proper tokenizer that |
| 9 | + avoids the previous issues with formatting code that makes non-trivial |
| 10 | + use of curly braces (thanks Jeffrey Crochet!). |
| 11 | +- Relaxed rules for `<iframe [allow]>`: apparently nobody on the internet |
| 12 | + respects the grammar for values of this attribute (eg. when you copy |
| 13 | + embed code from youtube, it gives you completely wrong code), and since |
| 14 | + that grammar is a spec external to the HTML spec, I've made checking more |
| 15 | + lenient because it would otherwise be too hard for users to figure out |
| 16 | + the right syntax. |
| 17 | +- Fix `<svg>`, `<math>`, `<ins>`, `<del>` categorization (previously you |
| 18 | + would get false positive nesting errors). |
| 19 | +- Fixed incorrect analysis of comments inside of `<details>` elements which |
| 20 | + could cause false positive errors for a `<summary>` child. |
| 21 | +- Fixed some minor bugs relative to the obsolete `<script>` double escape |
| 22 | + state. This should have no impact on anybody as it's a legacy feature. |
| 23 | +- Fixed a rendering bug where formatting a file multiple times in a row |
| 24 | + could cause it to end up with 2 newlines at the bottom (instead of 1). |
| 25 | + |
5 | 26 | ## [v0.6.2] |
6 | 27 | - The "boolean attributes cannot have a value" error now puts squigglies under the attribute name instead of the value. |
7 | 28 | - Improved validation for `<link>` `[crossorigin]`, it previously used its own implementation of CORS validation, while now it uses one central implementation shared by all other similar attributes. |
|
0 commit comments