Skip to content

Commit 9a0251a

Browse files
committed
release: prepare 1.0.3-SNAPSHOT
Change-Id: I04ea993e4a9d938278c79202645e74b82342e4c8
1 parent 6412a0a commit 9a0251a

14 files changed

Lines changed: 32 additions & 29 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.1, 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.2, 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.1, 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.2, 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
@@ -76,7 +76,7 @@ Built for enterprise deployment requirements:
7676
<dependency>
7777
<groupId>io.agentscope</groupId>
7878
<artifactId>agentscope</artifactId>
79-
<version>1.0.1</version>
79+
<version>1.0.2</version>
8080
</dependency>
8181
```
8282

README_zh.md

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

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.2";
27+
public static final String VERSION = "1.0.3-SNAPSHOT";
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.2; java/17.0.1; platform/Mac OS X}
38+
* <p>Example: {@code agentscope-java/1.0.3-SNAPSHOT; 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: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,9 @@ public Mono<McpClientWrapper> buildAsync() {
206206

207207
McpSchema.Implementation clientInfo =
208208
new McpSchema.Implementation(
209-
"agentscope-java", "AgentScope Java Framework", "1.0.2");
209+
"agentscope-java",
210+
"AgentScope Java Framework",
211+
"1.0.3-SNAPSHOT");
210212

211213
McpSchema.ClientCapabilities clientCapabilities =
212214
McpSchema.ClientCapabilities.builder().build();
@@ -237,7 +239,7 @@ public McpClientWrapper buildSync() {
237239

238240
McpSchema.Implementation clientInfo =
239241
new McpSchema.Implementation(
240-
"agentscope-java", "AgentScope Java Framework", "1.0.2");
242+
"agentscope-java", "AgentScope Java Framework", "1.0.3-SNAPSHOT");
241243

242244
McpSchema.ClientCapabilities clientCapabilities =
243245
McpSchema.ClientCapabilities.builder().build();

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ 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("1.0.2", Version.VERSION, "VERSION should match current version");
33+
Assertions.assertEquals(
34+
"1.0.3-SNAPSHOT", Version.VERSION, "VERSION should match current version");
3435
}
3536

3637
@Test
@@ -98,7 +99,7 @@ void testGetUserAgent_Consistency() {
9899
void testGetUserAgent_ExampleFormat() {
99100
String userAgent = Version.getUserAgent();
100101

101-
// Example: agentscope-java/1.0.2; java/17.0.1; platform/Mac OS X
102+
// Example: agentscope-java/1.0.3-SNAPSHOT; java/17.0.1; platform/Mac OS X
102103
// Verify matches expected pattern (relaxed check for different environments)
103104
String pattern = "^agentscope-java/.+; java/[0-9.]+; platform/.+$";
104105
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.2");
60+
new McpSchema.Implementation("TestServer", "Test Server", "1.0.3-SNAPSHOT");
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.2");
106+
new McpSchema.Implementation("TestServer", "Test Server", "1.0.3-SNAPSHOT");
107107
McpSchema.InitializeResult initResult =
108108
new McpSchema.InitializeResult(
109109
"1.0",
@@ -202,7 +202,7 @@ void testClose_Success() {
202202

203203
private void setupSuccessfulInitialization() {
204204
McpSchema.Implementation serverInfo =
205-
new McpSchema.Implementation("TestServer", "Test Server", "1.0.2");
205+
new McpSchema.Implementation("TestServer", "Test Server", "1.0.3-SNAPSHOT");
206206
McpSchema.InitializeResult initResult =
207207
new McpSchema.InitializeResult(
208208
"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.2");
383+
headers.put("X-Client-Version", "1.0.3-SNAPSHOT");
384384

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

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ void testConstructor() {
5858
void testInitialize_Success() {
5959
// Mock initialization with correct constructors
6060
McpSchema.Implementation serverInfo =
61-
new McpSchema.Implementation("TestServer", "Test Server", "1.0.2");
61+
new McpSchema.Implementation("TestServer", "Test Server", "1.0.3-SNAPSHOT");
6262
McpSchema.InitializeResult initResult =
6363
new McpSchema.InitializeResult(
6464
"1.0",
@@ -104,7 +104,7 @@ void testInitialize_Success() {
104104
@Test
105105
void testInitialize_AlreadyInitialized() {
106106
McpSchema.Implementation serverInfo =
107-
new McpSchema.Implementation("TestServer", "Test Server", "1.0.2");
107+
new McpSchema.Implementation("TestServer", "Test Server", "1.0.3-SNAPSHOT");
108108
McpSchema.InitializeResult initResult =
109109
new McpSchema.InitializeResult(
110110
"1.0",
@@ -316,7 +316,7 @@ void testCallTool_WithNullArguments() {
316316

317317
private void setupSuccessfulInitialization() {
318318
McpSchema.Implementation serverInfo =
319-
new McpSchema.Implementation("TestServer", "Test Server", "1.0.2");
319+
new McpSchema.Implementation("TestServer", "Test Server", "1.0.3-SNAPSHOT");
320320
McpSchema.InitializeResult initResult =
321321
new McpSchema.InitializeResult(
322322
"1.0",

0 commit comments

Comments
 (0)