ChangeLog

BREAKING NEWS: Wechaty logo color was changed from green to blue!

There will be a migration guide from v0.14 to v0.16 will be published on our blog later.

1. BREAKING CHANGES

1.1 Class Removal

  • BREAKING CHANGE: v0.16 will remove MediaMessage class #1164

  • BREAKING CHANGES v0.16: FriendRequest class will be replaced with Friendship #1312

  • BREAKING CHANGE v0.16 Contact, FriendRequest, Message, and Room classes will not be able to instantiate directly #1364

1.2. Sync to Async

  • BREAKING CHANGE: v0.16 Room.topic() change from Sycn to Async #1295

  • BREAKING CHANGE: v0.16 Room.alias(contact) change from Sycn to Async #1293

  • BREAKING CHANGE: v0.16 Room.memberList() change from Sycn to Async #1290

  • BREAKING CHANGE: v0.16 Room.has(contact) change from Sycn to Async #1289

  • BREAKING CHANGE: v0.16 Message.mention() change from sync to async #1259

  • BREAKING CHANGES: v0.16 Room.member() from sync to async #1258

1.3. Argument / Return Value

  • BREAKING CHANGE v0.16 room.add return Promise instead of return Promise #1362

  • BREAKING CHANGE: v0.16 scan event args will be different! #1262

  • BREAKING CHANGE: first arg of room-leave event licener changed from Contact to Contact[] #723

  • BREAKING CHANGE: v0.16 on('friend`) arguments changed! #1196

1.4. Deprecated

  • BREAKING CHANGE v0.16 Wechaty.self() eprecated, use Wechaty.userSelf() instead #1369

  • BREAKING CHANGE v0.16 Contact.personal() and Contact.official() deprecated, use Contact.type() instead #1366

  • BREAKING CHANGE: v0.16 will replace Message.content() with Message.text() #1163

2. New Features

  • feat: Add for await (const contact of room) {} support by ES6 iterators override #1198

  • [todo] allow Wechaty to be multi-instance #518

  • [New Puppet] Plan to support WECHATY_HEAD=WECHAT4U #69

  • TravisCI Conditional Deployment #1211

  • Puppet padchat #1245 (lijiarui)

  • Multi-Instance Support #1159 (zixia)

3. Bug Fixes

  • Update the peerDependencies of rx-queue: rxjs@6 from rxjs@5 #1205

  • How to avoid the memory leak #981

  • Should throw Exception when there have API Error. #683

4. Enhancements

  • Prevent the Floating Promise in the Async/Await Code #1346

  • Upgrade Docker Base Image from Ubuntu 17.10 to 18.04 #1239

  • Continious Deploy to NPM with @next tag when the MINOR version number is odd(in developing branch) #1158

  • Should throw Exception when there have API Error. #683

  • Decouple: Make Contact, Room, Message, and FriendRequest class Abstract. #1160 (zixia)

  • Update to node 10 in .travis.yml #1231 (zixia)

Learn more between version at:

v0.14 - Minor Bug Fixes

v0.14.0 release this on 2018-04-15, 1161 commits to master since this release

v0.12 - All About Refactoring

v0.12.0 release this on 2017-10-31, 1475 commits to master since this release

v0.9 - Huge Improvements with lots of Bug Fixes and Feature Enhancements

v0.9.0 release this on 2017-10-04, 1722 commits to master since this release

v0.7 - A Brand New Version for Production

v0.7.0 release this on 2016-12-29, 3041 commits to master since this release

v0.6 - DevOps CI/CD with Docker&NPM

v0.6.0 release this on 2016-11-11, 3359 commits to master since this release

v0.5.22 - Enhanced Media Message & Docker

v0.5.22 release this on 2016-11-10, 3378 commits to master since this release

v0.5.9 - 1st Recommend Version for Docker Image & NPM Module

v0.5.9 release this on 2016-11-07, 3431 commits to master since this release

v0.5.1 - The first TypeScript version with fully dockerized runtime support

v0.5.1 release this on 2016-11-03, 3573 commits to master since this release

v0.4.0 - Supported Room Operate & Friend Request, with Cloud Manager Backend.

v0.4.0 release this on 2016-10-10, 3848 commits to master since this release

v0.2.0 - Cloudify Wechaty: Start manage your bot on https://chatie.io

v0.2.0 release this on 2016-06-29, 4315 commits to master since this release

v0.1.1 - Save/Restore Wechat Session

v0.1.1 release this on 2016-06-10, 4450 commits to master since this release

v0.1.1 - Perfect worked base on chrome

v0.0.6 release this on 2016-05-16, 4541 commits to master since this release

v0.0.5 - Wechaty baby born!

v0.0.5 release this on 2016-05-11, 4580 commits to master since this release

See more in releases

CHANGELOG

v0.16.0 2018-06-21

v0.16.0 (2018-06-21)Full Changelog

Implemented enhancements:

  • Unable to start multiple instances with padchat puppet #1367

  • Prevent the Floating Promise in the Async/Await Code #1346

  • BREAKING CHANGES v0.16: FriendRequest class will be replaced with Friendship #1312

  • feat: PuppetPadchat can set avatar for userself support. #1298

  • BREAKING CHANGE: v0.16 Room.topic\(\) change from Sycn to Async #1295

  • BREAKING CHANGE: v0.16 Room.alias\(contact\) change from Sycn to Async #1293

  • BREAKING CHANGE: v0.16 Room.memberList\(\) change from Sycn to Async #1290

  • BREAKING CHANGE: v0.16 Room.has\(contact\) change from Sycn to Async #1289

  • BREAKING CHANGE: v0.16 scan event args will be different! #1262

  • BREAKING CHANGE: v0.16 Message.mention\(\) change from sync to async #1259

  • BREAKING CHANGES: v0.16 Room.member\(\) from sync to async #1258

  • Promote Profile class to a solo NPM module: MemoryCard #1257

  • rewrite roomFindAll() #1255

  • function friendRequestAccept #1254

  • read messageRawPayload by id #1253

  • function friendRequestSend #1252

  • rewrite contactFindAll() #1251

  • Upgrade Docker Base Image from Ubuntu 17.10 to 18.04 #1239

  • NPM Switch: promise-retry to replace retry-promise #1235

  • Add unit test to puppet accessory #1219

  • Use browser implementation of Node.js' stream library #1201

  • feat: Add for await \(const contact of room\) {} support by ES6 iterators override #1198

  • BREAKING CHANGE: v0.16 on('friend`) arguments changed! #1196

  • TypeScript Strict Mode: set noImplicitAny to true #1180

  • Generic for Return Child Class Type in Abstract Class Implementation #1178

  • BREAKING CHANGE: v0.16 Message.ext() return '.ext' instead of 'ext' before #1168

  • Encapsulated Contact, Messag, FriendRequest, and Room into PuppetWeb #1166

  • BREAKING CHANGE: v0.16 will remove MediaMessage class #1164

  • BREAKING CHANGE: v0.16 will replace Message.content\(\) with Message.text\(\) #1163

  • Continious Deploy to NPM with @next tag when the MINOR version number is odd(in developing branch) #1158

  • BREAKING CHANGE: first arg of room-leave event licener changed from Contact to Contact\[\] #723

  • Should throw Exception when there have API Error. #683

  • delay time for all function(method) that calls Tencent API #596

  • [todo] allow Wechaty to be multi-instance #518

  • [New Puppet] Plan to support WECHATY\_HEAD=WECHAT4U #69

  • Decouple: Make Contact, Room, Message, and FriendRequest class Abstract. #1160 (zixia)

Fixed bugs:

  • When bot quit the room, bot still thought it in the room. #1345

  • When the bot remove one out of the group, room data didn't refresh #1343

  • Room Event cannot work as expect after create a new room #1342

  • cannot refresh room data when execute the code again #1339

  • can't run demo #1337

  • room-leave error #1334

  • room-join event, when run room.say, it actually run contact.say #1330

  • room-leave event cannot get leaver member #1329

  • should refresh room data when there is a room event #1328

  • [room topic event] throw error: no changerId found #1326

  • room-join cannot get member #1324

  • contact.avatar\(\) cannot work as expect #1321

  • run contact-bot throw error #1319

  • Padchat: WXAutoLogin result is faild, but I still receive message #1316

  • Fix the + in data for PuppetPadchat #1302

  • get fromId not right for room invitation sys message #1297

  • Error: The command "echo $TRAVIS_OS_NAME" exited with 1. #1236

  • TravisCI Conditional Deployment #1211

  • Update the peerDependencies of rx-queue: rxjs@6 from rxjs@5 #1205

  • Cannot send image message on v0.15.21 #1175

  • cannot refresh room topic or contact name #1157

  • How to avoid the memory leak #981

  • Puppeteer Navigation Timeout Exceeded: 30000ms exceeded #870

  • SyntaxError: Unexpected end of JSON input #846

  • function Message.mention\(\) should recognize both magic code and blank #813

  • BREAKING CHANGE: first arg of room-leave event licener changed from Contact to Contact\\[\\] #723

  • Should throw Exception when there have API Error. #683

Closed issues:

  • BREAKING CHANGE v0.16 Wechaty.self() eprecated, use Wechaty.userSelf() instead #1369

  • BREAKING CHANGE v0.16 Contact.personal() and Contact.official() deprecated, use Contact.type() instead #1366

  • no encodedText error in padchat-decode.ts #1365

  • BREAKING CHANGE v0.16 Contact, FriendRequest, Message, and Room classes will not be able to instantiate directly #1364

  • BREAKING CHANGE v0.16 room.add return Promise instead of return Promise #1362

  • media-file-bot cannot save xlsx file #1349

  • room-leave-error #1335

  • room-leave event throw error, cannot get leaver contact #1323

  • friendship cannot accept friend request automatically #1322

  • PadchatRpc WXCheckQRCode result: {"message":"WS请求错误","status":-19} #1315

  • m.forward 是 undefined ? #1272

  • Navigation Timeout Exceeded: 30000ms exceeded #1248

  • profile.set can only set 'cookies' instead of other keys #1240

  • Create a websocket ipad demo #1228

  • Proper wechaty and its dependency installation #1225

  • can't run the typescript examples #1221

  • Scan QR Code not shown on terminal, wechaty@0.14.4 #1220

  • 请问怎么添加微信群中的人当做自己的好友呢 有例子可以参考吗 #1207

  • room-bot.ts error #1199

  • TypeScript 2.9 with trailing comma after rest parameters. #1188

  • code example 'media-file-bot' not working #1183

  • QrCode scan event not refresh on v0.15.21 #1175 #1176

  • Version 10 of node.js has been released #1170

  • 自动加好友,加好友成功后,向对方发信息报错 #1165

  • Use injection-js for Wechaty v1.0 provide the resolvers of the Wechaty Puppet #1146

  • findAll ,WARN Room parse() on a empty rawObj #1141

  • Rename all find\(\) method to search\(\) #1132

  • ERR PuppetWebBridge init() exception: Error: connect ECONNREFUSED 127.0.0.1:35493 #1113

  • Feature request: sending file with a stream (creating media message with a stream) #1092

  • node_modules/_wechaty@0.13.36@wechaty/dist/src/config.d.ts(1,24): error TS2307: Cannot find module 'raven'. #1035

Merged pull requests:

v0.14.0 2018-04-15

v0.14.0 (2018-04-15)Full Changelog

v0.12.0 2017-10-30

v0.12.0 (2017-10-30)Full Changelog

v0.9.0 2017-10-04

v0.9.0 (2017-10-04)Full Changelog

v0.8.2 2017-05-03

v0.8.2 (2017-05-03)Full Changelog

v0.7.0 2016-12-29

v0.7.0 (2016-12-29)Full Changelog

v0.6.0 2016-11-11

v0.6.0 (2016-11-11)Full Changelog

v0.5.22 2016-11-10

v0.5.21 (2016-11-10)Full Changelog

v0.5.9 2016-11-07

v0.5.1 (2016-11-07)Full Changelog

v0.5.1 2016-11-03

v0.5.1 (2016-11-03)Full Changelog

v0.4.0 2016-10-08

v0.4.0 (2016-10-08)Full Changelog

v0.2.0 2016-08-25

v0.3.12 (2016-06-28)Full Changelog

v0.1.0 2016-06-09

v0.1.0 (2016-06-09)Full Changelog

See more in CHANGELOG

Last updated