custom-elements-everywhere
custom-elements-everywhere copied to clipboard
Update dependency @stencil/core to v4
This PR contains the following updates:
Package | Change | Age | Adoption | Passing | Confidence |
---|---|---|---|---|---|
@stencil/core (source) | 2.20.0 -> 4.26.0 |
Release Notes
ionic-team/stencil (@โstencil/core)
v4.26.0
Features
๐ 4.25.3 (2025-02-04)
Bug Fixes
Reverts
- Revert "Revert "fix(custom-elements): hydrate on client side (#โ5317)" (#โ6111)" (#โ6144) (464c1a4)
๐ 4.25.2 (2025-02-04)
Bug Fixes
- runtime: clean deferredConnectedCallbacks array on disconnectedCallback (#โ6142) (788dfd0), closes #โ6119
- runtime: don't flag html tag with hydrate flag anymore (#โ6103) (0691295), closes #โ6091
- ssr: correctly resolve slots during hydration (#โ6131) (8853790), closes #โ6130
- ssr: exponential perf slow down (#โ6128) (c1e6838), closes #โ6127
- ssr: multiple component instances sharing initial properties (#โ6126) (f7ecec3), closes #โ6125
- ssr: stop stripping comment nodes (#โ6123) (5a7ab24), closes #โ6120
๐ณ 4.25.1 (2025-01-25)
Bug Fixes
-
dist-custom-elements: stop duplicate
@stencil/core
(#โ6109) (dc4c88f), closes #โ6040, closes #โ4135 - runtime: allow classList to be null (#โ6118) (749fab9), closes #โ6117
- runtime: fix NotFoundError in addStyle function with referenceNode parent check (#โ6107) (26ceed6), closes #โ6106
- runtime: SSR class handling breaks normal class handling (#โ6116) (1e8a2d2), closes #โ6114, closes #โ6115
Thanks
๐# Thanks for @โjohnjenkins for their contributions! ๐
v4.25.3
Bug Fixes
Reverts
- Revert "Revert "fix(custom-elements): hydrate on client side (#โ5317)" (#โ6111)" (#โ6144) (464c1a4)
v4.25.2
Bug Fixes
- runtime: clean deferredConnectedCallbacks array on disconnectedCallback (#โ6142) (788dfd0), closes #โ6119
- runtime: don't flag html tag with hydrate flag anymore (#โ6103) (0691295), closes #โ6091
- ssr: correctly resolve slots during hydration (#โ6131) (8853790), closes #โ6130
- ssr: exponential perf slow down (#โ6128) (c1e6838), closes #โ6127
- ssr: multiple component instances sharing initial properties (#โ6126) (f7ecec3), closes #โ6125
- ssr: stop stripping comment nodes (#โ6123) (5a7ab24), closes #โ6120
v4.25.1
Bug Fixes
-
dist-custom-elements: stop duplicate
@stencil/core
(#โ6109) (dc4c88f), closes #โ6040, closes #โ4135 - runtime: allow classList to be null (#โ6118) (749fab9), closes #โ6117
- runtime: fix NotFoundError in addStyle function with referenceNode parent check (#โ6107) (26ceed6), closes #โ6106
- runtime: SSR class handling breaks normal class handling (#โ6116) (1e8a2d2), closes #โ6114, closes #โ6115
Thanks
๐# Thanks for @โjohnjenkins for their contributions! ๐
v4.25.0
Bug Fixes
- SSR: class prop / state reactivity for target es2022 (#โ6099) (07dcfa8), closes #โ6095
- test: stop re-running prototype augment in spec tests. (#โ6105) (a7d3873), closes #โ6104
Features
-
mock-doc:
assignednodes
andassignedElements
(#โ6108) (777aafd) - runtime: Add element to component error handler. Enables error boundaries (#โ2979) (5605d48)
Reverts
v4.24.0
Bug Fixes
- runtime: clean up ancestor nodes on resolve (#โ6094) (2503dc5)
- testing: update puppeteer, default to 'new' headless (#โ6098) (6537869)
Features
-
runtime:
@Prop
/@State
now work with runtime decorators (#โ6084) (82fc857) - slot-polyfill: patch insertBefore & slotted node parentNode (#โ6096) (efb40d5), closes #โ6043
Thanks
๐# Thanks for @โjohnjenkins for their contributions! ๐
๐ฎ 4.23.2 (2025-01-10)
Bug Fixes
- runtime: clear up rootAppliedStyles (#โ6087) (c4a9c9e), refs @โionic-team/ionic-framework#28189, closes #โ5181, closes #โ5172, closes #โ3607, closes #โ3158
๐ฏ 4.23.1 (2025-01-06)
Bug Fixes
- correctly handle svg class attribute within
parseClassList
(#โ6085) (5d29255) - mock-doc: don't force template tags to have a shadowroot (#โ6078) (b63039f)
- runtime decorators (#โ6076) (9e6483a), closes #โ3831
-
scoped: fixes for
<slot />
and slotted nodes (#โ6082) (13ee704), closes #โ6080, #โ6081 and #โ6088 -
SSR: patch
scoped: true
SSR-ed, slotted nodes next/prev sibling accessors (#โ6057) (af102ce), closes #โ6056
v4.23.2
Bug Fixes
- runtime: clear up rootAppliedStyles (#โ6087) (c4a9c9e), refs @โionic-team/ionic-framework#28189, closes #โ5181, closes #โ5172, closes #โ3607, closes #โ3158
v4.23.1
Bug Fixes
- correctly handle svg class attribute within
parseClassList
(#โ6085) (5d29255) - mock-doc: don't force template tags to have a shadowroot (#โ6078) (b63039f)
- runtime decorators (#โ6076) (9e6483a), closes #โ3831
-
scoped: fixes for
<slot />
and slotted nodes (#โ6082) (13ee704), closes #โ6080, #โ6081 and #โ6088 -
SSR: patch
scoped: true
SSR-ed, slotted nodes next/prev sibling accessors (#โ6057) (af102ce), closes #โ6056
v4.23.0
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)
Bug Fixes
- docs: escape backticks in type or default value columns (#โ6025) (009d370), closes #โ6024
- types: add controlslist to html declarations (#โ6026) (f4b48e9), closes #โ6015
- runtime: make shadow root adopt scoped component styles (#โ6028) (8ff3048), closes #โ6027
๐ช 4.22.1 (2024-10-09)
Bug Fixes
- mock-doc: add missing ShadowRoot window primitive (#โ6011) (2f944e2)
- mock-doc: get native primitive from globalThis (#โ6021) (72fabd1)
- runtime: create unique host ids (#โ6018) (1564b7a)
- runtime: merge styles within ShadowRoot into a single node (#โ6014) (61f90b0)
v4.22.3
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
v4.22.2
Bug Fixes
- docs: escape backticks in type or default value columns (#โ6025) (009d370), closes #โ6024
- types: add controlslist to html declarations (#โ6026) (f4b48e9), closes #โ6015
- runtime: make shadow root adopt scoped component styles (#โ6028) (8ff3048), closes #โ6027
v4.22.1
Bug Fixes
- mock-doc: add missing ShadowRoot window primitive (#โ6011) (2f944e2)
- mock-doc: get native primitive from globalThis (#โ6021) (72fabd1)
- runtime: create unique host ids (#โ6018) (1564b7a)
- runtime: merge styles within ShadowRoot into a single node (#โ6014) (61f90b0)
v4.22.0
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
- compiler: customize readme mermaid diagram colors (#โ5980) (9ca8951), closes #โ2876 #โ2876
- typescript: Update to 5.5.4 (#โ5959) (ce153a0)
- hydrate: support style modes in hydrate modules (#โ5953) (15f3b26)
v4.21.0
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
๐ 4.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)
Note
As weโve made further enhancements to support declarative Shadow DOM, the Stencil team has determined that itโs not feasible to allow users to render a shadow component as a scoped component after compilation, such as by calling renderToString
with serializeShadowRoot: false
. This is because Stencil compiles styles for either shadow or scoped mode during the compilation process, embedding these styles into the hydrate module. Once this compilation is complete, the styles cannot be transformed to support the other mode. Recognizing that this change would impact the current functionality, the Stencil team has decided to proceed with this update. Moving forward, we recommend serializing all components marked with shadow: true as declarative Shadow DOM.
๐ 4.19.2 (2024-07-02)
Bug Fixes
- hydrate: partially revert #โ5838 (#โ5876) (dfbc340)
- hydrate: support server side rendering of components with listener (#โ5877) (2c5b7f8), fixes #โ5869
- testing: add testing sub module to export map (#โ5873) (bb2e04f), fixes #โ5871 and #โ5868
๐ 4.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)
v4.20.0
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)
Note
As weโve made further enhancements to support declarative Shadow DOM, the Stencil team has determined that itโs not feasible to allow users to render a shadow component as a scoped component after compilation, such as by calling renderToString
with serializeShadowRoot: false
. This is because Stencil compiles styles for either shadow or scoped mode during the compilation process, embedding these styles into the hydrate module. Once this compilation is complete, the styles cannot be transformed to support the other mode. Recognizing that this change would impact the current functionality, the Stencil team has decided to proceed with this update. Moving forward, we recommend serializing all components marked with shadow: true as declarative Shadow DOM.
v4.19.2
Bug Fixes
- hydrate: partially revert #โ5838 (#โ5876) (dfbc340)
- hydrate: support server side rendering of components with listener (#โ5877) (2c5b7f8), fixes #โ5869
- testing: add testing sub module to export map (#โ5873) (bb2e04f), fixes #โ5871 and #โ5868
v4.19.1
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)
v4.19.0
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
๐ 4.18.3 (2024-05-28)
Bug Fixes
-
esbuild: remove all
node:
imports from glob script to keep support for Jest v26 (#โ5784) (5f4fcfa), fixes #โ5766 - mock-doc: support toDataURL method in canvas (#โ5773) (3830dad), closes #โ2923
- runtime: add missing intermediate parents scope ids to the elements (#โ5775) (56c60d4), fixes #โ5774
โฒ๏ธ 4.18.2 (2024-05-20)
Bug Fixes
Configuration
๐ Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
๐ฆ Automerge: Enabled.
โป Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
๐ Ignore: Close this PR and you won't be reminded about this update again.
- [ ] If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.