Skip to content

Releases: salesforce/lwc

v1.8.0

16 Sep 18:43
Compare
Choose a tag to compare

Improvements

Internal

  • #2020 - template-compiler: Exposes missing compiler types

v1.7.14

10 Sep 08:54
Compare
Choose a tag to compare

Improvements

  • #2000 - template-compiler: Optimizes the parse phase of the template compiler by using Acorn to parse expressions in a component template. Important: with this change, the following become invalid:
    • Expressions in a template that end with ;. For example: <template><button title={foo;}>click me</button></template>.
    • Expressions in a template that are wrapped in extra curly brackets. For example: <template><button title={{foo}}>click me</button></template>.

v1.7.13

29 Aug 02:23
Compare
Choose a tag to compare

Improvements

  • #1952 - template-compiler: Changes how boolean attributes and attributes used as boolean on standard HTML elements are rendered.
    • All the attributes declared in the template on standard HTML elements are now set via attributes.
    • Known boolean attributes (for example, hidden and required, but with the exception of checked) are set if their value is truthy. Otherwise, the attribute is omitted. For the rest of the attributes (for example, class, data-*, and foo-bar), the values are set if they are not nullish.

Internal

  • #2010 - lwc: Adds typing for the static CustomElementConstructor available on LightningElement.
  • #2013 - lwc: Adds typings for wire adapters and the context API.

v1.7.12

18 Aug 13:00
Compare
Choose a tag to compare

Bug Fixes

  • #1988 - synthetic-shadow: Fix tab navigation after drag-and-drop

Internal

  • #2004 - test: Re-enable aria-selected integration test
  • #1913 - engine: Add tag for reactive membrane and component instances to enable Locker VNext

v1.7.11

18 Aug 08:59
Compare
Choose a tag to compare

Improvements

  • #1984 - engine: Add experimental profiler API to the engine

Bug Fixes

  • #1992 - synthetic-shadow: Fix focus bug for nested components with negative tabindex
  • #1996 - synthetic-shadow: Fix error when accessing window-bound event's relatedTarget

v1.7.10

18 Aug 08:52
Compare
Choose a tag to compare

Internal

  • #1993 - lwc: Specify dom lib for types.d.ts.

v1.7.9

27 Jul 17:59
Compare
Choose a tag to compare

Bug Fixes

  • #1972 - engine-server: Escape HTML entities from dynamic text and dynamic attributes to prevent potential XSS.
  • #1977 - engine-server: The isConnected property was refactored to accurately reflect the connectedness of the component.
  • #1986 - template-compiler: Tag names are now considered to determine whether or not an attribute is boolean. This fixes the incorrect assumption that all boolean attributes are HTML global attributes. Removes capture from the list of boolean attributes to align with the spec.

Internal

  • #1980: Specify node as the default type at the root level to prevent unwanted ambient types from being loaded.

v1.7.8

13 Jul 23:49
Compare
Choose a tag to compare

Bug Fixes

  • #1976 - wire-service: A recent exposure of hooks for use by external systems caused an unexpected change in the identity of method arguments for wire adaptors, breaking some wire adaptor implementations. This change removes the invocation of those hooks.

Improvements

  • #1968 - engine-server: Update the declarative shadow output to match the latest spec.

Internal

  • #1967 - module-resolver: Improve README documentation.
  • #1971 - engine-server: Improve test coverage for slots.

v1.7.7

13 Jul 22:06
Compare
Choose a tag to compare

Improvements

  • #1963 - engine-core: Use the component's class name when invoking toString() on component. This information is not propagated by the compiler so we now use the constructor name at runtime.

v1.7.6

08 Jul 16:54
Compare
Choose a tag to compare

Bug Fixes

  • #1949 - engine-server: Use globalThis to attach polyfills.

Improvements

  • #1961 - lwc: Generate distribution files for engine-server.
  • #1964 - engine-server: Adds runtime checks for the renderComponent API and makes the third parameter optional.

Internal

  • #1948 - engine-server: Disable wire adapters in SSR.
  • #1956 - engine-server: Adds SSR performance benchmark.
  • #1950, #1953, #1965 - engine-server: Additional tests for engine server.
  • #1955- engine-*: Readme for engine-core, engine-server, and engine-dom.