Skip to content

v1.5.5

Choose a tag to compare

@chonknick chonknick released this 04 Feb 20:00
· 513 commits to main since this release
bb1d9e2

Chonkie v1.5.5 πŸ¦›

A patch release focused on stability improvements and bug fixes. This release makes Chonkie more robust for users with partial dependencies and custom implementations.

πŸ› Bug Fixes

  • OpenAI Lazy Import - Users without openai installed can now import Chonkie without errors. Previously, importing chonkie would fail with ModuleNotFoundError even when not using OpenAI features. (#481)

  • Multiprocessing Safe by Default - Custom chunkers now work out-of-the-box without pickle errors. The BaseChunker now defaults to sequential processing, with parallel processing available as an opt-in. (#471)

  • CodeChunker Leaf Node Handling - Fixed an edge case where leaf nodes in the syntax tree could produce empty output, causing valid code to be dropped during chunking. (#473)

  • SlumberChunker Safe Split - Improved split index handling in SlumberChunker for better reliability. (#479)

🧹 Code Quality

  • CodeChunker Cleanup - Removed dead code, improved variable naming consistency, and standardized UTF-8 decoding with error handling. (#482)

πŸ“š Documentation

  • Updated recipe repository link in documentation (#476)

What's Changed

New Contributors

Full Changelog: v1.5.4...v1.5.5