Skip to content

Commit 808c60c

Browse files
chore(deps): update stencil core (#30132)
We have shipped various of improvements to the Stencil project and runtime. You can take a close look at our [changelog](https://github.com/ionic-team/stencil/blob/main/CHANGELOG.md) but since `v4.20.0` we mainly shipped improvements on the following issues: ## Major Improvements: - Enhanced Shadow DOM and hydration support - Improved client-side hydration for SSR - Better handling of shadow root styles and component hydration - More reliable serialization of Shadow DOM components ## Key Bug Fixes: - Resolved performance issues due to detached nodes in memory - Fixed several critical issues with scoped slots and component styling - Improved handling of SVG class attributes and template tags - Enhanced runtime decorator functionality - Better handling of form-associated callbacks ## Technical Updates: - Updated to TypeScript 5.5 - Added support for customizable Mermaid diagram colors in documentation I don't see any critical changes that may impact Ionic users and feel confident we can ship this. ## Dev Build `8.5.4-dev.11744646756.1244bf71` --------- Co-authored-by: Brandy Smith <brandyscarney@users.noreply.github.com>
1 parent 2667ee3 commit 808c60c

File tree

8 files changed

+195
-49
lines changed

8 files changed

+195
-49
lines changed

core/package-lock.json

Lines changed: 179 additions & 27 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"loader/"
3232
],
3333
"dependencies": {
34-
"@stencil/core": "4.20.0",
34+
"@stencil/core": "4.29.3",
3535
"ionicons": "^7.2.2",
3636
"tslib": "^2.1.0"
3737
},

core/src/css/structure.scss

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,6 @@ html {
2222
text-size-adjust: 100%;
2323
}
2424

25-
html:not(.hydrated) body {
26-
display: none;
27-
}
28-
2925
html.ion-ce body {
3026
display: block;
3127
}

core/stencil.config.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,6 @@ export const config: Config = {
243243
// },
244244
...getAngularOutputTargets(),
245245
],
246-
buildEs5: 'prod',
247246
testing: {
248247
moduleNameMapper: {
249248
"@utils/test": ["<rootDir>/src/utils/test/utils"],

package-lock.json

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/angular/src/app-initialize.ts

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { NgZone } from '@angular/core';
22
import type { Config, IonicWindow } from '@ionic/angular/common';
33
import { raf } from '@ionic/angular/common';
44
import { setupConfig } from '@ionic/core';
5-
import { applyPolyfills, defineCustomElements } from '@ionic/core/loader';
5+
import { defineCustomElements } from '@ionic/core/loader';
66

77
// TODO(FW-2827): types
88

@@ -18,19 +18,17 @@ export const appInitialize = (config: Config, doc: Document, zone: NgZone) => {
1818
const aelFn =
1919
'__zone_symbol__addEventListener' in (doc.body as any) ? '__zone_symbol__addEventListener' : 'addEventListener';
2020

21-
return applyPolyfills().then(() => {
22-
return defineCustomElements(win, {
23-
exclude: ['ion-tabs'],
24-
syncQueue: true,
25-
raf,
26-
jmp: (h: any) => zone.runOutsideAngular(h),
27-
ael(elm, eventName, cb, opts) {
28-
(elm as any)[aelFn](eventName, cb, opts);
29-
},
30-
rel(elm, eventName, cb, opts) {
31-
elm.removeEventListener(eventName, cb, opts);
32-
},
33-
});
21+
return defineCustomElements(win, {
22+
exclude: ['ion-tabs'],
23+
syncQueue: true,
24+
raf,
25+
jmp: (h: any) => zone.runOutsideAngular(h),
26+
ael(elm, eventName, cb, opts) {
27+
(elm as any)[aelFn](eventName, cb, opts);
28+
},
29+
rel(elm, eventName, cb, opts) {
30+
elm.removeEventListener(eventName, cb, opts);
31+
},
3432
});
3533
}
3634
};

packages/angular/test/apps/ng19/e2e/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"compilerOptions": {
44
"outDir": "../out-tsc/e2e",
55
"module": "commonjs",
6-
"target": "es5",
6+
"target": "ES2022",
77
"types": ["cypress", "node"]
88
},
99
"include": [

0 commit comments

Comments
 (0)