Update langchain4j monorepo to v1 - #41
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
renovate
Bot
force-pushed
the
renovate/major-langchain4j-monorepo
branch
from
August 28, 2025 16:52
fa800bd to
91c1cc8
Compare
renovate
Bot
force-pushed
the
renovate/major-langchain4j-monorepo
branch
from
September 16, 2025 15:54
91c1cc8 to
da963da
Compare
renovate
Bot
force-pushed
the
renovate/major-langchain4j-monorepo
branch
3 times, most recently
from
October 2, 2025 17:12
3ae2dae to
9942f99
Compare
renovate
Bot
force-pushed
the
renovate/major-langchain4j-monorepo
branch
from
October 24, 2025 20:12
9942f99 to
75b04b3
Compare
renovate
Bot
force-pushed
the
renovate/major-langchain4j-monorepo
branch
2 times, most recently
from
November 28, 2025 13:48
6daac13 to
e6eec06
Compare
renovate
Bot
force-pushed
the
renovate/major-langchain4j-monorepo
branch
from
December 24, 2025 17:38
e6eec06 to
350d905
Compare
renovate
Bot
force-pushed
the
renovate/major-langchain4j-monorepo
branch
from
February 4, 2026 12:39
350d905 to
05e9c1f
Compare
renovate
Bot
force-pushed
the
renovate/major-langchain4j-monorepo
branch
2 times, most recently
from
March 6, 2026 22:40
e3afcfb to
f169b58
Compare
renovate
Bot
force-pushed
the
renovate/major-langchain4j-monorepo
branch
from
April 9, 2026 14:11
f169b58 to
1e059f1
Compare
renovate
Bot
force-pushed
the
renovate/major-langchain4j-monorepo
branch
from
April 22, 2026 19:59
1e059f1 to
5949938
Compare
renovate
Bot
force-pushed
the
renovate/major-langchain4j-monorepo
branch
2 times, most recently
from
May 7, 2026 14:07
be0ca15 to
0d12449
Compare
renovate
Bot
force-pushed
the
renovate/major-langchain4j-monorepo
branch
from
May 15, 2026 17:25
0d12449 to
f43401c
Compare
renovate
Bot
force-pushed
the
renovate/major-langchain4j-monorepo
branch
from
May 28, 2026 19:07
f43401c to
b1c7adf
Compare
renovate
Bot
force-pushed
the
renovate/major-langchain4j-monorepo
branch
3 times, most recently
from
June 10, 2026 15:58
ac45ea3 to
0ef78e8
Compare
renovate
Bot
force-pushed
the
renovate/major-langchain4j-monorepo
branch
from
June 15, 2026 09:46
0ef78e8 to
96f9d0d
Compare
renovate
Bot
force-pushed
the
renovate/major-langchain4j-monorepo
branch
2 times, most recently
from
June 30, 2026 18:42
a872fa8 to
161e5df
Compare
renovate
Bot
force-pushed
the
renovate/major-langchain4j-monorepo
branch
from
July 6, 2026 14:10
161e5df to
d6492ae
Compare
renovate
Bot
force-pushed
the
renovate/major-langchain4j-monorepo
branch
from
July 17, 2026 14:12
d6492ae to
c1db3bd
Compare
renovate
Bot
force-pushed
the
renovate/major-langchain4j-monorepo
branch
from
July 29, 2026 17:27
c1db3bd to
483ef2f
Compare
renovate
Bot
force-pushed
the
renovate/major-langchain4j-monorepo
branch
from
August 16, 2026 02:59
483ef2f to
a582189
Compare
renovate
Bot
force-pushed
the
renovate/major-langchain4j-monorepo
branch
from
September 4, 2026 14:10
a582189 to
a93e774
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.32.0→1.20.00.32.0→1.20.0Release Notes
langchain4j/langchain4j (dev.langchain4j:langchain4j-open-ai)
v1.20.0: and 1.20.0-beta30Compare Source
Notable Changes
Non-blocking / reactive support by @dliubarskyi in #5527
An AI Service method used to hold its thread for the whole interaction - the model call, tool execution, memory I/O and guardrails. It can now return
CompletableFuture<T>/CompletionStage<T>for a single response, orFlow.Publisher<AiServiceStreamingEvent>/Flow.Publisher<String>for streaming, and the interaction runs without blocking a thread. You choose the mode by the method's return type; nothing else about the interface changes.Non-blocking goes all the way down, because a blocking gap at any layer re-blocks the whole call: tool calling (sync and
CompletableFuturetools, sequential or concurrent), chat memory, guardrails, and the full retrieval graph includingEmbeddingModel,EmbeddingStore,ScoringModelandWebSearchEngine.The work is additive and marked
@Experimental: the synchronous andTokenStreamAPIs are untouched. A few defaults deliberately differ on the async path - multiple tool calls run concurrently, a tool execution error fails the invocation rather than being sent to the LLM, and a tool argument-parse error is sent to the LLM rather than failing. See Non-blocking and Reactive.Jackson 3 opt-in support by @dliubarskyi in #6184
Add
langchain4j-jackson3to your classpath and LangChain4j's JSON runs on Jackson 3. There is nothing to configure and no API to call, and removing the dependency puts everything back on Jackson 2. Nothing changes for anyone who does not opt in.With the opt-in in place, Jackson 2 can be excluded outright from most of the dependency graph; the modules that still need it are listed in the documentation. The one deliberate behaviour change is that a JSON failure surfaces as
JsonReadExceptionorJsonWriteException(bothLangChain4jException) instead of aRuntimeExceptionwrapping Jackson's own - catchingRuntimeExceptionworks either way. See Using Jackson 3.Other Changes
addAll/removeAllinput handling across all embedding stores by @subhashpolisetti in #6069ContentFilteredExceptionwhen Chat Completions returns a refusal by @subhashpolisetti in #6114ContentFilteredExceptionwhen the Responses API returns a ref… by @subhashpolisetti in #6121AiMessagewithout text and without tool calls instead of failing by @subhashpolisetti in #6123TokenUsagein the streaming AI Service by @subhashpolisetti in #6203New Contributors
Full Changelog: langchain4j/langchain4j@1.19.0...1.20.0
v1.19.2: and 1.19.2-beta29Compare Source
What's Changed
Full Changelog: langchain4j/langchain4j@1.19.0...1.19.2
v1.19.1: and 1.19.1-beta29: published in error, do not useCompare Source
It was cut from
maininstead ofrelease/1.19.x. Despite the version number, it is not a patch on top of1.19.0: it contains all of1.20.0plus three commits that landed after it — 108 commits and 300 files ahead of1.19.0.Maven Central is immutable, so these artifacts cannot be withdrawn. This note is the only way we can flag them.
Which version should I use?
1.19.0or earlier, and want to stay on the1.19.xline1.19.21.19.0+ the MCP backports1.19.11.20.0or later1.20.0What replaced it
1.19.2/1.19.2-beta29is the patch that1.19.1was meant to be:1.19.0plus the MCP backports from #6329, and nothing else.Also affected
langchain4j-spring1.19.1-beta29was published from the same faulty run and carries the same warning. Use1.19.2-beta29or1.20.0-beta30.Note for anyone comparing APIs
Because
1.19.1sits between1.19.0and1.20.0in version order while containing post-1.20.0code, tools that pick "the newest release below X" as a baseline (revapi'soldVersion=RELEASE, among others) will select it and report misleading API differences for any1.19.xbuild.v1.19.0: and 1.19.0-beta29Compare Source
Notable Changes
AnthropicBatchChatModelfor the Anthropic Message Batches API by @subhashpolisetti in #5875_metainToolExecutionResult.attributes()by @dliubarskyi in #6044Other Changes
MistralAiChatRequestParametersfor per-request overrides by @subhashpolisetti in #58523d3c42eby @renovate[bot] in #585403ad4deby @renovate[bot] in #5877BedrockChatRequestParametersby @subhashpolisetti in #5969AgentInvocationExceptionwrapping in theDeferredResponsetimeout overload by @subhashpolisetti in #5986@SystemMessagebeing ignored in AI Services by @subhashpolisetti in #5991returnThinkingbeing ignored byBedrockStreamingChatModelby @subhashpolisetti in #6035maxSegmentsPerBatchinBedrockCohereEmbeddingModelby @subhashpolisetti in #6060Documentinstead of the string "null" by @subhashpolisetti in #6058New Contributors
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.