🚀 Release v0.3.0: LangChain v1 Migration & Enhanced Deep Agent#1
Merged
Conversation
…attern Major refactoring to support LangChain v1 with modern middleware API: - Replace `modify_model_request` with `wrap_model_call` and `awrap_model_call` - Update ModelProviderMiddleware to use new middleware pattern - Change provider registration to use "openai-compatible" instead of "openai" - Update all examples and documentation to use `system_prompt` parameter - Bump version to 0.3.0 to reflect breaking changes - Update dependencies: langchain>=1.0.0, langchain-dev-utils>=0.1.24 - Add langchain-anthropic>=1.0.0 dependency - Update all test cases to use new middleware API - Replace Qwen/Qwen3-8B with THUDM/glm-4-9b-chat in examples - Add comprehensive LangChain v1 migration notes in README Breaking Changes: - Middleware now uses `wrap_model_call` instead of `modify_model_request` - Provider registration uses "openai-compatible" for custom providers - Full async/await support throughout middleware layer
… signature and fix test fixtures - Update create_deep_agent call to match latest signature (model as first parameter) - Remove autouse=True from mock_openai_key fixture to prevent interference with integration tests - Switch default model from GLM-4.5 to DeepSeek-V3.2-Exp via SiliconFlow - Update test expectations to match new parameter ordering - All unit and integration tests passing
- Update version in pyproject.toml and uv.lock to 0.3.0 - Modify README badges to reflect new version and LangChain v1.0 - Enhance README content to clarify middleware updates and compatibility with LangChain v1.0 - Document key changes in middleware pattern and state management improvements This commit reflects the transition to LangChain v1.0 and ensures the documentation is up-to-date with the latest changes.
- Bump version of deepagents from 0.1.0 to 0.1.1 in uv.lock and sample-deep-agent's pyproject.toml. - Upgrade iniconfig from 2.1.0 to 2.3.0 in uv.lock. - Update langchain-dev-utils from 0.1.24 to 1.0.0 in uv.lock and langgraph-up-devkits' pyproject.toml. - Increase uvicorn version from 0.37.0 to 0.38.0 in uv.lock. - Ensure all dependencies are aligned with the latest versions for improved stability and performance.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This release (v0.3.0) represents a major upgrade to the official LangChain v1.0 and LangGraph v1.0 ecosystem with significant architectural improvements and enhanced deep agent capabilities.
🎯 Release Highlights
🔄 LangChain v1.0 & LangGraph v1.0 Migration
modify_model_requestwithwrap_model_callandawrap_model_callrequest.runtime.contextfor model specifications🤖 Deep Agent Enhancement
sample-deep-agentto use correctcreate_deep_agentsignatureasync_create_deep_agenttocreate_deep_agentinstructionstosystem_promptsiliconflow:deepseek-ai/DeepSeek-V3.2-Expdeepagentsto v0.1.1🛠️ Development Tools Enhancement
deep_web_searchwith timestamp-based file organizationFileDatastructure with ISO timestamps📚 Documentation Updates
📦 Components Updated
Core Dependencies (Official v1.0 Releases)
langchain: 1.0 (official stable release)langgraph: 1.0 (official stable release)langchain-dev-utils: 1.0.0deepagents: 0.1.1uvicorn: 0.38.0iniconfig: 2.3.0Libraries
libs/langgraph-up-devkits/:Applications
apps/sample-deep-agent/:create_deep_agentwith correct signatureRoot Project
🔧 Technical Changes
Breaking Changes
async_create_deep_agent→create_deep_agentinstructionsparameter →system_promptmodify_model_request→wrap_model_call/awrap_model_callMigration Path
✅ Testing & Quality
📊 Statistics
🎉 Why This Upgrade Matters
Production Ready
Developer Benefits
🚀 Next Steps
After merging:
🔗 Related Resources
🤖 Generated with Claude Code
Co-Authored-By: Claude noreply@anthropic.com