Skip to content

deps: Update Spring Boot 3.3 to 3.5#155

Merged
dliubarskyi merged 2 commits intomainfrom
spring-boot-3.5
Jan 7, 2026
Merged

deps: Update Spring Boot 3.3 to 3.5#155
dliubarskyi merged 2 commits intomainfrom
spring-boot-3.5

Conversation

@ThomasVitale
Copy link
Collaborator

@ThomasVitale ThomasVitale commented Jan 3, 2026

Currently, LangChain4j Spring relies on Spring Boot 3.3, which is EOL since June 2025. This PR upgrades the project to a Spring Boot 3.5 baseline, which is the only 3.x version still supported. Besides providing a more stable foundation for applications using LangChain4j on Spring Boot 3, this is also a recommended step before trying to upgrade to Spring Boot 4.0.

Change

  • Upgrade to Spring Boot 3.5.9
  • Remove deprecations from previous Spring Boot versions
  • Rely on Testcontainers version from Spring Boot
  • Bump Maven plugin dependencies
  • Fix class visibility issues in some Properties classes
  • Remove Lombok from Mistral AI because not working on Java 25 (also, only remaining usage of Lombok)
  • Run automated tests on GHA also for Java 25

General checklist

  • There are no breaking changes (though, Spring Boot versions that are EOL are not supported anymore)
  • [] I have added unit and/or integration tests for my change
  • [] The tests cover both positive and negative cases
  • I have manually run all the unit and integration tests in the module I have added/changed, and they are all green (the ones for which I have API Keys)
  • [] I have added/updated the documentation
  • [] I have added an example in the examples repo (only for "big" features)

* Upgrade to Spring Boot 3.5.9
* Remove deprecations from previous Spring Boot versions
* Rely on Testcontainers version from Spring Boot
* Bump Maven plugin dependencies
* Fix class visibility issues in some Properties classes
* Remove Lombok from Mistral AI because not working on Java 25
* Run automated tests on GHA also for Java 25

Signed-off-by: Thomas Vitale <ThomasVitale@users.noreply.github.com>
Copy link
Member

@dliubarskyi dliubarskyi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ThomasVitale thank you so much!

@dliubarskyi dliubarskyi merged commit 9fe4886 into main Jan 7, 2026
7 of 8 checks passed
@dliubarskyi dliubarskyi deleted the spring-boot-3.5 branch January 7, 2026 15:25
@dliubarskyi
Copy link
Member

Does documentation needs to be updated?
Will it still work with 3.2, or only with 3.5?

ThomasVitale added a commit to ThomasVitale/langchain4j that referenced this pull request Jan 7, 2026
After the changes in langchain4j/langchain4j-spring#155 (comment), the documentation is now updated to reflect the supported versions of Spring Boot in LangChain4j.

Signed-off-by: Thomas Vitale <ThomasVitale@users.noreply.github.com>
@ThomasVitale
Copy link
Collaborator Author

ThomasVitale commented Jan 7, 2026

@dliubarskyi good point! I have opened a PR to update the documentation. Spring Boot 3.5 will be required as 3.3 and 3.4 reached EOL already (though, it would probably still work with older versions). I'm not sure 3.2 was fully supported even before my change, as the project was baselined on 3.3. Here's the PR: langchain4j/langchain4j#4384 Is that ok?

Thanks for reviewing and merging this PR.

dliubarskyi pushed a commit to langchain4j/langchain4j that referenced this pull request Jan 7, 2026
## Change

After the changes in
langchain4j/langchain4j-spring#155 (comment),
the documentation is now updated to reflect the supported versions of
Spring Boot in LangChain4j.

## General checklist
- [ ] There are no breaking changes (API, behaviour)
- [ ] I have added unit and/or integration tests for my change
- [ ] The tests cover both positive and negative cases
- [ ] I have manually run all the unit and integration tests in the
module I have added/changed, and they are all green
- [ ] I have manually run all the unit and integration tests in the
[core](https://github.com/langchain4j/langchain4j/tree/main/langchain4j-core)
and
[main](https://github.com/langchain4j/langchain4j/tree/main/langchain4j)
modules, and they are all green
- [X] I have added/updated the
[documentation](https://github.com/langchain4j/langchain4j/tree/main/docs/docs)
- [ ] I have added an example in the [examples
repo](https://github.com/langchain4j/langchain4j-examples) (only for
"big" features)
- [ ] I have added/updated [Spring Boot
starter(s)](https://github.com/langchain4j/langchain4j-spring) (if
applicable)

Signed-off-by: Thomas Vitale <ThomasVitale@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants