Change8

langchain-core==0.3.80

Breaking Changes
📦 langchainView on GitHub →
1 breaking🐛 2 fixes🔧 3 symbols

Summary

This release addresses a security vulnerability (GHSA-6qv9-48xg-fc7f) by tightening validation for f-string templates and restricting functionality in jinja2 and mustache templates.

⚠️ Breaking Changes

  • Input variable validation for f-string templates has been tightened, and functionality supported by jinja2 and mustache templates has been restricted to address security vulnerability GHSA-6qv9-48xg-fc7f.

Migration Steps

  1. Review jinja2 and mustache templates for any restricted logic that may now be blocked by the new security constraints.

🐛 Bug Fixes

  • Fixed validation for input variables in f-string templates.
  • Restricted functionality in jinja2 and mustache templates to prevent potential exploits (GHSA-6qv9-48xg-fc7f).

🔧 Affected Symbols

PromptTemplatejinja2mustache