[Snyk] Upgrade langchain from 0.0.163 to 0.2.5
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.5.
: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 114 versions ahead of your current version.
-
The recommended version was released on a month ago.
Release notes
Package name: langchain
-
0.2.5 - 2024-06-04
What's Changed
- Release 0.2.4 by @ jacoblee93 in #5619
- community[minor]: DeepInfra embeddings integration #1 by @ ovuruska in #5382
- community[patch]: Fix bug in Neo4j new enhancedSchema flag by @ easwee in #5622
- community[minor]: Add support for Tencent Hunyuan Chat Model and Embeddings by @ TeCHiScy in #5476
- docs[patch]: Fix security header by @ jacoblee93 in #5625
- community[patch]: overriding similaritySearchWithScore in neo4j vector store to enable filtering by @ AumeshMisra in #5599
- docs[patch]: LangGraph fix typo by @ jacoblee93 in #5626
- community[patch]: Update import map by @ jacoblee93 in #5627
- build[major]: Remove yarn cache by @ jacoblee93 in #5628
- community[patch]: Release 0.2.5 by @ jacoblee93 in #5629
- 👥 Update LangChain people data by @ jacoblee93 in #5630
- community[patch]: Bump flaky better-sqlite3 dep by @ jacoblee93 in #5633
- openai[patch],anthropic[patch]: Populate usage_metadata on invoke, add docs by @ jacoblee93 in #5632
- openai[patch]: Release 0.1.1 by @ jacoblee93 in #5634
- anthropic[minor]: Release 0.2.0 by @ jacoblee93 in #5635
- readme[patch]: Switch to monthly shields by @ jacoblee93 in #5642
- docs[patch]: fix package path by @ okxiaoliang4 in #5653
- [Docs] Fix wrong import paths at googlevertexai.mdx by @ franzzua in #5638
- core[patch]: Fix JSDoc parameter description typo by @ Oceansdeep7 in #5644
- docs[patch]: Update Unstructured Docker Image Reference in Documentation by @ sarfudheen in #5651
- docs[patch]: Add keywords for common queries by @ jacoblee93 in #5655
- standard-tests[major], openai[minor]: Init package & add standard tests to openai by @ bracesproul in #5612
- docs[patch]: Sitemap fixes by @ jacoblee93 in #5658
- anthropic[minor]: Add standard chat model tests to anthropic by @ bracesproul in #5659
- docs[patch]: Update quickstart tutorial by @ jacoblee93 in #5662
- mongodb[minor]: add, implement delete method by @ telekosmos in #5559
- mongodb[patch]: Release 0.0.4 by @ jacoblee93 in #5664
- community[minor]: upgraded @ mlc/web-llm dependency and updated it's ChatModel by @ tnfssc in #5637
- langchain[minor]: add EnsembleRetriever by @ jeasonnow in #5556
- community[minor]: Add support for bedrock guardrails and trace by @ QuinnGT in #5631
New Contributors
- @ ovuruska made their first contribution in #5382
- @ TeCHiScy made their first contribution in #5476
- @ AumeshMisra made their first contribution in #5599
- @ okxiaoliang4 made their first contribution in #5653
- @ franzzua made their first contribution in #5638
- @ Oceansdeep7 made their first contribution in #5644
- @ sarfudheen made their first contribution in #5651
- @ tnfssc made their first contribution in #5637
- @ QuinnGT made their first contribution in #5631
Full Changelog: 0.2.4...0.2.5
-
0.2.4 - 2024-05-31
What's Changed
- community[patch]: Release 0.2.4 by @ bracesproul in #5592
- infra[major]: Commit yarn cache by @ bracesproul in #5593
- community[patch]: support stream for wenxin and zhipu chat by @ jeasonnow in #5573
- community[patch]: add support for or in elastic vector query by @ djaffer in #5568
- core[patch]: Support LANGSMITH_TRACING env var by @ hinthornw in #5587
- core[patch]: Set global async local storage instance by @ jacoblee93 in #5601
- core[minor]: Make LLMs and chat models always stream when invoked within streamEvents by @ jacoblee93 in #5604
- core[patch]: Release 0.2.3 by @ jacoblee93 in #5606
- docs[patch]: Update README and other links by @ jacoblee93 in #5605
- feat[langsmith]: transparent handoff between @ Traceable HOF and LangChain by @ dqbd in #5339
- core[patch]: Release 0.2.4 by @ jacoblee93 in #5609
- docs[patch]: redirect integration links to 0.2 by @ efriis in #5608
- mistralai[minor]: Add llms entrypoint, update chat model integration by @ bracesproul in #5603
- mistralai[patch]: Release 0.0.23 by @ bracesproul in #5613
- langchain[patch],core[patch]: Fix agent executor stream event behavior by @ jacoblee93 in #5614
- core[minor],openai[patch]: Add usage metadata to
AIMessage/Chunkby @ bracesproul in #5586 - core[patch]: Release 0.2.5 by @ jacoblee93 in #5615
- openai[patch]: Bump OpenAI deps by @ jacoblee93 in #5616
- openai[minor]: Release 0.1.0 by @ jacoblee93 in #5617
- community[patch],langchain[patch],groq[patch]: Bump deps by @ jacoblee93 in #5618
New Contributors
Full Changelog: 0.2.3...0.2.4
-
0.2.3 - 2024-05-29
What's Changed
- scripts[patch]: Add .js extension to build script by @ bracesproul in #5536
- docs[minor]: Multi modal docs by @ bracesproul in #5537
- scripts[major]: New build by @ bracesproul in #5538
- core[minor]: Stream events v2 by @ jacoblee93 in #5539
- community[minor]: Add Upstash Embeddings Support by @ fahreddinozcan in #5150
- community[patch]: #3369 Streaming support for Replicate models by @ jeasonnow in #5365
- community[minor]: Add Moonshot chat models integration by @ crazyurus in #5239
- community[minor]: Integrate zep cloud components by @ jacoblee93 in #5542
- qdrant[minor]: Support maxMarginalRelevanceSearch() by @ Anush008 in #5467
- community[minor]: Add UpstashRatelimitHandler by @ CahidArda in #5474
- community[minor]: add Neo4j Graph enhancedSchema option by @ easwee in #5413
- community[patch]: add ?| (arrayContains) filter on metadata to PGVector search by @ georgeherby in #5381
- community[patch]: Better errors for neo4j vector by @ tomasonjo in #5501
- community[patch]: Default embeddingNodeProperty value by @ adam-cowley in #5510
- docs[patch]: update callbacks by @ eyurtsev in #5515
- community[patch]: include metadata returned by Amazon bedrock knowledge base by @ madmed88 in #5535
- community[patch]: preserve ordinality in postgres record manager when checking existence of documents by @ arrested-developer in #5533
- docs[minor]: LangGraph Migration Guide by @ hinthornw in #5487
- qdrant[patch]: Release 0.0.5 by @ jacoblee93 in #5543
- community[patch]: Release 0.2.3 by @ jacoblee93 in #5544
- core[patch]: Release 0.2.1 by @ jacoblee93 in #5545
- pinecone[patch],weaviate[patch]: Bump weaviate and pinecone core deps by @ jacoblee93 in #5546
- pinecone[patch]: Release 0.0.7 by @ jacoblee93 in #5547
- weaviate[patch]: Release 0.0.4 by @ jacoblee93 in #5548
- openai[patch]: fix #5520 by @ jeasonnow in #5521
- openai[patch]: Release 0.0.34 by @ jacoblee93 in #5562
- core[patch]: Keep event stream for streamEvents v2 open until end of run by @ jacoblee93 in #5561
- core[patch]: Release 0.2.2 by @ jacoblee93 in #5563
- docs[patch]: Missing how to index section for multi modal by @ bracesproul in #5575
- api_refs[patch]: Fix link to v0.1 api refs by @ bracesproul in #5576
- infra[minor]: Speed improvements for CI by @ bracesproul in #5580
- infra[patch]: Improve yarn format by @ bracesproul in #5578
- docs[patch]: Fixed Typo on Build Simple LLM application page 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.