Skip to content

Releases: salesforce/lwc

v1.11.1

20 Jan 06:32
Compare
Choose a tag to compare

Bug fixes

  • #2189 - synthetic-shadow: Fix regression in event propagation of composed events to include slotted event targets when considering whether or not to invoke listeners.

Improvements

  • #2015 - synthetic-shadow: Add shadow DOM semantics for innerText and outerText. This change is implemented behind a feature flag for future enablement.
  • #2165 - engine-core: Improve decorator validation message by indicating that the decorated field is conflicting with another class member such as a method or an accessor.
  • #2167 - lwc: Update wire decorator type definition.

Internal

  • #2164: Enable integration tests for forked repositories.
  • #2157 - engine-core: Remove redundant Component type definition.
  • #2166: Dependency updates.

v1.11.0

20 Jan 05:10
Compare
Choose a tag to compare

Improvements

  • #2139 - synthetic-shadow: Refactor the event retargeting polyfill to move the patching from the event instance to the Event prototype.

v1.10.1

19 Jan 16:59
6112a29
Compare
Choose a tag to compare

Improvements

  • #2136 - engine: Fixes an issue where a synthetic-shadow-related property is added on all nodes regardless if the engine is running in native or synthetic mode. This avoids issues when multiple versions of the LWC engine are loaded in the same document and one version of LWC is using native shadow and the other is using synthetic shadow.

Internal

  • #2150 - integration-karma: Report synthetic-shadow code coverage.
  • #2138 - integration-karma: Simplify tests related to Event properties.
  • #2137 - synthetic-shadow: Update README to detail architectural decisions made regarding the implementation of slotchange.
  • #2155: Rename test modules to address jest warning.
  • #2145: Address security vulnerability GHSA-m57p-p67h-mq74.
  • #2142, #2154: Update project dependencies.
  • #2156: Normalize the registry for installed dependencies.

v1.10.0

15 Dec 17:08
Compare
Choose a tag to compare

Improvements

v1.9.8

15 Dec 17:00
Compare
Choose a tag to compare

Internal

  • #2131 - synthetic-shadow: Consolidate the caching of EventTarget prototype methods for internal use.
  • #2129 - integration-karma: Enable HTMLSlotElement.assignedElements tests to align with current browser implementations.
  • #2122 - integration-test: Refactor tests to remove code duplication. Also fixes incorrect tests that were uncovered during the refactor.
  • #2124 - integration-karma: Enables tests that were disabled due to issues that have since been fixed.
  • #2132: Update the ini dependency to address a security issue.

v1.9.7

15 Dec 16:51
18c5ea3
Compare
Choose a tag to compare

Improvements

  • #2123 - engine-core: In v1.9.6 (#2112) we made the initial computation of wire adapter configurations with dynamic parameters synchronous. This change reinstates the previous behavior by making the initial computation asynchronous. We plan to make this computation synchronous again in a subsequent release.

v1.9.6

04 Dec 06:18
1c30dbc
Compare
Choose a tag to compare

Bug fixes

  • #2112 - engine-core: Fix a memory leak for components having a wire adapter whose configuration includes a non-primitive value. When the component is disconnected, the reactive observer for the wire configuration is not reset and both the reactive observer and the component are not collected until the value is garbage collected.

  • #2118 - integration-tests: Fixes delegates-focus-tab-navigation test.

v1.9.5

04 Dec 06:09
8455ed7
Compare
Choose a tag to compare

Improvements

  • #2114 - synthetic-shadow Removes some of the TypeScript guards from @lwc/synthetic-shadow
  • #2113 - synthetic-shadow Moves node ownership logic into own module

Internal

  • #2109: Upgrades dev dependencies
  • #2110 : Upgrades dependencies
  • #2116 : Enables the repository to use node 14

v1.9.4

04 Dec 06:08
Compare
Choose a tag to compare

Improvements

  • #2046 - engine-core Removes unused api isAttributeLocked

Internal

  • #2102 - engine-core: Extracts getAttrNameFromPropName to the @lwc/shared package
  • #2099 - integration-karma: Fix test for getBoundingClientRect() which flaps when comparing double values

v1.9.3

19 Nov 22:56
Compare
Choose a tag to compare

Bug fixes

  • #2103: Fix a memory leak in the hot module reloading (HMR) implementation and put the whole feature behind a feature flag.