v4.5.0
- Emit an explicit color level from codeToANSI - by @EvanProgramming in https://github.com/shikijs/shiki/issues/1320 (b968e)
- transformers:
- Add classActiveCode option to transformerNotationWordHighlight - by @curiouscoder-cmd in https://github.com/shikijs/shiki/issues/1201 (1e968)
- Add transformerRenderLineNumber - by @Divyapahuja31 and DIVYA PAHUJA in https://github.com/shikijs/shiki/issues/1238 (02f05)
- cli:
- Fall back to 'text' when file/URL has no extension and no -… - by @VeerShah41 in https://github.com/shikijs/shiki/issues/1248 (c00e5)
- Fall back to plaintext for unknown languages - by @Jinjiang and @antfubot in https://github.com/shikijs/shiki/issues/1319 (4eb7c)
- primitive:
- Dispose wasm memory for lazily embedded langs - by @rgodha24 in https://github.com/shikijs/shiki/issues/1322 (b5423)
- Dedupe grammar injections on repeated language loads - by @antlio and @antfubot in https://github.com/shikijs/shiki/issues/1318 (33678)
- stream:
- Compile Solid renderer with babel-preset-solid - by @BetterAndBetterII and @antfu in https://github.com/shikijs/shiki/issues/1309 (8724e)
- transformers:
- Keep notations on content comment lines - by @tianrking in https://github.com/shikijs/shiki/issues/1308 (d25ab)
- Handle split
#and--comments in rose-pine theme - by @anandghegde in https://github.com/shikijs/shiki/issues/1317 (63e6d)
- twoslash:
- Avoid crash when @errors nodes land past EOF - by @Yahiro025, @cursoragent and @antfubot in https://github.com/shikijs/shiki/issues/1316 (5c919)
- engine-js: Reuse each regex's last search while tokenizing a line - by @issacgerges and @antfu in https://github.com/shikijs/shiki/issues/1314 (2ef5e)
- stream: Group tokens by line in the React renderer - by @CNSeniorious000 in https://github.com/shikijs/shiki/issues/1311 (81200)
- vitepress-twoslash: Replace lz-string with lz-string-es - by @antfubot in https://github.com/shikijs/shiki/issues/1324 (2e170)
v4.4.3
- Update deps and grammar - by @antfu (72f26)
- vitepress-twoslash: Delay twoslash tooltip show by 200ms - by @antfubot in https://github.com/shikijs/shiki/issues/1306 (9f2aa)
v4.4.2
- Unbreak CI after vite 8 bump and grammar/deps updates - by @antfubot in https://github.com/shikijs/shiki/issues/1300 (c5d31)
- core: Token split performance improvements - by @amadeus in https://github.com/shikijs/shiki/issues/1301 (41896)
v4.4.0
- Update grammars and themes - by @antfu (dec2a)
- core: Guess yaml from frontmatter segments - by @antfubot in https://github.com/shikijs/shiki/issues/1299 (1b8b6)
v4.3.1
- Add
typefield forThemedToken- by @ije in https://github.com/shikijs/shiki/issues/1293 (585b5)
v4.3.0
- stream: Add svelte renderer - by @CNSeniorious000 and Anthony Fu (via agent) in https://github.com/shikijs/shiki/issues/1291 (2d18a)
v4.2.0
- Add @shikijs/stream and @shikijs/magic-move packages - by @antfu in https://github.com/shikijs/shiki/issues/1283 (d031f)
- transformers: Handle YAML comment prefixes correctly for v3 - by @AkaHarshit in https://github.com/shikijs/shiki/issues/1266 (f694a)
- vitepress-twoslash: Scroll blocking on mobile viewports - by @micaiguai in https://github.com/shikijs/shiki/issues/1262 (9e0e8)
v4.1.0
- twoslash: Forward
tsModuletocreateTwoslasher- by @arthurfiorette in https://github.com/shikijs/shiki/issues/1271 (be89a)
v4.0.2
- Support ANSI language with multiple themes - by @dan-lee in https://github.com/shikijs/shiki/issues/1259 (2a232)