Releases: JiPaix/xdccJS
Releases · JiPaix/xdccJS
4.5.64
4.5.35
4.5.33
4.5.31
4.5.28
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
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
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
tobotNameMatch
to avoid confusion withtls
- optional parameter
tls
is no longer a boolean
params.tls = {
enable: false, // required
rejectUnauthorized: false // optional - default false
}