Migrating to Unstructured 0.21.0
Version 0.21.0 introduces 1 breaking change. This guide details how to update your code.
Released: 2/22/2026
1
Breaking Changes
2
Migration Steps
2
Affected Symbols
⚠️ Check Your Code
If you use any of these symbols, you need to read this guide:
NLTKspaCyBreaking Changes
●Issue #1
The dependency on NLTK has been removed. Any code relying on NLTK's downloader or specific NLTK data structures will need to be updated to use spaCy equivalents.
Migration Steps
- 1Update code to use spaCy models and APIs instead of NLTK components.
- 2Remove any explicit dependency management or calls related to NLTK data downloading.
Release Summary
Version 0.21.0 replaces the vulnerable NLTK dependency with spaCy to fix a critical RCE vulnerability (CVE-2025-14009) in the downloader mechanism.
Need More Details?
View the full release notes and all changes for Unstructured 0.21.0.
View Full Changelog