Skip to content

Releases: salesforce/lwc

v5.0.4

09 Jan 18:52
95c04ba
Compare
Choose a tag to compare

What's Changed

Full Changelog: v5.0.3...v5.0.4

v5.2.2

03 Jan 23:48
f49ac28
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v5.2.1...v5.2.2

v5.2.1

20 Dec 18:36
3919bc5
Compare
Choose a tag to compare

What's Changed

Full Changelog: v5.2.0...v5.2.1

v5.2.0

12 Dec 01:22
0a99d7c
Compare
Choose a tag to compare

What's Changed

Full Changelog: v5.1.0...v5.2.0

v5.0.3

07 Dec 22:36
b4af8a3
Compare
Choose a tag to compare

What's Changed

Full Changelog: v5.0.2...v5.0.3

v5.1.0

17 Nov 19:57
cb4995a
Compare
Choose a tag to compare

What's Changed

  • fix: remove string.prototype.matchAll polyfill by @nolanlawson in #3864
  • refactor: simplify UpgradableConstructor use of native lifecycle callbacks by @jmsjtu in #3862

Full Changelog: v5.0.2...v5.1.0

v5.0.2

14 Nov 22:39
7e1a435
Compare
Choose a tag to compare

What's Changed

Full Changelog: v5.0.1...v5.0.2

v5.0.1

14 Nov 18:35
5545a67
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v5.0.0...v5.0.1

v5.0.0

08 Nov 19:41
5bf31ea
Compare
Choose a tag to compare

LWC v5.0.0 contains breaking changes. Please read carefully below if you are upgrading from v4.

If you are upgrading from v3, please upgrade to v4 first.

Note

LWC v5 corresponds to Salesforce release Spring '24 (API version 60).

Summary of breaking change

Breaking change

Empty comment nodes as VFragment bookends

Note

On the Salesforce Lightning platform, this change only applies to components with an API version of 60 or above.

Features like slots in light DOM, scoped slots and lwc:if use VFragment as virtual DOM nodes. The underlying implementation of VFragment used empty text nodes to aid the DOM diffing algorithm of @lwc/engine-core. With this change, the empty text nodes are replaced with empty comment nodes.

The impact of this change is expected to be minimal. Test snapshots may need to be updated, where new <!----> comment nodes show up. Additionally, some usage of DOM node APIs may be impacted. If you use childNode, nextSibling, etc in your code, there may be subtle changes in behavior.

  • chore: use comment nodes for VFragment bookends by @divmain in #3846

Other changes

New Contributors

Full Changelog: v4.0.1...v5.0.0

v4.0.1

25 Oct 20:44
f9a6b34
Compare
Choose a tag to compare

What's Changed

Full Changelog: v4.0.0...v4.0.1