Change8

langchain-text-splitters==1.1.1

📦 langchainView on GitHub →
1 features🐛 4 fixes🔧 4 symbols

Summary

Version 1.1.1 of langchain-text-splitters focuses on bug fixes, including resolving an SSRF vulnerability and mutation issues in splitters, alongside adding support for model_kwargs in SentenceTransformersTokenTextSplitter.

✨ New Features

  • Added support for passing model_kwargs to SentenceTransformersTokenTextSplitter.

🐛 Bug Fixes

  • Prevented JSFrameworkTextSplitter from mutating self._separators during split_text() calls.
  • Fixed a Server-Side Request Forgery (SSRF) vulnerability in HTMLHeaderTextSplitter.split_text_from_url.
  • Reversed the preserved elements iterator in HTMLSemanticPreservingSplitter.
  • Fixed an issue in HTMLSemanticPreservingSplitter related to nested preserved elements.

Affected Symbols