Release Notes - LangChain v1 Migration
Breaking Changes
Python 3.10+ now required - LangChain v1 drops Python 3.9 support. Please upgrade to Python 3.10 or higher (Python 3.12 recommended).
Updates
LangChain v1 Compatibility
Upgraded to LangChain v1.0+ with updated import paths across the codebase:
langchain.prompts→langchain_core.promptslangchain.text_splitter→langchain_text_splitterslangchain.retrievers→langchain_classic.retrievers
Package Versions
langchain>=1.0.0langchain-core>=1.0.0langchain-community>=0.4.0langchain-classic>=1.0.0(new)
Simplified Dependencies
Reduced requirements.txt from 134 to 63 lines by removing transitive dependencies - now only lists packages directly used by the project.
📝 Migration Guide
# Install with Python 3.10+
python -m pip install -r requirements.txt
pip install gpt-researcher --upgradeSee the LangChain v1 migration guide for more details.
Fixes
- Updated all documentation examples with LangChain v1 imports
- Cleaned up backend requirements for production deployments
What's Changed in Release
- Fix: propagate MCP config to follow-up researchers; pass researcher i… by @sriramsowmithri9807 in #1529
- feat: Add proper multi-platform Docker build support by @TheSpaceGod in #1530
- fix: Update repository URL in CLI documentation by @Hnatekmar in #1533
- Fixed PubMed retreiver to correctly pull full texts from PMC. by @pgrosjean in #1545
- Langchain 1.0 Migration by @assafelovic in #1547
New Contributors
- @Hnatekmar made their first contribution in #1533
- @pgrosjean made their first contribution in #1545
Full Changelog: v.3.3.6...v.3.3.7