Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency lit-html to v1 #33

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Feb 5, 2019

This PR contains the following updates:

Package Type Update Change
lit-html (source) dependencies major 0.9.0 -> 1.1.2

Release Notes

Polymer/lit-html

v1.1.2

Compare Source

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

v1.1.1

Compare Source

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

v1.1.0

Compare Source

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

Compare Source

Changed
Added
  • Global version of lit-html on window (#​790).
Fixed
  • Removed use of any outside of test code (#​741).

v0.14.0

Compare Source

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)

v0.13.0

Compare Source

Changed
  • [Breaking] 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)
  • eventContext is no longer used as the this value for event listener objects (object with a handleEvent method), as the object itself is supposed to be the this value. (#​576)

v0.12.0

Compare Source

Changed
  • Re-implemented repeat directive for better performance (#​501)
  • Updated TypeScript dependency to 3.1
  • [Breaking] render() now takes an options object as the third argument. (#​523)
Added
  • Event listeners are called with a configurable this reference, which is set via the eventContext option to render(). (#​523)
  • Support for event listener options, by passing the listener itself as both the second and third arguments to add/removeEventListener().

v0.11.4

Compare Source

Fixed
  • Fixed issues with shady-render introduced in 0.11.3 (#​504 and #​505).

v0.11.3

Compare Source

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

v0.11.2

Compare Source

Added
  • Added classMap and styleMap directives (#​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

Compare Source

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 paremeter (#​472)

v0.11.0

Compare Source

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 PartCallback with TemplateProcessor (#​405)
  • Unified NodePart and AttributePart interfaces (#​400)
    • AttributePart#setValue() takes a single value
    • Part has separate setValue() and commit() phases
    • Added AttributeCommitter to commit attribute values once for multiple AttributeParts
Removed
  • Removed lit-extended.js (#​436)
Fixed
  • Render initial undefined values in attributes (#​377)
  • Handle case-sensitive attributes like viewBox correctly (#​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)

v0.10.2

Compare Source

v0.10.1

Compare Source

  • Added noChange - Value in favour of directiveValue (deprecated).
    • A noChange - Value signals that a value was handled by a directive and should not be written to the DOM
  • Updated shady-render to render styles in order, work with @apply, and work in browers where CSS Custom Properties must be polyfilled, like IE 11.
  • Introduced API to modify template contents safely without breaking template parts
    • insertNodeIntoTemplate(template: Template, node: Node, refNode: Node|null)
    • removeNodesFromTemplate(template: Template, nodesToRemove: Set<Node>)

v0.10.0

Compare Source

  • Added IE11 support
  • Declarative events in lit-extended are more efficient when handlers change

Renovate configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻️ Rebasing: Whenever PR becomes conflicted, or if you modify the PR title to begin with "rebase!".

🔕 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

Newsflash: Renovate has joined WhiteSource, and is now free for all use. Learn more or view updated terms and privacy policies.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant