Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"python/frameworks/xai": "0.1.1",
"python/traceai": "0.1.0",
"typescript/packages/fi-core": "1.2.3",
"typescript/packages/fi-semantic-conventions": "1.1.0",
"typescript/packages/fi-semantic-conventions": "1.2.0",
"typescript/packages/traceai_anthropic": "0.1.5",
"typescript/packages/traceai_auto": "0.1.3",
"typescript/packages/traceai_bedrock": "0.1.3",
Expand Down Expand Up @@ -119,7 +119,7 @@
"typescript/packages/traceai_voltagent": "0.1.0",
"typescript/packages/traceai_weaviate": "0.1.3",
"typescript/packages/traceai_xai": "0.1.1",
"java": "1.0.3",
"java": "1.1.0",
"go/a2a": "0.1.1",
"go/anthropic": "0.1.0",
"go/eino": "0.1.0",
Expand Down
7 changes: 6 additions & 1 deletion java/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## [1.1.0](https://github.com/future-agi/traceAI/compare/java-v1.0.3...java-v1.1.0) (2026-11-10)

### Features

* **java-core:** add Python-aligned `GEN_AI_*` names for every GenAI attribute in `SemanticConventions`. The 16 legacy `LLM_*` names stay as deprecated compile-time aliases with identical values, so existing source and binaries keep working; `LLM_SYSTEM` maps to `GEN_AI_PROVIDER_NAME` (`gen_ai.provider.name`) ([#654](https://github.com/future-agi/traceAI/pull/654), TH-3776).

## [1.0.3](https://github.com/future-agi/traceAI/compare/java-v1.0.2...java-v1.0.3) (2026-11-10)

### Features
Expand Down Expand Up @@ -46,7 +52,6 @@

## Unreleased

- Add Python-aligned `GEN_AI_*` names for all existing GenAI attributes and deprecate the 16 legacy `LLM_*` names as compile-time constant aliases. Existing attribute values and source/binary compatibility are preserved; `LLM_SYSTEM` maps to `GEN_AI_PROVIDER_NAME`, not `GEN_AI_SYSTEM`.
- Prepare Maven Central coordinates under `com.futureagi`; Java packages remain `ai.traceai.*`.
- Add a BOM covering all instrumentation modules and an opt-in release profile for sources, Javadocs, signing, and Central publishing.
- Read the runtime SDK version from the parent Maven version instead of a separate hard-coded value.
Expand Down
10 changes: 5 additions & 5 deletions java/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ OpenTelemetry instrumentation for Java AI applications. Trace LLM calls, embeddi

Release coordinates use **`com.futureagi`**. Artifact names are unchanged, and **Java package names remain `ai.traceai.*`**; existing imports do not change.

The install examples track Java SDK `1.0.3`, matching [`pom.xml`](pom.xml); release-please updates them together. All SDK modules inherit that version, and the BOM aligns them. <!-- x-release-please-version -->
The install examples track Java SDK `1.1.0`, matching [`pom.xml`](pom.xml); release-please updates them together. All SDK modules inherit that version, and the BOM aligns them. <!-- x-release-please-version -->

> **Unreleased API:** the [provider ownership and shutdown](#provider-ownership-and-shutdown) behavior below, including `TraceAI.init(TraceConfig, OpenTelemetry)`, is not in the immutable Central releases `1.0.0` or `1.0.1`. Until a new release containing it is published and passes the [external-consumer check](#validate-readme-coordinates), that section requires a verified source build of this checkout. Installing an older Central release or the historical JitPack commit below is not sufficient. The basic OpenAI quickstart remains available from Central.

Expand All @@ -20,7 +20,7 @@ Import the BOM once, then add the instrumentation you need:
<dependency>
<groupId>com.futureagi</groupId>
<artifactId>traceai-bom</artifactId>
<version>1.0.3</version> <!-- x-release-please-version -->
<version>1.1.0</version> <!-- x-release-please-version -->
<type>pom</type>
<scope>import</scope>
</dependency>
Expand All @@ -42,7 +42,7 @@ Import the BOM once, then add the instrumentation you need:
</dependencies>
```

Without the BOM, specify `<version>1.0.3</version>` on each traceAI dependency. <!-- x-release-please-version -->
Without the BOM, specify `<version>1.1.0</version>` on each traceAI dependency. <!-- x-release-please-version -->

For Spring Boot auto-configuration, **add** `traceai-spring-boot-starter` alongside `traceai-java-openai` and the OpenAI SDK shown above:

Expand All @@ -63,7 +63,7 @@ repositories {
}

dependencies {
implementation platform('com.futureagi:traceai-bom:1.0.3') // x-release-please-version
implementation platform('com.futureagi:traceai-bom:1.1.0') // x-release-please-version
implementation 'com.futureagi:traceai-java-openai'
implementation 'com.openai:openai-java:0.8.0'
// For Spring Boot auto-configuration, add this as well (do not replace OpenAI):
Expand Down Expand Up @@ -190,7 +190,7 @@ Add `com.futureagi:traceai-java-core` to your application using the BOM above, o
<dependency>
<groupId>com.futureagi</groupId>
<artifactId>traceai-java-core</artifactId>
<version>1.0.3</version> <!-- x-release-please-version -->
<version>1.1.0</version> <!-- x-release-please-version -->
</dependency>
```

Expand Down
2 changes: 1 addition & 1 deletion java/compatibility/spring-ai/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<!-- Deliberately outside the reactor: tests the installed JAR, never module classes. -->
<properties>
<maven.compiler.release>17</maven.compiler.release><project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<traceai.version>1.0.3</traceai.version><!-- x-release-please-version -->
<traceai.version>1.1.0</traceai.version><!-- x-release-please-version -->
<spring-ai.version>1.1.8</spring-ai.version><spring-boot.version>3.5.15</spring-boot.version>
<factory.source>src/spring1/java</factory.source>
</properties>
Expand Down
2 changes: 1 addition & 1 deletion java/examples/azure-openai-example/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.futureagi</groupId>
<artifactId>traceai-java-parent</artifactId>
<version>1.0.3</version>
<version>1.1.0</version>
<relativePath>../../pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion java/examples/azure-search-example/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.futureagi</groupId>
<artifactId>traceai-java-parent</artifactId>
<version>1.0.3</version>
<version>1.1.0</version>
<relativePath>../../pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion java/examples/elasticsearch-example/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.futureagi</groupId>
<artifactId>traceai-java-parent</artifactId>
<version>1.0.3</version>
<version>1.1.0</version>
<relativePath>../../pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion java/examples/langchain4j-example/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.futureagi</groupId>
<artifactId>traceai-java-parent</artifactId>
<version>1.0.3</version>
<version>1.1.0</version>
<relativePath>../../pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion java/examples/openai-example/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.futureagi</groupId>
<artifactId>traceai-java-parent</artifactId>
<version>1.0.3</version>
<version>1.1.0</version>
<relativePath>../../pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion java/examples/pgvector-example/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.futureagi</groupId>
<artifactId>traceai-java-parent</artifactId>
<version>1.0.3</version>
<version>1.1.0</version>
<relativePath>../../pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion java/examples/rag-example/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.futureagi</groupId>
<artifactId>traceai-java-parent</artifactId>
<version>1.0.3</version>
<version>1.1.0</version>
<relativePath>../../pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion java/examples/semantic-kernel-example/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.futureagi</groupId>
<artifactId>traceai-java-parent</artifactId>
<version>1.0.3</version>
<version>1.1.0</version>
<relativePath>../../pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion java/examples/watsonx-example/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.futureagi</groupId>
<artifactId>traceai-java-parent</artifactId>
<version>1.0.3</version>
<version>1.1.0</version>
<relativePath>../../pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>com.futureagi</groupId>
<artifactId>traceai-java-parent</artifactId>
<version>1.0.3</version>
<version>1.1.0</version>
<packaging>pom</packaging>

<name>TraceAI Java SDK</name>
Expand Down
2 changes: 1 addition & 1 deletion java/traceai-bom/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>com.futureagi</groupId>
<artifactId>traceai-java-parent</artifactId>
<version>1.0.3</version>
<version>1.1.0</version>
</parent>
<artifactId>traceai-bom</artifactId>
<packaging>pom</packaging>
Expand Down
2 changes: 1 addition & 1 deletion java/traceai-java-anthropic/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.futureagi</groupId>
<artifactId>traceai-java-parent</artifactId>
<version>1.0.3</version>
<version>1.1.0</version>
</parent>

<artifactId>traceai-java-anthropic</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion java/traceai-java-azure-openai/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.futureagi</groupId>
<artifactId>traceai-java-parent</artifactId>
<version>1.0.3</version>
<version>1.1.0</version>
</parent>

<artifactId>traceai-java-azure-openai</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion java/traceai-java-azure-search-v12/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.futureagi</groupId>
<artifactId>traceai-java-parent</artifactId>
<version>1.0.3</version>
<version>1.1.0</version>
</parent>

<artifactId>traceai-java-azure-search-v12</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion java/traceai-java-azure-search/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.futureagi</groupId>
<artifactId>traceai-java-parent</artifactId>
<version>1.0.3</version>
<version>1.1.0</version>
</parent>

<artifactId>traceai-java-azure-search</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion java/traceai-java-bedrock/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.futureagi</groupId>
<artifactId>traceai-java-parent</artifactId>
<version>1.0.3</version>
<version>1.1.0</version>
</parent>

<artifactId>traceai-java-bedrock</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion java/traceai-java-chromadb/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.futureagi</groupId>
<artifactId>traceai-java-parent</artifactId>
<version>1.0.3</version>
<version>1.1.0</version>
</parent>

<artifactId>traceai-java-chromadb</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion java/traceai-java-cohere/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.futureagi</groupId>
<artifactId>traceai-java-parent</artifactId>
<version>1.0.3</version>
<version>1.1.0</version>
</parent>

<artifactId>traceai-java-cohere</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion java/traceai-java-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.futureagi</groupId>
<artifactId>traceai-java-parent</artifactId>
<version>1.0.3</version>
<version>1.1.0</version>
</parent>

<artifactId>traceai-java-core</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion java/traceai-java-elasticsearch/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.futureagi</groupId>
<artifactId>traceai-java-parent</artifactId>
<version>1.0.3</version>
<version>1.1.0</version>
</parent>

<artifactId>traceai-java-elasticsearch</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion java/traceai-java-google-genai/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.futureagi</groupId>
<artifactId>traceai-java-parent</artifactId>
<version>1.0.3</version>
<version>1.1.0</version>
</parent>

<artifactId>traceai-java-google-genai</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion java/traceai-java-milvus/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.futureagi</groupId>
<artifactId>traceai-java-parent</artifactId>
<version>1.0.3</version>
<version>1.1.0</version>
</parent>

<artifactId>traceai-java-milvus</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion java/traceai-java-mongodb/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.futureagi</groupId>
<artifactId>traceai-java-parent</artifactId>
<version>1.0.3</version>
<version>1.1.0</version>
</parent>

<artifactId>traceai-java-mongodb</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion java/traceai-java-ollama/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.futureagi</groupId>
<artifactId>traceai-java-parent</artifactId>
<version>1.0.3</version>
<version>1.1.0</version>
</parent>

<artifactId>traceai-java-ollama</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion java/traceai-java-openai/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.futureagi</groupId>
<artifactId>traceai-java-parent</artifactId>
<version>1.0.3</version>
<version>1.1.0</version>
</parent>

<artifactId>traceai-java-openai</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion java/traceai-java-pgvector/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.futureagi</groupId>
<artifactId>traceai-java-parent</artifactId>
<version>1.0.3</version>
<version>1.1.0</version>
</parent>

<artifactId>traceai-java-pgvector</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion java/traceai-java-pinecone/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.futureagi</groupId>
<artifactId>traceai-java-parent</artifactId>
<version>1.0.3</version>
<version>1.1.0</version>
</parent>

<artifactId>traceai-java-pinecone</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion java/traceai-java-qdrant/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.futureagi</groupId>
<artifactId>traceai-java-parent</artifactId>
<version>1.0.3</version>
<version>1.1.0</version>
</parent>

<artifactId>traceai-java-qdrant</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion java/traceai-java-quarkus-langchain4j/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>com.futureagi</groupId>
<artifactId>traceai-java-parent</artifactId>
<version>1.0.3</version>
<version>1.1.0</version>
</parent>
<artifactId>traceai-java-quarkus-langchain4j</artifactId>
<name>TraceAI Quarkus LangChain4j</name>
Expand Down
2 changes: 1 addition & 1 deletion java/traceai-java-redis/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.futureagi</groupId>
<artifactId>traceai-java-parent</artifactId>
<version>1.0.3</version>
<version>1.1.0</version>
</parent>

<artifactId>traceai-java-redis</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion java/traceai-java-semantic-kernel/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.futureagi</groupId>
<artifactId>traceai-java-parent</artifactId>
<version>1.0.3</version>
<version>1.1.0</version>
</parent>

<artifactId>traceai-java-semantic-kernel</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion java/traceai-java-vertexai/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.futureagi</groupId>
<artifactId>traceai-java-parent</artifactId>
<version>1.0.3</version>
<version>1.1.0</version>
</parent>

<artifactId>traceai-java-vertexai</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion java/traceai-java-watsonx/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.futureagi</groupId>
<artifactId>traceai-java-parent</artifactId>
<version>1.0.3</version>
<version>1.1.0</version>
</parent>

<artifactId>traceai-java-watsonx</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion java/traceai-java-weaviate/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ After building and installing this checkout locally, add these dependencies. For
<dependency>
<groupId>com.futureagi</groupId>
<artifactId>traceai-java-weaviate</artifactId>
<version>1.0.3</version> <!-- x-release-please-version -->
<version>1.1.0</version> <!-- x-release-please-version -->
</dependency>
<dependency>
<groupId>io.weaviate</groupId>
Expand Down
Loading
Loading