---
title: "shiki 4.4.0 Breaking Changes on npm | Since.dev"
description: "What each shiki release removed, renamed or changed: 117 breaking changes in 10 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/shiki
last_updated: 2026-12-04
---

# shiki breaking changes

shiki 4.4.0 (July 31, 2026) is its newest release with breaking changes, 3 of them. The first: Removed bundle/full:t. Every breaking API change we have recorded in shiki on npm: 117 breaking changes in 10 versions. Below, its 10 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `4.6.0`, released November 2, 2026. [Source repository](https://github.com/shikijs/shiki)

Its 4.0.0 release drops [Node.js 18](https://since.dev/calendar/nodejs/18.md). [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [3.23.0](#v-3-23-0) to [4.4.0](#v-4-4-0): 21 breaking changes in 3 versions.
- From [0.12.0](#v-0-12-0) to [4.4.0](#v-4-4-0): 113 breaking changes in 9 versions.

## shiki 4.4.0 breaking changes

shiki 4.4.0, released July 31, 2026: 3 breaking changes.

- **Removed** `bundle/full:t`  

t was removed in shiki 4.4.0 [npmjs.com](https://www.npmjs.com/package/shiki/v/4.4.0)
- **Signature changed** `bundle/web:BundledLanguage`  

Was type BundledLanguage = 'angular-html' | 'angular-ts' | 'astro' | 'bash' | 'blade' | 'c' | 'c++' | 'cjs' | 'coffee' | 'coffeescript' | 'cpp' | 'css' | 'csv' | 'cts' | 'glsl' | 'gql' | 'graphql' | 'haml' | 'handlebars' | 'hbs' | 'html' |... [npmjs.com](https://www.npmjs.com/package/shiki/v/4.4.0)
- **Signature changed** `BundledLanguage`  

Was type BundledLanguage = '1c' | '1c-query' | 'abap' | 'actionscript-3' | 'ada' | 'adoc' | 'angular-html' | 'angular-ts' | 'apache' | 'apex' | 'apl' | 'applescript' | 'ara' | 'asciidoc' | 'asm' | 'astro' | 'awk' | 'ballerina' | 'bash' |... [npmjs.com](https://www.npmjs.com/package/shiki/v/4.4.0)

## shiki 4.1.0 breaking changes

shiki 4.1.0, released May 19, 2026: 8 breaking changes.

- **Signature changed** `codeToHast`  

Was const codeToHast: (code: string, options: \_shikijs_types0.CodeToHastOptions\<BundledLanguage, BundledTheme>) => Promise\<hast.Root>; now const codeToHast: (code: string, options... [npmjs.com](https://www.npmjs.com/package/shiki/v/4.1.0)
- **Signature changed** `codeToHtml`  

Was const codeToHtml: (code: string, options: \_shikijs_types0.CodeToHastOptions\<BundledLanguage, BundledTheme>) => Promise\<string>; now const codeToHtml: (code: string, options: import("@shikijs/types").CodeToHastOptions\<BundledLanguage... [npmjs.com](https://www.npmjs.com/package/shiki/v/4.1.0)
- **Signature changed** `codeToTokens`  

Was const codeToTokens: (code: string, options: \_shikijs_types0.CodeToTokensOptions\<BundledLanguage, BundledTheme>) => Promise<\_shikijs_types0.TokensResult>; now const codeToTokens: (code: string, options... [npmjs.com](https://www.npmjs.com/package/shiki/v/4.1.0)
- **Signature changed** `codeToTokensBase`  

Was const codeToTokensBase: (code: string, options: \_shikijs_types0.RequireKeys<\_shikijs_types0.CodeToTokensBaseOptions\<BundledLanguage, BundledTheme>, "theme" | "lang">) => Promise<\_shikijs_types0.ThemedToken\[\]\[\]>; now const... [npmjs.com](https://www.npmjs.com/package/shiki/v/4.1.0)
- **Signature changed** `codeToTokensWithThemes`  

Was const codeToTokensWithThemes: (code: string, options: \_shikijs_types0.RequireKeys<\_shikijs_types0.CodeToTokensWithThemesOptions\<BundledLanguage, BundledTheme>, "lang" | "themes">) =>... [npmjs.com](https://www.npmjs.com/package/shiki/v/4.1.0)
- **Signature changed** `createHighlighter`  

Was const createHighlighter: \_shikijs_types0.CreateHighlighterFactory\<BundledLanguage, BundledTheme>; now const createHighlighter: import("@shikijs/types").CreateHighlighterFactory\<BundledLanguage, BundledTheme>. [npmjs.com](https://www.npmjs.com/package/shiki/v/4.1.0)
- **Signature changed** `getLastGrammarState`  

Was const getLastGrammarState: ((element: \_shikijs_types0.ThemedToken\[\]\[\] | hast.Root) => \_shikijs_types0.GrammarState) | ((code: string, options: \_shikijs_types0.CodeToTokensBaseOptions\<BundledLanguage, BundledTheme>) =>... [npmjs.com](https://www.npmjs.com/package/shiki/v/4.1.0)
- **Signature changed** `getSingletonHighlighter`  

Was const getSingletonHighlighter: (options?: Partial<\_shikijs_types0.BundledHighlighterOptions\<BundledLanguage, BundledTheme>> | undefined) => Promise\<HighlighterGeneric\<BundledLanguage, BundledTheme>>; now const getSingletonHighlighter... [npmjs.com](https://www.npmjs.com/package/shiki/v/4.1.0)

## shiki 4.0.0 breaking changes

shiki 4.0.0, released February 27, 2026: 10 breaking changes.

- **Removed**  

The release no longer supports Node v18. Users on Node v18 must upgrade their Node.js runtime before using this version. [github.com](https://github.com/shikijs/shiki/releases/tag/v4.0.0)
- **Signature changed** `codeToHast`  

Was const codeToHast: (code: string, options: \_shikijs_types.CodeToHastOptions\<BundledLanguage, BundledTheme>) => Promise\<hast.Root>; now const codeToHast: (code: string, options: \_shikijs_types0.CodeToHastOptions\<BundledLanguage... [npmjs.com](https://www.npmjs.com/package/shiki/v/4.0.0)
- **Signature changed** `codeToHtml`  

Was const codeToHtml: (code: string, options: \_shikijs_types.CodeToHastOptions\<BundledLanguage, BundledTheme>) => Promise\<string>; now const codeToHtml: (code: string, options: \_shikijs_types0.CodeToHastOptions\<BundledLanguage... [npmjs.com](https://www.npmjs.com/package/shiki/v/4.0.0)
- **Signature changed** `codeToTokens`  

Was const codeToTokens: (code: string, options: \_shikijs_types.CodeToTokensOptions\<BundledLanguage, BundledTheme>) => Promise<\_shikijs_types.TokensResult>; now const codeToTokens: (code: string, options... [npmjs.com](https://www.npmjs.com/package/shiki/v/4.0.0)
- **Signature changed** `codeToTokensBase`  

Was const codeToTokensBase: (code: string, options: \_shikijs_types.RequireKeys<\_shikijs_types.CodeToTokensBaseOptions\<BundledLanguage, BundledTheme>, "theme" | "lang">) => Promise<\_shikijs_types.ThemedToken\[\]\[\]>; now const... [npmjs.com](https://www.npmjs.com/package/shiki/v/4.0.0)
- **Signature changed** `codeToTokensWithThemes`  

Was const codeToTokensWithThemes: (code: string, options: \_shikijs_types.RequireKeys<\_shikijs_types.CodeToTokensWithThemesOptions\<BundledLanguage, BundledTheme>, "lang" | "themes">) => Promise<\_shikijs_types.ThemedTokenWithVariants\[\]\[\]>... [npmjs.com](https://www.npmjs.com/package/shiki/v/4.0.0)
- **Signature changed** `createHighlighter`  

Was const createHighlighter: \_shikijs_types.CreateHighlighterFactory\<BundledLanguage, BundledTheme>; now const createHighlighter: \_shikijs_types0.CreateHighlighterFactory\<BundledLanguage, BundledTheme>. [npmjs.com](https://www.npmjs.com/package/shiki/v/4.0.0)
- **Signature changed** `getLastGrammarState`  

Was const getLastGrammarState: ((element: \_shikijs_types.ThemedToken\[\]\[\] | hast.Root) => \_shikijs_types.GrammarState) | ((code: string, options: \_shikijs_types.CodeToTokensBaseOptions\<BundledLanguage, BundledTheme>) =>... [npmjs.com](https://www.npmjs.com/package/shiki/v/4.0.0)
- **Signature changed** `getSingletonHighlighter`  

Was const getSingletonHighlighter: (options?: Partial<\_shikijs_types.BundledHighlighterOptions\<BundledLanguage, BundledTheme>> | undefined) => Promise\<HighlighterGeneric\<BundledLanguage, BundledTheme>>; now const getSingletonHighlighter... [npmjs.com](https://www.npmjs.com/package/shiki/v/4.0.0)
- **Signature changed** `wasm:default`  

Was export {default} from '@shikijs/engine-oniguruma/wasm-inlined'; now export {wasm_inlined_default as default}. [npmjs.com](https://www.npmjs.com/package/shiki/v/4.0.0)

## shiki 3.23.0 breaking changes

shiki 3.23.0, released February 25, 2026: 2 breaking changes.

- **Signature changed** `BundledLanguage`  

Was type BundledLanguage = '1c' | '1c-query' | 'abap' | 'actionscript-3' | 'ada' | 'adoc' | 'angular-html' | 'angular-ts' | 'apache' | 'apex' | 'apl' | 'applescript' | 'ara' | 'asciidoc' | 'asm' | 'astro' | 'awk' | 'ballerina' | 'bash' |... [npmjs.com](https://www.npmjs.com/package/shiki/v/3.23.0)
- **Signature changed** `BundledTheme`  

Was type BundledTheme = 'andromeeda' | 'aurora-x' | 'ayu-dark' | 'ayu-light' | 'ayu-mirage' | 'catppuccin-frappe' | 'catppuccin-latte' | 'catppuccin-macchiato' | 'catppuccin-mocha' | 'dark-plus' | 'dracula' | 'dracula-soft' |... [npmjs.com](https://www.npmjs.com/package/shiki/v/3.23.0)

## shiki 3.0.0 breaking changes

shiki 3.0.0, released February 18, 2025: 33 breaking changes.

- **Removed**  

Deprecated APIs were removed in v3.0. Code that still calls them must move to their replacements. [github.com](https://github.com/shikijs/shiki/releases/tag/v3.0.0)
- **Removed**  

TypeScript projects using the node10 module resolution are no longer supported and must switch to a newer resolution setting. [github.com](https://github.com/shikijs/shiki/releases/tag/v3.0.0)
- **Removed** `getHighlighter`  

Use createHighlighter instead. [npmjs.com](https://www.npmjs.com/package/shiki/v/3.0.0)
- **Removed** `getWasmInlined`  

getWasmInlined was removed in shiki 3.0.0 [npmjs.com](https://www.npmjs.com/package/shiki/v/3.0.0)
- **Removed** `textmate:disposeOnigString`  

disposeOnigString was removed in shiki 3.0.0 [npmjs.com](https://www.npmjs.com/package/shiki/v/3.0.0)
- **Removed** `textmate:EncodedTokenMetadata`  

EncodedTokenMetadata was removed in shiki 3.0.0 [npmjs.com](https://www.npmjs.com/package/shiki/v/3.0.0)
- **Removed** `textmate:FindOption`  

FindOption was removed in shiki 3.0.0 [npmjs.com](https://www.npmjs.com/package/shiki/v/3.0.0)
- **Removed** `textmate:FontStyle`  

FontStyle was removed in shiki 3.0.0 [npmjs.com](https://www.npmjs.com/package/shiki/v/3.0.0)
- **Removed** `textmate:IEmbeddedLanguagesMap`  

IEmbeddedLanguagesMap was removed in shiki 3.0.0 [npmjs.com](https://www.npmjs.com/package/shiki/v/3.0.0)
- **Removed** `textmate:IGrammar`  

IGrammar was removed in shiki 3.0.0 [npmjs.com](https://www.npmjs.com/package/shiki/v/3.0.0)

And 23 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## shiki 1.0.0 breaking changes

shiki 1.0.0, released February 7, 2024: 50 breaking changes.

- **Removed**  

The CJS and IIFE builds are no longer shipped, so code that loads Shiki through them must switch to the ESM build or the documented CDN usage. [shiki.style](https://shiki.style/guide/migrate)
- **Removed**  

All deprecated APIs were removed in this release; migrate any remaining deprecated calls before upgrading. [github.com](https://github.com/shikijs/shiki/releases/tag/v1.0.0)
- **Removed** `BUNDLED_LANGUAGES`  

The constant moved to @shikijs/langs under the new name. [npmjs.com](https://www.npmjs.com/package/shiki/v/1.0.0)
- **Removed** `BUNDLED_THEMES`  

The constant moved to @shikijs/themes under the new name. [npmjs.com](https://www.npmjs.com/package/shiki/v/1.0.0)
- **Removed** `createHighlighter`  

Use the themes option with an array instead. [shiki.style](https://shiki.style/guide/migrate)
- **Removed** `css-variables`  

Use the dual themes approach instead, or the Theme Colors Manipulation approach. [shiki.style](https://shiki.style/guide/migrate)
- **Removed** `FontStyle`  

FontStyle was removed in shiki 1.0.0 [npmjs.com](https://www.npmjs.com/package/shiki/v/1.0.0)
- **Removed** `Highlighter.ansiToHtml`  

Use codeToHtml with lang set to ansi instead. [npmjs.com](https://www.npmjs.com/package/shiki/v/1.0.0)
- **Removed** `Highlighter.ansiToThemedTokens`  

Highlighter.ansiToThemedTokens was removed in shiki 1.0.0 [npmjs.com](https://www.npmjs.com/package/shiki/v/1.0.0)
- **Removed** `Highlighter.codeToThemedTokens`  

Callers of codeToThemedTokens must switch to codeToTokensBase; the new codeToTokens API is added alongside. [npmjs.com](https://www.npmjs.com/package/shiki/v/1.0.0)

And 40 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## Older versions

4 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### shiki 1.0.0-rc.0 breaking changes

shiki 1.0.0-rc.0, released February 7, 2024: 2 breaking changes.

- **Removed**  

All APIs deprecated earlier were removed in this release, so code still calling them will break and must move to the replacements named in the migration guide. [github.com](https://github.com/shikijs/shiki/releases/tag/v1.0.0-rc.0)
- **Behavior changed**  

The internal context was refactored, which is listed as a breaking change, so code depending on internal context behavior may need updating. [github.com](https://github.com/shikijs/shiki/releases/tag/v1.0.0-rc.0)

### shiki 0.14.0 breaking changes

shiki 0.14.0, released January 30, 2023: 1 breaking change.

- **Signature changed** `Highlighter.codeToHtml`  

Was codeToHtml(code: string, lang?: StringLiteralUnion\<Lang>, theme?: StringLiteralUnion\<Theme>, options?: HtmlOptions): string codeToHtml(code: string, options?: HtmlOptions): string; now codeToHtml(code: string, lang?... [npmjs.com](https://www.npmjs.com/package/shiki/v/0.14.0)

### shiki 0.13.0 breaking changes

shiki 0.13.0, released January 28, 2023: 4 breaking changes.

- **Renamed** `material-<themeName>`  

Themes named material-\<themeName> are now called material-theme-\<themeName>, for example material-ocean becomes material-theme-ocean. Update theme names in code that uses them. [github.com](https://github.com/shikijs/shiki/releases/tag/v0.13.0)
- **Renamed** `material-default`  

The material-default theme is now called material-theme. Update theme names in code that uses it. [github.com](https://github.com/shikijs/shiki/releases/tag/v0.13.0)

And 2 more in this version.

### shiki 0.12.0 breaking changes

shiki 0.12.0, released December 18, 2022: 4 breaking changes.

- **Signature changed** `ILanguageRegistration`  

Was type ILanguageRegistration = {id: string; scopeName: string; aliases?: string\[\]; samplePath?: string; embeddedLangs?: Lang\[\];} & ({path: string; grammar?: IRawGrammar;} | {path?: string; grammar: IRawGrammar;}); now type... [npmjs.com](https://www.npmjs.com/package/shiki/v/0.12.0)
- **Signature changed** `IShikiTheme.settings`  

Was settings: IRawThemeSetting\[\]; now settings: any\[\]. [npmjs.com](https://www.npmjs.com/package/shiki/v/0.12.0)

And 2 more in this version.

## Related packages

- [@shikijs/types](https://since.dev/packages/npm/@shikijs/types.md)
- [@shikijs/core](https://since.dev/packages/npm/@shikijs/core.md)
- [@shikijs/themes](https://since.dev/packages/npm/@shikijs/themes.md)
- [@shikijs/langs](https://since.dev/packages/npm/@shikijs/langs.md)
- [@shikijs/engine-oniguruma](https://since.dev/packages/npm/@shikijs/engine-oniguruma.md)
- [@shikijs/engine-javascript](https://since.dev/packages/npm/@shikijs/engine-javascript.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
