Skip to content

Releases: salesforce/lwc

v1.3.11

17 Apr 18:24
Compare
Choose a tag to compare

Internal
#1751 - engine: Decouple createElement from engine internals in preparation for the server-side rendering code split.

v1.3.10

17 Apr 18:24
Compare
Choose a tag to compare

Improvements

  • #1754 - synthetic-shadow: Remove polyfill that ensures the focusin and focusout events are composed, now that all supported browsers implement the correct behavior.
  • #1755 - synthetic-shadow: Remove polyfill that ensures the click event is composed, now that all supported browsers implement the correct behavior. Note that this change was reverted in v1.5.0 (#1786) since it was discovered that the issue still exists in an early version of Safari 12.

Internal

  • #1770: Enable lint rules for Jest and Jasmine tests.

v1.3.9

17 Apr 18:24
Compare
Choose a tag to compare

Bug fixes

  • #1756 - synthetic-shadow: Add polyfills for the copy, cut, and paste clipboard events to ensure that they are composed across all supported browsers. These events are currently non-composed in Firefox.

v1.3.8

17 Apr 18:23
Compare
Choose a tag to compare

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 a RangeError: 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

  • #1720 - wire-service: Perform stricter typescript checks by enabling the noImplicitAny compiler option.
  • #1753 - integration-karma: Migrate skipped tests from integration-tests to integration-karma.
  • #1765 - integration-karma: Clean up error boundary tests.

v1.3.7

11 Mar 00:52
Compare
Choose a tag to compare

Bug Fixes

  • #1762 - compiler: Use an updated version(1.32.1) of Rollup. This upgrade of Rollup safeguards the bundled component code while using dependencies with null prototype. More details on the Rollup issue can be found here.

Internal

  • #1760, #1759, #1758, #1757: Enforce strict typescript checks for theengine, template-compiler, module-resolver, and style-compiler packages.

v1.3.6

05 Mar 23:08
Compare
Choose a tag to compare

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

v1.3.4

27 Feb 21:19
Compare
Choose a tag to compare

Bug Fixes

  • #1744 - synthetic-shadow: This change fixes a bug where it wasn't possible for the copy, cut, and paste events to be listened for outside of the shadow root from which they were dispatched. Adding these events to the event-composed polyfill fixes this issue.

v1.3.3

27 Feb 21:19
Compare
Choose a tag to compare

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 setting spellcheck to "false" via template expressions, which will be subsequently revisited if the need arises.

v1.3.2

26 Feb 19:59
Compare
Choose a tag to compare

Internal

  • #1738 - errors: Eliminates the dependency that @lwc/jest-transform has on @lwc/errors. This is a required step to make @lwc/errors truly private.

v1.3.1

26 Feb 19:59
Compare
Choose a tag to compare

Bug Fixes

  • #1724: Update release script to reflect the correct package version in the distribution file. LWC distribution files are generated along with a version number comment. This change fixes a bug where the release script was incorrectly using the version number of the previous release.