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

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

Update dependency lit to v2.8.0 #357

wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 6, 2022

This PR contains the following updates:

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

Release Notes

lit/lit (lit)

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.
Patch Changes
  • #​4031 8057c78d - Rename ReactiveElement._initialize to __initialize, make it private, and remove the @​internal annotation. This will help prevent collisions with subclasses that implement their own _initialize method, while using development builds.

  • Updated dependencies [e2c50569]:

    • lit-html@2.8.0

v2.7.6

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.5

Compare Source

Patch Changes
  • #​3917 f6387e35 - Allow decorators to accept ReactiveElement class from a different source.

v2.7.4

Compare Source

Patch Changes

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
  • #​3677 b95c86e5 - [SSR only] Reflect ARIA attributes onto server rendered Lit elements with attached internals during SSR and remove them upon hydration.

  • #​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.

  • #​3561 e5c254e9 - Fix built-in shimming of HTMLElement for Node build of reactive-element to respect existing HTMLElement in global

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.

Patch Changes

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.
Patch Changes

v2.4.1

Compare Source

Patch Changes
  • #​3374 bb098950 - Initializers added to subclasses are no longer improperly added to superclass.

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.
Patch Changes
  • #​3320 305852d4 - The lit package now specifies and "types" export condition allowing TypeScript moduleResolution to be nodenext.

  • Updated dependencies [21313077]:

    • lit-html@2.4.0

v2.3.1

Compare Source

Patch Changes
  • #​3222 486739ec - Fix CSSStyleSheet is not defined error that would occur when importing a Lit component in Node when both static styles and the @property decorator were used.

  • #​3223 5a65ca97 - Use existing document in Node build

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

v2.2.8

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.7

Compare Source

Patch Changes
  • #​2978 634d4560 - Changed the caching behavior of the css`` template literal tag so that same-text styles do not share a CSSStyleSheet. Note that this may be a breaking change in some very unusual scenarios on Chromium and Firefox > 101 only.

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.

  • #​2688 ef178ef6 - Add explicit types to the jsdoc code samples for query, queryAll, and queryAsync.

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.


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, 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.

@vercel
Copy link

vercel bot commented Apr 6, 2022

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/devprtcl/govern/GaiNpNLgV6xzu54QJ9osyFmPn38b
✅ Preview: https://govern-git-renovate-lit-2x-devprtcl.vercel.app

@renovate renovate bot force-pushed the renovate/lit-2.x branch from 500d039 to ac1f4ea Compare April 29, 2022 03:20
@renovate renovate bot changed the title Update dependency lit to v2.2.2 Update dependency lit to v2.2.3 Apr 29, 2022
@vercel
Copy link

vercel bot commented Apr 29, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
govern ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 2, 2023 11:04pm

@renovate renovate bot force-pushed the renovate/lit-2.x branch from ac1f4ea to cea8c8b Compare May 17, 2022 20:45
@renovate renovate bot changed the title Update dependency lit to v2.2.3 Update dependency lit to v2.2.4 May 17, 2022
@renovate renovate bot force-pushed the renovate/lit-2.x branch from cea8c8b to 0457c85 Compare June 18, 2022 14:03
@renovate renovate bot changed the title Update dependency lit to v2.2.4 Update dependency lit to v2.2.6 Jun 18, 2022
@renovate renovate bot force-pushed the renovate/lit-2.x branch from 0457c85 to f4257cf Compare September 25, 2022 13:57
@renovate renovate bot changed the title Update dependency lit to v2.2.6 Update dependency lit to v2.3.1 Sep 25, 2022
@renovate renovate bot force-pushed the renovate/lit-2.x branch from f4257cf to 40bf0d1 Compare November 20, 2022 16:55
@renovate renovate bot changed the title Update dependency lit to v2.3.1 Update dependency lit to v2.4.1 Nov 20, 2022
@renovate renovate bot force-pushed the renovate/lit-2.x branch from 40bf0d1 to 86dce1a Compare March 17, 2023 05:58
@renovate renovate bot changed the title Update dependency lit to v2.4.1 Update dependency lit to v2.6.1 Mar 17, 2023
@renovate renovate bot changed the title Update dependency lit to v2.6.1 Update dependency lit to v2.7.0 Mar 24, 2023
@renovate renovate bot force-pushed the renovate/lit-2.x branch from 86dce1a to 1461af0 Compare March 24, 2023 13:45
@renovate renovate bot changed the title Update dependency lit to v2.7.0 Update dependency lit to v2.7.2 Apr 17, 2023
@renovate renovate bot force-pushed the renovate/lit-2.x branch from 1461af0 to b817316 Compare April 17, 2023 12:43
@renovate renovate bot force-pushed the renovate/lit-2.x branch from b817316 to cf0d6dd Compare May 28, 2023 09:17
@renovate renovate bot changed the title Update dependency lit to v2.7.2 Update dependency lit to v2.7.4 May 28, 2023
@renovate renovate bot changed the title Update dependency lit to v2.7.4 Update dependency lit to v2.7.5 Jun 2, 2023
@renovate renovate bot force-pushed the renovate/lit-2.x branch from cf0d6dd to e8d4b6b Compare June 2, 2023 00:51
@renovate renovate bot changed the title Update dependency lit to v2.7.5 Update dependency lit to v2.7.6 Jul 6, 2023
@renovate renovate bot force-pushed the renovate/lit-2.x branch from e8d4b6b to f62be76 Compare July 6, 2023 01:26
@renovate renovate bot changed the title Update dependency lit to v2.7.6 Update dependency lit to v2.8.0 Aug 2, 2023
@renovate renovate bot force-pushed the renovate/lit-2.x branch from f62be76 to 5fba54f Compare August 2, 2023 23:03
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