Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7482f5b

Browse files
committed
release: prepare 1.0.5-SNAPSHOT
Change-Id: I3c578130f61b57adfe0da7b75247b969de9dcda8
1 parent 09c7f5e commit 7482f5b

21 files changed

Lines changed: 50 additions & 57 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.3, 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.4, 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.3, 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.4, check your pom.xml dependency version or run `mvn dependency:tree | grep agentscope-parent:pom`(only mac/linux)]
44

55
## Description
66

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ Please update the docs/llm/agentscope-llm-guide.md file to add content about [Fe
110110
Context:
111111
- Feature location: [package path/class name]
112112
- Main purpose: [brief description]
113-
- Version requirement: [minimum version, e.g., 1.0.3+]
113+
- Version requirement: [minimum version, e.g., 1.0.4+]
114114
- Related API changes: [if any]
115115
- Dependencies: [other features it depends on, if any]
116116

CONTRIBUTING_zh.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ mvn spotless:apply
108108
背景信息:
109109
- 新增功能位置:[包路径/类名]
110110
- 主要用途:[简要描述]
111-
- 版本要求:[最低版本号,如 1.0.3+]
111+
- 版本要求:[最低版本号,如 1.0.4+]
112112
- 相关 API 变更:[如果有]
113113
- 依赖的其他功能:[如果有]
114114

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.3</version>
80+
<version>1.0.4</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.3</version>
80+
<version>1.0.4</version>
8181
</dependency>
8282
```
8383

SKILL.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ public static void main(String[] args) {
100100
<dependency>
101101
<groupId>io.agentscope</groupId>
102102
<artifactId>agentscope</artifactId>
103-
<version>1.0.3</version>
103+
<version>1.0.4</version>
104104
</dependency>
105105
</dependencies>
106106
```
@@ -122,7 +122,7 @@ public static void main(String[] args) {
122122
```
123123

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

@@ -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.3</version> <!-- ✅ CORRECT -->
164+
<version>1.0.4</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.4";
27+
public static final String VERSION = "1.0.5-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.4; java/17.0.1; platform/Mac OS X}
38+
* <p>Example: {@code agentscope-java/1.0.5-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
@@ -246,7 +246,9 @@ public Mono<McpClientWrapper> buildAsync() {
246246

247247
McpSchema.Implementation clientInfo =
248248
new McpSchema.Implementation(
249-
"agentscope-java", "AgentScope Java Framework", "1.0.4");
249+
"agentscope-java",
250+
"AgentScope Java Framework",
251+
"1.0.5-SNAPSHOT");
250252

251253
McpSchema.ClientCapabilities clientCapabilities =
252254
McpSchema.ClientCapabilities.builder().build();
@@ -277,7 +279,7 @@ public McpClientWrapper buildSync() {
277279

278280
McpSchema.Implementation clientInfo =
279281
new McpSchema.Implementation(
280-
"agentscope-java", "AgentScope Java Framework", "1.0.4");
282+
"agentscope-java", "AgentScope Java Framework", "1.0.5-SNAPSHOT");
281283

282284
McpSchema.ClientCapabilities clientCapabilities =
283285
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.4", Version.VERSION, "VERSION should match current version");
33+
Assertions.assertEquals(
34+
"1.0.5-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.4; java/17.0.1; platform/Mac OS X
102+
// Example: agentscope-java/1.0.5-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(

0 commit comments

Comments
 (0)