langchain-core==1.0.5
Breaking Changes📦 langchainView on GitHub →
⚠ 1 breaking🐛 2 fixes🔧 4 symbols
Summary
This release focuses on bug fixes regarding exception handling and reverts a recent change to secret mapping in the load function. It also includes documentation improvements for token counting methods.
⚠️ Breaking Changes
- Reverted the application of `secrets_map` in `load` to plain string values, which may affect how secrets are resolved during serialization/deserialization compared to the previous version.
Migration Steps
- If you relied on the behavior of `secrets_map` applying to plain string values introduced in the previous patch, review your serialization logic as this has been reverted.
🐛 Bug Fixes
- Prevented masking of exceptions to ensure underlying errors are properly surfaced.
- Fixed an issue where `secrets_map` was applied to plain string values in the `load` function (initially added then reverted).
🔧 Affected Symbols
loadsecrets_mapBaseChatModel.get_token_idsBaseChatModel.get_num_tokens