ReleaseCloudflare (Workers AI)Cloudflare (Workers AI)published May 20, 2026seen 5d

cloudflare/kumo @cloudflare/kumo@2.2.2

cloudflare/kumo

Open original ↗

Captured source

source ↗
published May 20, 2026seen 5dcaptured 8hhttp 200method plain

@cloudflare/kumo@2.2.2

Repository: cloudflare/kumo

Tag: @cloudflare/kumo@2.2.2

Published: 2026-05-20T13:37:03Z

Prerelease: no

Release notes:

Patch Changes

  • 94d0c22: Fix language alias normalization in ShikiProvider
  • Add normalizeLanguage() function that maps common language aliases (js, ts, sh, yml, py, md, gql) to their canonical SupportedLanguage names
  • Normalize language aliases in ShikiProvider when preloading grammars, so passing ['js', 'ts'] works the same as ['javascript', 'typescript']
  • Normalize language aliases in highlight() hook at runtime, so code fences using js or ts highlight correctly without warnings
  • Export normalizeLanguage from @cloudflare/kumo/code for consumers who need to normalize aliases themselves
  • Intentionally omit mdx alias since MDX has a distinct grammar that would lose JSX highlighting if mapped to markdown

Notability

notability 4.0/10

Routine patch release of search library