Skip to content

Releases: salesforce/lwc

v1.9.2

19 Nov 22:54
Compare
Choose a tag to compare

Improvements

  • #2089 - babel-plugin-component: Refactor the transformation phase to do a single transformation instead of two transformations.
  • #2090 - wire-service: Update README to reflect wire reform changes.

Internal

  • #2082: Weekly dependency update.
  • #2086: Remove push option from release:version script.
  • #2096: Remove Sauce keys from CircleCI configuration.

v1.9.1

19 Nov 22:42
Compare
Choose a tag to compare

Bug fixes

  • #2077 - synthetic-shadow: Fix a bug where focus() method invocations resulting from user clicks incorrectly trigger the logic used for keyboard focus navigation.

Internal

  • #2074: Fix a bug in the release branch restriction for publishing to npm.

v1.9.0

19 Nov 22:32
Compare
Choose a tag to compare

Improvements

  • #2067 - lwc: Add querySelector and querySelectorAll to the LWC type interface for ShadowRoot.
  • #2071 - engine-core: Add hot module reloading (HMR) functionality. Note that this feature was subsequently put behind a feature flag in v1.9.3.

Internal

  • #2058: Use CircleCI tag filtering to publish packages to npm.

v1.8.7

19 Nov 21:54
7a068a3
Compare
Choose a tag to compare

Improvements

  • #2064 - template-compiler: Export the types IRAttributeType, TemplateExpression, and TemplateIdentifier.

Bug fixes

  • #2068 - synthetic-shadow: Remove the iteration protocol from StaticHTMLCollection. StaticHTMLCollection is an interface used by LWC to represent the HTMLCollection interface, which doesn't support iterations.
  • #2065 - engine: Fix a bug in the diffing algorithm where dynamically-generated children of conditionally-rendered elements are not properly removed.

v1.8.6

15 Oct 14:48
Compare
Choose a tag to compare

Bug fixes

  • #2055: Explicit import of JavaScript transform plugins. The way LWC uses Babel causes it to load different transform versions depending on the node_modules structure of downstream projects. Explicitly importing these transforms sidesteps that issue, ensuring that we get the expected version during compilation.

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.