Releases: salesforce/lwc
v1.3.8
Improvements
- #1764 - style-compiler: This change modifies the way the compiler concatenates strings when producing the stylesheet by using
Array.prototype.join('')
instead of the+
operator to avoid aRangeError: Maximum call stack size exceeded
error thrown by Rollup. This processing is done to inject the tokens used for the shadow DOM emulation at runtime.
Internal
v1.3.7
v1.3.6
Bug Fixes
-
#1750 - compiler: This change disables the
wrap_func_args
terser output. This option breaks the regular expression used for module namespace mapping. On top of this, the latest JavaScript VMs already optimize for such a pattern and the function expression wrapping might actually hurt performance. -
#1728 - wire-service: This change fixes an issue in which a wire adapter receives an incomplete config when the wire instance has 2 or more reactive parameters with the same head:
{ p1: '${head}.foo', p2: ${head}.bar }
.
Internal
-
#1746 - engine: This change removes the p render API and related code since the compiler doesn't produce VNodes for comment.
-
#1745 - engine: This change removes the
$fromTemplate$
marker which is an old artifact that wasn't removed with #1362 (engine: Remove attribute mutation restrictions). -
#1749 - chore: Weekly dependencies update. Updated packages:
@babel/[email protected]
,@babel/[email protected]
,@types/[email protected]
,@typescript-eslint/[email protected]
,@typescript-eslint/[email protected]
,[email protected]
,[email protected]
,[email protected]
,[email protected]
,[email protected], [email protected]
,[email protected]
v1.3.4
v1.3.3
Bug Fixes
- #1610 - engine: This change fixes a bug where setting the
spellcheck
attribute to"false"
in the template resulted in a value of"true"
being rendered in the DOM. It's worth noting that this change does not address the same issue when settingspellcheck
to"false"
via template expressions, which will be subsequently revisited if the need arises.
v1.3.2
v1.3.1
v1.3.0
Improvements
- #1722 - synthetic-shadow: Default implementation for programmatic focus when delegating focus. Components using
delegatesFocus
now have afocus()
method that follows shadow semantics and focuses on the first focusable element in its shadow tree. This change is backwards compatible with components that define their ownfocus()
method.
v1.2.5
v1.2.4
Bug Fixes
- #1709 - synthetic-shadow: Refine the focus delegation behavior. The focus delegation polyfill assumed that any element with an
href
attribute was sequentially focusable via keyboard. This was tightened to only considera
andarea
tags withhref
attributes. In addition,iframe
s have also been added to the list of sequentially focusable elements.