Search documentation

↑↓ to move↵ to open

kirari


Changelog

New releases, improvements, and fixes across Kirari and its integrations.

  1. kirari 1.0.4

    Bug fixes

    • Long runs of short tokens in CSS, Makefile, TOML, YAML, and Markdown with embedded languages now tokenize in linear time instead of slowing down quadratically.
    • An unclosed Markdown fence on a single line no longer backtracks over the whole line.
    • YAML numbers, booleans, and nulls end before # only when whitespace precedes it, so 3#x reads as one plain scalar.
    • TOML numbers no longer split names such as 42n.
  2. kirari 1.0.3

    Improvements

    • JavaScript, JSX, TypeScript, and TSX handle multiline and parenthesized arrows, nested default parameters, typed bindings, and contextual method names.
    • Batch and streaming output stay consistent while signatures, comments, and arrow operators are incomplete.

    Bug fixes

    • Function names are no longer highlighted as ordinary variables. Declarations, generic signatures, quoted names, lambdas, and closures are recognized across the programming-language grammars.
  3. kirari 1.0.2

    Bug fixes

    • Adjacent JSX and TSX element snippets highlight without a fragment wrapper, and comparisons after JSX stay JavaScript.
  4. kirari 1.0.1

    Improvements

    • Package homepage and documentation links point to kirari.sh.
  5. kirari 1.0.0

    Improvements

    • First stable release of the core highlighting APIs.
    • Import languages by name from @vortexlabs/kirari/languages. Individual language entry points still work.
  6. kirari-react 1.0.1

    Improvements

    • Package homepage and documentation links point to kirari.sh.
  7. kirari-react 1.0.0

    Breaking changes

    Requires @vortexlabs/kirari 1.x

    The ^0.1.0 peer range no longer applies, so upgrading only @vortexlabs/kirari-react fails with a peer dependency conflict.

    How to migrate

    1. Upgrade @vortexlabs/kirari and @vortexlabs/kirari-react in the same install.
    2. No code changes are needed: Code and useTokenStream keep the same props and behavior.
    Run
    npm install @vortexlabs/kirari@^1 @vortexlabs/kirari-react@^1
    

    Improvements

    • First stable release, built on the Kirari 1.0 core APIs.
  8. kirari-rehype 1.0.1

    Improvements

    • Package homepage and documentation links point to kirari.sh.
  9. kirari-rehype 1.0.0

    Improvements

    • First stable release of the Rehype and MDX plugin. Install it with @vortexlabs/kirari 1.x.
  10. kirari 0.1.0

    Improvements

    • First preview release of the core library.
  11. kirari-react 0.1.0

    Improvements

    • First preview release of the React components and streaming hook.