Skip to content

Commit e4f8537

Browse files
fix(deps): update langchain4j monorepo to v1.7.1 (#394)
> [!NOTE] > Mend has cancelled [the proposed renaming](https://redirect.github.com/renovatebot/renovate/discussions/37842) of the Renovate GitHub app being renamed to `mend[bot]`. > > This notice will be removed on 2025-10-07. <hr> This PR contains the following updates: | Package | Change | Age | Confidence | |---|---|---|---| | [dev.langchain4j:langchain4j-open-ai](https://redirect.github.com/langchain4j/langchain4j/tree/main/langchain4j-open-ai) ([source](https://redirect.github.com/langchain4j/langchain4j/tree/HEAD/langchain4j-open-ai)) | `1.5.0` -> `1.7.1` | [![age](https://developer.mend.io/api/mc/badges/age/maven/dev.langchain4j:langchain4j-open-ai/1.7.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/dev.langchain4j:langchain4j-open-ai/1.5.0/1.7.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [dev.langchain4j:langchain4j-bom](https://redirect.github.com/langchain4j/langchain4j/tree/main/langchain4j-bom) ([source](https://redirect.github.com/langchain4j/langchain4j/tree/HEAD/langchain4j-bom)) | `1.5.0` -> `1.7.1` | [![age](https://developer.mend.io/api/mc/badges/age/maven/dev.langchain4j:langchain4j-bom/1.7.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/dev.langchain4j:langchain4j-bom/1.5.0/1.7.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>langchain4j/langchain4j (dev.langchain4j:langchain4j-open-ai)</summary> ### [`v1.7.1`](https://redirect.github.com/langchain4j/langchain4j/releases/tag/1.7.1): and 1.7.1-beta14 ### Notable Changes - Agentic: allow to create agents based on classes by [@&#8203;mariofusco](https://redirect.github.com/mariofusco) in [#&#8203;3786](https://redirect.github.com/langchain4j/langchain4j/pull/3786) - ChromaDB: support API V2 by [@&#8203;vijaypatidar](https://redirect.github.com/vijaypatidar) and [@&#8203;ehsavoie](https://redirect.github.com/ehsavoie) in [#&#8203;3779](https://redirect.github.com/langchain4j/langchain4j/pull/3779) - MCP: adjust to recent registry API changes by [@&#8203;jmartisk](https://redirect.github.com/jmartisk) in [#&#8203;3793](https://redirect.github.com/langchain4j/langchain4j/pull/3793) - OpenAI Official: upgrade to SDK v4.0.0 by [@&#8203;jdubois](https://redirect.github.com/jdubois) in [#&#8203;3795](https://redirect.github.com/langchain4j/langchain4j/pull/3795) - Anthropic: allow setting custom parameters by [@&#8203;dliubarskyi](https://redirect.github.com/dliubarskyi) in [#&#8203;3797](https://redirect.github.com/langchain4j/langchain4j/pull/3797) - Azure OpenAI: support maxCompletionTokens parameter [@&#8203;dliubarskyi](https://redirect.github.com/dliubarskyi) in [`faa12fa`](https://redirect.github.com/langchain4j/langchain4j/commit/faa12fa8de100cf5dc1d8a3180439a30529bdcdd) - Hugging Face: deprecate HuggingFaceChatModel and HuggingFaceLanguageModel by [@&#8203;dliubarskyi](https://redirect.github.com/dliubarskyi) in [#&#8203;3319](https://redirect.github.com/langchain4j/langchain4j/pull/3319) ### New Integrations - Docker MCP transport by [@&#8203;loicmathieu](https://redirect.github.com/loicmathieu) in [#&#8203;3513](https://redirect.github.com/langchain4j/langchain4j/pull/3513) - Adding Oracle Document Loader implementation by [@&#8203;psilberk](https://redirect.github.com/psilberk) in [#&#8203;3114](https://redirect.github.com/langchain4j/langchain4j/pull/3114) - Add GPU Support to LangChain4j via GPULlama3.java Powered by TornadoVM by [@&#8203;mikepapadim](https://redirect.github.com/mikepapadim) in [#&#8203;3654](https://redirect.github.com/langchain4j/langchain4j/pull/3654) - Introduce yaml document parser by [@&#8203;vesense](https://redirect.github.com/vesense) in [#&#8203;3748](https://redirect.github.com/langchain4j/langchain4j/pull/3748) ### Other Changes - add logos and logo license by [@&#8203;LizeRaes](https://redirect.github.com/LizeRaes) in [#&#8203;3739](https://redirect.github.com/langchain4j/langchain4j/pull/3739) - test: Add validation and edge case tests for GoogleAI, IsNotEqualTo filter, and SQL builder by [@&#8203;alxkm](https://redirect.github.com/alxkm) in [#&#8203;3766](https://redirect.github.com/langchain4j/langchain4j/pull/3766) - Improve AgenticScope json serialization test by [@&#8203;mariofusco](https://redirect.github.com/mariofusco) in [#&#8203;3777](https://redirect.github.com/langchain4j/langchain4j/pull/3777) - fix(gemini): Fix Google Gemini API field naming to use camelCase by [@&#8203;minguncle](https://redirect.github.com/minguncle) in [#&#8203;3567](https://redirect.github.com/langchain4j/langchain4j/pull/3567) - Support anyOf and null JSON schema elements in googleai.SchemaMapper by [@&#8203;Zalewa](https://redirect.github.com/Zalewa) in [#&#8203;3781](https://redirect.github.com/langchain4j/langchain4j/pull/3781) - test: add comprehensive test coverage for InvocationParameters by [@&#8203;alxkm](https://redirect.github.com/alxkm) in [#&#8203;3787](https://redirect.github.com/langchain4j/langchain4j/pull/3787) - Disable flaky test in agentic module by [@&#8203;mariofusco](https://redirect.github.com/mariofusco) in [#&#8203;3790](https://redirect.github.com/langchain4j/langchain4j/pull/3790) - test: enhance test coverage for IsEqualTo filter and Tablestore utilities by [@&#8203;alxkm](https://redirect.github.com/alxkm) in [#&#8203;3791](https://redirect.github.com/langchain4j/langchain4j/pull/3791) - fix: TokenStream should not require onPartialResponse() if onCompleteResponse() is used by [@&#8203;vorburger](https://redirect.github.com/vorburger) in [#&#8203;3792](https://redirect.github.com/langchain4j/langchain4j/pull/3792) - test: enhance PojoSetOutputParser test coverage by [@&#8203;alxkm](https://redirect.github.com/alxkm) in [#&#8203;3798](https://redirect.github.com/langchain4j/langchain4j/pull/3798) ### New Contributors - [@&#8203;vorburger](https://redirect.github.com/vorburger) made their first contribution in [#&#8203;3792](https://redirect.github.com/langchain4j/langchain4j/pull/3792) - [@&#8203;mikepapadim](https://redirect.github.com/mikepapadim) made their first contribution in [#&#8203;3654](https://redirect.github.com/langchain4j/langchain4j/pull/3654) **Full Changelog**: <langchain4j/langchain4j@1.6.0...1.7.1> ### [`v1.6.0`](https://redirect.github.com/langchain4j/langchain4j/releases/tag/1.6.0): and 1.6.0-beta12 [Compare Source](https://redirect.github.com/langchain4j/langchain4j/compare/1.5.0...1.6.0) ### Notable Changes - Agentic - Ensure that all pending async agent invocations are completed before ending the root call by [@&#8203;mariofusco](https://redirect.github.com/mariofusco) in [#&#8203;3695](https://redirect.github.com/langchain4j/langchain4j/pull/3695) - Call output function when a loop terminates with the exit condition by [@&#8203;mariofusco](https://redirect.github.com/mariofusco) in [#&#8203;3696](https://redirect.github.com/langchain4j/langchain4j/pull/3696) - Allow to mix agentic declarative and programmatic API by [@&#8203;mariofusco](https://redirect.github.com/mariofusco) in [#&#8203;3699](https://redirect.github.com/langchain4j/langchain4j/pull/3699) - Use unique names for agents inside the same agentic system by [@&#8203;mariofusco](https://redirect.github.com/mariofusco) in [#&#8203;3703](https://redirect.github.com/langchain4j/langchain4j/pull/3703) - Fix agentic context configuration propagation in declarative API by [@&#8203;mariofusco](https://redirect.github.com/mariofusco) in [#&#8203;3709](https://redirect.github.com/langchain4j/langchain4j/pull/3709) - Fix A2A client after introduction of agents' unique names by [@&#8203;mariofusco](https://redirect.github.com/mariofusco) in [#&#8203;3711](https://redirect.github.com/langchain4j/langchain4j/pull/3711) - Upgrading A2A SDK to 0.3.0.Beta1 by [@&#8203;ehsavoie](https://redirect.github.com/ehsavoie) in [#&#8203;3710](https://redirect.github.com/langchain4j/langchain4j/pull/3710) - Tweak supervisor prompt by [@&#8203;mariofusco](https://redirect.github.com/mariofusco) in [#&#8203;3726](https://redirect.github.com/langchain4j/langchain4j/pull/3726) - Improve agentic loop exit condition by [@&#8203;mariofusco](https://redirect.github.com/mariofusco) in [#&#8203;3713](https://redirect.github.com/langchain4j/langchain4j/pull/3713) - Introduce agents listeners by [@&#8203;mariofusco](https://redirect.github.com/mariofusco) in [#&#8203;3718](https://redirect.github.com/langchain4j/langchain4j/pull/3718) - Add declarative HumanInTheLoop by [@&#8203;mariofusco](https://redirect.github.com/mariofusco) in [#&#8203;3735](https://redirect.github.com/langchain4j/langchain4j/pull/3735) - Allow to configure ChatMemoryProvider on SupervisorAgent by [@&#8203;mariofusco](https://redirect.github.com/mariofusco) in [#&#8203;3740](https://redirect.github.com/langchain4j/langchain4j/pull/3740) - Add declarative API for A2A client by [@&#8203;mariofusco](https://redirect.github.com/mariofusco) in [#&#8203;3755](https://redirect.github.com/langchain4j/langchain4j/pull/3755) - MCP - Adjust to recent changes in the official MCP registry by [@&#8203;jmartisk](https://redirect.github.com/jmartisk) in [#&#8203;3723](https://redirect.github.com/langchain4j/langchain4j/pull/3723) - Rework MCP client to support structured content results by [@&#8203;jmartisk](https://redirect.github.com/jmartisk) in [#&#8203;3733](https://redirect.github.com/langchain4j/langchain4j/pull/3733) - When cancelling a tool, send the requestId as a number by [@&#8203;jmartisk](https://redirect.github.com/jmartisk) in [#&#8203;3707](https://redirect.github.com/langchain4j/langchain4j/pull/3707) - Make the parsing of SSE events more robust by [@&#8203;jmartisk](https://redirect.github.com/jmartisk) in [#&#8203;3724](https://redirect.github.com/langchain4j/langchain4j/pull/3724) - AI Services - Backport observability from Quarkus LangChain4j by [@&#8203;edeandrea](https://redirect.github.com/edeandrea) in [#&#8203;3679](https://redirect.github.com/langchain4j/langchain4j/pull/3679) - Option to pass extra parameters into and between Tool/ToolProvider/RAG components by [@&#8203;dliubarskyi](https://redirect.github.com/dliubarskyi) in [#&#8203;3569](https://redirect.github.com/langchain4j/langchain4j/pull/3569) ### New Integrations - Azure Container Apps Dynamic Sessions by [@&#8203;bbenz](https://redirect.github.com/bbenz) in [#&#8203;3266](https://redirect.github.com/langchain4j/langchain4j/pull/3266) - Markdown document parser by [@&#8203;vesense](https://redirect.github.com/vesense) in [#&#8203;3732](https://redirect.github.com/langchain4j/langchain4j/pull/3732) ### Other Changes - test: Add comprehensive test coverage for AiServices, Metadata, and StringSetOutputParsert by [@&#8203;alxkm](https://redirect.github.com/alxkm) in [#&#8203;3690](https://redirect.github.com/langchain4j/langchain4j/pull/3690) - Add image URL support for Anthropic Claude vision models([#&#8203;3691](https://redirect.github.com/langchain4j/langchain4j/issues/3691)) by [@&#8203;henrydo300](https://redirect.github.com/henrydo300) in [#&#8203;3692](https://redirect.github.com/langchain4j/langchain4j/pull/3692) - Updates couchbase client to 3.9.1 by [@&#8203;chedim](https://redirect.github.com/chedim) in [#&#8203;3702](https://redirect.github.com/langchain4j/langchain4j/pull/3702) - Refactor addAll method to validate ids list and ensure consistent lis… by [@&#8203;harikrishna553](https://redirect.github.com/harikrishna553) in [#&#8203;3681](https://redirect.github.com/langchain4j/langchain4j/pull/3681) - test: Enhance test coverage for core component validation and edge cases by [@&#8203;alxkm](https://redirect.github.com/alxkm) in [#&#8203;3706](https://redirect.github.com/langchain4j/langchain4j/pull/3706) - Test for 'data:' inside a SSE event by [@&#8203;jmartisk](https://redirect.github.com/jmartisk) in [#&#8203;3725](https://redirect.github.com/langchain4j/langchain4j/pull/3725) - test: Enhance test coverage for listener error handling, content aggregation, and enum parsing by [@&#8203;alxkm](https://redirect.github.com/alxkm) in [#&#8203;3719](https://redirect.github.com/langchain4j/langchain4j/pull/3719) - Fix typo in 'Anthropic' reference by [@&#8203;vesense](https://redirect.github.com/vesense) in [#&#8203;3731](https://redirect.github.com/langchain4j/langchain4j/pull/3731) - test: Add validation and edge case test coverage for core request/response handling by [@&#8203;alxkm](https://redirect.github.com/alxkm) in [#&#8203;3727](https://redirect.github.com/langchain4j/langchain4j/pull/3727) - test: Add validation test coverage for query routing and configuration components by [@&#8203;alxkm](https://redirect.github.com/alxkm) in [#&#8203;3737](https://redirect.github.com/langchain4j/langchain4j/pull/3737) - Add ensureNotNull validation and unit tests for McpResource and McpRe… by [@&#8203;harikrishna553](https://redirect.github.com/harikrishna553) in [#&#8203;3705](https://redirect.github.com/langchain4j/langchain4j/pull/3705) - feat: Added batching support for bedrock cohere embedding model by [@&#8203;vijaypatidar](https://redirect.github.com/vijaypatidar) in [#&#8203;3730](https://redirect.github.com/langchain4j/langchain4j/pull/3730) - Follow-up to [#&#8203;3685](https://redirect.github.com/langchain4j/langchain4j/issues/3685): migrate nullability annotations to JSpecify by [@&#8203;kushal-dixit](https://redirect.github.com/kushal-dixit) in [#&#8203;3694](https://redirect.github.com/langchain4j/langchain4j/pull/3694) - Add Javadocs to declarative API annotations by [@&#8203;mariofusco](https://redirect.github.com/mariofusco) in [#&#8203;3747](https://redirect.github.com/langchain4j/langchain4j/pull/3747) - Test against Java 25 by [@&#8203;dliubarskyi](https://redirect.github.com/dliubarskyi) in [#&#8203;3751](https://redirect.github.com/langchain4j/langchain4j/pull/3751) - test: Add comprehensive test coverage for ChatResponse, ChromaMetadataFilter, and DefaultQueryRouter by [@&#8203;alxkm](https://redirect.github.com/alxkm) in [#&#8203;3750](https://redirect.github.com/langchain4j/langchain4j/pull/3750) - docs: add custom-parameters option for OpenAI by [@&#8203;JungahGoak](https://redirect.github.com/JungahGoak) in [#&#8203;3749](https://redirect.github.com/langchain4j/langchain4j/pull/3749) - test: Add critical validation and edge case tests for AiServices, StreamingChatModelMock, and TablestoreEmbeddingStore by [@&#8203;alxkm](https://redirect.github.com/alxkm) in [#&#8203;3759](https://redirect.github.com/langchain4j/langchain4j/pull/3759) ### New Contributors - [@&#8203;henrydo300](https://redirect.github.com/henrydo300) made their first contribution in [#&#8203;3692](https://redirect.github.com/langchain4j/langchain4j/pull/3692) - [@&#8203;vijaypatidar](https://redirect.github.com/vijaypatidar) made their first contribution in [#&#8203;3730](https://redirect.github.com/langchain4j/langchain4j/pull/3730) - [@&#8203;JungahGoak](https://redirect.github.com/JungahGoak) made their first contribution in [#&#8203;3749](https://redirect.github.com/langchain4j/langchain4j/pull/3749) **Full Changelog**: <langchain4j/langchain4j@1.5.0...1.6.0> </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/mokksy/ai-mocks). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4xMzAuMSIsInVwZGF0ZWRJblZlciI6IjQxLjEzMS45IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent 4004e64 commit e4f8537

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ai-mocks-openai/samples/shadow/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
<dependency>
2828
<groupId>dev.langchain4j</groupId>
2929
<artifactId>langchain4j-open-ai</artifactId>
30-
<version>1.5.0</version>
30+
<version>1.7.1</version>
3131
</dependency>
3232
<dependency>
3333
<groupId>com.openai</groupId>

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ kotlinxDatetime = "0.6.2"
1818
kotlinxSerialization = "1.8.1"
1919
kover = "0.9.2"
2020
ktor = "3.3.0"
21-
langchain4j = "1.5.0"
21+
langchain4j = "1.7.1"
2222
mockk = "1.14.5"
2323
netty = "4.2.6.Final"
2424
nexusPublish = "2.0.0"

0 commit comments

Comments
 (0)