Skip to content

Release 7.0.0

Choose a tag to compare

@paustint paustint released this 14 Mar 19:25
1744231

7.0.0

Mar 14, 2026

πŸš€πŸš€πŸš€πŸš€πŸš€ Performed a complete re-write using a hand-rolled parser, complements of Claude Code which did 100% of the work.

The new parser is ~4,600x faster and has a 75% smaller bundle size since there are no longer any external dependencies.

Old Parser (Chevrotain) New Parser (Hand-rolled)
Parse time per iteration 3,224 ms 0.7 ms
Bundle size (ESM, minified) 194 KB 48 KB
External dependencies 2 (chevrotain, lodash) 0

In addition, we re-wrote the CLI to drop all 3rd party dependencies since the CLI is very simple and doesn't need a library to manage it.

πŸ’₯Breaking changesπŸ’₯

This library no longer exports some of the types used by the previous parser, shown below. These types were only exported as they were used in some public APIs.

This is very unlikely to impact most users, and if it does, the required changes should be very minimal.

export type { CstNode, CstParser, ILexingError, IRecognitionException } from 'chevrotain';
  • Merge pull request #274 from jetstreamapp/feat/replace-chevrotain (8c34b4e)
  • feat: replace chevrotain with hand-rolled parser (8e83827)
  • Updated docs version (da6997b)