Skip to content

Commit bb80b78

Browse files
committed
Prepare 1.0.9 release
Change-Id: Ib70fb8e8165c48e188fe7edbf57fc18f5da3d587
1 parent aeae093 commit bb80b78

17 files changed

Lines changed: 43 additions & 46 deletions

File tree

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Detailed error messages.
2727

2828
**Environment (please complete the following information):**
2929

30-
- AgentScope-Java Version: [e.g. 1.0.8, check your pom.xml dependency version or run `mvn dependency:tree | grep agentscope-parent:pom`(only mac/linux)]
30+
- AgentScope-Java Version: [e.g. 1.0.9, check your pom.xml dependency version or run `mvn dependency:tree | grep agentscope-parent:pom`(only mac/linux)]
3131
- Java Version: [e.g. 17]
3232
- OS: [e.g. macos, windows]
3333

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
## AgentScope-Java Version
22

3-
[The version of AgentScope-Java you are working on, e.g. 1.0.8, check your pom.xml dependency version or run `mvn dependency:tree | grep agentscope-parent:pom`(only mac/linux)]
3+
[The version of AgentScope-Java you are working on, e.g. 1.0.9, check your pom.xml dependency version or run `mvn dependency:tree | grep agentscope-parent:pom`(only mac/linux)]
44

55
## Description
66

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ Built for enterprise deployment requirements:
7777
<dependency>
7878
<groupId>io.agentscope</groupId>
7979
<artifactId>agentscope</artifactId>
80-
<version>1.0.8</version>
80+
<version>1.0.9</version>
8181
</dependency>
8282
```
8383

README_zh.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ AgentScope 设计上能够与现有企业基础设施集成,无需大规模改
7777
<dependency>
7878
<groupId>io.agentscope</groupId>
7979
<artifactId>agentscope</artifactId>
80-
<version>1.0.8</version>
80+
<version>1.0.9</version>
8181
</dependency>
8282
```
8383

SKILL.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -100,15 +100,15 @@ public static void main(String[] args) {
100100
<dependency>
101101
<groupId>io.agentscope</groupId>
102102
<artifactId>agentscope</artifactId>
103-
<version>1.0.8</version>
103+
<version>1.0.9</version>
104104
</dependency>
105105
</dependencies>
106106
```
107107

108108
**For local development (if working with source code):**
109109
```xml
110110
<properties>
111-
<agentscope.version>1.0.8</agentscope.version>
111+
<agentscope.version>1.0.9</agentscope.version>
112112
<java.version>17</java.version>
113113
</properties>
114114

@@ -122,8 +122,8 @@ public static void main(String[] args) {
122122
```
123123

124124
**⚠️ IMPORTANT: Version Selection**
125-
- **Use `agentscope:1.0.8`** for production (stable, from Maven Central)
126-
- **Use `agentscope-core:1.0.8`** only if you're developing AgentScope itself
125+
- **Use `agentscope:1.0.9`** for production (stable, from Maven Central)
126+
- **Use `agentscope-core:1.0.9`** only if you're developing AgentScope itself
127127
- **NEVER use version `0.1.0-SNAPSHOT`** - this version doesn't exist
128128

129129
### ⚠️ CRITICAL: Common Dependency Mistakes
@@ -161,7 +161,7 @@ public static void main(String[] args) {
161161
<dependency>
162162
<groupId>io.agentscope</groupId>
163163
<artifactId>agentscope</artifactId>
164-
<version>1.0.8</version> <!-- ✅ CORRECT -->
164+
<version>1.0.9</version> <!-- ✅ CORRECT -->
165165
</dependency>
166166
```
167167

agentscope-core/src/main/java/io/agentscope/core/Version.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
public final class Version {
2525

2626
/** AgentScope Java version */
27-
public static final String VERSION = "1.0.9-SNAPSHOT";
27+
public static final String VERSION = "1.0.9";
2828

2929
private Version() {
3030
// Utility class - prevent instantiation
@@ -35,7 +35,7 @@ private Version() {
3535
*
3636
* <p>Format: {@code agentscope-java/{version}; java/{java_version}; platform/{os}}
3737
*
38-
* <p>Example: {@code agentscope-java/1.0.9-SNAPSHOT; java/17.0.1; platform/Mac OS X}
38+
* <p>Example: {@code agentscope-java/1.0.9; java/17.0.1; platform/Mac OS X}
3939
*
4040
* @return unified User-Agent string
4141
*/

agentscope-core/src/main/java/io/agentscope/core/tool/mcp/McpClientBuilder.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -296,9 +296,7 @@ public Mono<McpClientWrapper> buildAsync() {
296296

297297
McpSchema.Implementation clientInfo =
298298
new McpSchema.Implementation(
299-
"agentscope-java",
300-
"AgentScope Java Framework",
301-
"1.0.9-SNAPSHOT");
299+
"agentscope-java", "AgentScope Java Framework", "1.0.9");
302300

303301
McpSchema.ClientCapabilities clientCapabilities =
304302
McpSchema.ClientCapabilities.builder().build();
@@ -329,7 +327,7 @@ public McpClientWrapper buildSync() {
329327

330328
McpSchema.Implementation clientInfo =
331329
new McpSchema.Implementation(
332-
"agentscope-java", "AgentScope Java Framework", "1.0.9-SNAPSHOT");
330+
"agentscope-java", "AgentScope Java Framework", "1.0.9");
333331

334332
McpSchema.ClientCapabilities clientCapabilities =
335333
McpSchema.ClientCapabilities.builder().build();

agentscope-core/src/test/java/io/agentscope/core/VersionTest.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,7 @@ void testVersionConstant() {
3030
// Verify version constant is set
3131
Assertions.assertNotNull(Version.VERSION, "VERSION constant should not be null");
3232
Assertions.assertFalse(Version.VERSION.isEmpty(), "VERSION constant should not be empty");
33-
Assertions.assertEquals(
34-
"1.0.9-SNAPSHOT", Version.VERSION, "VERSION should match current version");
33+
Assertions.assertEquals("1.0.9", Version.VERSION, "VERSION should match current version");
3534
}
3635

3736
@Test
@@ -99,7 +98,7 @@ void testGetUserAgent_Consistency() {
9998
void testGetUserAgent_ExampleFormat() {
10099
String userAgent = Version.getUserAgent();
101100

102-
// Example: agentscope-java/1.0.9-SNAPSHOT; java/17.0.1; platform/Mac OS X
101+
// Example: agentscope-java/1.0.9; java/17.0.1; platform/Mac OS X
103102
// Verify matches expected pattern (relaxed check for different environments)
104103
String pattern = "^agentscope-java/.+; java/[0-9.]+; platform/.+$";
105104
Assertions.assertTrue(

agentscope-core/src/test/java/io/agentscope/core/tool/mcp/McpAsyncClientWrapperTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ void testConstructor() {
5757
void testInitialize_Success() {
5858
// Mock initialization
5959
McpSchema.Implementation serverInfo =
60-
new McpSchema.Implementation("TestServer", "Test Server", "1.0.9-SNAPSHOT");
60+
new McpSchema.Implementation("TestServer", "Test Server", "1.0.9");
6161
McpSchema.InitializeResult initResult =
6262
new McpSchema.InitializeResult(
6363
"1.0",
@@ -103,7 +103,7 @@ void testInitialize_Success() {
103103
@Test
104104
void testInitialize_AlreadyInitialized() {
105105
McpSchema.Implementation serverInfo =
106-
new McpSchema.Implementation("TestServer", "Test Server", "1.0.9-SNAPSHOT");
106+
new McpSchema.Implementation("TestServer", "Test Server", "1.0.9");
107107
McpSchema.InitializeResult initResult =
108108
new McpSchema.InitializeResult(
109109
"1.0",
@@ -205,7 +205,7 @@ void testClose_Success() {
205205

206206
private void setupSuccessfulInitialization() {
207207
McpSchema.Implementation serverInfo =
208-
new McpSchema.Implementation("TestServer", "Test Server", "1.0.9-SNAPSHOT");
208+
new McpSchema.Implementation("TestServer", "Test Server", "1.0.9");
209209
McpSchema.InitializeResult initResult =
210210
new McpSchema.InitializeResult(
211211
"1.0",

agentscope-core/src/test/java/io/agentscope/core/tool/mcp/McpClientBuilderTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ void testComplexConfiguration() {
380380
void testSseTransport_WithCompleteConfiguration() {
381381
Map<String, String> headers = new HashMap<>();
382382
headers.put("Authorization", "Bearer token");
383-
headers.put("X-Client-Version", "1.0.9-SNAPSHOT");
383+
headers.put("X-Client-Version", "1.0.9");
384384

385385
McpClientBuilder builder =
386386
McpClientBuilder.create("full-sse-client")

0 commit comments

Comments
 (0)