Skip to content

Releases: feyninc/chonkiejs

core-v0.0.11

Choose a tag to compare

@chonk-lain chonk-lain released this 18 Jun 20:18
ea500b4

What's Changed

Full Changelog: core-v0.0.10...core-v0.0.11

core-v0.0.10

Choose a tag to compare

@chonk-lain chonk-lain released this 12 May 18:43
5ce9cac

What's Changed

New Contributors

Full Changelog: core-v0.0.9...core-v0.0.10

core-v0.0.9

Choose a tag to compare

@chonk-lain chonk-lain released this 27 Mar 17:10
0fecd18

What's Changed

Full Changelog: core-v0.0.8...core-v0.0.9

core-v0.0.8

Choose a tag to compare

@chonknick chonknick released this 12 Mar 23:21
af453ff

@chonkiejs/core v0.0.8

Bug Fixes

  • Fix Tokenizer encode/decode for non-BMP Unicode characters (emoji, etc.) — was using charCodeAt/fromCharCode, now uses codePointAt/fromCodePoint (#33)
  • Fix RecursiveChunker sentence-level splitting being completely non-functional — multi-char delimiters like ['. ', '! ', '? '] were joined into a string where space became a delimiter, causing all segments to collapse into one (#39)
  • Fix TokenChunker silent index failure — replaced fragile indexOf-based lookup with deterministic offset tracking (#35)
  • Fix TableChunker startIndex/endIndex inconsistency between single and multi-chunk cases (#36)
  • Consolidate duplicate WASM initialization from FastChunker and RecursiveChunker into shared module (#37)

Tests

  • Add Tokenizer unit tests (9 tests) — encode/decode round-trip, Unicode, create factory
  • Add TokenChunker test coverage (14 tests) — chunking, overlap, indices, Unicode (#34)
  • Add TableChunker index consistency test
  • Total tests: 47 → 71

core-v0.0.7

Choose a tag to compare

@chonknick chonknick released this 21 Jan 09:32

@chonkiejs/core v0.0.7

  • Integrate @chonkiejs/chunk WASM for split and merge operations
  • Use WASM split_offsets for delimiter-based text splitting
  • Use WASM merge_splits for combining segments into chunks
  • Add initWasm function for explicit WASM initialization
  • Re-export low-level chunk functions from @chonkiejs/chunk

v0.0.4

Choose a tag to compare

@chonknick chonknick released this 08 Oct 08:27

What's Changed

  • Refactor: Re-write chonkie-ts into separate packages for better dependency handling! by @chonknick in #27

Full Changelog: https://github.com/chonkie-inc/chonkiejs/commits/v0.0.4