Releases: ionic-team/stencil
Releases · ionic-team/stencil
🐣 4.23.0 (2024-12-11)
Bug Fixes
patchChildSlotNodes
&scopedSlotTextContentFix
not being applied (#6055) (a15bc5d), closes #6054- Change hasHostListenerAttached from var to protoype property (#6074) (ee4aa0b), closes #6066
- mock-doc: don't show error message for SSR workflows (#6075) (84a3607), closes #6073
- rewrite SSR client-side hydration (#6067) (ec243c2), closes #6065, #6064, #6063, #5198
- runtime: ensure Node is defined (#6061) (1f5a13f), closes ionic-team/stencil-ds-output-targets#537
- stop 'experimentalScopedSlotChanges' warning msg on startup (#6068) (d362700), closes #6054
Features
🐤 4.22.3 (2024-11-21)
Bug Fixes
- correctly call proxied formAssociated callbacks (#6046) (dffb49d), closes #6038
- mock-doc: return empty string if anchor has no href attribute (#6051) (e44642f), closes #6047
- runtime: ensure event listener are not registered twice (#6052) (8f1bc55), closes #6045
- runtime: scope id fix for component children for typescript issue (#6041) (ab4cfce), closes #6042
🎺 4.22.2 (2024-10-25)
🌪️ v4.22.1 (2024-10-09)
🍲 v4.22.0 (2024-10-03)
Bug Fixes
- compiler: add reserved keyword (#6001) (7ede77a), closes #6000
- compiler: handle file rename in watch mode (#5971) (8f0a882), closes #3443
- compiler: no generate custom output (#5951) (5cddfd9), closes #5950 - fixes #5950
- declarations: add missing event handler types (#5964) (6ef1334) - closes #5963
- hydrate: Add missing alias to hydrate build to fix app globals (#6005) (c5a8ea9) - closes #6002
- mock-doc: avoid double hydration of components (#6003) (dbc2f58)
- mock-doc: provide mock for resize observer (#6007) (6d6a65e)
- runtime: ensure referenceNode is child node of styleContainerNode (#5994) (a02bc36) - closes #5993
- runtime: scoped slot append/prepend correct order after interaction (#5970) (2569abd) - closes #5969
- scripts: fix Esbuild scripts to allow to run on Windows (#5930) (8ad326c)
Features
🐷 v4.21.0 (2024-08-26)
Bug Fixes
- compiler: default
asyncLoading
build conditional totrue
(#5941) (0e261d6), closes #3580 - compiler: prefer
localName
overoriginalName
by running an empty check onoriginalName
(#5943) (0f42656), closes #5882 - compiler: verify parent node when validating component members (#5942) (37a0aaf), closes #5940
- runtime: have fallback for style setting (#5948) (ae19d7a)
- runtime: only use setter if existing (#5947) (7e9fa60), closes #2703
- runtime: place scoped component styles after preconnect links but before custom styles (#5938) (8f92b11)
- runtime: provide second arg to
insertBefore
(#5933) (afcc9a5) - runtime: render component styles at the end of the head tag (#5926) (90da726), closes #5915
- runtime: update call to
prepend
to removenull
node (#5946) (970c5d2) - typescript: fix documentation on 'serializeShadowRoot' flag (#5927) (277e3e3), closes #5914
Features
🚐 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