@shikijs/transformers
4.6.0 · 2 Nov 2026MIT8.4M / weekRepositoryHomepagenpmAtom feed
Upgrading @shikijs/transformers From 2.0.3 to 2.5.0
9 releases in betweenevery note read
Reading releases, release notes and advisories…
- 2
- changes to make
- 0
- advisories fixed
- 10
- new
- 10
- fixes
Before you upgrade
Tick each one off as you go- Breaking2.2.0
- Deprecated2.2.0
Release by release
- Fixed
transformers: Also remove extra newline token, fix #915
- Fixed
transformers: Support matching comments in comments, fix #934
- Fixed
transformers: Fix matching indices for word-highlight
- Fixed
- New
Replace picocolors and chalk with ansis
- New
core: Expose
flatTokenVariantsutility, refactor utils folder - Fixed
Missing types for
CodeToTokensWithThemesOptions - Fixed
transformers: Update utils order
- New
- New
Expose
guessEmbeddedLanguagesfrom core
- New
- New
shortcuts: Guess embedded language and auto load in shortcuts
- New
- New
Update grammars
- Fixed
monaco: Handle colors in array
- New
- Fixed
precompiled: Fix traverse algorithm, close #917
- Fixed
- New
engine-js: Lazy compile extremely long patterns in precompiled grammars
- New
- Breaking
Enable runtime warning by default, v2 release blog post
- Deprecated
Warn about missing deprecation
- New
Improve warning messages
- New
Allow nested decorations which share an 'edge' with parent
- Fixed
Mark
enginerequired increateHighlighterCore - Fixed
core: Soft require
engineoptions - Fixed
transformers: Bring back missing
createCommentNotationTransformer, fix #907
- Breaking
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.