langchain==1.5.0
LangChain 1.5.0 drops support for Python 3.10, raising the minimum requirement to Python 3.11 and langchain-core to 1.8.0, alongside adding model router and auto mode middleware.
Why this signal matters
LangChain release 1.5.0 has officially dropped support for Python 3.10 following its end-of-life status. Environments running Python 3.10 will remain on langchain 1.4.x. In addition, the minimum required version of langchain-core has been raised to 1.8.0. Feature additions include the introduction of model router and auto mode middleware, with ModelRouterMiddleware flagged as beta. Documentation has also been updated regarding the Baseten minimum version.
Actionable summary
LangChain 1.5.0 introduces breaking changes: Python 3.10 support is dropped (minimum is now Python 3.11) and minimum langchain-core is bumped to 1.8.0. It also adds ModelRouterMiddleware (marked as beta) and auto mode middleware.
- Agent usefulness
- 94/100
- Confidence
- 96%
- Canonical data
- JSON + Markdown
What builders should check
- Upgrade Python environments to at least version 3.11 before upgrading to langchain 1.5.0.
- Update langchain-core dependency to version 1.8.0 or higher.
- Verify compatibility if integrating the newly added ModelRouterMiddleware, noting its beta status.