whatsapp-chatgpt
whatsapp-chatgpt copied to clipboard
[Snyk] Upgrade langchain from 0.0.156 to 0.2.10
Snyk has created this PR to upgrade langchain from 0.0.156 to 0.2.10.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
-
The recommended version is 126 versions ahead of your current version.
-
The recommended version was released on 21 days ago.
Issues fixed by the recommended upgrade:
Issue | Score | Exploit Maturity | |
---|---|---|---|
![]() |
Regular Expression Denial of Service (ReDoS) SNYK-JS-ZOD-5925617 |
482 | Proof of Concept |
Release notes
Package name: langchain
-
0.2.10 - 2024-07-16
What's Changed
- Update concepts.mdx by @ kostasx in #6015
- docs[patch]: Update Cohere docs by @ jacoblee93 in #6025
- google-common[patch]: Fix Gemini temperature validation by @ jarib in #6039
- ci[patch]: fix Unit Tests (LangChain Integrations) Skipping Test Jobs by @ rameshkrishna in #5914
- core[minor]: Fix caching of complex message types by @ bracesproul in #6028
- core[minor]: Add raw_output field to ToolMessage by @ bracesproul in #6007
- anthropic[patch]: Pass usage_metadata and response_metadata through when streaming tool calls by @ bracesproul in #6042
- aws[patch]: Fix empty content bug by @ bracesproul in #6043
- core[minor]: RunnableToolLike by @ bracesproul in #6029
- core[patch]: Rename ToolMessage.raw_output => artifact by @ bracesproul in #6055
- core[minor],openai[patch],langchain[patch]: Allow tool functions to input
ToolCall
/ returnToolMessage
by @ bracesproul in #6005 - core[patch]: Cleanup tool tests file by @ bracesproul in #6063
- docs[patch]: Update Custom Chat Model/LLM docs to use stream events v2 by @ bracesproul in #6064
- docs[patch]: Update docs with streamEvents v1 to v2 by @ bracesproul in #6065
- core[patch]: Populate tool name in ToolMessage return value by @ bracesproul in #6066
- partners[patch]: Add type field to all tool call integrations by @ bracesproul in #6067
- core[patch]: Adds support for custom events by @ jacoblee93 in #6062
- core[minor]: Allow concatenation of messages with multi part content by @ bracesproul in #6057
- core[patch]: Release 0.2.16 by @ jacoblee93 in #6068
- anthropic[minor]: Implement actual anthropic tool call streaming by @ bracesproul in #6056
- multiple[patch]: Bump tool partner package deps by @ jacoblee93 in #6069
- community[minor] HuggingFaceTransformersEmbeddings enhancements by @ toboid in #6059
- langchain[patch]: Bug fix for ParentDocumentRetriever by @ clemenspeters in #6061
- community[patch]: Adds support for Bedrock Anthropic tool streaming by @ jacoblee93 in #6070
- openai[patch]: Release 0.2.2 by @ jacoblee93 in #6072
- anthropic[patch]: Release 0.2.4 by @ jacoblee93 in #6073
- aws[patch]: Release 0.0.2 by @ jacoblee93 in #6074
- cohere[patch]: Release 0.2.1 by @ jacoblee93 in #6075
- google-common[patch]: Release 0.0.20 by @ jacoblee93 in #6076
- google-genai[patch]: Release 0.0.22 by @ jacoblee93 in #6077
- groq[patch]: Release 0.0.14 by @ jacoblee93 in #6078
- mistralai[patch]: Release 0.0.26 by @ jacoblee93 in #6079
- community[patch]: Release 0.2.19 by @ jacoblee93 in #6080
- Release 0.2.10 by @ jacoblee93 in #6081
New Contributors
Full Changelog: 0.2.9...0.2.10
-
0.2.9 - 2024-07-10
What's Changed
- core[minor]: Add ID field to document by @ bracesproul in #5893
- core[patch]: support image url prompt with mustache by @ a1ooha in #5916
- core[patch]: Fix rollup warning by @ bracesproul in #5929
- core[patch]: Release 0.2.11 by @ bracesproul in #5930
- langchain[patch]: Bump min core version by @ bracesproul in #5931
- anthropic[patch]: Force tool call by name in withStructuredOutput by @ bracesproul in #5933
- mistral[patch]: Force tool use in withStructuredOutput by @ bracesproul in #5932
- anthropic[patch]: Release 0.2.3 by @ bracesproul in #5934
- mistralai[patch]: Release 0.0.25 by @ bracesproul in #5935
- docs[patch]: Update intro, docs nits by @ jacoblee93 in #5936
- community-experimental[minor]: Move experimental Chrome AI to LLMs by @ jacoblee93 in #5938
- community[patch]: Release 0.2.16 by @ jacoblee93 in #5940
- ci[patch]: Update CI permissions by @ jacoblee93 in #5946
- docs[patch]: Update README.md by @ jacoblee93 in #5945
- 👥 Update LangChain people data by @ jacoblee93 in #5947
- docs[patch]: Fix broken Scrimba link by @ jacoblee93 in #5953
- core[patch]: Adds support for plain message objects as shorthand for messages by @ jacoblee93 in #5954
- core[patch]: Release 0.2.12 by @ jacoblee93 in #5955
- docs[patch]: Update install instructions by @ jacoblee93 in #5957
- jacob/5890 by @ jacoblee93 in #5956
- community[minor]: Taskade Project Loader by @ yeouchien in #5927
- docs[patch]: Fix typo by @ jacoblee93 in #5964
- docs[patch]: Docs nits by @ jacoblee93 in #5965
- redis[patch]: Adds a connection pool to RedisChatHistory by @ itamarhaber in #5963
- Fixes issue with local build from a devcontainer by @ lamoglia in #5966
- community[patch]: unstructured loader support extractImageBlockType option by @ jeasonnow in #5949
- community[patch]: Release 0.2.17 by @ jacoblee93 in #5967
- docs[patch]: Update structured output docs to be more opinionated by @ jacoblee93 in #5968
- baidu-qianfan[major]: Baidu Qianfan ChatCompletion by @ dl102306 in #5879
- docs[patch]: Update Scrimba link by @ jacoblee93 in #5975
- api_refs[minor]: Start generating sitemaps and bump typedoc version by @ bracesproul in #5976
- core[patch]: Adds mermaid graph format by @ jacoblee93 in #5978
- core[patch]: Expose graph endpoint from core by @ jacoblee93 in #5979
- core[patch]: Release 0.2.13 by @ jacoblee93 in #5980
- community[patch]: Fix community upstash test for new versions of @ upstash/redis by @ jacoblee93 in #5986
- community[minor]: Support configurable search parameters for Milvus by @ yokingma in #5877
- multiple[patch]: upgrade uuid version by @ chentschel in #5969
- core[patch]: Fix typo in graph edge construction code by @ jacoblee93 in #5985
- community[patch]: feat: add milvus partitionKey by @ zhanshuyou in #5983
- core[patch]: Release 0.2.14 by @ jacoblee93 in #5987
- core[patch]: Remove dead code by @ jacoblee93 in #5991
- core[patch]: Fix parent run tracking when streaming runnable lambdas by @ jacoblee93 in #5993
- core[patch]: RunnableWithFallbacks tracing fix, refactor by @ jacoblee93 in #5995
- docs: rm discord by @ baskaryan in #5999
- openai[patch]: Fix integration tests by @ bracesproul in #5998
- partners[patch]: Fix flaky token counting tests by @ bracesproul in #6000
- mistralai[patch]: Fix flaky test using callbacks by @ bracesproul in #6001
- ci[patch]: Set fail-fast to false in standard tests & update standard int test command by @ bracesproul in #6002
- anthropic[patch]: Remove sleep after each test by @ bracesproul in #6003
- standard-tests[minor]: Improve prompting to force model to call tool by @ bracesproul in #6004
- partners[patch]: Handle setting background callbacks to false in all relevant int tests by @ bracesproul in #6006
- google-genai[patch],openai[patch]: Test nits by @ bracesproul in #6008
- all[minor]: Add ability to disable console logs in tests by @ bracesproul in #6009
- docs[patch]: Update installation instructions with missing packages in redis docs by @ warlockdn in #5988
- langchain[patch]: Parent doc OOM fix (extends #5989) by @ jacoblee93 in #6012
- core[patch]: Require explicit override for callbacks within a nested config by @ jacoblee93 in #5994
- cohere[patch]: update embeddings and rerank by @ Anirudh31415926535 in #5928
- community[minor]: vercel kv graph checkpointer by