@shikijs/core breaking changes
@shikijs/core 4.0.0 (February 27, 2026) is its newest release with breaking changes, 8 of them. The first: @shikijs/core 4.0.0 drops support for Node.js 18. Every breaking API change we have recorded in @shikijs/core on npm: 21 breaking changes in 2 versions. Below, its 2 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 4.6.0. Source repository
Its 4.0.0 release drops Node.js 18. Node.js end of life dates.
@shikijs/core 4.0.0 breaking changes
- Removed
Node v18 is no longer supported, so users must run on a newer Node version. github.com - Removed
createdBundledHighlighter
Use createBundledHighlighter instead. npmjs.com - Removed
enableDeprecationWarnings
enableDeprecationWarnings was removed in @shikijs/core 4.0.0 npmjs.com - Removed
warnDeprecated
warnDeprecated was removed in @shikijs/core 4.0.0 npmjs.com - Signature changed
codeToHast
Was function codeToHast(internal: ShikiInternal, code: string, options: CodeToHastOptions, transformerContext?: ShikiTransformerContextCommon): Root; now function codeToHast(primitive: ShikiPrimitive, code: string, options... npmjs.com - Signature changed
codeToHtml
Was function codeToHtml(internal: ShikiInternal, code: string, options: CodeToHastOptions): string; now function codeToHtml(primitive: ShikiPrimitive, code: string, options: CodeToHastOptions): string. npmjs.com - Signature changed
codeToTokens
Was function codeToTokens(internal: ShikiInternal, code: string, options: CodeToTokensOptions): TokensResult; now function codeToTokens(primitive: ShikiPrimitive, code: string, options: CodeToTokensOptions): TokensResult. npmjs.com - Signature changed
codeToTokensBase
Was function codeToTokensBase(internal: ShikiInternal, code: string, options?: CodeToTokensBaseOptions): ThemedToken[][]; now function codeToTokensBase(primitive: ShikiPrimitive, code: string, options?: CodeToTokensBaseOptions)... npmjs.com
@shikijs/core 3.0.0 breaking changes
- Removed
Deprecated APIs were removed for v3.0; code still calling them must move to their replacements. github.com - Removed
Support for the node10 TypeScript moduleResolution setting was removed; projects using it must switch to a newer resolution mode. github.com - Removed
createJavaScriptRegexEngine
createJavaScriptRegexEngine was removed in @shikijs/core 3.0.0 npmjs.com - Removed
createOnigurumaEngine
createOnigurumaEngine was removed in @shikijs/core 3.0.0 npmjs.com - Removed
createWasmOnigEngine
createWasmOnigEngine was removed in @shikijs/core 3.0.0 npmjs.com - Removed
defaultJavaScriptRegexConstructor
defaultJavaScriptRegexConstructor was removed in @shikijs/core 3.0.0 npmjs.com - Removed
FontStyle
FontStyle was removed in @shikijs/core 3.0.0 npmjs.com - Removed
getHighlighterCore
Use createHighlighterCore instead. npmjs.com - Removed
getShikiInternal
Use createShikiInternal instead. npmjs.com - Removed
loadWasm
loadWasm was removed in @shikijs/core 3.0.0 npmjs.com
And 3 more in this version. Sign up to see every change
Related packages
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.