Skip to content

Bump lit-element from 3.3.3 to 4.0.0

Dependabot requested to merge dependabot-npm_and_yarn-lit-element-4.0.0 into master

Bumps lit-element from 3.3.3 to 4.0.0.

Release notes

Sourced from lit-element's releases.

lit-element@4.0.0

Major Changes

  • #3751 dfd747cf - Simplify lit-html attribute handling for standards-compliant browsers that iterate attributes in source order

  • #4254 1040f758 - Change the type of ReactiveElement.renderRoot and return type of ReactiveElement.createRenderRoot() to be HTMLElement | DocumentFragment to match each other and lit-html's render() method.

  • #4146 0f6878dc - Generated accessor for reactive properties now wrap user accessors and automatically call this.requestUpdate() in the setter. As in previous versions, users can still specify noAccessor: true, in which case they should call this.requestUpdate() themselves in the setter if they want to trigger a reactive update.

  • #3759 1db01376 - Use replaceWith() for SVG templates

  • #3750 c3e473b4 - Use toggleAttribute() to simplify boolean attribute parts

  • #3850 7e8491d4 - Delete deprecated queryAssignedNodes behavior and arguments.

    Migrate deprecated usage with a selector argument to use @queryAssignedElements. E.g.: @queryAssignedNodes('list', true, '.item') to @queryAssignedElements({slot: '', flatten: false, selector: '.item'}).

  • #3754 76795a18 - Remove UpdatingElement alias for ReactiveElement

  • #3765 92cedaa2 - Remove experimental hydrate modules. These are available from @lit-labs/ssr-client.

  • #3756 f06f7972 - Drop IE11 support

  • #3896 2eba6997 - Warn on async overrides of performUpdate()

Patch Changes

  • #4183 6470807f - Make the decorators work with the accessor keyword when experimentalDecorators is true.

  • #3762 23c404fd - Remove Lit 1 -> Lit 2 migration warnings

  • #3918 2a01471a - Some code golf on ReactiveElement

  • #3809 6f2833fd - Use for/of loops in more places

  • #3710 09949234 - Add undefined to the return type of PropertyValues.get()

  • Updated dependencies:

    • @​lit/reactive-element@​2.0.0
    • lit-html@3.0.0
  • #4141 6b515e43 - Update TypeScript to ~5.2.0

lit-element@4.0.0-pre.1

Major Changes

  • #4146 0f6878dc - Generated accessor for reactive properties now wrap user accessors and automatically call this.requestUpdate() in the setter. As in previous versions, users can still specify noAccessor: true, in which case they should call this.requestUpdate() themselves in the setter if they want to trigger a reactive update.

... (truncated)

Changelog

Sourced from lit-element's changelog.

4.0.0

Major Changes

  • #3751 dfd747cf - Simplify lit-html attribute handling for standards-compliant browsers that iterate attributes in source order

  • #4254 1040f758 - Change the type of ReactiveElement.renderRoot and return type of ReactiveElement.createRenderRoot() to be HTMLElement | DocumentFragment to match each other and lit-html's render() method.

  • #4146 0f6878dc - Generated accessor for reactive properties now wrap user accessors and automatically call this.requestUpdate() in the setter. As in previous versions, users can still specify noAccessor: true, in which case they should call this.requestUpdate() themselves in the setter if they want to trigger a reactive update.

  • #3759 1db01376 - Use replaceWith() for SVG templates

  • #3750 c3e473b4 - Use toggleAttribute() to simplify boolean attribute parts

  • #3850 7e8491d4 - Delete deprecated queryAssignedNodes behavior and arguments.

    Migrate deprecated usage with a selector argument to use @queryAssignedElements. E.g.: @queryAssignedNodes('list', true, '.item') to @queryAssignedElements({slot: '', flatten: false, selector: '.item'}).

  • #3754 76795a18 - Remove UpdatingElement alias for ReactiveElement

  • #3765 92cedaa2 - Remove experimental hydrate modules. These are available from @lit-labs/ssr-client.

  • #3756 f06f7972 - Drop IE11 support

  • #3896 2eba6997 - Warn on async overrides of performUpdate()

Patch Changes

  • #4183 6470807f - Make the decorators work with the accessor keyword when experimentalDecorators is true.

  • #3762 23c404fd - Remove Lit 1 -> Lit 2 migration warnings

  • #3918 2a01471a - Some code golf on ReactiveElement

  • #3809 6f2833fd - Use for/of loops in more places

  • #3710 09949234 - Add undefined to the return type of PropertyValues.get()

  • Updated dependencies:

    • @​lit/reactive-element@​2.0.0
    • lit-html@3.0.0
  • #4141 6b515e43 - Update TypeScript to ~5.2.0

4.0.0-pre.1

Major Changes

... (truncated)

Commits


Dependabot commands
You can trigger Dependabot actions by commenting on this MR
  • $dependabot rebase will rebase this MR
  • $dependabot recreate will recreate this MR rewriting all the manual changes and resolving conflicts

Merge request reports