Update dependency lit-html to v0.14.0
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| lit-html (source) | 0.10.2 -> 0.14.0 |
Release Notes
lit/lit
v0.14.0
Changed
-
until()can now take any number of sync or async arguments. (#555) -
guard()supports multiple dependencies. If the first argument toguard()is an array, the array items are checked for equality to previous values. (#666) - Renamed
classMap.jsandstyleMap.jsfiles 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
- Removed the
when()directive. Users may achieve similar behavior by wrapping a ternary with thecache()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)
v0.13.0
Changed
- Directives are now defined by passing the entire directive factory function to
directive(). (#562)
Fixed
- Fix issue on obscure browsers that do not accept event listener objects by using callback as event part listener (#581)
- Fix KeyFn and ItemTemplate types (#570)
- Don't use export * to workaround rollup bug (#556)
-
eventContextis no longer used as thethisvalue for event listener objects (object with ahandleEventmethod), as the object itself is supposed to be thethisvalue. (#576)
v0.12.0
Changed
- Re-implemented repeat directive for better performance (#501)
- Updated TypeScript dependency to 3.1
-
render()now takes an options object as the third argument. (#523)
Added
- Event listeners are called with a configurable
thisreference, which is set via theeventContextoption torender(). (#523) - Support for event listener options, by passing the listener itself as both the second and third arguments to add/removeEventListener().
v0.11.4
Fixed
v0.11.3
Changed
- Moved upgrading of custom elements in template fragments to a common location in TemplateInstance (#489)
- Rewrite render() to reuse the logic in NodePart. render() now supports all the data types that NodeParts do. (#491)
Fixed
- Fixed bug when using the ShadyCSS @apply` shim. (#502)
v0.11.2
Added
- Added
classMapandstyleMapdirectives (#486)
Fixed
- Fixed bug in asyncReplace when rerendering the same iterable (#485)
- Update properties before upgrading custom elements (#455)
- Cache the ShadyCSS version lookup (#477)
v0.11.1
Changed
- Eliminated a cycle in the module import graph (#472)
- Remove the default value for the templateProcessor parameter in TemplateResult#constuctor, making it a required parameter (#472)
v0.11.0
Added
- Added support for property, event, and boolean bindings to default syntax (#398)
- Added guard directive (#438)
- Added when directive (#439)
Changed
- Split implementation into multiple small modules and merged lit-html.js and core.js (#436)
- Moved directives into top-level
directives/directory (#436) - Replaced
PartCallbackwithTemplateProcessor(#405) - Unified
NodePartandAttributePartinterfaces (#400)- AttributePart#setValue() takes a single value
-
Parthas separatesetValue()andcommit()phases - Added
AttributeCommitterto commit attribute values once for multipleAttributeParts
Removed
- Removed lit-extended.js (#436)
Fixed
- Render initial undefined values in attributes (#377)
- Handle case-sensitive attributes like
viewBoxcorrectly (#376) - Support bindings in
<template>elements (#343) - Don’t break templates when HTML comments have bindings in them (#446)
- IE: Don't use Set() constructor arguments (#401)
- Handle forms as Node instead of iterable (#404)
- Update values after upgrading custom elements (#385)
- Dirty check primitive values passed to unsafeHTML() (#384)
- Handle forms as Node instead of iterable (#404)
- Upgrade disconnected custom elements before setting properties on them. (#442)
- Fix style attribute bindings in IE (#448)
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
- [ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
Edited/Blocked Notification
Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.
You can manually request rebase by checking the rebase/retry box above.
⚠ Warning: custom changes will be lost.