Skip to content

Commit 1bf44c7

Browse files
committed
Merge remote-tracking branch 'origin/master'
2 parents 4629b61 + 66b7270 commit 1bf44c7

File tree

19 files changed

+310
-80
lines changed

19 files changed

+310
-80
lines changed

README.md

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# java-wechaty
22

33
![Java CI with Maven](https://github.com/wechaty/java-wechaty/workflows/Java%20CI%20with%20Maven/badge.svg)
4-
[![Java Version](https://img.shields.io/maven-central/v/io.github.wechaty/wechaty?label=Java)](https://mvnrepository.com/artifact/io.github.wechaty/wechaty)
4+
[![Java Version](https://img.shields.io/maven-central/v/io.github.wechaty/wechaty?label=Maven)](https://mvnrepository.com/artifact/io.github.wechaty/wechaty)
55

6-
![Java Wechaty](https://wechaty.github.io/java-wechaty/images/java-wechaty.png)
6+
![Java Wechaty](docs/images/java-wechaty.png)
77

88
[![Java Wechaty Getting Started](https://img.shields.io/badge/Java%20Wechaty-Getting%20Started-orange)](https://github.com/wechaty/java-wechaty-getting-started)
99
[![Wechaty in Kotlin](https://img.shields.io/badge/Wechaty-Kotlin-orange)](https://github.com/wechaty/java-wechaty)
@@ -15,12 +15,6 @@
1515

1616
Wechaty is a RPA SDK for Wechat **Individual** Account that can help you create a chatbot in 6 lines of Java.
1717

18-
## WORK IN PROGRESS
19-
20-
Work in progress...
21-
22-
Please come back after 4 weeks...
23-
2418
## Voice of the Developers
2519

2620
> "Wechaty is a great solution, I believe there would be much more users recognize it." [link](https://github.com/Wechaty/wechaty/pull/310#issuecomment-285574472)
@@ -278,6 +272,14 @@ mvn install wechaty
278272

279273
### master
280274

275+
### v0.4 (Jun 19, 2020)
276+
277+
Java(Kotlin) Wechaty **BETA** Released!
278+
279+
Read more from our Multi-language Wechaty Beta Release event from our blog:
280+
281+
- [Multi Language Wechaty Beta Release Announcement!](https://wechaty.github.io/2020/06/19/multi-language-wechaty-beta-release/)
282+
281283
### v0.1.4 (June 13 2020)
282284
1. use `PuppetManager` to manage multi puppet implementations.
283285
2. add mock puppet.
@@ -343,8 +345,9 @@ We decided to use Kotlin to develop the Java Wechaty!
343345
## Committers
344346

345347
- [@redmaple1](https://github.com/redmaple1) Xiaoya Ren
348+
- [@huan](https://github.com/huan) - Huan LI (李卓桓)
346349

347-
## Author
350+
## Creator
348351

349352
- [@diaozxin007](https://github.com/diaozxin007) diaozxin@gmail.com
350353
- Website: [犀利豆的博客](https://xilidou.com/)

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.1.1
1+
0.4.0

examples/pom.xml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,20 @@
11
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
22
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
33

4+
45
<parent>
56
<groupId>io.github.wechaty</groupId>
67
<artifactId>wechaty-parent</artifactId>
7-
<version>1.0.0-SNAPSHOT</version>
8+
<version>0.1.5-SNAPSHOT</version>
89
</parent>
10+
911
<modelVersion>4.0.0</modelVersion>
1012
<artifactId>wechaty-example</artifactId>
13+
14+
<name>wechaty/example</name>
15+
1116
<packaging>jar</packaging>
17+
<version>1.0.0-SNAPSHOT</version>
1218

1319
<properties>
1420
<kotlin.version>1.3.72</kotlin.version>
@@ -17,7 +23,7 @@
1723
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
1824
<kotlin.compiler.incremental>true</kotlin.compiler.incremental>
1925
<dokka.version>0.10.1</dokka.version>
20-
<wechaty.version>0.1.4-SNAPSHOT</wechaty.version>
26+
<wechaty.version>0.1.5-SNAPSHOT</wechaty.version>
2127
</properties>
2228

2329
<dependencies>
@@ -48,7 +54,7 @@
4854
<dependency>
4955
<groupId>org.apache.logging.log4j</groupId>
5056
<artifactId>log4j-core</artifactId>
51-
<version>2.13.1</version>
57+
<version>2.13.2</version>
5258
</dependency>
5359
<dependency> <!-- 桥接:告诉Slf4j使用Log4j2 -->
5460
<groupId>org.apache.logging.log4j</groupId>
@@ -72,7 +78,6 @@
7278
<dependency>
7379
<groupId>org.apache.commons</groupId>
7480
<artifactId>commons-lang3</artifactId>
75-
<version>3.10</version>
7681
</dependency>
7782

7883
<dependency>

pom.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<groupId>io.github.wechaty</groupId>
66
<artifactId>wechaty-parent</artifactId>
77
<packaging>pom</packaging>
8-
<version>0.1.4-SNAPSHOT</version>
8+
<version>0.1.5-SNAPSHOT</version>
99
<name>kotlin-wechaty</name>
1010

1111
<description>
@@ -31,6 +31,7 @@
3131
<module>wechaty-puppet</module>
3232
<module>wechaty-puppet-hostie</module>
3333
<module>wechaty-puppet-mock</module>
34+
<!-- <module>examples</module>-->
3435
</modules>
3536

3637
<dependencyManagement>
@@ -79,7 +80,7 @@
7980
<dependency>
8081
<groupId>org.apache.logging.log4j</groupId>
8182
<artifactId>log4j-core</artifactId>
82-
<version>2.13.1</version>
83+
<version>2.13.2</version>
8384
<scope>test</scope>
8485
</dependency>
8586
<dependency>

wechaty-puppet-hostie/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<groupId>io.github.wechaty</groupId>
66
<artifactId>wechaty-parent</artifactId>
7-
<version>0.1.4-SNAPSHOT</version>
7+
<version>0.1.5-SNAPSHOT</version>
88
</parent>
99
<modelVersion>4.0.0</modelVersion>
1010
<artifactId>wechaty-puppet-hostie</artifactId>

wechaty-puppet-hostie/src/main/kotlin/io/github/wechaty/grpc/GrpcPuppet.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -945,7 +945,7 @@ class GrpcPuppet(puppetOptions: PuppetOptions) : Puppet(puppetOptions) {
945945
log.debug("PuppetHostie $type payload $payload")
946946

947947
if (type != Event.EventType.EVENT_TYPE_HEARTBEAT) {
948-
emit(EventEnum.HEART_BEAT, EventHeartbeatPayload("heartbeat"))
948+
emit(EventEnum.HEART_BEAT, EventHeartbeatPayload("heartbeat",6000))
949949
}
950950

951951
when (type) {

wechaty-puppet-mock/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<artifactId>wechaty-parent</artifactId>
77
<groupId>io.github.wechaty</groupId>
8-
<version>0.1.4-SNAPSHOT</version>
8+
<version>0.1.5-SNAPSHOT</version>
99
</parent>
1010
<modelVersion>4.0.0</modelVersion>
1111

wechaty-puppet/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<groupId>io.github.wechaty</groupId>
66
<artifactId>wechaty-parent</artifactId>
7-
<version>0.1.4-SNAPSHOT</version>
7+
<version>0.1.5-SNAPSHOT</version>
88
</parent>
99
<modelVersion>4.0.0</modelVersion>
1010
<artifactId>wechaty-puppet</artifactId>

wechaty-puppet/src/main/kotlin/io/github/wechaty/schemas/Event.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,8 @@ data class EventResetPayload(
135135
}
136136

137137
data class EventHeartbeatPayload(
138-
var data:String
138+
var data:String,
139+
var timeout:Long
139140
) {
140141
override fun toString(): String {
141142
return "EventHeartbeatPayload(data='$data')"

wechaty/pom.xml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<groupId>io.github.wechaty</groupId>
66
<artifactId>wechaty-parent</artifactId>
7-
<version>0.1.4-SNAPSHOT</version>
7+
<version>0.1.5-SNAPSHOT</version>
88
</parent>
99
<modelVersion>4.0.0</modelVersion>
1010
<artifactId>wechaty</artifactId>
@@ -27,6 +27,12 @@
2727
<artifactId>wechaty-puppet-hostie</artifactId>
2828
<version>${project.version}</version>
2929
</dependency>
30+
<dependency>
31+
<groupId>io.github.wechaty</groupId>
32+
<artifactId>wechaty-puppet-hostie</artifactId>
33+
<version>${project.version}</version>
34+
</dependency>
35+
3036
<dependency>
3137
<groupId>io.github.wechaty</groupId>
3238
<artifactId>wechaty-puppet-mock</artifactId>

0 commit comments

Comments
 (0)