Releases: salesforce/lwc
Releases · salesforce/lwc
v8.12.2
What's Changed
- test(ssr): add tests for nested elements in slots by @nolanlawson in #5048
- fix(compiler): log warning for missing name/namespace by @nolanlawson in #4825
- test(karma): remove unnecessary IE11-related code by @nolanlawson in #5054
- fix: replace barrel exports from
lwc
with@lwc/ssr-runtime
by @jhefferman-sfdc in #5034 - test(karma): add test for for:each issue #4889 by @nolanlawson in #5053
- fix(ssr): missing bookends for slotted lwc:if not at the top-level by @cardoso in #5027
- fix(ssr): fix HTML comment bookends for if blocks by @nolanlawson in #5055
- fix(ssr-compiler): namespace & name are optional in CompilerTransformOptions by @cardoso in #5058
- test(ssr): test
if
with adjacent text by @nolanlawson in #5056 - test(karma): reduce #4889 even further by @nolanlawson in #5060
- fix(ssr): fix
style
attribute rendering by @nolanlawson in #5061 - fix(ssr-compiler): harmonize some wire errors by @cardoso in #5062
- fix: only call callback when needed @W-17420330 by @wjhsf in #5064
- fix(ssr): render from superclass by @cardoso in #5063
- test(ssr): add more superclass tests by @nolanlawson in #5065
- fix: use correct shadow root @W-17441501 by @wjhsf in #5070
- fix(ssr): align csr and ssr reflective behavior by @ekashida in #5050
- chore: release v8.12.2 @W-17485572 by @wjhsf in #5075
Full Changelog: v8.12.1...v8.12.2
v8.12.1
What's Changed
- build(deps): bump the theoretically-non-breaking group with 8 updates by @dependabot in #5019
- chore: refine fixture error message by @wjhsf in #5008
- chore: test usage of default slot with scoped data by @jhefferman-sfdc in #5024
- fix(ssr): extra bookends for light dom forwarded slots @W-17363666 by @cardoso in #5005
- fix(ssr): correctly render foreign namespace element closing tags by @jhefferman-sfdc in #4992
- fix: rendering slots with non-literal names by @jhefferman-sfdc in #5003
- always use / when splitting filename to get name and namespace by @danjunger in #5038
- build(deps-dev): bump the best group with 3 updates by @dependabot in #5042
- build(deps-dev): bump @rollup/plugin-node-resolve from 15.3.0 to 16.0.0 in the rollup group by @dependabot in #5043
- build(deps): bump the theoretically-non-breaking group across 1 directory with 18 updates by @dependabot in #5045
- build(deps): bump nanoid from 3.3.7 to 3.3.8 by @dependabot in #5041
- fix(ssr): add
experimentalDynamicComponent
aka dynamic imports by @nolanlawson in #5033 - test(ssr): add test for bookends with text concat by @nolanlawson in #5036
- chore: release v8.12.1 by @nolanlawson in #5047
- chore: release v8.12.1 by @nolanlawson in #5049
New Contributors
- @danjunger made their first contribution in #5038
Full Changelog: v8.12.0...v8.12.1
v8.12.0
What's Changed
- feat(ssr): template class binding @ W-17219264 by @cardoso in #4931
- chore: use volta for subdirs by @nolanlawson in #4945
- chore(perf-benchmarks): avoid
yarn --immutable
by @nolanlawson in #4951 - test(module-resolver): fix custom matchers by @cardoso in #4952
- chore: bump node version by @nolanlawson in #4946
- chore(nucleus): update branches for CLCO by @nolanlawson in #4956
- fix(ssr): normalize class in child attrs by @cardoso in #4953
- test: mixed lwc:component and tag by @cardoso in #4958
- fix(ssr): only default-exported classes are LWC components @W-17312358@ by @wjhsf in #4942
- fix(ssr): do not render class attribute when dynamic value is null, empty or undefined by @cardoso in #4960
- fix(ssr): non-empty text nodes adjacent with comments by @cardoso in #4965
- fix(ssr-compiler): transform of empty text strings by @jhefferman-sfdc in #4963
- chore(ssr): disable snapshot updates in fixtures by @cardoso in #4968
- chore(ssr): remove unique var generator by @wjhsf in #4970
- chore(ssr-compiler): Align isValidIdentifier with babel-plugin-component impl by @jhefferman-sfdc in #4964
- chore(test-utils): check parent directories for .only by @wjhsf in #4971
- fix(ssr): non-top-level light slots with
if:true
by @nolanlawson in #4967 - chore(prettier): format fixture input files by @wjhsf in #4972
- build(deps-dev): bump the theoretically-non-breaking group with 19 updates by @dependabot in #4977
- chore(dependabot): don't group prettier with non-breaking deps by @wjhsf in #4978
- fix(ssr): fix adjacent text node concatenation by @nolanlawson in #4974
- test(ssr): fix sync mode flag to work with concurrency by @wjhsf in #4982
- build(deps-dev): bump the theoretically-non-breaking group with 4 updates by @dependabot in #4981
- fix(ssr): correct import alias for generateMarkup symbol in lwc-component by @cardoso in #4975
- fix(ssr): adjacent text in
<template>
s by @nolanlawson in #4984 - fix(template-compiler): dynamic components with scoped slots by @cardoso in #4976
- test: better snapshot errors by @wjhsf in #4985
- test(ssr): add fixture for computed prop exploding by @wjhsf in #4989
- test(ssr): add fixture for lwc:if and comment with no text nodes by @wjhsf in #4993
- refactor(ssr): share node types in traversal by @nolanlawson in #4987
- fix(ssr): fix rendering scoped variables in iterators by @nolanlawson in #4990
- refactor(ssr): reduce duplicated text rendering logic by @nolanlawson in #4991
- fix(perf): avoid creating unnecessary sets @W-17361878 by @wjhsf in #4996
- fix(ssr): slightly address slots not at top level by @wjhsf in #4997
- feat(ssr): enable
@wire
on getters/setters by @wjhsf in #4986 - chore: use eslint cache by @cardoso in #5001
- refactor: partially fix slot forwarding in SSR by @jmsjtu in #4999
- fix(ssr): make context providers work again by @wjhsf in #5004
- chore: release v8.12.0 by @nolanlawson in #5017
- chore: release v8.12.0 by @nolanlawson in #5018
New Contributors
- @jhefferman-sfdc made their first contribution in #4963
Full Changelog: v8.11.0...v8.12.0
v8.11.0
What's Changed
- test(ssr): add tests for
@wire
errors by @nolanlawson in #4915 - chore(babel-plugin-component): remove redundant type-only dependencies by @cardoso in #4904
- fix(fixtures): always match empty file for undefined snapshots by @cardoso in #4923
- chore(perf-benchmarks): fix displayed benchmark name by @nolanlawson in #4922
- perf(ssr): speed up rendering stylesheets by @nolanlawson in #4924
- fix(ssr): remove
generateMarkup
export by @nolanlawson in #4925 - test(ssr): assert read-only-props for
lwc:is
by @nolanlawson in #4919 - test(ssr): add test for scoped slots with
lwc:is
by @nolanlawson in #4920 - build(deps-dev): bump the theoretically-non-breaking group with 15 updates by @dependabot in #4934
- perf(ssr): optimize light/shadow slotted content by @nolanlawson in #4921
- fix(rollup-plugin): remove undeclared dependency on ssr-compiler by @cardoso in #4933
- test(babel-plugin-component): add more tests for
@wire
by @nolanlawson in #4939 - chore: rm .package.json.swp by @wjhsf in #4937
- chore: release v8.11.0 by @nolanlawson in #4926
- chore: release v8.11.0 by @nolanlawson in #4940
Full Changelog: v8.10.1...v8.11.0
v8.10.1
v8.10.0
What's Changed
- fix(ssr): make
lwc:dynamic
a runtime error by @nolanlawson in #4895 - chore: enforce consistent-type-imports by @cardoso in #4891
- test(ssr): add more tests for
@wire
by @nolanlawson in #4896 - fix(ssr-compiler): missing @lwc/errors dependency by @cardoso in #4899
- fix(engine-dom): missing @lwc/features dependency by @cardoso in #4900
- fix(engine-server): missing @lwc/features dependency by @cardoso in #4901
- feat: add support for slotted content to dynamic components in
@lwc/ssr-compiler
by @jmsjtu in #4898 - feat(ssr): add support for superclasses @ W-17178263 by @wjhsf in #4903
- test(ssr): add more tests for superclasses by @nolanlawson in #4912
- chore: release v8.10.0 by @ekashida in #4913
- chore: release v8.10.0 by @ekashida in #4914
Full Changelog: v8.9.0...v8.10.0
v8.9.0
What's Changed
- chore(forks): auto trigger nucleus tests by @wjhsf in #4850
- feat: remove decorator imports visitor by @jmsjtu in #4840
- chore: remove deprecated contextmenu html global attribute by @ekashida in #4834
- chore(ssr): remove as-component-prop/with-@api from expected failures by @cardoso in #4854
- fix(engine-core): log warnings instead of errors on hydration mismatch by @cardoso in #4848
- test(ssr-compiler): narrow which unused imports are expected by @wjhsf in #4856
- chore(ssr): use test options for expected failures by @cardoso in #4844
- chore(deps): remove eslint-plugin-jest by @cardoso in #4846
- fix(engine-server): reflect global HTML attributes @W-17146845 by @wjhsf in #4855
- fix(ssr): fix rendering of
spellcheck
attribute by @nolanlawson in #4868 - feat: add dynamic components for @lwc/ssr-compiler by @jmsjtu in #4847
- test(ssr): test global html literals on components by @nolanlawson in #4864
- fix(ssr): remove unused imports by @nolanlawson in #4873
- fix(hydration): ignore host scope token in
class
validation by @nolanlawson in #4865 - test(ssr): add more tests for dynamic components by @nolanlawson in #4872
- fix(ssr): make sync mode default, fix it by @nolanlawson in #4869
- build(deps): bump @eslint/plugin-kit from 0.2.0 to 0.2.3 by @dependabot in #4877
- build(deps): bump the theoretically-non-breaking group with 16 updates by @dependabot in #4881
- test(ssr): add test for dynamic imports by @nolanlawson in #4878
- feat(ssr): avoid adding unused imports @W-17263761 by @wjhsf in #4883
- chore(ssr): dynamic imports as noops by @ekashida in #4887
- chore: remove unnecessary block statements by @wjhsf in #4888
- chore: release v8.9.0 by @nolanlawson in #4890
- chore: release v8.9.0 by @nolanlawson in #4893
Full Changelog: v8.8.0...v8.9.0
v8.8.0
What's Changed
- test(ssr): test dynamic
style
attribute by @nolanlawson in #4791 - test(ssr): add tests for
class
attribute by @nolanlawson in #4789 - test(ssr): dynamic aria attribute tests by @nolanlawson in #4787
- test(ssr): add styled/slot benchmarks by @nolanlawson in #4783
- test(ssr): more tests for global HTML attrs by @nolanlawson in #4801
- test(ssr): more tests for non-top-level slots by @nolanlawson in #4803
- fix(ssr): use
observable-membrane
's read-only proxy by @nolanlawson in #4802 - fix(ssr-compiler): unused htmlEscape import by @cardoso in #4804
- test(ssr-compiler): enable all tests and skip fixtures by @cardoso in #4809
- fix(ssr-compiler): conflicting type definitions for estree by @cardoso in #4806
- test: add benchmark for light dom slots by @cardoso in #4808
- build(deps): bump the theoretically-non-breaking group with 14 updates by @dependabot in #4821
- chore(deps): remove @eslint/compat by @cardoso in #4822
- feat: implement wire + context for SSR compiler by @divmain in #4807
- chore: remove unused utility dependency by @divmain in #4831
- test(ssr): basic tests for superclasses and mixins by @nolanlawson in #4819
- fix(ssr): infer the SSR mode in
renderComponent
by @nolanlawson in #4820 - chore(ssr): run tests in CI, ignore known failures by @nolanlawson in #4816
- test(ssr): fix tests broken by merge by @nolanlawson in #4836
- fix: revert "fix(ssr): infer the SSR mode in
renderComponent
" by @nolanlawson in #4837 - fix(ssr): fix rendering of
class
attribute by @nolanlawson in #4805 - feat(style-compiler): enable :root & :host-context() for native-shadow-only CSS by @cardoso in #4833
- chore: release v8.8.0 by @nolanlawson in #4842
- chore: release v8.8.0 by @nolanlawson in #4843
Full Changelog: v8.7.0...v8.8.0
v8.7.0
What's Changed
- refactor(ssr-compiler): remove setter attribute reflection by @ekashida in #4772
- build(deps-dev): bump the theoretically-non-breaking group with 15 updates by @dependabot in #4774
- fix(types): better ARIA types by @wjhsf in #4765
- test: fix Symbol error in fixture by @nolanlawson in #4777
- feat(ssr-compiler): api decorator support by @ekashida in #4766
- test: fix flaky mutation logging test by @nolanlawson in #4782
- fix: make
<input>
value
/checked
pure props by @nolanlawson in #4776 - feat(engine-dom): native-only styles by @nolanlawson in #4780
- test(ssr-compiler): remove test scenarios that throw exceptions by @ekashida in #4786
- fix(tests): timeout in debug should not exceed max signed 32 bit int by @cardoso in #4795
- test(ssr): account for all Rollup warnings by @nolanlawson in #4794
- fix(ssr): fix duplicate styles in same template by @nolanlawson in #4792
- fix(ssr): make child props immutable by @nolanlawson in #4779
- fix(ssr): fix converting dynamic values to strings by @nolanlawson in #4778
- chore: release v8.7.0 by @nolanlawson in #4797
- chore: release v8.7.0 by @nolanlawson in #4798
Full Changelog: v8.6.0...v8.7.0
v8.6.0
What's Changed
- chore(tests): disable usage of vitest globals by @cardoso in #4740
- feat(template-compiler): warning for slot attribute not at the top level by @cardoso in #4711
- fix(engine): do not render empty string attr values by @nolanlawson in #4748
- test: ignore rendered class order by @nolanlawson in #4737
- chore(ssr-compiler): aria loose ends by @ekashida in #4735
- fix(ssr-compiler): update estemplate spec by @ekashida in #4749
- Revert "fix(ssr-compiler): update estemplate spec (#4749)" by @wjhsf in #4750
- test(engine-server): rethrow assertion errors by @cardoso in #4755
- chore(ssr): label validators by @wjhsf in #4751
- feat(ssr): add hooks and sanitize HTML content hook @ W-17006973 by @wjhsf in #4733
- test(ssr): fixtures to show static-optimized gaps by @nolanlawson in #4754
- fix(compiler): concatenate adjacent text/comments by @nolanlawson in #4758
- feat(ssr): forbid scary attributes by @wjhsf in #4734
- chore: fix test broken due to merge by @nolanlawson in #4760
- chore: remove fixture copy by @nolanlawson in #4764
- test(ssr): add yet more tests for scoped slots by @nolanlawson in #4745
- feat(ssr): implement scoped slots by @nolanlawson in #4767
- fix: hydrateChildren fixed to handle VFragments by @jye-sf in #4762
- fix(engine): fix
<input>
prop discrepancies by @nolanlawson in #4761 - chore: v8.6.0 by @jye-sf in #4770
- chore: release v8.6.0 by @jye-sf in #4771
Full Changelog: v8.5.0...v8.6.0