Releases: salesforce/lwc
Releases · salesforce/lwc
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
v8.5.0
What's Changed
- feat(ssr): reflect global HTML attributes @W-16871464 by @wjhsf in #4707
- feat(ssr): implement static stylesheets by @nolanlawson in #4715
- chore(tests): use built-in snapshot matcher for fixtures by @cardoso in #4710
- chore(ci): bump node/chrome/gha versions by @nolanlawson in #4722
- test(ssr): add more tests for scoped slots by @nolanlawson in #4725
- refactor(ssr): use import helpers by @wjhsf in #4724
- build(deps): bump the theoretically-non-breaking group across 1 directory with 31 updates by @dependabot in #4723
- test(ssr): add tests for adjacent text nodes by @nolanlawson in #4729
- feat: allow passing default export to
renderComponent
by @nolanlawson in #4727 - test(ssr): add tests for type coercion in rendering by @nolanlawson in #4730
- chore(ci): update chrome by @nolanlawson in #4728
- chore: release v8.5.0 by @nolanlawson in #4736
- chore: release v8.5.0 by @nolanlawson in #4738
Full Changelog: v8.4.0...v8.5.0
v8.4.0
What's Changed
- fix(engine): fix mutation tracking when getter throws by @nolanlawson in #4688
- chore(integration-karma): provide filename for ssr code in hydration tests by @cardoso in #4683
- test(integration-karma): fix flaky
PerformanceObserver
test by @nolanlawson in #4693 - test: test slots not at top level by @nolanlawson in #4689
- chore(engine-server): run test fixtures concurrently by @cardoso in #4690
- feat(ssr): add SSR compilation mode by @divmain in #4685
- fix(ssr): more fixes for light DOM slots by @nolanlawson in #4695
- test(hydration): add tests for empty string mismatch by @nolanlawson in #4698
- fix(ssr): support
.ts
files by @nolanlawson in #4696 - refactor(ssr-compiler): runtime reflection for aria attributes by @ekashida in #4694
- fix(engine-core): dynamic class with empty string results in hydration mismatch by @cardoso in #4684
- chore: resolve minor feedback from #4685 by @divmain in #4700
- fix(ssr): fix expression scoping and other small fixes by @nolanlawson in #4702
- test(ssr): add ssr benchmarks by @nolanlawson in #4708
- build(deps): bump postcss-selector-parser from 6.1.2 to 7.0.0 by @dependabot in #4713
- test(engine-server): lowercase attribute names by @ekashida in #4706
- chore: release v8.4.0 by @nolanlawson in #4716
- chore: release v8.4.0 by @nolanlawson in #4718
Full Changelog: v8.3.0...v8.4.0
v8.3.0
What's Changed
- test(hydration): ignore expected console warnings by @nolanlawson in #4649
- feat(ssr): implement native slots @W-14631061 by @wjhsf in #4646
- feat(ssr): implement lwc:inner-html @W-16872197 by @wjhsf in #4652
- chore(integration-karma): avoid conditional tests by @cardoso in #4647
- test(hydration): test non-static-optimized by @nolanlawson in #4657
- chore(integration-karma): replace done callback with async/await by @cardoso in #4658
- feat(ssr): explicitly disallow lwc:dynamic @W-16946933 by @wjhsf in #4623
- test(engine-server): add render mode mismatch test by @nolanlawson in #4664
- test(engine-server): more slot tests by @nolanlawson in #4666
- test(engine-server): test scoped slot forwarding by @nolanlawson in #4669
- chore(engine): report
renderMode
mismatch by @nolanlawson in #4667 - refactor(ssr): add back references to
esTemplate
and infer types by @wjhsf in #4660 - build(deps): bump the theoretically-non-breaking group with 12 updates by @dependabot in #4672
- fix(integration-karma): run hydration preprocessor just for focused tests by @cardoso in #4673
- test: use
glob
package rather thannode:fs
by @nolanlawson in #4677 - chore(ssr): implement stubs for
@lwc/engine-server
exports by @wjhsf in #4674 - fix(ssr-compiler): protect internals from userland by @ekashida in #4679
- test(ssr): add basic slot tests by @nolanlawson in #4675
- fix(template-compiler): disable static content optimization for iframes by @nolanlawson in #4678
- fix(ssr-compiler): only track attribute mutations during connectedCallback by @ekashida in #4680
- fix(ssr): use relative imports for implicit templates @W-16975723 by @wjhsf in #4681
- feat(ssr): implement light DOM slots (part 1 -- fallback content) @W-16869599 by @wjhsf in #4682
- feat(signals): add a way to set symbol as key by @rax-it in #4665
- chore: release
v8.3.0
by @rax-it in #4686 - chore: release
v8.3.0
by @rax-it in #4687
Full Changelog: v8.2.0...v8.3.0
v8.2.0
What's Changed
- fix(ssr-compiler): define setters for reflected attributes by @ekashida in #4611
- build(deps-dev): bump the theoretically-non-breaking group with 3 updates by @dependabot in #4613
- feat(ssr-compiler): track mutated attributes by @ekashida in #4616
- build(deps-dev): bump the nx group with 2 updates by @dependabot in #4612
- chore(eslint): restore header rule by @wjhsf in #4619
- fix(ssr): disallow imports from
lwc
in SSR context by @wjhsf in #4617 - refactor(ssr-runtime): split index into multiple files by @wjhsf in #4618
- test(ssr): add ability to diverge from engine-server by @wjhsf in #4620
- chore(test): avoid timeout when debugging by @wjhsf in #4624
- feat(ssr): implement
iterator:*
directive @W-16872183 by @wjhsf in #4615 - fix(ssr): add comments to the output of lwc:if blocks @W-16946260 by @wjhsf in #4622
- chore(deps): pin typescript version by @wjhsf in #4627
- fix: bump parse5, remove
<noframes>
special case by @nolanlawson in #4635 - feat(ssr-runtime): export
renderComponent
alias by @nolanlawson in #4636 - test(ssr): add test for mutate in
render()
by @nolanlawson in #4634 - build(deps): bump the theoretically-non-breaking group across 1 directory with 22 updates by @dependabot in #4639
- chore(tests): use eslint-plugin-vitest by @cardoso in #4629
- build(deps-dev): bump the rollup group with 3 updates by @dependabot in #4587
- chore: release v8.2.0 by @nolanlawson in #4644
- chore: release v8.2.0 by @nolanlawson in #4645
Full Changelog: v8.1.3...v8.2.0