Skip to content

Releases: salesforce/lwc

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.

v1.7.5

08 Jul 16:52
Compare
Choose a tag to compare

Bug Fixes

  • #1944 - engine-server: Fixes dynamic style property generation on SSR.
  • #1946 - synthetic-shadow: Fixes issue with slotted text nodes in synthetic-shadow.

Improvements

  • #1947 - babel-plugin-component: Adds new renderComponent API to the @lwc/babel-plugin-component allow list.
  • #1945 - engine-server: Adds support for global HTML attributes and AOM to the @lwc/engine-server.
  • #1951 - engine-core: Exposes types used in WireAdapter: WireConfigValue, WireContextValue and WireAdapterSchemaValue.

Internal

  • #1939 - engine-core: Removes renderedCallback and reactivity for SSR.

v1.7.4

26 Jun 01:01
Compare
Choose a tag to compare

Bug Fixes

  • #1942 - engine-core: Fix a memory leak in ContextProvider.

Improvements

  • #1926 - engine-core: Rework style injection & integrate into engine-server.
  • #1934 - engine-core: Remove Element check-in restriction.
  • #1940 - engine-core: Account for frozen error objects when adding web component stack trace to error object.

Internal

  • #1938: Allow integration test suites to execute on PRs from forked repos.
  • #1899: Karma test for multiple same wires with different configs.

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