@stencil/core breaking changes
Updated December 4, 2026
On this page
Latest version 4.45.6, released November 27, 2026. Source repository
Packages on npm run on Node.js. Node.js end of life dates.
@stencil/core 4.45.3 breaking changes
- Signature changed
internal:JSXBase.HTMLAttributes.hidden
Was hidden?: boolean; now hidden?: boolean | 'until-found'. npmjs.com - Signature changed
mock-doc:MockDocument.hidden
Was hidden: boolean; now hidden: boolean | "until-found". npmjs.com - Signature changed
mock-doc:MockElement.hidden
Was hidden: boolean; now hidden: boolean | "until-found". npmjs.com - Signature changed
mock-doc:MockHTMLElement.hidden
Was hidden: boolean; now hidden: boolean | "until-found". npmjs.com
@stencil/core 4.45.0 breaking changes
- Signature changed
internal:JSXBase.DOMAttributes
Was interface DOMAttributes<T> extends JSXAttributes<T>; now interface DOMAttributes<T> extends JSXAttributes<T>, JSXAriaProperties. npmjs.com - Signature changed
internal:JSXBase.DOMAttributes.__index
The signature of JSXBase.DOMAttributes.__index changed in @stencil/core 4.45.0 npmjs.com
@stencil/core 4.44.0 breaking changes
- Behavior changed
Getters on non-shadow DOM components return null where they previously returned undefined. Code that checks for undefined specifically should also accept null. github.com
@stencil/core 4.43.3 breaking changes
- Signature changed
internal:BuildConditionals.addGlobalStyleToComponents
Was addGlobalStyleToComponents?: boolean; now addGlobalStyleToComponents?: boolean | 'client'. npmjs.com - Signature changed
mock-doc:MockComment.insertBefore
Was insertBefore(newNode: MockNode, referenceNode: MockNode): MockNode; now insertBefore(newNode: MockNode, referenceNode: MockNode | null): MockNode. npmjs.com - Signature changed
mock-doc:MockDocument.insertBefore
Was insertBefore(newNode: MockNode, referenceNode: MockNode): MockNode; now insertBefore(newNode: MockNode, referenceNode: MockNode | null): MockNode. npmjs.com - Signature changed
mock-doc:MockElement.insertBefore
Was insertBefore(newNode: MockNode, referenceNode: MockNode): MockNode; now insertBefore(newNode: MockNode, referenceNode: MockNode | null): MockNode. npmjs.com - Signature changed
mock-doc:MockHTMLElement.insertBefore
Was insertBefore(newNode: MockNode, referenceNode: MockNode): MockNode; now insertBefore(newNode: MockNode, referenceNode: MockNode | null): MockNode. npmjs.com - Signature changed
mock-doc:MockNode.insertBefore
Was insertBefore(newNode: MockNode, referenceNode: MockNode): MockNode; now insertBefore(newNode: MockNode, referenceNode: MockNode | null): MockNode. npmjs.com - Signature changed
mock-doc:MockTextNode.insertBefore
Was insertBefore(newNode: MockNode, referenceNode: MockNode): MockNode; now insertBefore(newNode: MockNode, referenceNode: MockNode | null): MockNode. npmjs.com
@stencil/core 4.43.2 breaking changes
- Signature changed
mock-doc:MockDocument.part
Was readonly part: MockTokenList; now part: string | MockTokenList. npmjs.com - Signature changed
mock-doc:MockElement.part
Was readonly part: MockTokenList; now part: string | MockTokenList. npmjs.com - Signature changed
mock-doc:MockHTMLElement.part
Was readonly part: MockTokenList; now part: string | MockTokenList. npmjs.com
@stencil/core 4.42.1 breaking changes
- Removed
internal:JSXBase.HTMLAttributes.__index
JSXBase.HTMLAttributes.__index was removed in @stencil/core 4.42.1 npmjs.com - Removed
internal:JSXBase.SVGAttributes.__index
JSXBase.SVGAttributes.__index was removed in @stencil/core 4.42.1 npmjs.com - Behavior changed
componentShouldUpdate
componentShouldUpdate now runs once for each prop that changed, so code that relies on it being called less often may see different behavior. github.com - Signature changed
mock-doc:MockWindow.HTMLElement
Was HTMLElement: any; now readonly HTMLElement: typeof MockHTMLElement. npmjs.com
Older versions
13 older versions, each with its first changes. Sign up to see every change
Show 13 older versions
@stencil/core 4.42.0 breaking changes
- Signature changed
internal:AttachInternalsDecorator.__call
Was (): PropertyDecorator; now (opts?: AttachInternalsOptions): PropertyDecorator. npmjs.com - Signature changed
internal:OutputTarget
Was type OutputTarget = OutputTargetCopy | OutputTargetCustom | OutputTargetDist | OutputTargetDistCollection | OutputTargetDistCustomElements | OutputTargetDistLazy | OutputTargetDistGlobalStyles | OutputTargetDistLazyLoader |... npmjs.com
@stencil/core 4.41.3 breaking changes
- Signature changed
mock-doc:MockWindow.Element
Was readonly Element: any; now readonly Element: typeof MockElement. npmjs.com - Signature changed
mock-doc:MockWindow.Node
Was readonly Node: any; now readonly Node: typeof MockNode. npmjs.com
@stencil/core 4.41.1 breaking changes
- Signature changed
FunctionalComponent.__call
Was (props: T, children: VNode[], utils: FunctionalUtilities): VNode | VNode[]; now (props: T, children: VNode[], utils: FunctionalUtilities): VNode | VNode[] | null. npmjs.com
@stencil/core 4.41.0 breaking changes
- Behavior changed
The build fails whenever TypeScript reports a failure, where it previously could finish anyway. Fix the TypeScript errors, since builds that passed before may now fail. github.com
@stencil/core 4.40.0 breaking changes
- Removed
No breaking changes listed in v4.40.0 release notes in @stencil/core 4.40.0 github.com - Signature changed
h.JSX.IntrinsicElements.slot
Was slot: JSXBase.SlotAttributes; now slot: JSXBase.SlotAttributes<HTMLSlotElement>. npmjs.com
And 8 more in this version.
@stencil/core 4.38.3 breaking changes
- Removed
internal:BuildConditionals.modernPropertyDecls
BuildConditionals.modernPropertyDecls was removed in @stencil/core 4.38.3 npmjs.com - Removed
internal:BuildFeatures.modernPropertyDecls
BuildFeatures.modernPropertyDecls was removed in @stencil/core 4.38.3 npmjs.com
And 1 more in this version.
@stencil/core 4.38.2 breaking changes
- Removed
internal:HTMLStencilElement.autocorrect
HTMLStencilElement.autocorrect was removed in @stencil/core 4.38.2 npmjs.com - Signature changed
Mixin
Was function Mixin<TMixins extends readonly MixinFactory[]>(...mixinFactories: TMixins): abstract new (...args: any[]) => UnionToIntersection<InstanceType<ReturnType<TMixins[number]>>>; now function Mixin<const TMixins extends readonly... npmjs.com
And 4 more in this version.
@stencil/core 4.38.1 breaking changes
- Signature changed
internal:HTMLStencilElement
Was interface HTMLStencilElement extends HTMLElement; now interface HTMLStencilElement extends Omit<HTMLElement, 'autocorrect'>. npmjs.com - Signature changed
mock-doc:MockDocument.location
Was location: Location; now location: Location | null. npmjs.com
@stencil/core 4.38.0 breaking changes
- Removed
internal:BuildConditionals.watchCallback
BuildConditionals.watchCallback was removed in @stencil/core 4.38.0 npmjs.com - Removed
internal:BuildFeatures.watchCallback
BuildFeatures.watchCallback was removed in @stencil/core 4.38.0 npmjs.com
And 9 more in this version.
@stencil/core 4.35.2 breaking changes
- Signature changed
internal:JSXBase.DOMAttributes.onBeforeToggle
Was onBeforeToggle?: (event: Event) => void; now onBeforeToggle?: (event: ToggleEvent) => void. npmjs.com - Signature changed
internal:JSXBase.DOMAttributes.onBeforeToggleCapture
Was onBeforeToggleCapture?: (event: Event) => void; now onBeforeToggleCapture?: (event: ToggleEvent) => void. npmjs.com
And 2 more in this version.
@stencil/core 4.35.0 breaking changes
- Configuration changed
addGlobalStyleToComponents
Global styles now apply to components by default under the new behaviour. Set the new addGlobalStyleToComponents extras option to opt out if existing code depends on the old behaviour. github.com
@stencil/core 4.34.0 breaking changes
- Removed
internal:PluginTransformResults.code
PluginTransformResults.code was removed in @stencil/core 4.34.0 npmjs.com - Removed
internal:PluginTransformResults.dependencies
PluginTransformResults.dependencies was removed in @stencil/core 4.34.0 npmjs.com
And 5 more in this version.
@stencil/core 4.33.0 breaking changes
- Behavior changed
Adding global styles support to shadow DOM components can alter existing shadow components that use global styles. Check that they still look correct. github.com - Signature changed
internal:BuildCtx.stylesPromise
Was stylesPromise: Promise<void>; now stylesPromise: Promise<string>. npmjs.com
And 1 more in this version.
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.