Skip to content

Releases: pi0/rangi

Release list

v2.1.0

Choose a tag to compare

@pi0 pi0 released this 03 Aug 09:09

compare changes

🚀 Enhancements

  • npx rangi cli (f19e271)
  • Add jsx and tsx languages (#2)
  • Language aliases (d32feb9)
  • Support jsonc, json5, and jsonl (685d600)
  • Detect json language (b448530)
  • Class mode and cssVariables theme (2a96087)

🩹 Fixes

🏡 Chore

❤️ Contributors

v2.0.0

Choose a tag to compare

@pi0 pi0 released this 03 Aug 06:25

compare changes

Note

v2 is initial release forking form speed-highlight

🚀 Enhancements

  • ⚠️ Synchronous API with bundled languages (24b9a1d)
  • ⚠️ Standalone highlighter with pure js themes (a35e370)
  • ⚠️ Pass custom languages per call (f4e48cd)
  • Expose tokenize as public api (167c71e)
  • Increase language support (0d72e61, 1668bc9)
  • Add /core and /languages subpaths (ad34acc)

🔥 Performance

  • ⚠️ Reduce bundle size (faaf807)
  • Skip escaping and theme lookups per token (c54a7bf)

🩹 Fixes

  • Fix issues from language harness (724cf78)

💅 Refactors

  • ⚠️ Shrink minified bundle 16% with tuple rules (737282d)

📖 Documentation

  • Clarify tokenizer behavior (833defb)

📦 Build

✅ Tests

  • Add language testing harness (f71472b)
  • Add bundle size test (323f887)

⚠️ Breaking Changes

  • ⚠️ Synchronous api with bundled languages (24b9a1d)
  • ⚠️ Standalone highlighter with pure js themes (a35e370)
  • ⚠️ Pass custom languages per call (f4e48cd)
  • ⚠️ Reduce bundle size (faaf807)
  • ⚠️ Shrink minified bundle 16% with tuple rules (737282d)