Skip to content

Releases: salesforce/lwc

v1.8.5

07 Oct 16:13
Compare
Choose a tag to compare

Bug fixes

  • #2051 - lwc: Add missing depenency on @lwc/engine-server.
  • #2050 - engine: Fix the handling of null when diffing.
  • #2052, #2054 - engine: Revert "refactor(engine): improving the diffing algo for slotted elements #1617" and add regression test.

Internal

  • #2045 - perf-benchmarks: BEST test case for slotting scenarios.
  • #2047 - style-compiler: Update postcss to version 8.
  • #2043 - integration-karma: Defer all component creation in test blocks.
  • #2041 Upgrade to latest version of Babel.

v1.8.4

06 Oct 16:47
Compare
Choose a tag to compare

Improvements

  • #2039 - lwc: Expose engine-server ESM artifact.

Internal

  • #2040: Weekly dependency upgrade.

v1.8.3

06 Oct 16:56
Compare
Choose a tag to compare

Improvements

  • #1617 - engine: Improve the diffing algorithm for slotted content. This change skips re-rendering unaffected slotted components which brings a significant performance boost in certain cases. ⚠️ Note⚠️ : As a side effect, components relying on renderedCallback to detect when slotted component changes might break. The right approach to detect slotted component changes is to use the slotchange event.

Bug fixes

  • #2036 - synthetic-shadow: Allow event listeners added prior to the evaluation of the @lwc/synthetic-shadow polyfill to be removed.

Internal

  • #2037 - engine: Refactor usage of setElementProto.

v1.8.2

16 Sep 19:58
Compare
Choose a tag to compare

Bug Fix

  • #2027- engine: Addresses an issue where LWC root elements created using createElement API were not upgraded in the same way as elements found in a template. This inconsistency was causing root elements to lose certain functionality.

v1.8.1

06 Oct 16:58
Compare
Choose a tag to compare

Internal

  • #2028: Weekly dependency update.

v1.8.0

16 Sep 18:43
Compare
Choose a tag to compare

Improvements

Internal

  • #2020 - template-compiler: Exposes missing compiler types

v1.7.14

10 Sep 08:54
Compare
Choose a tag to compare

Improvements

  • #2000 - template-compiler: Optimizes the parse phase of the template compiler by using Acorn to parse expressions in a component template. Important: with this change, the following become invalid:
    • Expressions in a template that end with ;. For example: <template><button title={foo;}>click me</button></template>.
    • Expressions in a template that are wrapped in extra curly brackets. For example: <template><button title={{foo}}>click me</button></template>.

v1.7.13

29 Aug 02:23
Compare
Choose a tag to compare

Improvements

  • #1952 - template-compiler: Changes how boolean attributes and attributes used as boolean on standard HTML elements are rendered.
    • All the attributes declared in the template on standard HTML elements are now set via attributes.
    • Known boolean attributes (for example, hidden and required, but with the exception of checked) are set if their value is truthy. Otherwise, the attribute is omitted. For the rest of the attributes (for example, class, data-*, and foo-bar), the values are set if they are not nullish.

Internal

  • #2010 - lwc: Adds typing for the static CustomElementConstructor available on LightningElement.
  • #2013 - lwc: Adds typings for wire adapters and the context API.

v1.7.12

18 Aug 13:00
Compare
Choose a tag to compare

Bug Fixes

  • #1988 - synthetic-shadow: Fix tab navigation after drag-and-drop

Internal

  • #2004 - test: Re-enable aria-selected integration test
  • #1913 - engine: Add tag for reactive membrane and component instances to enable Locker VNext

v1.7.11

18 Aug 08:59
Compare
Choose a tag to compare

Improvements

  • #1984 - engine: Add experimental profiler API to the engine

Bug Fixes

  • #1992 - synthetic-shadow: Fix focus bug for nested components with negative tabindex
  • #1996 - synthetic-shadow: Fix error when accessing window-bound event's relatedTarget