Releases: stenciljs/core
Releases · stenciljs/core
🚐 v4.20.0 (2024-08-02)
Bug Fixes
- core: add @stencil/core/testing/jest-preset to export map (#5900) (3def2b7), fixes #5896
- compiler: don't allow shadowRoot getter to avoid hydration issues (#5912) (5dd4f7f)
- compiler: no need for commenting selectors anymore (#5892) (d571bbb), fixes #5880
- compiler: respect project tsconfig watch options (#5916) (74adeee), closes #5709, fixes #5709, fixes #5592
- compiler: run copy task after other output targets (#5902) (c3d4e8b), fixes #5592
- core: add missing screenshot export (#5909) (764a8ba), fixes #5906
- hydrate: ensure beforeHydrateFn and afterHydrateFn always return a function (#5890) (a7c212c), fixes #5884
- runtime: hydrate shadow dom first (#5911) (ccf1a89)
- runtime: make isSameVnode return false on initial render in a hydration case (#5891) (82a7bb9)
- testing: update Jest types (#5910) (5f8c969), fixes #5908
- core: update TypeScript to v5.5 (#5898) (5e74837)
🏉 v4.19.2 (2024-07-02)
🍈 v4.19.1 (2024-06-27)
Bug Fixes
- compiler: account for package imports in aliasing (#5862) (02b41d3), fixes #5859
- compiler: try to create web worker with the workerPath before falling back to blob (#3513) (c84dd32), fixes #3512
- hydrate: change type resolve order (#5863) (42b1ff2)
- internal: add cli sub package to export map (ad95222)
- internal: add mock-doc export in client runtime package.json (ad95222)
Thanks
🎉 Thanks to @saschanowak and @jeski-bright for their contributions! 🎉
🏄 v4.19.0 (2024-06-26)
Bug Fixes
- compiler: support rollup's external input option (#3227) (2c68849), fixes #3226
- emit: don't emit test files (#5789) (50892f1), fixes #5788
- hydrate: support vdom annotation in nested dsd structures (#5856) (61bb5e3)
- label attribute not toggling input (#3474) (13db920), fixes #3473
- mock-doc: expose ShadowRoot and DocumentFragment globals (#5827) (98bbd7c), fixes #3260
- runtime: allow watchers to fire w/ no Stencil members (#5855) (850ad4f), fixes #5854
- runtime: catch errors in async lifecycle methods (#5826) (87e5b33), fixes #5824
- runtime: don't register listener before connected to DOM (#5844) (9d7021f), fixes #4067
- runtime: properly assign style declarations (#5838) (5c10ebf)
- testing: allow to re-use pages across it blocks (#5830) (561eab4), fixes #3720
- typescript: remove unsupported label property (#5840) (d26ea2b), fixes #3473
Features
- cli: support generation of sass and less files (#5857) (1883812), closes #2155
- compiler: generate export maps on build (#5809) (b6d2404)
- complier: support type import aliasing (#5836) (7ffb25d), closes #2335
- runtime: support declarative shadow DOM (#5792) (c837063), closes #4010
- testing: add
toHaveLastReceivedEventDetail
event spy matcher (#5829) (63491de), closes #2488 - testing: allow to disable network error logging via 'logFailingNetworkRequests' option (#5839) (dac3e33), closes #2572
- testing: expose captureBeyondViewport in pageCompareScreenshot (#5828) (cf6a450), closes #3188
😄 v4.18.3 (2024-05-28)
⛲️ v4.18.2 (2024-05-20)
Bug Fixes
- e2e: allow to fetch CSS variables assigned to host elements (#5682) (e420eb6), closes #5681
- hydrate: respect
HydratedFlag
configuration in hydrate script (#5741) (3538d06), closes #3606 - runtime: always throw if component can not be loaded (#5762) (1d52b95), closes #5759
- runtime: support watch for components with custom tag names (#5767) (f561e0f), closes #3554
- runtime: throw proper error if component is loaded with invalid runtime (#5675) (3cfbb8d), closes #5596
- types: move autofocus attr/prop definition to HTMLAttributes (#5727) (3a33eff), closes #5726
Thanks
🎉 Thanks to jcfranco for their contributions! 🎉
🏍 v4.18.1 (2024-05-13)
Bug Fixes
- build: do not copy polyfills to the
dist
OT unless building es5 (#5725) (945df46), closes #5416 - compiler: Allow OutputTargetCustom to be called on devMode (#5541) (b0a9f7b), closes #5514
- compiler: deprecate
scriptDataOpts
(#5737) (da25aaa) - declarations: Attribute ping is missing on AnchorHTMLAttributes (#5752) (d345412), closes #5751
- runtime: add root scope id to the user provided nested children as classname (#5750) (e864132), closes #5749
Thanks
🎉 Thanks @janerikmai and @yigityuce for their contributions! 🎉
🍵 4.18.0 (2024-05-06)
Bug Fixes
- hydrate: output track elements as void elms (#5720) (2082351), closes #2994
- runtime: add root scope id to the nested child as classname (#5704) (b40ebb9), closes #5702
- testing: support functional components in unit tests (#5722) (922a972), closes #4063
Features
Thanks
🎉 Thanks @yigityuce for their contributions! 🎉