Update dependency lit to v2.8.0 #29
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
2.0.2->2.8.0Release Notes
lit/lit (lit)
v2.8.0Compare Source
Minor Changes
e2c50569- Fix return type ofisTemplateResulthelper to include theCompiledTemplateResultand fix thecachedirective to work correctly withCompiledTemplateResults. Also add an explicitisCompiledTemplateResulthelper.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]:v2.7.6Compare Source
Patch Changes
#3968
5bb40831- Allow undefined to be passed to the ref() directive#3969
7d8d4a15- Make RefOrCallback generic like Ref#3987
bb2560f1- Change thehfield ofCompiledTemplates to aTemplateStringsArraypreventing the spoofing ofCompiledTemplates 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.5Compare Source
Patch Changes
f6387e35- Allow decorators to acceptReactiveElementclass from a different source.v2.7.4Compare Source
Patch Changes
308280eb- remove test directory from npm publicationv2.7.3Compare Source
Patch Changes
#3825
343187b1-static-htmlno longer adds an item toTemplateResult'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 propsv2.7.2Compare Source
Patch Changes
88fe0390- Allow numbers to be used as values in styleMap()v2.7.1Compare Source
Patch Changes
#3768
7c1191da- Fix styleMap's handling of important flags#3720
575fb578-lit-html/experimental-hydrate.jsandlit-element/experimental-hydrate-support.jshave 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.0Compare 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/ssrandlit-htmlmust be updated together.Patch Changes
#3583
88a40177- [SSR only] Add more detail to some hydration errorsUpdated dependencies [
4d698430,b95c86e5,e00f6f52,88a40177]:v2.6.1Compare Source
Patch Changes
#3526
65e56655- Disable ShadyDOM noPatch in Node dev build. This fixes the issue of throwing due to undefinedwindow.#3561
e5c254e9- Fix built-in shimming ofHTMLElementfor Node build ofreactive-elementto respect existingHTMLElementin globalv2.6.0Compare Source
Minor Changes
#3522
72fcf0d7- When running in Node, Lit now automatically includes minimal DOM shims which aresufficient 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-shimpackage has been introduced, which exports anHTMLElement,CustomElementRegistry, and defaultcustomElementssingleton.The existing
@lit-labs/ssrglobal DOM shim can still be used, and is compatible with the new package, because@lit-labs/ssrimports from@lit-labs/ssr-dom-shim. Importing the global DOM shim adds more APIs to the global object, such as a globalHTMLElement,TreeWalker,fetch, and other APIs. It is recommended that users try to remove usage of the@lit-labs/ssrDOM shim, and instead rely on the more minimal, automatic shimming that@lit/reactive-elementnow provides automatically.Patch Changes
72fcf0d7]:v2.5.0Compare Source
Minor Changes
b152db29-lit-htmlandreactive-elementnow include development Node builds with unminified code and dev warnings.Patch Changes
b152db29]:v2.4.1Compare Source
Patch Changes
bb098950- Initializers added to subclasses are no longer improperly added to superclass.v2.4.0Compare Source
Minor Changes
21313077- Adds anisServervariable export tolitandlit-html/is-server.jswhich will betruein Node andfalsein 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- Thelitpackage now specifies and "types" export condition allowing TypeScriptmoduleResolutionto benodenext.Updated dependencies [
21313077]:v2.3.1Compare Source
Patch Changes
#3222
486739ec- FixCSSStyleSheet is not definederror that would occur when importing a Lit component in Node when both staticstylesand the@propertydecorator were used.#3223
5a65ca97- Use existingdocumentin Node buildv2.3.0Compare Source
Minor Changes
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'sasync-directivenow re-exports everything from thedirectivemodule.#3120
6361a4b4- Bindthisto custom attribute converter methodsUpdated dependencies [
daddeb34,0725fdb4,3766ae4c,6361a4b4,ae6f6808]:v2.2.8Compare Source
Patch Changes
#3130
1f0567f1- Export the underlying type of thekeyeddirective.#3132
2fe2053f- Added "types" entry to package exports. This tells newer versions of TypeScript where to look for typings for each module.v2.2.7Compare Source
Patch Changes
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.6Compare Source
Patch Changes
b12e8d93- Expand documentation forrenderandTemplateResult.v2.2.5Compare Source
Patch Changes
a78cc3b7- Fix SSR hydration bug relating to and other void elements having attribute bindings.v2.2.4Compare Source
Patch Changes
#2847
79d82385- Fix typo in API docs for live() directive.#2828
b3b6bc33- Remove private Lit 2 migration helpers:INTERNALandclearContainerForLit2MigrationOnly. This logic is no longer depended on.v2.2.3Compare 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 forquery,queryAll, andqueryAsync.v2.2.2Compare Source
Patch Changes
#2657
a6069c40- Remove readonly restriction fromStyleInfointerface as addition, deletion, and updating of styles is valid. ExpandedstyleMapdocumentation with links to lit.dev.#2642
badc532c- Add an additional security brand check to StaticValues; Similar to #2307#2691
171143bd- Fixesrefbug when auto-bound class method used as a callback could incorrectly receiveundefined.#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.1Compare Source
Patch Changes
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.0Compare Source
Minor Changes
2c9d0008- Added a devlog events system that may be used for debugging and visualizing Lit's internals.Patch Changes
2c9d0008]:v2.1.4Compare Source
Patch Changes
#2518
bbbf21d4- Fix breaking change in the PropertyValues type. Make PropertyValues compatible with Map<string, string> and other Map types.#2526
a50d188a- Export PropertyValueMap such that JavaScript generated by Google Closure Compiler can reference this type. Do not directly import thePropertyValueMapinterface.v2.1.3Compare Source
Patch Changes
#2498
2a1dc7a1- Replace 'rare' with 'invalid' in svg tag function JSDocs.#2459
23df9d45- Fix bindings inside of <title> elements#2482
6ea3d6c4- Update the definition of the PropertyValues type to give better types to.get(k)..get(k)is now defined to return the correct type when usingPropertyValues<this>and a parameter that's a key of the element class.#2464
df4e1a46- Fix type signature in queryAssignedNodes JSDoc code example.#2479
89560520- Expand JSDocs for thesvgtagged template literal (TTL). The new documentation makes it more clear that thesvgtag function should only be used for SVG fragments, and not for the<svg>HTML element.#2457
48d69184- Add JSDoc to thewillUpdatelifecycle callback. Expand the docs forfirstUpdated, andattributeChangedCallback. Minor code sample fixes.v2.1.2Compare Source
Patch Changes
#2399
5ac025bf- Correct typo inasync-directivemodule comment#2370
7453e365- Replace square bracket links with thelinkcodeJSDoc tag.Editors will create a jump to definition hyperlink for the linkcode tag if the identifier is in scope.
#2410
b9a6962b- Correct the link path of CONTRIBUTING.md in README.md filesv2.1.1Compare Source
Patch Changes
39b8db85- Fix missing decorators/query-assigned-elements.js file00cd8533- Fix choose directive default export path.v2.1.0Compare Source
Minor Changes
fcc2b3d0- Add akeyed(key, value)directive that clears a part if the key changes.49ecf623- AddqueryAssignedElementsdecorator for a declarative API that callsHTMLSlotElement.assignedElements()on a specified slot.selectoroption allows filtering returned elements with a CSS selector.1d563e83- Add choose() directivePatch Changes
08e7fc56,fcc2b3d0,eb5c5d2b,49ecf623,26e3fb7b,d319cf5f,1d563e83,221cb0a9]: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.
This PR was generated by Mend Renovate. View the repository job log.