[Snyk] Upgrade langchain from 0.0.163 to 0.2.6
This PR was automatically created by Snyk using the credentials of a real user.

Snyk has created this PR to upgrade langchain from 0.0.163 to 0.2.6.
: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 115 versions ahead of your current version.
-
The recommended version was released on 21 days ago.
Release notes
Package name: langchain
-
0.2.6 - 2024-06-21
What's Changed
- Release 0.2.5 by @ jacoblee93 in #5665
- docs[patch]: Redirects for LangSmith and LangGraph by @ jacoblee93 in #5667
- community[patch]: Release 0.2.6 by @ jacoblee93 in #5668
- partners[minor]: Add standard chat model tests to partner packages by @ bracesproul in #5660
- core[patch]: Fix formatting mustache image templates by @ bracesproul in #5666
- community[minor]: Add standard tests to community chat models by @ bracesproul in #5669
- core[release]: Release 0.2.6 by @ bracesproul in #5670
- docs[patch]: Adds heading keywords for search by @ jacoblee93 in #5678
- community[patch]: Change neo4j verify connectivity method by @ tomasonjo in #5679
- partners[patch]: Release partner & community packages by @ bracesproul in #5688
- openai[patch]: Release 0.1.2 by @ bracesproul in #5689
- community[patch]: Deprecate Google PaLM integrations by @ bracesproul in #5690
- docs[patch]: Adds PDF ingestion and QA tutorial by @ jacoblee93 in #5692
- textsplitters[patch]: Bump dependency range for @ langchain/textsplitters by @ jacoblee93 in #5693
- textsplitters[patch]: Release 0.0.3 by @ jacoblee93 in #5695
- docs[patch]: Add deprecation warnings to Google PaLM docs by @ bracesproul in #5696
- community[patch]: Loosen conflicting peer dep by @ jacoblee93 in #5694
- community[patch]: Release 0.2.8 by @ jacoblee93 in #5697
- docs[patch]: Remove duplicated heading section on rag.ipynb by @ froggy1014 in #5674
- community[patch]: anthropic add tool call support new tools api by @ LordMsz in #5640
- community[minor]: Fixed ChatWebLLM reload function and updated model name in example by @ kaiwinut in #5671
- community[patch]: Release 0.2.9 by @ jacoblee93 in #5698
- docs[patch]: Add crosslinks, add LangGraph and LangSmith sections by @ jacoblee93 in #5702
- docs[patch]: replace wrong interface API reference link by @ froggy1014 in #5706
- docs[patch]: Point OpenAI LLM docs at chat models by @ jacoblee93 in #5718
- docs[patch]: Add pointers from LLM pages to chat model pages by @ jacoblee93 in #5719
- google[patch]: Release 0.0.18 by @ bracesproul in #5720
- ci[minor]: Add more packages to lowest/latest deps ci workflow by @ bracesproul in #5703
- google-vertexai[minor]: Move tests from gauth/webauth into vertexai packages by @ bracesproul in #5722
- Unstructured in memory loader by @ jacoblee93 in #5726
- infra[minor]: Add vertexai to latest/lowest ci by @ bracesproul in #5727
- docs[patch]: Adds streaming conceptual docs by @ jacoblee93 in #5728
- google-vertexai[minor] Add standard tests by @ bracesproul in #5721
- openai[minor],docs[minor]: Add parallel tool calls call option and docs by @ bracesproul in #5717
- community[patch]: allow to use postgres pool instance on PostgresRecordManager by @ josemussa in #5677
- community[major]: DeepInfra llm and chat by @ ovuruska in #5672
- anthropic[patch]: Stream tokens by @ bracesproul in #5730
- openai[patch],azure-openai[patch]: Update legacy classes to respect the apiKey field by @ scottforte in #5714
- community[patch]: Release 0.2.10 by @ jacoblee93 in #5739
- azure-openai[patch]: Release 0.0.11 by @ jacoblee93 in #5740
- openai[patch]: Release 0.1.3 by @ jacoblee93 in #5741
- ci[patch]: Only run CI testsing if specific package touched by @ bracesproul in #5733
- cohere[minor]: Fix token counts, add usage_metadata by @ bracesproul in #5732
- cohere[patch]: Release 0.1.0 by @ bracesproul in #5747
- docs[patch]: Adds structured output section to concepts by @ jacoblee93 in #5750
- docs,examples[patch]: Replace .getRelevantDocuments with .invoke by @ bracesproul in #5749
- mistral[minor]: Populate usage metadata for mistral by @ bracesproul in #5751
- ci[patch]: Always run standard tests by @ bracesproul in #5755
- openai[patch]: Fix tool content list by @ bracesproul in #5756
- Fix [ERR_REQUIRE_ESM] error when importing hf_transformers by @ JonaMX in #5746
- community[minor]: Update SingleStore vector store by @ volodymyr-memsql in #5715
- community[patch]: Release 0.2.11 by @ jacoblee93 in #5758
- google-genai[minor]: Add support for token counting via usage_metadata by @ bracesproul in #5757
- docs[patch]: Update embeddings conceptual docs by @ jacoblee93 in #5759
- docs: Graph tutorial updates by @ iPagar in #5762
- google-genai[patch]: Nit standard tests by @ bracesproul in #5764
- google-common[minor]: Add stream_usage by @ bracesproul in #5763
- google-genai[patch]: Bump min core version by @ bracesproul in #5765
- core[patch]: Account for escaped variables in mustache templates by @ bracesproul in #5775
- docs[minor]: Add tool runtime args doc by @ bracesproul in #5767
- update model name in these for making them eligible for multimodality by @ tanyaasharma in #5777
- docs[patch]: Reorder streaming guide by @ jacoblee93 in #5784
- docs[patch]: Adds RAG guide to concepts, semantic similarity to howtos by @ jacoblee93 in #5783
- google-genai[minor]: Add support for tool messages as inputs by @ bracesproul in #5785
- google-genai[patch]: Release 0.0.18 by @ bracesproul in #5787
- docs[patch]: Adds evaluation links to concepts, how tos, tutorials by @ jacoblee93 in #5790
- core[minor]docs[minor]: new
toolwrapper by @ bracesproul in #5782 - core[patch]: Release 0.2.7 by @ jacoblee93 in #5794
- community[minor]: Update ChatWebLLM to match dependency version and update example by @ Neet-Nestor in #5776
- community[minor]: Add Indexing API support for Milvus by @ miloradvojnovic in #5760
- community[patch]: Fix PostgresRecordManager table being created with name 'undefined' by @ MJDeligan in #5796
- google-genai[patch]: Fix removing additionalProperties edge case by @ bracesproul in #5798
- google-genai[patch]: Release 0.0.19 by @ bracesproul in #5799
- docs[patch]: Fix docs build issues with empty lib artifacts by @ jacoblee93 in #5800
- community[patch]: Release 0.2.12 by @ jacoblee93 in #5802
- docs[patch]: Adds docs feedback text by @ jacoblee93 in #5801
- Jacob/docs by @ jacoblee93 in #5807
- docs[patch]: Update deprecated entrypoints by @ jacoblee93 in #5808
- google-genai[patch]: Update tool message parsing by @ bracesproul in #5804
- google-genai[patch]: Release 0.0.20 by @ bracesproul in #5814
- core[minor]: Add ID field to messages by @ bracesproul in #5817
- core[minor]: Message transformers by @ bracesproul in #5789
- core[patch]: Release 0.2.8 by @ bracesproul in #5819
- docs[patch]: Update Anthropic model example by @ jacoblee93 in #5826
- docs[patch]: Update azure_openai.mdx with proper env name by @ warlockdn in #5822
- community[minor]: Support configurable index creation for Milvus by @ yokingma in #5821
- core[minor],community[minor]: Add message id tests by @ bracesproul in #5827
- docs[patch]: Correcting zod types for OAI parallel tool calling doc by @ gurpreetlogiciel in #5824
- openai[patch]: Populate ID field by @ bracesproul in #5818
- community[patch]: feat: Make Zep Memory message merging optional by @ paul-paliychuk in #5803
- community[patch]: feat: add headers param to cheerio loader by @ versole in #5806
- community[patch]: Fix issue with inserting documents in Milvus with autoId enabled by @ miloradvojnovic in #5829
- core[patch]: add more mustache variable types by @ bracesproul in #5831
- docs[patch]: Update link by @ jacoblee93 in #5832
- build[patch]: Update artifacts by
[!IMPORTANT]
Review skipped
Ignore keyword(s) in the title.
Please check the settings in the CodeRabbit UI or the
.coderabbit.yamlfile in this repository. To trigger a single review, invoke the@coderabbitai reviewcommand.You can disable this status message by setting the
reviews.review_statustofalsein the CodeRabbit configuration file.
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Tips
Chat
There are 3 ways to chat with CodeRabbit:
- Review comments: Directly reply to a review comment made by CodeRabbit. Example:
-
I pushed a fix in commit <commit_id>. -
Generate unit testing code for this file. -
Open a follow-up GitHub issue for this discussion.
-
- Files and specific lines of code (under the "Files changed" tab): Tag
@coderabbitaiin a new review comment at the desired location with your query. Examples:-
@coderabbitai generate unit testing code for this file. -
@coderabbitai modularize this function.
-
- PR comments: Tag
@coderabbitaiin a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:-
@coderabbitai generate interesting stats about this repository and render them as a table. -
@coderabbitai show all the console.log statements in this repository. -
@coderabbitai read src/utils.ts and generate unit testing code. -
@coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format. -
@coderabbitai help me debug CodeRabbit configuration file.
-
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.
CodeRabbit Commands (invoked as PR comments)
-
@coderabbitai pauseto pause the reviews on a PR. -
@coderabbitai resumeto resume the paused reviews. -
@coderabbitai reviewto trigger an incremental review. This is useful when automatic reviews are disabled for the repository. -
@coderabbitai full reviewto do a full review from scratch and review all the files again. -
@coderabbitai summaryto regenerate the summary of the PR. -
@coderabbitai resolveresolve all the CodeRabbit review comments. -
@coderabbitai configurationto show the current CodeRabbit configuration for the repository. -
@coderabbitai helpto get help.
Additionally, you can add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
CodeRabbit Configration File (.coderabbit.yaml)
- You can programmatically configure CodeRabbit by adding a
.coderabbit.yamlfile to the root of your repository. - Please see the configuration documentation for more information.
- If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation:
# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json
Documentation and Community
- Visit our Documentation for detailed information on how to use CodeRabbit.
- Join our Discord Community to get help, request features, and share feedback.
- Follow us on X/Twitter for updates and announcements.