Skip to content

v4.7.0

Compare
Choose a tag to compare
@YusukeHirao YusukeHirao released this 02 May 09:18
· 298 commits to dev since this release

New Features

  • Add the new overrideMode option #1583
  • Add conditionalChildNodes API as experimental to Nodes #1593
  • Add evaluateConditionalChildNodes option as experimental to permitted-contents rule #1630

We have now experimentally developed the ability to detect code structures with conditional branching. Currently, it only supports Svelte.

<ul>
  {#each items as item}
    <span>{item}</span>
  {/each}
  <li>default item</li>
</ul>

In this case, the <ul> element ends up containing <span> elements directly underneath it, which results in an invalid HTML structure.

New Specs

  • Add onscrollend event attribute #1594

Fixed Bugs

  • Fix the for attribute type of the output element #1616

What's Changed

Full Changelog: v4.6.1...v4.7.0