From 4552e696646ff52880ea3bcda86d08ec87a61671 Mon Sep 17 00:00:00 2001
From: muxiaoming <116002422+muxiaoming@users.noreply.github.com>
Date: Wed, 17 Jun 2026 19:31:50 +0800
Subject: [PATCH] refactor: align dependency versions with official
documentation
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Changes:
- Update spring-ai.version: 1.0.0 → 1.0.9 (as recommended in official docs)
- Update opentelemetry-instrumentation-bom: 2.17.0 → 2.28.1 (as recommended in official docs)
- Remove explicit version declaration for opentelemetry-instrumentation-api-incubator
(version is now managed by opentelemetry-instrumentation-bom)
This aligns the demo application with the official Langfuse Spring AI documentation
and resolves the hardcoded version issue from PR #34.
---
applications/spring-ai-demo/pom.xml | 20 +++++++++++++++++---
1 file changed, 17 insertions(+), 3 deletions(-)
diff --git a/applications/spring-ai-demo/pom.xml b/applications/spring-ai-demo/pom.xml
index cfb171b..bee8742 100644
--- a/applications/spring-ai-demo/pom.xml
+++ b/applications/spring-ai-demo/pom.xml
@@ -17,7 +17,7 @@
21
- 1.0.0
+ 1.0.9
@@ -25,7 +25,7 @@
io.opentelemetry.instrumentation
opentelemetry-instrumentation-bom
- 2.17.0
+ 2.28.1
pom
import
@@ -63,15 +63,29 @@
spring-boot-starter-actuator
+
io.micrometer
micrometer-tracing-bridge-otel
+
+
+ io.opentelemetry.instrumentation
+ opentelemetry-instrumentation-api-incubator
+
+
io.opentelemetry
opentelemetry-exporter-otlp
+
+ org.springframework.boot
+ spring-boot-starter-test
+ test
+
@@ -82,4 +96,4 @@
-
\ No newline at end of file
+