Releases: JiPaix/xdccJS
Releases · JiPaix/xdccJS
5.4.11
5.4.10
5.4.9
Deprecated
- Support for Node versions below 16.0.0 has been discontinued.
Features (lib)
- Added gecos: Allows the exposure of a custom message to other clients in the "real name" field (WHOIS).
- Added version: Enables the exposure of the xdccJS version (or a custom message) in the "version" field (WHOIS).
-
new XDCC({ // ... host, port, etc... gecos: 'While many clients refer to this field as "real name," it is actually known as the GECOS field.', version: 'mIRC v6.35' });
-
- Added ETA to the 'downloading' event.
-
xdccJS.on('downloading', (fileInfo, received, percentage, eta) => { console.log(`${eta} ms remaining`); });
-
Fixes (lib+cli)
- The throttle parameter was overlooked in certain edge cases.
Fixes (lib)
- The
download()
method's throttle option was incorrectly processed as Bytes instead of KiB.
Chores
- Transitioned back to npm.
- Updated eslint configuration.
5.1.5
5.1.2
BREAKING CHANGES
xdcc.download
's ipv6 parameter must be passed through an object:xdcc.download('bot', 1, { ipv6: true })
feat(lib)
- add per download throttle:
xdcc.download('bot', 1, { throttle: 1000 })
- download's throttle can be applied on top of global throttle
xdccJS.config({ throttle: 5000 })
await xdccJS.download('BOT-A', 1, { throttle: 500 })
await xdccJS.download('BOT-A', 2, { throttle: 1000 })
await xdccJS.download('BOT-B', 1)
// BOT-A packet 1 and 2 is throttled at 1000 (latest value)
// BOT-B throttled at 5000
5.0.0
BREAKING CHANGES
xdcc.irc
is no longer needed and accessible, methods and event are directly embed intoxdcc
fix(lib+cli)
- throttle doesn't affect bandwidth
- change units (KiB, MiB, GiB, etc..)
feat(lib)
- add
xdcc.config()
- change/access parameters during runtime - access irc-framework methods and events
xdcc.irc.join('#lol')
->xdcc.join('#lol')
refactor(lib)
- check user's parameters beforehand
4.7.0
4.6.5
4.6.2
4.5.69
Feat(lib+cli)
- alpha support for ipv6 downloads: parameter is only required for bot using both passive dcc and IPv6
Revert(lib)
- move is() function back as a static class function. Partially revert 7233135
Continuous Integration
- fix post publish hook interrupting each others on error
- add lint to package scripts