Skip to content

v2.0.0

Choose a tag to compare

@pi0 pi0 released this 03 Aug 06:25
· 24 commits to main since this release

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)