github lit/lit v0.14.0

latest releases: @lit/react@1.0.5, @lit-labs/ssr-react@0.3.0, @lit-labs/nextjs@0.2.0...
5 years ago

Changed

  • until() can now take any number of sync or async arguments. (#555)
  • [Breaking] guard() supports multiple dependencies. If the first argument to guard() is an array, the array items are checked for equality to previous values. (#666)
  • [Breaking] Renamed classMap.js and styleMap.js files to kebab-case. (#644)

Added

  • Added cache() directive. (#646)
  • Removed Promise as a supposed node-position value type. (#555)
  • Added a minimal <template> polyfill.

Removed

  • [Breaking] Removed the when() directive. Users may achieve similar behavior by wrapping a ternary with the cache() directive.

Fixed

  • Bound attribute names are rewritten to avoid IE/Edge removing SVG and style attributes. (#640)
  • Ensure shady-render prepares styling for a scope before attaching child elements. (#664)
  • Handle CSS Custom Variables in the styleMap directive. #642)

Don't miss a new lit release

NewReleases is sending notifications on new releases.