langchain-core==1.0.4
📦 langchainView on GitHub →
✨ 1 features🐛 7 fixes🔧 5 symbols
Summary
This release introduces subgraph drawing support via pygraphviz and includes several bug fixes related to schema generation, async callback context preservation, and prompt formatting.
Migration Steps
- Upgrade your `langchain-core` package to version 1.0.4 or later using your preferred package manager (e.g., pip install -U langchain-core).
- If you rely on specific fixes related to PydanticToolsParser, empty content block filtering, or `RunnablePick` behavior, verify that your application now behaves as expected.
- If you are using `langchain-community`, ensure you are aware of any corresponding updates or changes mentioned in the release notes for that package (due to reference corrections).
✨ New Features
- Support for drawing subgraphs using pygraphviz.
🐛 Bug Fixes
- Fix tool name check in name_dict for PydanticToolsParser.
- Filter empty content blocks from formatted prompts.
- Ensure context preservation in shielded async callbacks.
- Fix RunnablePick behavior to ensure it returns a dict when keys is a string.
- Fix Runnable parallel schema being empty when children runnable input schemas use TypedDict.
- Handle missing dependency version information.
- Add check for 'no colors' in output.
🔧 Affected Symbols
PydanticToolsParserRunnablePickRunnableTypedDictlangchain_core.utils.function_calling