releaseintermediate
[Release] langchain-ai/langchain langchain-core==1.2.22: langchain-core==1.2.22
By github-actions[bot]github
View original on githubLangChain Core version 1.2.22 was released with a critical fix for path validation in prompt save and load operations. The update deprecates certain methods related to prompt handling to improve security and API consistency. This patch addresses validation issues that could affect prompt persistence workflows.
Key Points
- •Path validation added to `prompt.save()` method to prevent invalid file operations
- •Path validation added to `load_prompt()` function for safer prompt loading
- •Deprecated methods in prompt handling to encourage migration to safer alternatives
- •Security improvement: prevents potential path traversal or invalid file access issues
- •Backward compatibility maintained with deprecation warnings for existing code
- •Upgrade recommended for applications using prompt save/load functionality
Found this useful? Add it to a playbook for a step-by-step implementation guide.
Workflow Diagram
Start Process
Step A
Step B
Step C
Complete