β Minor Update
This is a minor maintenance release focused on dependency updates and model reference refreshes. No breaking changes. Safe to upgrade from v1.1.7 or earlier.
π¦ Key Changes
OpenAI Model References Refreshed
Stale OpenAI model references have been updated to current models.
Deprecated gpt-3.5-turbo references removed.
Updated model references:
- β
gpt-4oβ Current flagship model - β
gpt-4o-miniβ Fast, cost-effective option - β
gpt-3.5-turboβ Removed (deprecated)
Dependency Updates
Core dependencies updated for security and compatibility:
- β langsmith: Bumped to v0.8.0 (standard-tests)
- β urllib3: Updated to v2.7.0 (security patch)
- β langchain-core: Version bounds set for compatibility
Lockfile Updates
All dependency lockfiles refreshed to ensure consistent installations across different environments.
π‘ What This Means for You
β Safe to Upgrade
No breaking changes. Your existing LangChain code will continue to work without modifications.
π Model Updates
If you're using OpenAI models, update your code to use gpt-4o or gpt-4o-mini instead of deprecated gpt-3.5-turbo.
π Security Improvements
Dependency updates include security patches for urllib3 and other core libraries.
β¬οΈ How to Update
Step 1: Update LangChain
pip install --upgrade langchain langchain-core
Step 2: Verify Installation
python -c "import langchain; print(langchain.__version__)"
Should output: 1.1.8
Step 3: Update Model References (If Needed)
If you're using OpenAI models, update your code:
Old (deprecated):
ChatOpenAI(model="gpt-3.5-turbo")
New (recommended):
ChatOpenAI(model="gpt-4o")