releaseintermediate
[Release] langchain-ai/langchain langchain-text-splitters==1.1.1: langchain-text-splitters==1.1.1
By github-actions[bot]github
View original on githublangchain-text-splitters version 1.1.1 was released with bug fixes including prevention of JSFrameworkTextSplitter mutating internal separators, resolution of a Server-Side Request Forgery vulnerability in HTMLHeaderTextSplitter, and fixes to HTMLSemanticPreservingSplitter. The release also includes dependency updates, code style improvements with ruff linting, and new features like model_kwargs support for SentenceTransformersTokenTextSplitter.
Key Points
- •Fixed JSFrameworkTextSplitter mutating self._separators on each split_text() call to prevent state corruption
- •Patched Server-Side Request Forgery (SSRF) vulnerability in HTMLHeaderTextSplitter.split_text_from_url method
- •Added model_kwargs parameter to SentenceTransformersTokenTextSplitter for enhanced configuration flexibility
- •Fixed HTMLSemanticPreservingSplitter to correctly reverse preserved elements iterator and handle nested preserved elements
- •Upgraded critical dependencies including langsmith (0.4.31→0.6.3), transformers (5.1.0→5.2.0), urllib3 (2.6.3), and mypy/ruff tooling
- •Improved code quality through ruff linting upgrades (0.14.11→0.15), added type checking targets, and enforced absolute imports across packages
- •Fixed typo in documentation ('seperator'→'separator') and added comprehensive edge case tests for CharacterTextSplitter
- •Enhanced project infrastructure with CI checks for out-of-date lockfiles and Python 3.14 dependency compatibility
Found this useful? Add it to a playbook for a step-by-step implementation guide.