[Snyk] Upgrade langchain from 0.0.163 to 0.2.8
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.8.
: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 117 versions ahead of your current version.
-
The recommended version was released on 21 days ago.
Release notes
Package name: langchain
-
0.2.8 - 2024-06-28
What's Changed
- create-integration[patch]: Fill placeholders in package.json by @ bracesproul in #5908
- core[patch]: Add check for bind tools in structured prompt by @ bracesproul in #5882
- Revert "core[patch]: Add check for bind tools in structured prompt" by @ bracesproul in #5909
- docs[patch]: Adds diagram to installation guide by @ jacoblee93 in #5910
- docs[patch]: Fix constructor args bug by @ bracesproul in #5911
- docs[patch]: Add ReAct agent concept guide, search tweaks by @ jacoblee93 in #5912
- openai[patch]: Set stream_usage to false by default for Azure by @ jacoblee93 in #5919
- openai[patch]: Release 0.2.1 by @ jacoblee93 in #5921
- ci[patch]: Run all integration tests daily by @ bracesproul in #5920
- docs[patch]: Update search term by @ jacoblee93 in #5923
- community[patch]: cheerio loader fetch headers type error by @ versole in #5905
- community[minor],docs[minor]: Add ChromeAI chat model by @ bracesproul in #5903
- community[patch]: Release 0.2.15 by @ bracesproul in #5924
- langchain-aws[major]: LangChain AWS package by @ bracesproul in #5907
- aws[patch]: Release 0.0.1 by @ bracesproul in #5925
- langchain[minor],docs[minor]: openai formatted tools in create agent funcs by @ bracesproul in #5871
- langchain[patch]: Release 0.2.8 by @ bracesproul in #5926
Full Changelog: 0.2.7...0.2.8
-
0.2.7 - 2024-06-25
What's Changed
- langchain[patch]: Release 0.2.6 by @ jacoblee93 in #5859
- anthropic[minor]: Allow passing OpenAI formatted tools by @ bracesproul in #5849
- anthropic[patch]: Release 0.2.2 by @ bracesproul in #5860
- groq[minor]: Update bindTools typing to include openai tools format by @ bracesproul in #5855
- groq[patch]: Release 0.0.13 by @ bracesproul in #5861
- standard-tests[minor]: Add test checking models support openai tool format by @ bracesproul in #5856
- community[minor]: Update bedrock to accept openai formatted tools by @ bracesproul in #5852
- google-common[minor]: Allow openai formatted tools by @ bracesproul in #5853
- google-genai[minor]: Allow openai formatted tools by @ bracesproul in #5854
- google-genai[patch]: Release 0.0.21 by @ bracesproul in #5863
- google-common[patch]: Fix remove additional properties util by @ bracesproul in #5862
- google-common[patch]: Release 0.0.19 by @ bracesproul in #5864
- google-gauth[patch],google-webauth[patch]: Release 0.0.19 by @ bracesproul in #5865
- google-vertexai[patch],google-vertexai-web[patch]: Release 0.0.19 by @ bracesproul in #5866
- [patch]: Set cloudflare ai resoultions version in root by @ bracesproul in #5847
- community[patch]: Release 0.2.13 by @ jacoblee93 in #5868
- docs[patch]: Add note about openai formatted tools by @ bracesproul in #5870
- docs[minor]: bedrock tool calling/WSO docs by @ bracesproul in #5735
- docs[patch]: Add callout, update chatbot tools guide by @ jacoblee93 in #5883
- community[minor]: JinaAI embeddings integration by @ AvaterClasher in #5842
- community-experimental[minor]: feat: implement DatadogLLMObsTracer by @ josemussa in #5867
- core[patch]: Fix #5873 (LCEL issue when streaming from LLMs) by @ welljsjs in #5874
- langchain[patch]: fix:pass runManager to DocumentCompressor in MultiQueryRetriever by @ jm-szlendak in #5881
- community[patch]: Add pgvector index using HNSW by @ jl4nz in #5564
- core[patch]: fix: Document should handle empty pageContent (fixes #5884) by @ glorat in #5885
- build[patch]: Format by @ jacoblee93 in #5892
- ci[patch]: fix unit-tests-integrations by implementing dynamic matrix strategy. by @ rameshkrishna in #5768
- langchain[minor]: Multi-file loader by @ theogravity in #5584
- ci[patch]: Adds npm install test for conflicting deps by @ jacoblee93 in #5895
- core[patch]: Release 0.2.10 by @ jacoblee93 in #5896
- community[patch]: Release 0.2.14 by @ jacoblee93 in #5897
New Contributors
- @ AvaterClasher made their first contribution in #5842
- @ welljsjs made their first contribution in #5874
- @ jm-szlendak made their first contribution in #5881
- @ rameshkrishna made their first contribution in #5768
- @ theogravity made their first contribution in #5584
Full Changelog: 0.2.6...0.2.7
-
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
[!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 Configuration 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.