From 86e16a38131d51b6eade7b1a06b7359dae26362d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B8=94=E6=B0=91=E5=B0=8F=E9=95=87?= <262610965@qq.com> Date: Wed, 9 Oct 2024 13:34:28 +0800 Subject: [PATCH] :whale: 21.18 --- README.md | 2 +- changeLog_ioGame.md | 46 +++++++++++++++++++ common/common-core/pom.xml | 2 +- .../game/action/skeleton/IoGameVersion.java | 2 +- .../core/flow/InternalAboutFlowContext.java | 1 - .../skeleton/core/InOutManagerTest.java | 1 - .../game/common/kit/ClassScannerTest.java | 1 - common/common-kit/pom.xml | 2 +- common/common-micro-kit/pom.xml | 2 +- common/common-validation/pom.xml | 2 +- external/external-core/pom.xml | 2 +- external/external-netty/pom.xml | 2 +- net-bolt/bolt-broker-server/pom.xml | 2 +- net-bolt/bolt-client/pom.xml | 2 +- net-bolt/bolt-core/pom.xml | 2 +- pom.xml | 2 +- run-one/run-one-netty/pom.xml | 2 +- widget/light-client/pom.xml | 2 +- widget/light-domain-event/pom.xml | 2 +- widget/light-game-room/pom.xml | 2 +- widget/light-jprotobuf/pom.xml | 2 +- widget/light-profile/pom.xml | 2 +- widget/other-tool/pom.xml | 2 +- 23 files changed, 65 insertions(+), 22 deletions(-) diff --git a/README.md b/README.md index e457565f..c13eb5ea 100644 --- a/README.md +++ b/README.md @@ -218,7 +218,7 @@ ioGame 是轻量级的网络编程框架,**不依赖任何第三方**中间件 com.iohao.game run-one-netty - 21.17 + 21.18 ``` diff --git a/changeLog_ioGame.md b/changeLog_ioGame.md index b8be452f..0e46e832 100644 --- a/changeLog_ioGame.md +++ b/changeLog_ioGame.md @@ -11,6 +11,50 @@ +### 2024-10 + +#### 2024-10-09 - v21.18 + +https://github.com/iohao/ioGame/releases/tag/21.18 + + + +**版本更新汇总** + +> - [external] [#375](https://github.com/iohao/ioGame/issues/375) Support for lightweight or embedded Linux distributions. 支持轻量级或嵌入式 Linux 发行版。 +> - [core] [#376](https://github.com/iohao/ioGame/issues/376) Support i18n, such as logs and internal messages. 框架内的日志、内部消息支持 i18n。 + + +------ + +**[core]** + + [#376](https://github.com/iohao/ioGame/issues/376) Support i18n, such as logs and internal messages. 框架内的日志、内部消息支持 i18n。 + +```java +public class DemoApplication { + public static void main(String[] args) { + // setting defaultLocale, such as US or CHINA + Locale.setDefault(Locale.US); + Locale.setDefault(Locale.CHINA); + + ... start ioGame + } +} +``` + +------ + +**[其他更新]** + +``` +2.6.17 +``` + +------ + + + ### 2024-09 #### 2024-09-25 - v21.17 @@ -50,6 +94,8 @@ void testThreadExecutor(FlowContext flowContext) { } ``` +------ + #### 2024-09-09 - v21.16 diff --git a/common/common-core/pom.xml b/common/common-core/pom.xml index 7fffa594..7b8e9acc 100644 --- a/common/common-core/pom.xml +++ b/common/common-core/pom.xml @@ -5,7 +5,7 @@ ioGame com.iohao.game - 21.17 + 21.18 ../../pom.xml 4.0.0 diff --git a/common/common-core/src/main/java/com/iohao/game/action/skeleton/IoGameVersion.java b/common/common-core/src/main/java/com/iohao/game/action/skeleton/IoGameVersion.java index a9da365e..7fd8cab4 100644 --- a/common/common-core/src/main/java/com/iohao/game/action/skeleton/IoGameVersion.java +++ b/common/common-core/src/main/java/com/iohao/game/action/skeleton/IoGameVersion.java @@ -26,7 +26,7 @@ public final class IoGameVersion { public static final String VERSION; static { - String internalVersion = "21.17"; + String internalVersion = "21.18"; VERSION = internalVersion .replace("", "") diff --git a/common/common-core/src/main/java/com/iohao/game/action/skeleton/core/flow/InternalAboutFlowContext.java b/common/common-core/src/main/java/com/iohao/game/action/skeleton/core/flow/InternalAboutFlowContext.java index d0a6fe9a..0a3c26e6 100644 --- a/common/common-core/src/main/java/com/iohao/game/action/skeleton/core/flow/InternalAboutFlowContext.java +++ b/common/common-core/src/main/java/com/iohao/game/action/skeleton/core/flow/InternalAboutFlowContext.java @@ -1548,7 +1548,6 @@ interface SimpleBarMessageCreator extends SimpleCommon { * * @param cmdInfo cmdInfo * @return request - * @since 21.18 */ default RequestMessage createRequestMessage(CmdInfo cmdInfo) { return createRequestMessage(cmdInfo, null); diff --git a/common/common-core/src/test/java/com/iohao/game/action/skeleton/core/InOutManagerTest.java b/common/common-core/src/test/java/com/iohao/game/action/skeleton/core/InOutManagerTest.java index 7dfe5d73..9633809b 100644 --- a/common/common-core/src/test/java/com/iohao/game/action/skeleton/core/InOutManagerTest.java +++ b/common/common-core/src/test/java/com/iohao/game/action/skeleton/core/InOutManagerTest.java @@ -9,7 +9,6 @@ import org.junit.Test; import java.util.ArrayList; -import java.util.Collection; import java.util.Collections; import java.util.List; diff --git a/common/common-core/src/test/java/com/iohao/game/common/kit/ClassScannerTest.java b/common/common-core/src/test/java/com/iohao/game/common/kit/ClassScannerTest.java index ed7d723c..8079cf22 100644 --- a/common/common-core/src/test/java/com/iohao/game/common/kit/ClassScannerTest.java +++ b/common/common-core/src/test/java/com/iohao/game/common/kit/ClassScannerTest.java @@ -22,7 +22,6 @@ import com.iohao.game.action.skeleton.toy.IoGameBanner; import lombok.extern.slf4j.Slf4j; import org.fusesource.jansi.Ansi; -import org.fusesource.jansi.AnsiConsole; import org.junit.Test; import java.util.List; diff --git a/common/common-kit/pom.xml b/common/common-kit/pom.xml index 67121ff1..8bfd591a 100644 --- a/common/common-kit/pom.xml +++ b/common/common-kit/pom.xml @@ -5,7 +5,7 @@ ioGame com.iohao.game - 21.17 + 21.18 ../../pom.xml 4.0.0 diff --git a/common/common-micro-kit/pom.xml b/common/common-micro-kit/pom.xml index d3fde718..1e8bda53 100644 --- a/common/common-micro-kit/pom.xml +++ b/common/common-micro-kit/pom.xml @@ -6,7 +6,7 @@ com.iohao.game ioGame - 21.17 + 21.18 ../../pom.xml diff --git a/common/common-validation/pom.xml b/common/common-validation/pom.xml index da84e136..1c551b36 100644 --- a/common/common-validation/pom.xml +++ b/common/common-validation/pom.xml @@ -5,7 +5,7 @@ ioGame com.iohao.game - 21.17 + 21.18 ../../pom.xml 4.0.0 diff --git a/external/external-core/pom.xml b/external/external-core/pom.xml index 43a682c3..86123839 100644 --- a/external/external-core/pom.xml +++ b/external/external-core/pom.xml @@ -6,7 +6,7 @@ com.iohao.game ioGame - 21.17 + 21.18 ../../pom.xml diff --git a/external/external-netty/pom.xml b/external/external-netty/pom.xml index 3d45a1cf..867f062f 100644 --- a/external/external-netty/pom.xml +++ b/external/external-netty/pom.xml @@ -6,7 +6,7 @@ com.iohao.game ioGame - 21.17 + 21.18 ../../pom.xml diff --git a/net-bolt/bolt-broker-server/pom.xml b/net-bolt/bolt-broker-server/pom.xml index af72976d..54bcf9e1 100644 --- a/net-bolt/bolt-broker-server/pom.xml +++ b/net-bolt/bolt-broker-server/pom.xml @@ -5,7 +5,7 @@ ioGame com.iohao.game - 21.17 + 21.18 ../../pom.xml 4.0.0 diff --git a/net-bolt/bolt-client/pom.xml b/net-bolt/bolt-client/pom.xml index 1455299d..59d2cba5 100644 --- a/net-bolt/bolt-client/pom.xml +++ b/net-bolt/bolt-client/pom.xml @@ -5,7 +5,7 @@ ioGame com.iohao.game - 21.17 + 21.18 ../../pom.xml 4.0.0 diff --git a/net-bolt/bolt-core/pom.xml b/net-bolt/bolt-core/pom.xml index 662cd6d3..c4c88931 100644 --- a/net-bolt/bolt-core/pom.xml +++ b/net-bolt/bolt-core/pom.xml @@ -5,7 +5,7 @@ ioGame com.iohao.game - 21.17 + 21.18 ../../pom.xml 4.0.0 diff --git a/pom.xml b/pom.xml index 1460139a..aa0d3c85 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ com.iohao.game ioGame - 21.17 + 21.18 ioGame 生产资料公有制。 diff --git a/run-one/run-one-netty/pom.xml b/run-one/run-one-netty/pom.xml index d8b3bef5..bfaea1ae 100644 --- a/run-one/run-one-netty/pom.xml +++ b/run-one/run-one-netty/pom.xml @@ -6,7 +6,7 @@ com.iohao.game ioGame - 21.17 + 21.18 ../../pom.xml diff --git a/widget/light-client/pom.xml b/widget/light-client/pom.xml index fa38c513..4d076ec2 100644 --- a/widget/light-client/pom.xml +++ b/widget/light-client/pom.xml @@ -6,7 +6,7 @@ com.iohao.game ioGame - 21.17 + 21.18 ../../pom.xml diff --git a/widget/light-domain-event/pom.xml b/widget/light-domain-event/pom.xml index cae35292..1ee0551f 100644 --- a/widget/light-domain-event/pom.xml +++ b/widget/light-domain-event/pom.xml @@ -5,7 +5,7 @@ ioGame com.iohao.game - 21.17 + 21.18 ../../pom.xml 4.0.0 diff --git a/widget/light-game-room/pom.xml b/widget/light-game-room/pom.xml index acf151af..d588d525 100644 --- a/widget/light-game-room/pom.xml +++ b/widget/light-game-room/pom.xml @@ -5,7 +5,7 @@ ioGame com.iohao.game - 21.17 + 21.18 ../../pom.xml 4.0.0 diff --git a/widget/light-jprotobuf/pom.xml b/widget/light-jprotobuf/pom.xml index e33e293c..71ac9f23 100644 --- a/widget/light-jprotobuf/pom.xml +++ b/widget/light-jprotobuf/pom.xml @@ -5,7 +5,7 @@ ioGame com.iohao.game - 21.17 + 21.18 ../../pom.xml 4.0.0 diff --git a/widget/light-profile/pom.xml b/widget/light-profile/pom.xml index 8858f468..7c25951d 100644 --- a/widget/light-profile/pom.xml +++ b/widget/light-profile/pom.xml @@ -5,7 +5,7 @@ ioGame com.iohao.game - 21.17 + 21.18 ../../pom.xml 4.0.0 diff --git a/widget/other-tool/pom.xml b/widget/other-tool/pom.xml index 150064ec..6631a37f 100644 --- a/widget/other-tool/pom.xml +++ b/widget/other-tool/pom.xml @@ -6,7 +6,7 @@ com.iohao.game ioGame - 21.17 + 21.18 ../../pom.xml