Skip to content
This repository has been archived by the owner on Jan 5, 2019. It is now read-only.

Releases: Rocket1184/qq-bot-rebown

v2.1.8

16 May 10:55
d25224a
Compare
Choose a tag to compare

Fix

  • util: fix existAsync in electron
  • qq: fix self-send message handling

v2.1.7

16 May 10:53
0392874
Compare
Choose a tag to compare

Fix

  • unescape HTML special characters for received message

v2.1.6

09 May 03:38
0851ccb
Compare
Choose a tag to compare

Fix

update ptqrlogin URL, fixes polling

v2.1.5

04 Apr 03:44
7965132
Compare
Choose a tag to compare

Fix

  • only get group info by gcode (#29 ,thanks to @tongjinle )
  • handle poll retcode 100000 as disconnect

v2.1.4

30 Mar 03:36
2465a8b
Compare
Choose a tag to compare

Fix

  • fix crash when 'cookie-expire' since v2.1.3

v2.1.3

30 Mar 03:41
b5c7547
Compare
Choose a tag to compare

Fix

  • do not enter message handling porcess when poll request error
  • emit "cookie-expire" when getSelfInfo error
  • cookie file should be deleted when "cookie-expire"

v2.1.2

30 Mar 03:38
89466a7
Compare
Choose a tag to compare

Fix

  • fix index.d.ts errors reported by tslint
  • fix "short poll" log is always zero

v2.1.1

24 Mar 14:49
3dcd467
Compare
Choose a tag to compare

Fix

  • qq:
    • detect whether msg is sent by self correctly
    • compute pollTime correctly
    • treat poll < 3s as short rather than 1s
    • use new referer when send msg
    • count short poll and msg send retry correctly
  • index.d.ts
    • fix typo and some wrong type
  • message-agent
    • msg_id now generated by code from SmartQQ

v2.1.0

23 Mar 14:55
ae75663
Compare
Choose a tag to compare

Features

  • headless: catch and save screenshot to tmpdir when error
  • qq: new option maxSendRetry and maxShortAllow
    the former controls the max retry count of unsuccessful message send request;
    the latter controls max count of which "short poll" happens continuouslly, generally you needn't care about it.

v2.0.0

20 Jan 08:40
bd0113f
Compare
Choose a tag to compare

Depercated

  1. removed QQ construcotr options
  • options.cronTimeout
  1. removed field/method
  • qq.buddyGroup
  • qq.buddyNameMap
  • qq.groupNameMap
  • qq.discuNameMap
  • qq.cronJobs
  • qq.cronTimeout
  • qq.isAlive : renamed to qq._alive
  • qq.getAllGroupMembers()
  • qq.getAllDiscuMembers()
  • qq.getBuddyGroupInfo()
  • qq.getBuddyQQNum()

Breaking & Featrue

  • all the methods get***Name and getNameIn*** return Promise now
  • all info-fetching methods (qq.getBuddy(), qq.getGroup(), etc.) now returns its result
  • qq.innerSendMsg() would check if msg was sent successfully, and try at most 3 times.
    it would return false and leave a WARNING log when failed.