Skip to main content
Version: v5 (Preview)

Support Policy

Community Maintenance​

Stencil is an open-source (MIT) project, backed by OutSystems and maintained by the community together with developers from Ionic. The team ships regular releases and bug fixes, and welcomes pull requests.

Version Status​

The Stencil team recommends updating to the newest version of Stencil for the latest features, improvements, and fixes.

VersionStatusReleasedMaintenance Ends
V5PreviewTBDTBD
V4ActiveJun 26, 20236 months after the V5 stable release
V3End of SupportJan 25, 2023Dec 26, 2023
V2End of SupportAug 08, 2020Jul 25, 2023
V1End of SupportJun 03, 2019Aug 08, 2020

When a new major version of Stencil is released, the previous major version enters maintenance for six months: it receives only critical bug and security fixes, and no new features. After that, it reaches end of support.

Browser Support​

Stencil builds Web Components that run natively in all widely used desktop and mobile browsers. Custom Elements are natively supported in Chrome, Edge, Firefox, and Safari, including on iOS.

Stencil supports the following browsers. Stencil v5 supports browsers that implement ES2022:

Stencil VersionChromeEdgeFirefoxSafariInternet ExplorerPre-Chromium Edge
V5v94+v94+v93+v16.4+❌❌
V4v79+v79+v70+v14+❌❌
V3v79+v79+v70+v14+✅✅
V2v60+v79+v63+v10.1+✅✅

TypeScript Support​

Stencil acts as a compiler for a project's web components, and works closely with the TypeScript compiler to transform TSX to vanilla JavaScript. To ensure compatibility between the two, Stencil takes an opinionated stance on which version of the TypeScript compiler must be used.

Stencil v5 uses the TypeScript compiler installed in your project, and supports TypeScript versions later than 5.0 and earlier than 7.0. If your project doesn't list typescript in its dependencies, the latest supported version is installed with Stencil.

Stencil v4 and earlier include a recent copy of the TypeScript compiler in their distributable* to guarantee this compatibility. The table below describes those versions of Stencil and the version of TypeScript each version shipped with.

Stencil VersionTypeScript Version
v4.20.0v5.5.3
v4.16.0v5.4.5
v4.15.0v5.4.4
v4.14.0v5.4.3
v4.13.0v5.4.2
v4.10.0v5.3.0
v4.4.0v5.2.2
v4.2.0v5.1.6
v3.3.0v5.0.4
v3.0.0v4.9.4
v2.21.0v4.9.3
v2.20.0v4.8.4
v2.18.0v4.7.4
v2.14.0v4.5.4
v2.10.0v4.3.5
v2.5.0v4.2.3
v2.4.0v4.1.3
v2.2.0v4.0.5

* The TypeScript compiler is never included in the output of your Stencil project, and is only used for compilation and type checking purposes.

Compatibility Recommendations​

Stencil is in many regards an opinionated library, and includes much of the software necessary to get users building web components as quickly as possible. There are a few pieces of software that Stencil allows users to choose to best fit their team, organizational structure, and existing technical stack. The Stencil team has compiled a series of compatibility tables to describe the interoperability requirements of these pieces of software and Stencil.

JavaScript Runtime​

Stencil v5 requires Node.js 22 or later, including newer releases such as Node.js 24. Once a Node.js version reaches its end of life, a later Stencil release may stop supporting it without that being treated as a breaking change.

Stencil VersionNode v10Node v12Node v14Node v16Node v18Node v20Node v22Node v24
V5❌❌❌❌❌❌✅✅
V4❌❌❌✅✅✅✅✅
V3❌❌✅✅✅✅❌❌
V2❌✅✅✅⚠❌❌❌
V1✅✅✅✅❌❌❌❌

Testing Libraries​

Stencil v5 has no built-in test runner. Its testing packages support these versions:

Vitest with @stencil/vitest​

Stencil VersionVitest v2Vitest v3Vitest v4Vitest v5
V5✅✅✅✅
V4✅✅✅✅

Playwright with @stencil/playwright​

Stencil VersionPlaywright v1.50+
V5✅
V4✅

The tables below cover the test runner that was built into Stencil v4 and earlier.

Jest with Jest Stencil Runner​

Stencil VersionJest v30 *
V4✅

Jest​

Stencil VersionJest v24-26Jest v27Jest v28 *Jest v29 *Jest v30 *
V4✅✅✅✅❌
V3✅✅❌❌❌
V2✅✅❌❌❌
V1✅❌❌❌❌

* Support for Jest 28 & 29 has been included since Stencil v4.7.0.

Puppeteer​

Stencil VersionPuppeteer v5-9Puppeteer v10Puppeteer v11-21Puppeteer v22-24
V4❌✅✅✅
V3❌✅✅❌
V2✅✅❌❌
V1✅❌❌❌