Updating to v.3.0.0

Major version bumps happen when there's something backwards incompatible. They don't necessarily introduce major changes, though this one is a somewhat major change, since every configuration object/json file has to be fixed.

The change from Tennu v.2.x.y to v.3.x.y involves irc-socket also being updated from v.2.3.x to v.3.0.1. With this change, a lot of configuration options were renamed and some changed behavior.

If your bot connects to Twitch.tv, do not update to this version. It will not connect.

Configuration

  • The secure property was removed entirely in favor of passing in a TlsSocket directly, although Tennu provides the equivalent functionality, but under a new property, tls.
  • The nickname property was changed to nicknames and now takes an array of nicknames.
  • The capab property was changed to capabilities and is now an object. By default, Tennu also requires the IRCv3 capabilities multi-prefix*.
  • The ipv6 and localAddress properties were subsumed into sub-properties of connectOptions. Specifically, "ipv6": true, "localAddress": "x", ... becomes "connectOptions": { "family": 6, "localAddress": "x" }, ....

* This is so that we can get Dan Ugore's channel plugin into Tennu ASAP. Once it is in, it'll be modified to understand that it does not need these if the network is "twitch", where there's no power at all.

Deprecated Method Removal

The Client method getModule has been removed. You should have been using getPlugin anyways.