Skip to content

2.7.0

Latest

Choose a tag to compare

@jparkerweb jparkerweb released this 29 May 03:53
· 1 commit to main since this release

What's New 🎉

[2.7.0] - 2026-05-28

📦 Updated

  • Internal embedding/tokenizer/similarity layer now delegates to the embedding-utils package
    • Local ONNX embedding generation routes through eu's createLocalProvider
    • Token counting routes through eu's createTokenizer (via new internal countTokens/countTokensBatch helpers)
    • cosineSimilarity is now sourced from embedding-utils (the hand-rolled implementation was removed)
  • @huggingface/transformers bumped from ^4.0.1 to ^4.2.0
  • Added embedding-utils as a dependency

✅ Unchanged

  • No public API change to chunkit, cramit, or sentenceit (option names, defaults, and result shape are identical)
  • The byte-bounded per-text lru-cache for embeddings is retained
  • The custom-provider embedCallback path (including wrapCallbackWithCache and validateEmbeddingResult) is retained
  • returnEmbedding continues to emit typed-array embeddings