Skip to content

Releases: JiPaix/xdccJS

4.5.64

18 Aug 00:12
Compare
Choose a tag to compare

Fix(cli)

  • option bot-name-match not working: change bot-name-match option to no-bot-name-match
  • option no-insecure not working as intendend

4.5.35

30 Jun 12:38
Compare
Choose a tag to compare

Fix(lib+cli)

  • re-fix buffer downloads getting aborted randomly or at 99.99% completion

4.5.33

26 Jun 19:20
Compare
Choose a tag to compare

Fix(lib+cli)

  • fix buffer overflow error for files between 2.1GB and 4.3GB

4.5.31

25 Jun 09:59
Compare
Choose a tag to compare

Fix(lib+cli)

  • fix downloads getting aborted randomly or at 99.99% completion (see issue#503)
  • fixed typo

4.5.28

11 Jun 01:46
Compare
Choose a tag to compare

Feat(lib)

  • add nickServ parameter to authenticate with NickServ (password only, use nickname as login)

Feat(cli)

  • add option --nickserv to authenticate with NickServ (password only, use nickname as login)
  • add option -t, --timeout

Fix(lib)

  • only print bot messages directly addressed to you (message sent to channels are ignored)
  • transfert timeout duration is no longer fixed to 10 seconds, use timeout parameter instead
  • fix/handle write ECONNRESET errors when bot disconnects without sending a "FIN" packet
  • accept alphanumeric tokens (ctcp negociation)

4.5.7

09 Jun 19:58
Compare
Choose a tag to compare

Feat(cli)

  • add message event to jobs

Feat(lib+cli)

  • messages sent by the current job's bot are printed out
  • add queue constructor parameters (CLI: --queue) which expect a regex to detect if the bot has moved you to a queue
xdccJS --host "irc.server.com" --bot "SOME_BOT" --download "1-100" --queue "/download(.*)\d+\sout\sof\s\d+\/gi"
# will match strings like : download "[somestuff] some files.pdf" pending, 10 out of 30
params.queue = /download(.*)\d+\sout\sof\s\d+\/gi

Fix(lib+cli)

  • crashing when running in a non-TTY environment
  • download bar not rendering new lines when a download is interrupted

Fix(lib)

  • cancel message/event wasn't triggered if there was no active downloads

4.5.0

06 Jun 16:56
Compare
Choose a tag to compare

Fix(lib+cli)

  • add option to allow/reject connection on TLS enabled server with self-signed certificates
  • CLI user can use the --no-insecure option to enable this feature.

BREAKING CHANGES (cli)

  • remove parameter --no-secure that allowed downloads if the bot's name did not match the requested
  • add parameter --bot-name-match to block downloads if bot's name does not match the requested

BREAKING CHANGES (lib)

  • renamed parameter secure to botNameMatch to avoid confusion with tls
  • optional parameter tls is no longer a boolean
 params.tls = { 
   enable: false, // required
   rejectUnauthorized: false // optional - default false
 }

4.4.21

05 Jun 02:41
Compare
Choose a tag to compare

Feat(lib)

  • Job.cancel() is now always defined

Fix(lib)

  • Job.cancel() wasn't sending "XDCC CANCEL" message

4.4.20

04 Jun 14:45
Compare
Choose a tag to compare

Fix(lib)

  • expose xdccJS events

4.4.19

08 Apr 23:53
Compare
Choose a tag to compare

Fix(lib)

  • clear connection timeout on download start