Releases: salesforce/lwc
Releases · salesforce/lwc
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
v7.1.5
What's Changed
- chore(nucleus): use
winter25
dist-tag by @nolanlawson in #4531 - fix(engine-core): gated slot forwarding fix by @ekashida in #4625
- chore: v7.1.5 @W-16948407 by @ekashida in #4626
Full Changelog: v7.1.4...v7.1.5
v8.1.3
What's Changed
- fix(ssr): avoid undefined appended to tag name by @nolanlawson in #4583
- fix(ssr): add missing methods from LightningElement @W-16614337 by @wjhsf in #4585
- build(deps): bump the theoretically-non-breaking group with 14 updates by @dependabot in #4588
- fix(ssr): use style normalizer from template compiler by @nolanlawson in #4584
- fix(ssr): normalize class names @W-16869035 by @wjhsf in #4590
- fix(ssr): add more LightningElement methods @W-16867451 by @wjhsf in #4589
- fix(ssr): improve error message when test succeeds but formatting fails by @wjhsf in #4591
- fix(engine-server): setAttribute should gracefully handle non-string values by @ekashida in #4593
- fix(hydration): fix
validationOptOut
with auto-detection by @nolanlawson in #4592 - test(fixtures): add option to have human-friendly description by @wjhsf in #4595
- feat(lwc): re-export @lwc/ssr-compiler and @lwc/ssr-runtime @W-16856898 by @wjhsf in #4596
- fix(ssr): disallow </style> in CSS files @W-16882876 by @wjhsf in #4598
- fix(ssr-compiler): define IR to ES map for lwc:external nodes by @ekashida in #4599
- fix(ssr-compiler): generate scope tokens using component name and namespace by @ekashida in #4597
- test(imports): add fixture for LWC imports from helper file @W-16872166 by @wjhsf in #4601
- chore: remove quotes from error message by @wjhsf in #4602
- fix(ssr-compiler): setAttribute and getAttribute by @ekashida in #4603
- chore: update dependencies by @jye-sf in #4604
- chore: add
DataCallback
as type export inlwc
by @jmsjtu in #4607 - fix(ssr-compiler): boolean attribute value as empty string by @ekashida in #4606
Full Changelog: v8.1.2...v8.1.3
v8.1.2
What's Changed
- fix(template-compiler): styles containing newlines by @nolanlawson in #4580
- fix(engine): disallow
innerHTML
outsidelwc:inner-html
by @nolanlawson in #4578 - chore: release v8.1.2 by @nolanlawson in #4581
- chore: release v8.1.2 by @nolanlawson in #4582
Full Changelog: v8.1.1...v8.1.2