NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm · #2264 most downloaded on npm
Engine for Shiki using Oniguruma RegExp engine in WebAssembly
Last release 3 days ago
01 Oct 2026
Release timing varies
gaps range from 8 days to 2 months
Nearly every release is documented
notes for 60 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
2 years old
92 releases · first in 2024
One column per month.
Emit an explicit color level from codeToANSI - by @EvanProgramming in #1320 (b968e)
# and -- comments in rose-pine theme - by @anandghegde in #1317 (63e6d)Update deps and grammar - by @antfu (72f26)
Unbreak CI after vite 8 bump and grammar/deps updates - by @antfubot in #1300 (c5d31)
Update deps - by @antfu (e07fd)
Update grammars and themes - by @antfu (dec2a)
Add type field for ThemedToken - by @ije in #1293 (585b5)
stream : Add svelte renderer - by @CNSeniorious000 and Anthony Fu (via agent) in #1291 (2d18a)
Add @shikijs/stream and @shikijs/magic-move packages - by @antfu in #1283 (d031f)
twoslash : Forward tsModule to createTwoslasher - by @arthurfiorette in #1271 (be89a)
tsModule to createTwoslasher - by @arthurfiorette in #1271 (be89a)Support ANSI language with multiple themes - by @dan-lee in #1259 (2a232)
Try fix dts bundle, thanks @sxzz - by @antfu (1f26c)
Drop Node v18 support, remove deprecated APIs - by @antfu in https://github.com/shikijs/shiki/issues/1249 (cdca9)
@shikijs/primitive package - by @antfu in https://github.com/shikijs/shiki/issues/1251 <samp>(05a77)</samp>@shikijs/markdown-exit package - by @antfu <samp>(d1257)</samp>Update grammar and themes - by @antfu (9b4ca)
declare modifier to top level declarations in .d.ts - by @KazariEX in https://github.com/shikijs/shiki/issues/1242 <samp>(142d5)</samp>Update grammar and themes - by @antfu (40676)
Update grammar - by @antfu (6d109)
cli: Add --format option for html output - by @Divyapahuja31 in https://github.com/shikijs/shiki/issues/1211 (28dd0)
Support rootStyle: false option - by @khushthecoder and @antfu in https://github.com/shikijs/shiki/issues/1184 (baf9a)
rootStyle: false option - by @khushthecoder and @antfu in https://github.com/shikijs/shiki/issues/1184 <samp>(baf9a)</samp>classActiveCode option to notation transformers - by @GreenHacker420 in https://github.com/shikijs/shiki/issues/1171 <samp>(a6a44)</samp>transformers: Support zeroIndexed option to transformerMetaHighlight - by @manak-sharma20 in https://github.com/shikijs/shiki/issues/1149 (c39ff)
zeroIndexed option to transformerMetaHighlight - by @manak-sharma20 in https://github.com/shikijs/shiki/issues/1149 <samp>(c39ff)</samp>langAlias to special languages, close #1164 - by @antfu in https://github.com/shikijs/shiki/issues/1164 <samp>(45ab1)</samp>core: Enhance string utils with robust edge case handling - by @shekhar-narayan-mishra in https://github.com/shikijs/shiki/issues/1154 (a2b68)
cli: Support passing remote file url - by @o-az in https://github.com/shikijs/shiki/issues/1139 (fb05a)
createdBundledHighlighter to createBundledHighlighter - by @tushar73-jet, Tushar and @antfu in https://github.com/shikijs/shiki/issues/1135 <samp>(e6d21)</samp>twoslash-query-persisted, close #1130, close #981 - by @antfu in https://github.com/shikijs/shiki/issues/1130 and https://github.com/shikijs/shiki/issues/981 <samp>(55a17)</samp>Update grammars - by @antfu (02dab)
lang-ansi: Fallback for missing theme ANSI colors - by @Chanakyasinde and @antfu in https://github.com/shikijs/shiki/issues/1095 (f36ea)
meta.indent for indent guides - by @L33Z22L11 in https://github.com/shikijs/shiki/issues/1087 <samp>(d8f89)</samp>Update grammars and themes - by @antfu (26372)
transformers: Render indent guides - by @KazariEX and @antfu in https://github.com/shikijs/shiki/issues/1060 (aecd1)
@shikijs/twoslash version specifier - by @9romise in https://github.com/shikijs/shiki/issues/1078 (a1cde)
@shikijs/twoslash version specifier - by @9romise in https://github.com/shikijs/shiki/issues/1078 <samp>(a1cde)</samp>twoslash: Fix onTwoslashError return value handling - by @Karibash in https://github.com/shikijs/shiki/issues/1070 (e86b0)
onTwoslashError return value handling - by @Karibash in https://github.com/shikijs/shiki/issues/1070 <samp>(e86b0)</samp>*No significant changes* ##### View changes on GitHub
No significant changes
Improve UX for option customization - by @9romise in https://github.com/shikijs/shiki/issues/1066 (e3cfd)
core: Add enforce options to ShikiTransformer - by @serkodev and @antfu in https://github.com/shikijs/shiki/issues/1062 (8ad05)
enforce options to ShikiTransformer - by @serkodev and @antfu in https://github.com/shikijs/shiki/issues/1062 <samp>(8ad05)</samp>Add funding links to playground - by @jtbandes in https://github.com/shikijs/shiki/issues/1054 (e36eb)
Add funding buttons to themes & languages list - by @jtbandes and @antfu in https://github.com/shikijs/shiki/issues/1052 (84a65)
Update grammars - by @antfu (e7eea)
twoslash: Pass-through unrecognized options.lang to codeToHast - by @topolarity in https://github.com/shikijs/shiki/issues/1047 (c586e)
options.lang to codeToHast - by @topolarity in https://github.com/shikijs/shiki/issues/1047 <samp>(c586e)</samp>Support for adjacent empty decorations - by @AndreasArvidsson and Anthony Fu in https://github.com/shikijs/shiki/issues/1042 (18dd7)
Update grammars and themes - by @antfu (4bb10)
core: Support resolving langAlias in bundle-factory, close #952 - by @antfu in https://github.com/shikijs/shiki/issues/952 (4a858)
light-dark on colors, close #1036 - by @antfu in https://github.com/shikijs/shiki/issues/1036 <samp>(ac58a)</samp>Introduce colorsRendering option - by @antfu (0f850)
Add support for CSS light-dark() function in dual themes - by @dahlia and @antfu in https://github.com/shikijs/shiki/issues/1028 (119b2)
light-dark() function in dual themes - by @dahlia and @antfu in https://github.com/shikijs/shiki/issues/1028 <samp>(119b2)</samp>markdown-it: Add langAlias option - by @uncenter in https://github.com/shikijs/shiki/issues/1018 (97ff4)
rehype: Add langAlias option - by @SoonIter in https://github.com/shikijs/shiki/issues/1015 (88d1a)
transformerRemoveNotationEscape support rehype plugin usage - by @fuma-nama in https://github.com/shikijs/shiki/issues/1011 <samp>(946ef)</samp>Update deps and grammars - by @antfu (310d1)
Update deps - by @antfu (ac6be)
Add handling for FontStyle.Strikethrough - by @dhruvkb in https://github.com/shikijs/shiki/issues/976 (f14f2)
FontStyle.Strikethrough - by @dhruvkb in https://github.com/shikijs/shiki/issues/976 <samp>(f14f2)</samp>*No significant changes* ##### View changes on GitHub
No significant changes
Upgrade deps, new langs and themes - by @antfu (b11c6)
engine-js: Bump deps to work around Safari bug with some grammars - by @slevithan in https://github.com/shikijs/shiki/issues/941 (47205)
Remove deprecated apis for v3.0 - by @antfu in https://github.com/shikijs/shiki/issues/900 (55c15)
node10 typescript resolution support - by @userquin in https://github.com/shikijs/shiki/issues/923 <samp>(ccb58)</samp>moduleResolution to bundler - by @antfu in https://github.com/shikijs/shiki/issues/936 <samp>(e924d)</samp>Also remove extra newline token, fix #915 - by @antfu in https://github.com/shikijs/shiki/issues/915 (457b0)
Replace picocolors and chalk with ansis - by @webdiscus in https://github.com/shikijs/shiki/issues/935 (ecc4a)
flatTokenVariants utility, refactor utils folder - by @antfu <samp>(634fa)</samp>CodeToTokensWithThemesOptions - by @antfu <samp>(d6195)</samp>Expose guessEmbeddedLanguages from core - by @antfu (89ae7)
guessEmbeddedLanguages from core - by @antfu <samp>(89ae7)</samp>shortcuts: Guess embedded language and auto load in shortcuts - by @antfu in https://github.com/shikijs/shiki/issues/932 (20e6c)
Update grammars - by @antfu (4c9ab)
precompiled: Fix traverse algorithm, close #917 - by @antfu in https://github.com/shikijs/shiki/issues/917 (3722d)
engine-js: Lazy compile extremely long patterns in precompiled grammars - by @slevithan in https://github.com/shikijs/shiki/issues/916 (c792c)
Warn about missing deprecation - by @antfu (708e3)
markdown-it-async integration - by @antfu in https://github.com/shikijs/shiki/issues/902 <samp>(4d59c)</samp>fallbackLanguage on lazy mode - by @fuma-nama in https://github.com/shikijs/shiki/issues/912 <samp>(6a852)</samp>engine required in createHighlighterCore - by @antfu <samp>(1212f)</samp>htmlStyle - by @antfu <samp>(eab5b)</samp>engine options - by @antfu <samp>(10a6f)</samp>createCommentNotationTransformer, fix #907 - by @antfu in https://github.com/shikijs/shiki/issues/907 <samp>(8386b)</samp>engine-js: Update deps, support more languages - by @slevithan in https://github.com/shikijs/shiki/issues/903 (13533)
markdown-it-async integration - by @antfu in https://github.com/shikijs/shiki/issues/902 <samp>(4d59c)</samp>core: Soft require engine options - by @antfu (10a6f)
engine options - by @antfu <samp>(10a6f)</samp>Mark engine required in createHighlighterCore - by @antfu (1212f)
engine required in createHighlighterCore - by @antfu <samp>(1212f)</samp>Warn about missing deprecation - by @antfu (708e3)
htmlStyle - by @antfu <samp>(eab5b)</samp>### Read the announcement: Shiki v2 ##### View changes on GitHub
Your coding agent can read these notes before it upgrades. Set up the MCP server →