Skip to content

Releases: salesforce/lwc

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.

v1.6.0

19 May 01:59
Compare
Choose a tag to compare

Improvements

  • #1857 - engine: Remove the focus-event-composed polyfill. This issue is specific to the focus event. Firefox was fixed 2 years ago in version 61.

v1.5.4

19 May 01:59
Compare
Choose a tag to compare

Bug Fixes

  • #1856 - engine: Revert the click-event-composed polyfill. This issue is specific to Safari and was fixed in Safari 12.1 (released in March 2019). Based on user data, we're not ready to drop support for Safari 12.0.x.

v1.5.3

07 May 14:38
Compare
Choose a tag to compare

Improvements

  • #1838 - engine: Adds hasAttribute() on LightningElement. Fixes issue #1810.

Bug Fixes

  • #1789 - module-resolver: Fixes an issue in the module resolution where the symbolic links for NPM packages are automatically resolved.
  • #1852 - module-resolver: Validate ModuleRecord data type.
    With the new module-resolver, configuration passed to module-resolver and @lwc/rollup-plugin are expected to have an ModuleRecords object type. Prior configs where the ModuleRecord was a string throw an unhandled exception.

Internal

  • #1849 - module-resolver: Fix typo in README.
  • #1851: Update weekly dependencies.
  • #1853 - lwc-integration: Update dependencies.

v1.5.2

07 May 14:38
Compare
Choose a tag to compare

Improvements

  • #1838 - engine: Avoid multiple getComponentInternalDef lookups.
    Optimizes the createVM method by removing the need to look up the component definition for each invocation. All the invokers of createVM already have a handle for the component definition under construction. By passing the definition, each of the constructors to this method avoids an extra lookup to the def registry.

Bug Fixes

  • #1839 - wire-service: Fixes an issue in which when a wired field is modified from the component code, it doesn't trigger rehydration on the component.
  • #1842 - engine: Fixes cache definition for a constructor with a circular dependency.
    For a component constructor with a circular dependency, the definition gathered is being cached with the resolved constructor as the key. This becomes an issue when the unresolved constructor is reused the second time. The component def is recalculated unnecessarily.

Internal

  • #1837: Weekly dependencies update
  • #1830 - docs: Create README for lwc package