Releases: salesforce/lwc
Releases · salesforce/lwc
v6.5.0
What's Changed
- chore: prettier everything! by @wjhsf in #4114
- chore(nucleus): bump memory limit by @nolanlawson in #4120
- chore: summer24 CLCO by @jmsjtu in #4119
- chore: release v6.5.0 CLCO
summer24
by @jmsjtu in #4121
Full Changelog: v6.4.1...v6.5.0
v6.4.1
What's Changed
Full Changelog: v6.4.0...v6.4.1
v6.4.0
Observable changes
HTML elements with class
and style
attributes may render with additional whitespace. This is due to an optimization to improve the render time of Lightning Web Components.
This change is exactly the same as what we've reported in previous releases, and can be fixed by avoiding anti-patterns for styling components. E.g.:
/* Don’t do this */
document.querySelector('[class="highlight yellow"]');
/* Do this instead */
document.querySelector(".highlight.yellow");
The difference now is that this change may be seen in more components than before.
What's Changed
- perf: apply static parts optimization to dynamic attributes by @jmsjtu in #4055
- fix: fix iframe onload with static content optimization by @nolanlawson in #4082
- fix: remove unnecessary nullish coalescing by @nolanlawson in #4086
- chore: update non-breaking dependencies by @jye-sf in #4085
- perf: Apply static parts optimization to dynamic style by @jmsjtu in #4084
- perf(synthetic-shadow): optimize recursivelySetShadowResolver by @nolanlawson in #4088
- perf(template-compiler): support
key
in static content by @nolanlawson in #4091 - perf: optimize
createUpgradableConstructor
by @nolanlawson in #4092 - perf: apply static parts optimization to dynamic class attributes by @jmsjtu in #4071
- chore: update jest snapshot by @nolanlawson in #4095
- fix: support arguments for FACE callbacks by @nolanlawson in #4094
- fix(engine-core): fix warnings for invalid keys by @nolanlawson in #4097
- perf(engine-core): optimize
patchClassAttribute
by @nolanlawson in #4102 - fix: error accessing tagName on fragment by @jmsjtu in #4103
- perf: apply static parts optimization to dynamic text by @jmsjtu in #4099
- fix: children and childNodes not returning top-level slotted children by @abdulsattar in #4098
- fix: add signals as dependency by @jmsjtu in #4106
Full Changelog: v6.3.4...v6.4.0
v5.0.10
What's Changed
- fix: event listener not being invoked for native web components by @ekashida in #4080
- fix(synthetic-shadow): account for both non-shadowed targets and targets shadowed by native shadow roots by @ekashida in #4079
- chore: release v5.0.10 by @ekashida in #4083
Full Changelog: v5.0.9...v5.0.10
v6.3.4
What's Changed
- perf: add js-framework-benchmark tests by @nolanlawson in #4069
- perf: add throttling to tachometer benchmarks by @nolanlawson in #4070
- fix: remove support for LWC v5 compiler by @nolanlawson in #4059
- chore: filter
@lwc/engine-server
fixture test warnings forlwc:dynamic
only by @jmsjtu in #4072 - chore: release v6.3.4 by @jye-sf in #4074
- chore: release v6.3.4 by @jye-sf in #4075
Full Changelog: v6.3.3...v6.3.4
v6.3.3
What's Changed
- chore: new year, new emoji 🚀 by @wjhsf in #4030
- test: consistent fixture tests for disallowed
@api
props by @nolanlawson in #4045 - chore: remove unused eslint rules @W-15228939 by @wjhsf in #4053
- test: reproduce timing issue with renderedCallback by @nolanlawson in #4058
- chore: clean up karma env by @wjhsf in #4060
- feat: add ability to use skip/only with test fixtures @W-15228939 by @wjhsf in #4054
- fix(synthetic-shadow): account for both non-shadowed targets and targets shadowed by native shadow roots by @ekashida in #4050
- chore: bump transitive deps by @nolanlawson in #4064
- fix(template-compiler): robust validation of complex template expressions by @ekashida in #4063
- fix(template-compiler): add complex template expression binding support for computed properties by @ekashida in #4065
- chore: release v6.3.3 by @ekashida in #4066
- Release v6.3.3 by @ekashida in #4068
Full Changelog: v6.3.2...v6.3.3
v6.3.2
What's Changed
- fix: disable form association entirely on older API versions by @nolanlawson in #4041
- Revert "fix(synthetic-shadow): retargeting does not correctly account for native shadow roots" by @ekashida in #4047
- chore: routine dependencies update by @ravijayaramappa in #4046
- chore: release v6.3.2 by @ravijayaramappa in #4049
Full Changelog: v6.3.0...v6.3.2
v6.3.1
What's Changed
- test: add test for wired properties from consts by @nolanlawson in #4032
- refactor: apply
formAssociated
on demand and enable forCustomElementConstructor
by @jmsjtu in #4035
Full Changelog: v6.3.0...v6.3.1
v6.3.0
Full Changelog: v6.3.4...v6.3.0
What's Changed
- refactor: move fragment cache-busting to Karma-only by @nolanlawson in #4025
- fix(template-compiler): avoid mutating the ast when binding complex template expressions by @ekashida in #4026
- docs: add more JSDoc for top-level exports @W-13278716 by @wjhsf in #4028
- chore: avoid @ts-ignore by @wjhsf in #4027
- test: enable test for native shadow by @ekashida in #4031
- fix: event listener not being invoked for native web components by @jye-sf in #4012
- feat: support generating inlined sourcemaps when transforming js file… by @jye-sf in #4033
- fix(template-compiler): avoid discarding text content whitespace for complex expressions by @ekashida in #4029
Full Changelog: v6.2.1...v6.3.0
v6.2.1
What's Changed
- fix: isObject doesn't actually narrow down to just an object by @wjhsf in #4003
- docs: add JSDoc for @lwc/shared language features @W-13278716 by @wjhsf in #4007
- chore(eslint): add JSDOC plugin @W-13278716 by @wjhsf in #4006
- chore: pin CI tests to chrome 121 by @nolanlawson in #4010
- test(integration-karma): improve lifecycle timing tests by @nolanlawson in #4009
- chore: more JSDoc rules! @W-13278716 by @wjhsf in #4008
- fix(synthetic-shadow): retargeting does not correctly account for native shadow roots by @ekashida in #4018
- chore: update dependencies by @rui-rayqiu in #4019
- test: add tests for invocation order in light DOM by @nolanlawson in #4016
- docs: add JSDoc for some exports @W-13278716 by @wjhsf in #4014
- fix: revert update to karma to see if the intermittent test failure is caused by this by @rui-rayqiu in #4021
- test: add test to confirm export behavior by @nolanlawson in #4022
- chore: release v6.2.1 by @rui-rayqiu in #4023
- chore: release v6.2.1 by @rui-rayqiu in #4024
Full Changelog: v6.2.0...v6.2.1