Skip to content

Commit

Permalink
🐳 21.19
Browse files Browse the repository at this point in the history
  • Loading branch information
iohao committed Oct 28, 2024
1 parent ccf6f46 commit f75466e
Show file tree
Hide file tree
Showing 20 changed files with 100 additions and 20 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ ioGame 是轻量级的网络编程框架,**不依赖任何第三方**中间件
<dependency>
<groupId>com.iohao.game</groupId>
<artifactId>run-one-netty</artifactId>
<version>21.18</version>
<version>21.19</version>
</dependency>
```

Expand Down
80 changes: 80 additions & 0 deletions changeLog_ioGame.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,86 @@

### 2024-10

#### 2024-10-28 - v21.19

https://github.com/iohao/ioGame/releases/tag/21.19



**版本更新汇总**

> 1. [core] FlowContext provides the setUserId method to simplify the login operation.
> 2. [broker] Added RingElementSelector load balancing implementation and set it as default to replace RandomElementSelector
> 3. [core] [#386](https://github.com/iohao/ioGame/issues/386) Action supports constructor injection with parameters in Spring
> 4. Simplify the implementation class of ActionParserListener related to ProtoDataCodec. and #386
> 5. perf(i18n): 🐳 [#376](https://github.com/iohao/ioGame/issues/376) cmd check tips
> 6. refactor(external): simplify and improve externalCache

------

**[core]** FlowContext provides the setUserId method to simplify the login operation.
> FlowContext 提供登录方法以简化登录的使用
```java
@ActionController(LoginCmd.cmd)
public class TheLoginAction {
... ...
@ActionMethod(LoginCmd.login)
public UserInfo loginVerify(LoginVerify loginVerify, FlowContext flowContext) {
long userId = ...;

// Deprecated
boolean success = UserIdSettingKit.settingUserId(flowContext, userId);
// now
boolean success = flowContext.setUserId(userId);

return ...;
}
}
```

---

**[core]** [#386](https://github.com/iohao/ioGame/issues/386) Action supports constructor injection with parameters in Spring
> 在 Spring 中,Action 支持构造函数注入
```java
// Action supports constructor injection in Spring.
@Component
@AllArgsConstructor
@ActionController(PersonCmd.cmd)
public class PersonAction {
final PersonService personService;
...
}
```

---

refactor(external): simplify and improve externalCache
> 简化与提升游戏对外服缓存
```java
// create externalCache
private static void extractedExternalCache() {
// Deprecated
DefaultExternalCmdCache externalCmdCache = new DefaultExternalCmdCache();
// now
var externalCmdCache = ExternalCmdCache.of();
}
```

------

**[其他更新]**

```xml
<netty.version>4.1.114.Final</netty.version>
```

------

#### 2024-10-09 - v21.18

https://github.com/iohao/ioGame/releases/tag/21.18
Expand Down
2 changes: 1 addition & 1 deletion common/common-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>ioGame</artifactId>
<groupId>com.iohao.game</groupId>
<version>21.18</version>
<version>21.19</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public final class IoGameVersion {
public static final String VERSION;

static {
String internalVersion = "<version>21.18</version>";
String internalVersion = "<version>21.19</version>";

VERSION = internalVersion
.replace("<version>", "")
Expand Down
2 changes: 1 addition & 1 deletion common/common-kit/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>ioGame</artifactId>
<groupId>com.iohao.game</groupId>
<version>21.18</version>
<version>21.19</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
Expand Down
2 changes: 1 addition & 1 deletion common/common-micro-kit/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>com.iohao.game</groupId>
<artifactId>ioGame</artifactId>
<version>21.18</version>
<version>21.19</version>
<relativePath>../../pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion common/common-validation/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>ioGame</artifactId>
<groupId>com.iohao.game</groupId>
<version>21.18</version>
<version>21.19</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
Expand Down
2 changes: 1 addition & 1 deletion external/external-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>com.iohao.game</groupId>
<artifactId>ioGame</artifactId>
<version>21.18</version>
<version>21.19</version>
<relativePath>../../pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion external/external-netty/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>com.iohao.game</groupId>
<artifactId>ioGame</artifactId>
<version>21.18</version>
<version>21.19</version>
<relativePath>../../pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion net-bolt/bolt-broker-server/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>ioGame</artifactId>
<groupId>com.iohao.game</groupId>
<version>21.18</version>
<version>21.19</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
Expand Down
2 changes: 1 addition & 1 deletion net-bolt/bolt-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>ioGame</artifactId>
<groupId>com.iohao.game</groupId>
<version>21.18</version>
<version>21.19</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
Expand Down
2 changes: 1 addition & 1 deletion net-bolt/bolt-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>ioGame</artifactId>
<groupId>com.iohao.game</groupId>
<version>21.18</version>
<version>21.19</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>com.iohao.game</groupId>
<artifactId>ioGame</artifactId>
<version>21.18</version>
<version>21.19</version>
<name>ioGame</name>
<description>
生产资料公有制。
Expand Down Expand Up @@ -53,7 +53,7 @@
<encoding>UTF-8</encoding>

<!-- 网络库 : https://mvnrepository.com/artifact/io.netty/netty-all -->
<netty.version>4.1.113.Final</netty.version>
<netty.version>4.1.114.Final</netty.version>
<!-- bolt https://mvnrepository.com/artifact/com.alipay.sofa/bolt -->
<bolt.version>1.6.6</bolt.version>
<!-- hessian 格式化 https://mvnrepository.com/artifact/com.caucho/hessian -->
Expand Down
2 changes: 1 addition & 1 deletion run-one/run-one-netty/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>com.iohao.game</groupId>
<artifactId>ioGame</artifactId>
<version>21.18</version>
<version>21.19</version>
<relativePath>../../pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion widget/light-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>com.iohao.game</groupId>
<artifactId>ioGame</artifactId>
<version>21.18</version>
<version>21.19</version>
<relativePath>../../pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion widget/light-domain-event/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>ioGame</artifactId>
<groupId>com.iohao.game</groupId>
<version>21.18</version>
<version>21.19</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
Expand Down
2 changes: 1 addition & 1 deletion widget/light-game-room/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>ioGame</artifactId>
<groupId>com.iohao.game</groupId>
<version>21.18</version>
<version>21.19</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
Expand Down
2 changes: 1 addition & 1 deletion widget/light-jprotobuf/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>ioGame</artifactId>
<groupId>com.iohao.game</groupId>
<version>21.18</version>
<version>21.19</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
Expand Down
2 changes: 1 addition & 1 deletion widget/light-profile/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>ioGame</artifactId>
<groupId>com.iohao.game</groupId>
<version>21.18</version>
<version>21.19</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
Expand Down
2 changes: 1 addition & 1 deletion widget/other-tool/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>com.iohao.game</groupId>
<artifactId>ioGame</artifactId>
<version>21.18</version>
<version>21.19</version>
<relativePath>../../pom.xml</relativePath>
</parent>

Expand Down

0 comments on commit f75466e

Please sign in to comment.