Releases: salesforce/lwc
v5.0.4
What's Changed
- chore(ci): pin chromedriver version [backport] by @nolanlawson in #3920
- fix(engine-core): fix non-native ARIA reflection [backport] by @nolanlawson in #3919
- chore: release v5.0.4 by @nolanlawson in #3932
Full Changelog: v5.0.3...v5.0.4
v5.2.2
What's Changed
- docs(lwc-engine): update README example by @JaydeepGo in #3922
- fix(engine-core): fix non-native ARIA reflection by @nolanlawson in #3918
- v5.2.2 by @abdulsattar in #3926
- v5.2.2 by @abdulsattar in #3927
New Contributors
- @JaydeepGo made their first contribution in #3922
Full Changelog: v5.2.1...v5.2.2
v5.2.1
What's Changed
- feat(api-versioning): bump latest to 61 by @nolanlawson in #3905
- chore: upgrade jasmine-core and karma-jasmine by @nolanlawson in #3890
- chore: update dependencies by @ravijayaramappa in #3908
- fix(compiler): handle symbol properties for dynamic values by @seckardt in #3895
- chore: weekly dependencies update by @rui-rayqiu in #3911
- fix(babel-plugin-component): improve error reporting by @nolanlawson in #3912
- chore: release v5.2.1 by @rui-rayqiu in #3913
- chore: release v5.2.1 by @rui-rayqiu in #3915
Full Changelog: v5.2.0...v5.2.1
v5.2.0
What's Changed
- chore: add github action badges by @jmsjtu in #3873
- chore(integration-karma): fix sourcemaps by @nolanlawson in #3875
- feat: log shadow mode through engine reporting API by @jye-sf in #3878
- chore(nucleus): test non-required downstreams by @nolanlawson in #3886
- chore(ci): pin chromedriver version by @nolanlawson in #3897
- chore: remove unused devDependency by @nolanlawson in #3898
- feat: add flag for forced shadow migrate mode by @nolanlawson in #3894
- chore: weekly dependencies update by @ravijayaramappa in #3896
- chore: v5.2.0 @W-14646095 by @ravijayaramappa in #3901
- chore: release v5.2.0 @W-14646095 by @ravijayaramappa in #3902
Full Changelog: v5.1.0...v5.2.0
v5.0.3
v5.1.0
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
v5.0.1
What's Changed
- build(deps): bump axios from 1.5.1 to 1.6.1 by @dependabot in #3851
- feat(rollup-plugin): support rollup v4 by @nolanlawson in #3842
New Contributors
Full Changelog: v5.0.0...v5.0.1
v5.0.0
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.
Other changes
- chore: bump deps to resolve security alerts by @nolanlawson in #3828
- feat: adding missing aria attributes by @MamataLV in #3702
- refactor: fix light dom slots for fragments by @jmsjtu in #3824
- test: syntax errors should not crash karma by @nolanlawson in #3833
- feat(rollup-plugin): expose enableStaticContentOptimization, test it by @nolanlawson in #3838
- chore: disable perf smoke tests until image with chrome 119 is published by @ravijayaramappa in #3848
- chore: pin chromedriver version for github action by @ravijayaramappa in #3847
- chore: release v5.0.0 by @divmain in #3849
- chore: release v5.0.0 @W-14449286 by @ravijayaramappa in #3850
New Contributors
Full Changelog: v4.0.1...v5.0.0
v4.0.1
What's Changed
- chore: switch from circle ci to github actions by @nolanlawson in #3783
- chore: update dependencies by @rui-rayqiu in #3826
- feat(reporting): report disconnected connectedCallback by @nolanlawson in #3825
- chore: release v4.0.1 by @rui-rayqiu in #3829
- chore: release v4.0.1 by @rui-rayqiu in #3830
Full Changelog: v4.0.0...v4.0.1