generated from dev-protocol/template-repos-ts
-
Notifications
You must be signed in to change notification settings - Fork 5
Update dependency lit to v2.8.0 #357
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
Open
renovate
wants to merge
1
commit into
main
Choose a base branch
from
renovate/lit-2.x
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
|
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/devprtcl/govern/GaiNpNLgV6xzu54QJ9osyFmPn38b |
500d039 to
ac1f4ea
Compare
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
ac1f4ea to
cea8c8b
Compare
cea8c8b to
0457c85
Compare
0457c85 to
f4257cf
Compare
f4257cf to
40bf0d1
Compare
40bf0d1 to
86dce1a
Compare
86dce1a to
1461af0
Compare
1461af0 to
b817316
Compare
b817316 to
cf0d6dd
Compare
cf0d6dd to
e8d4b6b
Compare
e8d4b6b to
f62be76
Compare
f62be76 to
5fba54f
Compare
5fba54f to
199851b
Compare
199851b to
4fde4ca
Compare
4fde4ca to
b364d13
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
None yet
0 participants
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.2.1→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.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.
This PR was generated by Mend Renovate. View the repository job log.