2.0.0 synchup 1.0.1 - #82
Merged
Merged
Conversation
… flag - openai-java bumped to 4.36.0 (matches spring-ai-openai 2.0.0-M8) and moved to compile scope; openai-java-client-okhttp managed; HTML-escape typo in version expression fixed. - kotlin-maven-plugin: -Xjspecify-annotations=ignore so K2 doesn't reject unbounded <T> overrides of Spring 7 / Spring AI 2.0 / Jackson 3 / JUnit 6 APIs that now tighten generic upper bounds to non-null via @NullMarked.
embabel-build-dependencies: manage the Anthropic Java SDK (anthropic-java-core + anthropic-java-client-okhttp) via a new anthropic-java.version property, mirroring the existing openai-java handling. spring-ai-anthropic depends only on anthropic-java-core, but the agent uses AnthropicOkHttpClient directly, so the OkHttp client artifact needs a managed version. pom.xml: rename the Kotlin compiler arg -Xsuppress-warning=UNCHECKED_CAST to -Xwarning-level=UNCHECKED_CAST:disabled (the flag was renamed in Kotlin 2.2). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
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 pull request updates the Embabel build and dependency management to support Spring Boot 4.1, Spring AI 2.0, and the latest OpenAI and Anthropic SDKs. It also bumps Kotlin to 2.2 and makes several changes to ensure compatibility with new nullness annotations introduced in Spring and related libraries.
The most important changes are:
Major Dependency Upgrades:
spring-boot.versionto 4.1.0,spring-ai.versionto 2.0.0, andmcp-sdk.versionto 2.0.0 inembabel-build-dependencies/pom.xmlandpom.xml. [1] [2]kotlin.versionto 2.2.21 andkotlin.compiler.apiVersionto 2.2 across all POMs. [1] [2]openai-java.versionto 4.36.0 and addedanthropic-java.versionat 2.40.1.Dependency Management and Scope Adjustments:
openai-java-client-okhttp,anthropic-java-core, andanthropic-java-client-okhttpto the BOM for proper agent support, and changedopenai-javato compile scope.embabel-build-parent,embabel-dependencies-parent,embabel-build-dependencies) to 2.0.0-SNAPSHOT. [1] [2] [3]Kotlin Compiler Configuration:
-Xjspecify-annotations=ignoreand adjusted warning suppression to accommodate stricter nullness annotations in Spring 7, Spring AI 2.0, and related libraries, ensuring smoother migration to new APIs.These changes collectively modernize the build to the latest ecosystem versions and address compatibility with new nullness and generics constraints.