github assafelovic/gpt-researcher v.3.3.7
Langchain V1 Support

16 hours ago

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.promptslangchain_core.prompts
  • langchain.text_splitterlangchain_text_splitters
  • langchain.retrieverslangchain_classic.retrievers

Package Versions

  • langchain>=1.0.0
  • langchain-core>=1.0.0
  • langchain-community>=0.4.0
  • langchain-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 --upgrade

See 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

New Contributors

Full Changelog: v.3.3.6...v.3.3.7

Don't miss a new gpt-researcher release

NewReleases is sending notifications on new releases.