Skip to content

Releases: JiPaix/xdccJS

5.4.11

06 May 19:33
4e3cda3
Compare
Choose a tag to compare

fix

  • npm release is missing build files

5.4.10

06 May 19:27
7c2ed52
Compare
Choose a tag to compare

fix

  • npm release is missing build files

5.4.9

04 May 14:41
Compare
Choose a tag to compare

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

18 Apr 09:45
2030224
Compare
Choose a tag to compare

feat(lib)

  • add add throttle/ipv6 status to Job.show()

fix(lib)

  • download() throttle's option was treated as Bytes instead of KiB

5.1.2

13 Apr 12:18
b94e8da
Compare
Choose a tag to compare

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

10 Apr 23:35
v5.0.0
00cba5d
Compare
Choose a tag to compare

BREAKING CHANGES

  • xdcc.irc is no longer needed and accessible, methods and event are directly embed into xdcc

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

01 Apr 21:02
v4.7.0
8baa65b
Compare
Choose a tag to compare

feat(lib+cli)

  • add option to throttle bandwidth

chores

  • update dev dependencies
  • update readme

4.6.5

12 Mar 16:03
v4.6.5
5494bff
Compare
Choose a tag to compare

refactor(lib)

  • add more 'debug' events

Fix(deps)

  • fix potential security threat: Prototype Pollution in JSON5 via Parse Method

4.6.2

12 Mar 14:49
v4.6.2
a18f8b0
Compare
Choose a tag to compare

Feat(lib)

  • add 'debug' event

Fix(lib+cli)

  • ensure timeout is always in seconds

Chores

  • update dependencies

4.5.69

18 Aug 03:32
Compare
Choose a tag to compare

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