Skip to content

Commit

Permalink
2.5.6
Browse files Browse the repository at this point in the history
  • Loading branch information
noear committed Jun 18, 2024
1 parent bfcae8a commit ed1fb5e
Show file tree
Hide file tree
Showing 31 changed files with 48 additions and 39 deletions.
8 changes: 4 additions & 4 deletions android/android_test/app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,10 @@ dependencies {
debugImplementation("androidx.compose.ui:ui-tooling")
debugImplementation("androidx.compose.ui:ui-test-manifest")

// implementation("org.noear:socketd-transport-smartsocket:2.5.5")
implementation("org.noear:socketd-transport-java-tcp:2.5.5")
implementation("org.noear:socketd-transport-java-udp:2.5.5")
implementation("org.noear:socketd-transport-java-websocket:2.5.5")
// implementation("org.noear:socketd-transport-smartsocket:2.5.6")
implementation("org.noear:socketd-transport-java-tcp:2.5.6")
implementation("org.noear:socketd-transport-java-udp:2.5.6")
implementation("org.noear:socketd-transport-java-websocket:2.5.6")

implementation("com.github.tony19:logback-android:3.0.0")
}
3 changes: 3 additions & 0 deletions java/LOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
### 2.5.6
* smartsocket 升为 1.5.44

### 2.5.4
* 添加 新的每秒帧流量控制接口 TrafficLimiter
* 添加 Listener:onReply, onSend 方法,方便帧流量统计
Expand Down
2 changes: 1 addition & 1 deletion java/socketd-examples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>org.noear</groupId>
<artifactId>socketd-parent</artifactId>
<version>2.5.5</version>
<version>2.5.6</version>
<relativePath>../socketd-parent/pom.xml</relativePath>
</parent>

Expand Down
6 changes: 3 additions & 3 deletions java/socketd-parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>org.noear</groupId>
<artifactId>socketd-parent</artifactId>
<version>2.5.5</version>
<version>2.5.6</version>
<packaging>pom</packaging>

<name>${project.artifactId}</name>
Expand All @@ -18,11 +18,11 @@
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<java.version>1.8</java.version>

<socketd.version>2.5.5</socketd.version>
<socketd.version>2.5.6</socketd.version>

<slf4j.version>2.0.12</slf4j.version>
<junit5.version>5.9.1</junit5.version>
<smartsocket.version>1.5.43</smartsocket.version>
<smartsocket.version>1.5.44</smartsocket.version>
<java-websocket.version>1.5.3</java-websocket.version>
<netty.version>4.1.107.Final</netty.version>
<aeron.version>1.37.0</aeron.version>
Expand Down
2 changes: 1 addition & 1 deletion java/socketd-transport-test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>org.noear</groupId>
<artifactId>socketd-parent</artifactId>
<version>2.5.5</version>
<version>2.5.6</version>
<relativePath>../socketd-parent/pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion java/socketd-transport/socketd-transport-aeron/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>org.noear</groupId>
<artifactId>socketd-parent</artifactId>
<version>2.5.5</version>
<version>2.5.6</version>
<relativePath>../../socketd-parent/pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion java/socketd-transport/socketd-transport-java-kcp/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>org.noear</groupId>
<artifactId>socketd-parent</artifactId>
<version>2.5.5</version>
<version>2.5.6</version>
<relativePath>../../socketd-parent/pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion java/socketd-transport/socketd-transport-java-tcp/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>org.noear</groupId>
<artifactId>socketd-parent</artifactId>
<version>2.5.5</version>
<version>2.5.6</version>
<relativePath>../../socketd-parent/pom.xml</relativePath>
</parent>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ public Server start() throws IOException {

serverExecutor = Executors.newFixedThreadPool(getConfig().getWorkThreads());
server = createServer();
server.setReuseAddress(true);

serverExecutor.submit(this::accept);

Expand Down
2 changes: 1 addition & 1 deletion java/socketd-transport/socketd-transport-java-udp/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>org.noear</groupId>
<artifactId>socketd-parent</artifactId>
<version>2.5.5</version>
<version>2.5.6</version>
<relativePath>../../socketd-parent/pom.xml</relativePath>
</parent>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>org.noear</groupId>
<artifactId>socketd-parent</artifactId>
<version>2.5.5</version>
<version>2.5.6</version>
<relativePath>../../socketd-parent/pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion java/socketd-transport/socketd-transport-neta/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>org.noear</groupId>
<artifactId>socketd-parent</artifactId>
<version>2.5.5</version>
<version>2.5.6</version>
<relativePath>../../socketd-parent/pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion java/socketd-transport/socketd-transport-netty/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>org.noear</groupId>
<artifactId>socketd-parent</artifactId>
<version>2.5.5</version>
<version>2.5.6</version>
<relativePath>../../socketd-parent/pom.xml</relativePath>
</parent>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>org.noear</groupId>
<artifactId>socketd-parent</artifactId>
<version>2.5.5</version>
<version>2.5.6</version>
<relativePath>../../socketd-parent/pom.xml</relativePath>
</parent>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>org.noear</groupId>
<artifactId>socketd-parent</artifactId>
<version>2.5.5</version>
<version>2.5.6</version>
<relativePath>../../socketd-parent/pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion java/socketd/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>org.noear</groupId>
<artifactId>socketd-parent</artifactId>
<version>2.5.5</version>
<version>2.5.6</version>
<relativePath>../socketd-parent/pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion java/socketd/src/main/java/org/noear/socketd/SocketD.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public class SocketD {
* 框架版本号
*/
public static String version() {
return "2.5.5";
return "2.5.6";
}

/**
Expand Down
4 changes: 4 additions & 0 deletions javascript/ LOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
### 2.5.6
* 强化 EntityDefault::dataSet 方法,支持 Buffer 传入
* 强化 Session::sendAlarm 支持 Entity 传入

### 2.5.5
* 修复 wechat 的环境识别问题

Expand Down
4 changes: 2 additions & 2 deletions javascript/release/socket.d.esm.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions javascript/release/socket.d.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions javascript/socketd-examples/demo01-js-ws/js/socket.d.esm.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions javascript/socketd-examples/demo01-js-ws/js/socket.d.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion javascript/socketd-examples/demo02-node-ws/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"description": "SocketD Node Test Project",
"author": "aoshiguchen",
"dependencies": {
"@noear/socket.d": "2.5.5",
"@noear/socket.d": "2.5.6",
"ws": "^8.16.0"
}
}
2 changes: 1 addition & 1 deletion javascript/socketd-examples/demo03-uniapp-ws/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"description": "SocketD Uniapp Test Project",
"author": "ZhangQi",
"dependencies": {
"@noear/socket.d": "2.5.5"
"@noear/socket.d": "2.5.6"
}
}
2 changes: 1 addition & 1 deletion javascript/socketd-examples/demo06-im/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<title>Socket.D-im demo</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8 " />
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=yes" />
<script src="https://cdn.jsdelivr.net/gh/noear/[email protected].5/javascript/release/socket.d.js"></script>
<script src="https://cdn.jsdelivr.net/gh/noear/[email protected].6/javascript/release/socket.d.js"></script>
<style>
body{max-width: 900px; margin: auto;}
table th { text-align: right; }
Expand Down
2 changes: 1 addition & 1 deletion javascript/socketd/src/socketd/SocketD.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export class SocketD {
* 框架版本号
*/
static version(): string {
return "2.5.5";
return "2.5.6";
}

/**
Expand Down
4 changes: 2 additions & 2 deletions javascript/socketd/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ module.exports = {
},
output: {
// 把所有依赖的模块合并输出到一个 bundle.js 文件
filename: 'socket.d.esm.js', // module->socket.d.esm.js //window -> socket.d.js
filename: 'socket.d.js', //window -> socket.d.js // module->socket.d.esm.js (要去掉最后的 r as __esModule)
// 输出文件都放到 dist 目录下
path: path.resolve(__dirname, './dist/release'),
libraryTarget: 'module'//'commonjs2' //module //window //global//this(更通用)
libraryTarget: 'window'//'commonjs2' //module //window //global//this(更通用)
}
}
4 changes: 1 addition & 3 deletions javascript/socketd/webpack.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,9 @@ npm publish
```javascript

/*!
* Socket.D v2.5.5
* Socket.D v2.5.6
* (c) 2023-2024 noear.org
* Released under the Apache-2.0 License.
*/

//module -> socket.d.esm.js //去掉最后的 r as __esModule
//window -> socket.d.js
```
3 changes: 3 additions & 0 deletions python/LOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
### 2.5.6
* 优化 Session::send_alarm 申明,支持 alarm: str|Entity

### 2.5.4
* 添加 Listener:onReply, onSend 方法,方便帧流量统计
* 添加 FrameIoHandler 接口,强化 Processor 的帧输入输出强控地位
Expand Down
2 changes: 1 addition & 1 deletion python/socketd/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

setup(
name='socket.d',
version='2.5.5',
version='2.5.6',
description='@noear/socket.d python project',
author='noear,bai',
url='https://socketd.noear.org/',
Expand Down
2 changes: 1 addition & 1 deletion python/socketd/socketd/SocketD.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@


def version() -> str:
return "2.5.5"
return "2.5.6"

def protocol_name() -> str:
return "Socket.D"
Expand Down

0 comments on commit ed1fb5e

Please sign in to comment.