Releases: salesforce/lwc
Releases · salesforce/lwc
v1.11.1
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
andouterText
. 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
v1.11.0
v1.10.1
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
v1.9.8
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
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
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.