Skip to content

Commit 7f9e07c

Browse files
committed
🐳 21.25
1 parent 839b2e7 commit 7f9e07c

File tree

30 files changed

+59
-41
lines changed

30 files changed

+59
-41
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ ioGame 是轻量级的网络编程框架,**不依赖任何第三方**中间件
257257
<dependency>
258258
<groupId>com.iohao.game</groupId>
259259
<artifactId>run-one-netty</artifactId>
260-
<version>21.24</version>
260+
<version>21.25</version>
261261
</dependency>
262262
```
263263

changeLog_ioGame.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,25 @@
1111

1212

1313

14+
### 2025-03-20 - v21.25
1415

16+
https://github.com/iohao/ioGame/releases/tag/21.25
17+
18+
**版本更新汇总**
19+
20+
> 1. fix(broker): DefaultWithElementSelector
21+
> 2. refactor(net): enhance ResponseCollectItemMessage
22+
> 3. refactor(core): FlowContext add the createResponseMessage method
23+
24+
------
25+
26+
**[other updates]**
27+
28+
```xml
29+
<netty.version>4.1.119.Final</netty.version>
30+
```
31+
32+
1533

1634
### 2025-02-12 - v21.24
1735

common/common-core/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<artifactId>ioGame</artifactId>
77
<groupId>com.iohao.game</groupId>
8-
<version>21.24</version>
8+
<version>21.25</version>
99
<relativePath>../../pom.xml</relativePath>
1010
</parent>
1111
<modelVersion>4.0.0</modelVersion>

common/common-core/src/main/java/com/iohao/game/action/skeleton/IoGameVersion.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public final class IoGameVersion {
2626
public static final String VERSION;
2727

2828
static {
29-
String internalVersion = "<version>21.24</version>";
29+
String internalVersion = "<version>21.25</version>";
3030

3131
VERSION = internalVersion
3232
.replace("<version>", "")

common/common-core/src/main/java/com/iohao/game/action/skeleton/core/BarSkeletonBuilderParamConfig.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ public BarSkeletonBuilder createBuilder() {
8888
// true 打印广播日志,默认不打印
8989
IoGameCommonCoreConfig.broadcastLog = this.broadcastLog;
9090

91-
extracted1();
91+
extracted2();
9292

9393
return builder;
9494
}
@@ -179,7 +179,7 @@ private void scanClass(final List<Class<?>> actionList
179179
}
180180
}
181181

182-
private static void extracted1() {
182+
private static void extracted2() {
183183
if (!Objects.equals(IoGameBanner.flag21, "ioGame..21..")) {
184184
byte[] bytes = new byte[]{105, 111, 71, 97, 109, 101, 72, 111, 109, 101, 32, 104, 116, 116, 112, 58, 47, 47, 103, 97, 109, 101, 46, 105, 111, 104, 97, 111, 46, 99, 111, 109, 10, 103, 105, 116, 104, 117, 98, 32, 32, 32, 32, 32, 104, 116, 116, 112, 115, 58, 47, 47, 103, 105, 116, 104, 117, 98, 46, 99, 111, 109, 47, 105, 111, 104, 97, 111, 47, 105, 111, 71, 97, 109, 101, 10};
185185
IoGameBanner.printlnMsg2(new String(bytes, StandardCharsets.UTF_8));

common/common-core/src/main/java/com/iohao/game/action/skeleton/core/PrintActionKit.java

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -79,14 +79,14 @@ private static void extractedRunners(BarSkeleton barSkeleton) {
7979
Runners runners = barSkeleton.runners;
8080
List<String> nameList = runners.listRunnerName();
8181
String title = "@|CYAN ======================== Runners ========================= |@";
82-
IoGameBanner.println(Ansi.ansi().render(title));
82+
IoGameBanner.println1(Ansi.ansi().render(title));
8383

8484
var printActionKitClose = Bundle.getMessage(MessageKey.printActionKitPrintClose);
8585
IoGameBanner.printlnMsg(printActionKitClose + " BarSkeletonBuilder.setting.printRunners");
8686

8787
for (String name : nameList) {
8888
String info = String.format("@|BLUE %s |@", name);
89-
IoGameBanner.println(Ansi.ansi().render(info));
89+
IoGameBanner.println1(Ansi.ansi().render(info));
9090
}
9191
}
9292

@@ -104,13 +104,13 @@ void printInout(List<ActionMethodInOut> inOuts) {
104104

105105
for (ActionMethodInOut inOut : inOuts) {
106106
String info = String.format("@|BLUE %s |@", inOut.getClass());
107-
IoGameBanner.println(Ansi.ansi().render(info));
107+
IoGameBanner.println1(Ansi.ansi().render(info));
108108
}
109109
}
110110

111111
private void printTitle(String title) {
112112
String formatted = "@|CYAN ======================== %s ========================= |@".formatted(title);
113-
IoGameBanner.println(Ansi.ansi().render(formatted));
113+
IoGameBanner.println1(Ansi.ansi().render(formatted));
114114
}
115115

116116
void printHandler(List<Handler> handlers) {
@@ -121,7 +121,7 @@ void printHandler(List<Handler> handlers) {
121121
IoGameBanner.printlnMsg(IoGameVersion.VERSION);
122122

123123
String colorStr = "@|BLACK BLACK|@ @|RED RED|@ @|GREEN GREEN|@ @|YELLOW YELLOW|@ @|BLUE BLUE|@ @|MAGENTA MAGENTA|@ @|CYAN CYAN|@ @|WHITE WHITE|@ @|DEFAULT DEFAULT|@";
124-
IoGameBanner.println(Ansi.ansi().render(colorStr));
124+
IoGameBanner.println1(Ansi.ansi().render(colorStr));
125125

126126
printTitle("Handler");
127127

@@ -130,7 +130,7 @@ void printHandler(List<Handler> handlers) {
130130

131131
for (Handler handler : handlers) {
132132
String info = String.format("@|BLUE %s |@", handler.getClass());
133-
IoGameBanner.println(Ansi.ansi().render(info));
133+
IoGameBanner.println1(Ansi.ansi().render(info));
134134
}
135135
}
136136

@@ -216,7 +216,7 @@ void printActionCommand(ActionCommand[][] behaviors, boolean shortName) {
216216

217217
String lineTemplate = "{routeCell} {actionCell} {actionNameCell}.{methodNameCell}({paramInfoCell}) {throwCell} --- return {returnValueCell} ~~~ see.({actionSimpleName}.java:{lineNumber})";
218218
String text = StrKit.format(lineTemplate, params);
219-
IoGameBanner.println(Ansi.ansi().render(text));
219+
IoGameBanner.println1(Ansi.ansi().render(text));
220220
}
221221
}
222222
}
@@ -230,7 +230,7 @@ void printDataCodec() {
230230

231231
DataCodec dataCodec = DataCodecKit.dataCodec;
232232
String info = String.format("@|BLUE %s - %s |@", dataCodec.codecName(), dataCodec.getClass().getName());
233-
IoGameBanner.println(Ansi.ansi().render(info));
233+
IoGameBanner.println1(Ansi.ansi().render(info));
234234

235235
}
236236

common/common-core/src/main/java/com/iohao/game/action/skeleton/toy/IoGameBanner.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ public static void printMessage(Object message) {
114114
out.print(message);
115115
}
116116

117-
public static void println(Object message) {
117+
public static void println1(Object message) {
118118
out.println(message);
119119
}
120120

common/common-core/src/main/java/com/iohao/game/action/skeleton/toy/ToyTableRender.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ void render() {
6666

6767
// table last
6868
builder.append("+").append(this.lastLine);
69-
IoGameBanner.println(builder);
69+
IoGameBanner.println1(builder);
7070
}
7171

7272
void line(int keyMaxLen, int valueMaxLen) {

common/common-core/src/test/java/com/iohao/game/action/skeleton/core/action/SimpleWrapperAction.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,6 @@
3232
public class SimpleWrapperAction {
3333
@ActionMethod(ExampleActionCmd.SimpleWrapperActionActionCmd.testInt)
3434
public void testInt(int age) {
35-
IoGameBanner.println(age);
35+
IoGameBanner.println1(age);
3636
}
3737
}

common/common-core/src/test/java/com/iohao/game/action/skeleton/core/flow/internal/StatActionInOutTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public void testStatActionInOut() {
3232
flowContext.setRequest(requestMessage);
3333
extracted(region, flowContext);
3434

35-
region.stream().forEach(IoGameBanner::println);
35+
region.stream().forEach(IoGameBanner::println1);
3636
}
3737

3838
private void setListener(StatActionInOut inOut) {

0 commit comments

Comments
 (0)