Skip to content

Releases: lit/lit

@lit-labs/[email protected]

20 Aug 18:51
a60d061

Choose a tag to compare

Pre-release

Patch Changes

  • #1942 c8fe1d4 - For minified class fields on classes in lit libraries, added prefix to stable properties to avoid collisions with user properties.

@lit-labs/[email protected]

20 Aug 18:51
a60d061

Choose a tag to compare

Pre-release

Patch Changes

  • #1942 c8fe1d4 - For minified class fields on classes in lit libraries, added prefix to stable properties to avoid collisions with user properties.

@lit-labs/[email protected]

20 Aug 18:51
a60d061

Choose a tag to compare

Pre-release

Patch Changes

  • #1942 c8fe1d4 - For minified class fields on classes in lit libraries, added prefix to stable properties to avoid collisions with user properties.
  • Included development folder in release #1912.

v1.3.0

19 Aug 21:38
e66eb66

Choose a tag to compare

Changed

  • Set the "type" field in package.json to "module. (#1146)

Added

  • Added support for Trusted Types. This support uses a policy named 'lit-html' for parsing the static parts of html literals, and ensures that we pass trusted type values through to the DOM when used in bindings. (#1153)
  • Export the shadyTemplateFactory from lib/shady-render.js (#1135)

v1.2.1

20 Mar 00:58
7c74422

Choose a tag to compare

Fixed

  • Add TypeScript type declarations for older versions of TypeScript. We're currently testing back to TS 3.4. We can't commit to never breaking TypeScript builds, but we'll be supporting older versions as best we can.

v1.2.0

19 Mar 16:01
d4a0b98

Choose a tag to compare

Added

  • Added unsafeSVG directive to bind SVG source inside SVGs. (#304)
  • Added templateContent() directive for stamping out the contents of an HTML template into a text binding. (#1058)
  • Added the live() directive. (#877)

Fixed

  • Fixed a bug where classMap and styleMap directives wouldn't render mutated objects. (#972)
  • Fixed a bug where ifDefined() would set an attribute even when the value didn't change. (#890)
  • Change classMap directive to set classes correctly on SVGs (#1070).

v1.1.2

12 Aug 17:53
02aab5d

Choose a tag to compare

Fixed

  • Fixed a bug where bindings in comments could be written as text in some cases. (#926)

v1.1.1

09 Jul 19:46

Choose a tag to compare

Changed

  • render and shady-render now both accept any value that is renderable by NodePart. (#910)

v1.1.0

09 Jul 21:33

Choose a tag to compare

Changed

  • Many small performance enhancements.
  • Private names are now named with a __ prefix (#859).

Added

  • Setup continuous benchmarking with Tachometer (#887).

Fixed

  • Prevent empty styles from causing exceptions or breaking rendering when using shady-render (#760).
  • Primitive values in attributes are now always simply stringified, regardless of whether they are iterable. (#830)
  • Adopt and upgrade template fragments after processing for parts (#831).
  • Fixed bindings with attribute-like expressions preceeding them (#855).
  • Fixed errors with bindings in HTML comments (#882).

v1.0.0

05 Feb 18:52

Choose a tag to compare

1.0.0