Skip to content

Releases: salesforce/lwc

v1.7.3

24 Jun 05:57
Compare
Choose a tag to compare

Bug Fixes

  • #1924 - engine-core: Fixes an issue where consumerDisconnectedCallback is not invoked when no context is set, as well as an issue where consumerDisconnectedCallback is called multiple times when multiple contexts are set.

Improvements

  • #1921 - engine-core: Export the DataCallback, WireAdapter, and WireAdapterConstructor typescript interfaces.

Internal

  • #1922 - engine-server: Initial directory structure with tests for @lwc/engine-server.
  • #1918 - engine-core: Add missing slots property type on the Template interface.

v1.7.2

17 Jun 08:15
Compare
Choose a tag to compare

Internal

  • #1914: Update Git2GUS release version
  • #1918: Use typescript library version es2018 as default
  • #1879 - engine: Implement the new Renderer interface.
  • #1916 - engine: Split the engine package into engine-core and engine-dom. This is only an internal package structure change that is transparent from the consumer perspective.
  • #1920 - wire-service: Clean up wire-service package structure.
  • #1919 - shared: Add missing jest config.

v1.7.1

12 Jun 17:40
Compare
Choose a tag to compare

Internal

  • #1889 - engine: refactoring - remove the dependency on Element.prototype.tagName to look up the component name
  • #1905 - engine: refactoring - move common aria-related code into shared package for future engine-core/engine-dom split
  • #1906 - engine: refactoring - remove unused field validation logic from the template evaluation
  • #1908 - engine: refactoring - move custom element constructor creation logic to @lwc/engine-dom for future or the engine-core/engine-dom split
  • #1888 - engine: refactoring - remove the dependency on the ShadowRoot.prototype.innerHTML
  • #1910 - engine: refactoring - move imports entry points towards future engine-core/engine-dom split
  • #1893 - engine: refactoring - clean up the usage and the content of VM

v1.6.8

08 Jun 18:26
Compare
Choose a tag to compare

Note: Also contains changes from v1.6.7 which was accidentally published as a canary

Internal

  • #1896 - tests: Add tests for an integration with an internal project
  • #1903 - docs: Add homepage and repository links to sub-packages
  • #1901 - engine: Internal refactor to move CustomElementConstructor getter to engine-dom package
  • #1897 - engine: Internal refactor to remove restriction coupled with engine internal to the engine-dom package

v1.6.6

08 Jun 18:25
Compare
Choose a tag to compare

Improvements

  • #1880 - tests: Currently, when modifying any file used in the Karma test suite, it forces Karma to recompile all the tests. This PR fixes this issue by invalidating only the dependent tests. With PR, the time it takes for the runner to take into account went from 20 seconds down to 500 ms.

v1.6.5

08 Jun 18:25
Compare
Choose a tag to compare

Bug Fixes

  • #1886- babel-plugin-component: Fixes an issue introduced to dedupe import statements from the same module. This fix allow to handle the case where all the contents of a module is imported.

v1.6.4

08 Jun 18:25
Compare
Choose a tag to compare

Bug Fixes

  • #1873- wire-service: fixes an issue with legacy wire adapters in which adapters config is invoked when all the dynamic params of the config are undefined.
  • #1884- wire-service: fixes an issue in which legacy adapters get called with the same config values, this fix eliminates the extra call only for legacy adapters.

Internal

  • #1878- engine: Test migration from Jest to Karma

v1.6.3

19 May 05:08
Compare
Choose a tag to compare

Bug Fixes

  • #1872- engine: Avoid throwing exceptions when attempting to unmount a malformed component. Components in an invalid state are now safely unmounted and recreated.

Internal

  • #1865 - engine: Internal refactor to abstract away DOM-related APIs.
  • #1874 - lwc: LWC module resolution configuration to expose the lwc, @lwc/synthetic-shadow, and @lwc/wire-service modules. The @lwc/compiler and @lwc/features modules are internal dependencies and are not exposed.
  • #1876 - babel-plugin-compiler: Avoid duplicated module names for import statements that are generated during the compilation process.

v1.6.2

19 May 02:19
Compare
Choose a tag to compare

Internal

  • #1866: Revert weekly dependency upgrade (#1864) because some of the updated packages depend on Node v12.
  • #1864: Weekly dependency upgrade.
  • #1863 - engine: Remove duplicate engine unit tests.

v1.6.1

19 May 02:18
Compare
Choose a tag to compare

Internal

  • #1861 - engine: Initial commit to separate the LWC engine into multiple modules to accommodate server-side rendering (SSR).
  • #1855 - compiler: Upgrade to Rollup version 2.7.3.
  • #1858 - engine: Refactor LightningElement type definition to reuse existing ambient types.