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 v2.8.0 #28

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

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Jan 5, 2022

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
lit-html (source) 2.0.2 -> 2.8.0 age adoption passing confidence

Release Notes

lit/lit (lit-html)

v2.8.0

Compare Source

Minor Changes
  • #​3993 e2c50569 - Fix return type of isTemplateResult helper to include the CompiledTemplateResult and fix the cache directive to work correctly with CompiledTemplateResults. Also add an explicit isCompiledTemplateResult helper.

v2.7.5

Compare Source

Patch Changes
  • #​3968 5bb40831 - Allow undefined to be passed to the ref() directive

  • #​3969 7d8d4a15 - Make RefOrCallback generic like Ref

  • #​3987 bb2560f1 - Change the h field of CompiledTemplates to a TemplateStringsArray preventing the spoofing of CompiledTemplates by JSON injection attacks. This should not be a breaking change for most users unless you're using CompiledTemplates. This is a necessary security fix, similar to #​2307.

v2.7.4

Compare Source

Patch Changes
  • #​3888 0f30e6fb - Fix a memory leak cause by lit-html's shared TreeWalker holding a reference to the last tree it walked.

v2.7.3

Compare Source

Patch Changes
  • #​3825 343187b1 - static-html no longer adds an item to TemplateResult's value array for the last consumed static value. This fixes an error with server-side rendering of static html.

  • #​3766 4431cbb8 - Fix styleMap initial render of mixed-case custom props

v2.7.2

Compare Source

Patch Changes

v2.7.1

Compare Source

Patch Changes
  • #​3768 7c1191da - Fix styleMap's handling of important flags

  • #​3720 575fb578 - lit-html/experimental-hydrate.js and lit-element/experimental-hydrate-support.js have been moved to @lit-labs/ssr-client.

    The modules in the original location have been marked deprecated and will be removed in a future version.

v2.7.0

Compare Source

Minor Changes
  • #​3667 e00f6f52 - [SSR only] Improved how nodes with attribute/property/event/element bindings are rendered in SSR, to avoid adding comments inside of "raw text elements" like <textarea>. Fixes #​3663.

    Note: @lit-labs/ssr and lit-html must be updated together.

Patch Changes

v2.6.1

Compare Source

Patch Changes
  • #​3526 65e56655 - Disable ShadyDOM noPatch in Node dev build. This fixes the issue of throwing due to undefined window.

v2.6.0

Compare Source

Minor Changes
  • #​3522 72fcf0d7 - When running in Node, Lit now automatically includes minimal DOM shims which are
    sufficient for most SSR (Server Side Rendering) use-cases, removing the need to
    import the global DOM shim from @lit-labs/ssr.

    The new @lit-labs/ssr-dom-shim package has been introduced, which exports an HTMLElement, CustomElementRegistry, and default customElements singleton.

    The existing @lit-labs/ssr global DOM shim can still be used, and is compatible with the new package, because @lit-labs/ssr imports from @lit-labs/ssr-dom-shim. Importing the global DOM shim adds more APIs to the global object, such as a global HTMLElement, TreeWalker, fetch, and other APIs. It is recommended that users try to remove usage of the @lit-labs/ssr DOM shim, and instead rely on the more minimal, automatic shimming that @lit/reactive-element now provides automatically.

v2.5.0

Compare Source

Minor Changes
  • #​3507 b152db29 - lit-html and reactive-element now include development Node builds with unminified code and dev warnings.

v2.4.0

Compare Source

Minor Changes
  • #​3318 21313077 - Adds an isServer variable export to lit and lit-html/is-server.js which will be true in Node and false in the browser. This can be used when authoring components to change behavior based on whether or not the component is executing in an SSR context.

v2.3.1

Compare Source

Patch Changes

v2.3.0

Compare Source

Minor Changes
  • #​3156 ae6f6808 - Lit and its underlying libraries can now be imported directly from Node without crashing, without the need to load the @​lit-labs/ssr dom-shim library. Note that actually rendering from a Node context still requires the @​lit-labs/ssr dom-shim, and the appropriate integration between @​lit-labs/ssr and your framework/tool.
Patch Changes
  • #​3003 daddeb34 - Lit's async-directive now re-exports everything from the directive module.

  • #​3199 0725fdb4 - In DEV_MODE, render a warning instead of rendering a template's host in the template.

    Most commonly this would happen when rendering ${this} in a LitElement's template, which has the counterintuitive behavior of removing the element from the DOM, because when rendering the element's template we attach it into its own shadow root, which removes it from the DOM, causing it simply disappear. This is especially problematic with a fast HMR system.

  • #​3186 3766ae4c - StaticValue interface type is now exported.

v2.2.7

Compare Source

Patch Changes
  • #​3130 1f0567f1 - Export the underlying type of the keyed directive.

  • #​3132 2fe2053f - Added "types" entry to package exports. This tells newer versions of TypeScript where to look for typings for each module.

v2.2.6

Compare Source

Patch Changes

v2.2.5

Compare Source

Patch Changes
  • #​2952 a78cc3b7 - Fix SSR hydration bug relating to and other void elements having attribute bindings.

v2.2.4

Compare Source

Patch Changes
  • #​2847 79d82385 - Fix typo in API docs for live() directive.

  • #​2828 b3b6bc33 - Remove private Lit 2 migration helpers: INTERNAL and clearContainerForLit2MigrationOnly. This logic is no longer depended on.

v2.2.3

Compare Source

Patch Changes
  • #​2732 3e181bcb - Enforce use of file extensions in imports. Fixes an issue with older TypeScript compilers.

v2.2.2

Compare Source

Patch Changes
  • #​2657 a6069c40 - Remove readonly restriction from StyleInfo interface as addition, deletion, and updating of styles is valid. Expanded styleMap documentation with links to lit.dev.

  • #​2642 badc532c - Add an additional security brand check to StaticValues; Similar to #​2307

  • #​2691 171143bd - Fixes ref bug when auto-bound class method used as a callback could incorrectly receive undefined.

  • #​2661 9a3a38cd - Give a clearer error message when rendering into null/undefined

  • #​2646 365cd09a - Clarify that hacking around the template strings array brand error can create security vulnerabilities.

v2.2.1

Compare Source

Patch Changes
  • #​2635 ae358703 - Make the event debug logger lazier, doing even less work (with no side effects) even in dev mode unless the page has opted in.

v2.2.0

Compare Source

Minor Changes
  • #​2401 2c9d0008 - Added a devlog events system that may be used for debugging and visualizing Lit's internals.

v2.1.3

Compare Source

Patch Changes
  • #​2498 2a1dc7a1 - Replace 'rare' with 'invalid' in svg tag function JSDocs.

  • #​2459 23df9d45 - Fix bindings inside of <title> elements

  • #​2479 89560520 - Expand JSDocs for the svg tagged template literal (TTL). The new documentation makes it more clear that the svg tag function should only be used for SVG fragments, and not for the <svg> HTML element.

v2.1.2

Compare Source

Patch Changes

v2.1.1

Compare Source

Patch Changes

v2.1.0

Compare Source

Minor Changes
  • #​2337 fcc2b3d0 - Add a keyed(key, value) directive that clears a part if the key changes.
Patch Changes
  • #​2307 221cb0a9 - Added an additional check to prevent spoofing of internal lit types in data bindings.

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 was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/lit-html-2.x branch from 8bba4f3 to 3566a14 Compare January 6, 2022 19:55
@renovate renovate bot changed the title Update dependency lit-html to v2.1.0 Update dependency lit-html to v2.1.1 Jan 6, 2022
@renovate renovate bot force-pushed the renovate/lit-html-2.x branch from 3566a14 to bbb3167 Compare March 7, 2022 10:14
@renovate renovate bot changed the title Update dependency lit-html to v2.1.1 Update dependency lit-html to v2.2.0 Mar 7, 2022
@renovate renovate bot changed the title Update dependency lit-html to v2.2.0 Update dependency lit-html to v2.2.1 Mar 26, 2022
@renovate renovate bot force-pushed the renovate/lit-html-2.x branch from bbb3167 to 1b196e6 Compare March 26, 2022 14:45
@renovate renovate bot changed the title Update dependency lit-html to v2.2.1 Update dependency lit-html to v2.2.2 Apr 24, 2022
@renovate renovate bot force-pushed the renovate/lit-html-2.x branch from 1b196e6 to aa06760 Compare April 24, 2022 21:37
@renovate renovate bot force-pushed the renovate/lit-html-2.x branch from aa06760 to c6c3002 Compare May 15, 2022 23:35
@renovate renovate bot changed the title Update dependency lit-html to v2.2.2 Update dependency lit-html to v2.2.3 May 15, 2022
@renovate renovate bot force-pushed the renovate/lit-html-2.x branch from c6c3002 to 7abfb55 Compare June 18, 2022 16:33
@renovate renovate bot changed the title Update dependency lit-html to v2.2.3 Update dependency lit-html to v2.2.6 Jun 18, 2022
@renovate renovate bot force-pushed the renovate/lit-html-2.x branch from 7abfb55 to cd8fce2 Compare September 25, 2022 13:13
@renovate renovate bot changed the title Update dependency lit-html to v2.2.6 Update dependency lit-html to v2.3.1 Sep 25, 2022
@renovate renovate bot changed the title Update dependency lit-html to v2.3.1 Update dependency lit-html to v2.6.1 Mar 17, 2023
@renovate renovate bot force-pushed the renovate/lit-html-2.x branch from cd8fce2 to 37835c2 Compare March 17, 2023 06:07
@renovate renovate bot changed the title Update dependency lit-html to v2.6.1 Update dependency lit-html to v2.7.0 Mar 23, 2023
@renovate renovate bot force-pushed the renovate/lit-html-2.x branch from 37835c2 to e13ca9e Compare March 23, 2023 22:00
@renovate renovate bot changed the title Update dependency lit-html to v2.7.0 Update dependency lit-html to v2.7.4 May 31, 2023
@renovate renovate bot force-pushed the renovate/lit-html-2.x branch from e13ca9e to cc93cfc Compare May 31, 2023 01:57
@renovate renovate bot changed the title Update dependency lit-html to v2.7.4 Update dependency lit-html to v2.7.5 Jul 5, 2023
@renovate renovate bot force-pushed the renovate/lit-html-2.x branch from cc93cfc to 9508674 Compare July 5, 2023 23:16
@renovate renovate bot changed the title Update dependency lit-html to v2.7.5 Update dependency lit-html to v2.8.0 Aug 2, 2023
@renovate renovate bot force-pushed the renovate/lit-html-2.x branch from 9508674 to 1f19a9d Compare August 2, 2023 22:47
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.

0 participants