Releases: langchain-ai/langchain
langchain-openai==0.3.29
Changes since langchain-openai==0.3.28
release(openai): release 0.3.29 (#32463)
chore: formatting across codebase (#32466)
fix(openai): revert some changes (#32462)
feat(openai): minimal
and verbosity
(#32455)
fix(openai): don't crash get_num_tokens_from_messages on gpt-5 (#32451)
feat(openai): custom tools (#32449)
test(openai): add tests for prompt_cache_key
parameter and update docs (#32363)
fix(openai): add in output_text
(#32450)
chore(openai): bump openai sdk (#32322)
fix(openai): add max_retries
parameter to ChatOpenAI for handling 503 capacity errors (#32286)
fix: formatting issues in docstrings (#32265)
feat(docs): improve devx, fix Makefile
targets (#32237)
fix: LLM mimicking Unicode responses due to forced Unicode conversion of non-ASCII characters. (#32222)
fix(docs): capitalization, codeblock formatting, and hyperlinks, note blocks (#32235)
docs(openai): add comprehensive documentation and examples for extra_body
+ others (#32149)
langchain-core==0.3.74
langchain-core==0.3.73
Changes since langchain-core==0.3.72
release(core): 0.3.73 (#32446)
feat(core): zero-out token costs for cache hits (#32437)
fix(core): fix index checking when merging lists (#32431)
fix(core): revert "fix: tool call streaming bug with inconsistent indices from Qwen3" (#32307)
fix: lint
fix: tool call streaming bug with inconsistent indices from Qwen3 (#32160)
fix(core): resolve cache validation error by safely converting Generation to ChatGeneration objects (#32156)
chore(core): add test for nested pydantic fields in schemas (#32285)
refactor: remove references to unsupported model claude-3-sonnet-20240229
(#32281)
fix(core): track within-batch deduplication in indexing num_skipped count (#32273)
fix: formatting issues in docstrings (#32265)
feat(docs): improve devx, fix Makefile
targets (#32237)
fix: LLM mimicking Unicode responses due to forced Unicode conversion of non-ASCII characters. (#32222)
fix(docs): capitalization, codeblock formatting, and hyperlinks, note blocks (#32235)
langchain==0.4.0.dev0
Changes since langchain==0.3.27
chore: increment versions for 0.4 branch (#32419)
feat: standard outputs (#32287)
fix: use new Google model names in examples (#32288)
fix: update bar_model
to use the correct model version claude-3-7-sonnet-20250219
(#32284)
refactor: remove references to unsupported model claude-3-sonnet-20240229
(#32281)
fix(core): track within-batch deduplication in indexing num_skipped count (#32273)
fix: formatting issues in docstrings (#32265)
fix: devcontainer (#32260)
chore(langchain): add ruff rules ARG (#32110)
chore(langchain): add ruff rules TC (#31921)
feat(docs): improve devx, fix Makefile
targets (#32237)
chore(langchain): add ruff rules D1 (except D100 and D104) (#32123)
chore(langchain): add ruff rules SLF (#32112)
chore(langchain): strip_ansi
fucntion to remove ANSI escape sequences (#32200)
fix(docs): capitalization, codeblock formatting, and hyperlinks, note blocks (#32235)
refactor(langchain): refactor unit test stub classes (#32209)
langchain-openai==0.4.0.dev0
Changes since langchain-openai==0.3.28
chore: increment versions for 0.4 branch (#32419)
feat: standard outputs (#32287)
chore(openai): bump openai sdk (#32322)
fix(openai): add max_retries
parameter to ChatOpenAI for handling 503 capacity errors (#32286)
fix: formatting issues in docstrings (#32265)
feat(docs): improve devx, fix Makefile
targets (#32237)
fix: LLM mimicking Unicode responses due to forced Unicode conversion of non-ASCII characters. (#32222)
fix(docs): capitalization, codeblock formatting, and hyperlinks, note blocks (#32235)
docs(openai): add comprehensive documentation and examples for extra_body
+ others (#32149)
langchain-groq==0.3.7
Changes since langchain-groq==0.3.6
release(groq): 0.3.7 (#32417)
feat(groq): losen restrictions on reasoning_effort
, inject effort in meta, update tests (#32415)
feat(groq): openai-oss (#32411)
fix: formatting issues in docstrings (#32265)
feat(docs): improve devx, fix Makefile
targets (#32237)
fix: LLM mimicking Unicode responses due to forced Unicode conversion of non-ASCII characters. (#32222)
fix(docs): capitalization, codeblock formatting, and hyperlinks, note blocks (#32235)
docs(openai): add comprehensive documentation and examples for extra_body
+ others (#32149)
docs(groq): cleanup (#32043)
langchain-core==0.4.0.dev0
Changes since langchain-core==0.3.72
chore: increment versions for 0.4 branch (#32419)
feat: standard outputs (#32287)
fix(core): revert "fix: tool call streaming bug with inconsistent indices from Qwen3" (#32307)
fix: lint
fix: tool call streaming bug with inconsistent indices from Qwen3 (#32160)
fix(core): resolve cache validation error by safely converting Generation to ChatGeneration objects (#32156)
chore(core): add test for nested pydantic fields in schemas (#32285)
refactor: remove references to unsupported model claude-3-sonnet-20240229
(#32281)
fix(core): track within-batch deduplication in indexing num_skipped count (#32273)
fix: formatting issues in docstrings (#32265)
feat(docs): improve devx, fix Makefile
targets (#32237)
fix: LLM mimicking Unicode responses due to forced Unicode conversion of non-ASCII characters. (#32222)
fix(docs): capitalization, codeblock formatting, and hyperlinks, note blocks (#32235)
langchain-anthropic==0.3.18
Changes since langchain-anthropic==0.3.17
release(anthropic): 0.3.18 (#32292)
refactor(anthropic): AnthropicLLM to use Messages API (#32290)
refactor: remove references to unsupported model claude-3-sonnet-20240229
(#32281)
feat(docs): improve devx, fix Makefile
targets (#32237)
fix: LLM mimicking Unicode responses due to forced Unicode conversion of non-ASCII characters. (#32222)
fix(docs): capitalization, codeblock formatting, and hyperlinks, note blocks (#32235)
docs(openai): add comprehensive documentation and examples for extra_body
+ others (#32149)
fix(anthropic): update integration test models (#32189)
fix(anthropic): fix test (#32145)
ruff: restore stacklevels, disable autofixing (#31919)
ruff: add bugbear across packages (#31917)
huggingface[patch]: ruff fixes and rules (#31912)
anthropic[patch]: ruff fixes and rules (#31899)
ruff: more rules across the board & fixes (#31898)
fix: automatically fix issues with ruff (#31897)
anthropic[patch]: pass back in citations in multi-turn conversations (#31882)
Revert "infra: temporarily skip tests" (#31854)
langchain==0.3.27
Changes since langchain==0.3.26
fix(langchain): update deps
release(langchain): 0.3.27 (#32227)
feat(langchain): add ruff rules PL (#32079)
docs: formatting cleanup (#32188)
fix: replace deprecated Pydantic .schema()
calls with v1/v2 compatible pattern (#32162)
feat(langchain): add ruff rules TRY (#32047)
feat(langchain): add ruff rules PT (#32010)
fix(ollama): robustly parse single-quoted JSON in tool calls (#32109)
fix(core): JSON Schema reference resolution for list indices (#32088)
refactor(langchain): remove model_rebuild
(#32080)
feat(langchain): add ruff rules G (#32029)
feat(langchain): add ruff rules DTZ (#32021)
feat(langchain): add ruff rules PTH (#32008)
chore: update error message formatting (#31980)
docs: add Google-style docstrings to tools and llms modules (zapier, … (#31957)
chore[langchain]: fix broad base except in crawler.py (#31941)
ruff: restore stacklevels, disable autofixing (#31919)
ruff: add bugbear across packages (#31917)
exception: update Exception to ValueError for clearer error handling (#31915)
langchain[patch]: harden xml parser for xmloutput agent (#31859)
langchain: Add ruff rules B (#31908)
langchain: Fix Evaluator's _check_evaluation_args (#31910)
langchain: Use pytest.raises and pytest.fail to handle exceptions in tests (#31911)
huggingface[patch]: ruff fixes and rules (#31912)
anthropic[patch]: ruff fixes and rules (#31899)
ruff: more rules across the board & fixes (#31898)
fix: automatically fix issues with ruff (#31897)
fix: complete exception handling for UpstashRedisEntityStore (#31893)
fix: lint/format (#31894)
langchain: Add ruff rule RUF (#31874)
langchain: Add ruff rules FBT (#31885)
langchain: Add ruff rule RET (#31875)
langchain: Add ruff rules C4 (#31879)
langchain: Add ruff rules SIM (#31881)
langchain: Add ruff rules A (#31888)
langchain: Add ruff rules EM (#31873)
langchain: Add ruff rules PIE (#31880)
langchain: Add ruff rule W (#31876)
langchain: Bump ruff version to 0.12 (#31867)
langchain[patch]: fix a bug where now.replace(day=now.day - 1)
would raise a ValueError
when now.day
is equal to 1 (#31878)
langchain[patch]: Add bandit rules (#31818)
core[path]: Use context manager for FileCallbackHandler (#31813)
openai[patch]: allow specification of output format for Responses API (#31686)
openai[patch]: add attribute to always use previous_response_id (#31734)
docs: fix typo in globals.py (#31728)
core[patch]: Add additional hashing options to indexing API, warn on SHA-1 (#31649)
langchain[patch]: smith.evaluation.progress.ProgressBarCallback: Make output after progress bar ends configurable (#31583)
langchain-text-splitters==0.3.9
Changes since langchain-text-splitters==0.3.8
fix(text-splitters): update langchain-core version to 0.3.72
fix(text-splitters): update lock for release
fix(langchain): class HTMLSemanticPreservingSplitter ignores the text inside the div tag (#32213)
feat(text-splitters): add Visual Basic 6 support (#31173)
text-splitters: Add ruff rules FBT (#31935)
text splitters: add chunk_size and chunk_overlap validations (#31916)
fix: automatically fix issues with ruff (#31897)
text-splitters: Ruff autofixes (#31858)
text-splitters: Bump ruff version to 0.12 (#31866)
text-splitters: bump spacy version to 3.8.7 (#31834)
text-splitters: Add ruff rule UP (pyupgrade) (#31841)
text-splitters: 0.3.9 (#31844)
security: Remove xslt_path and harden XML parsers in HTMLSectionSplitter: package: langchain-text-splitters (#31819)
text-splitters: fix stale header metadata in ExperimentalMarkdownSyntaxTextSplitter (#31622)
chore: Bump langsmith in splitter uv (#31626)
text-splitters: Add keep_separator arg to HTMLSemanticPreservingSplitter (#31588)
text-splitters[patch]: fix some import-untyped errors (#31030)
text-splitters: Fix regex separator merge bug in CharacterTextSplitter (#31137)
packaging: remove Python upper bound for langchain and co libs (#31025)
text-splitters: Set strict mypy rules (#30900)