Skip to content

Releases: reactiflux/discord-irc

2.9.0

03 Oct 19:49
Compare
Choose a tag to compare

This release comes with a (relatively large) change to use discord.js v12!
There were a lot of breaking changes in the upstream library, including removal of support for Node <12, which prompted a 2.9.0-alpha release before this main version.
Everything seemed to go fine, which is why you're now receiving this latest update!

Added

  • IRC nick colors are now customizable in the config (thanks to KWeaver87)

Changed

  • Upgrade discord.js to 12.3.1 (the pre-release came with 12.2.0) - this changes a lot of how the bot works behind the scenes, and prepares us for upcoming Discord API changes - #555, #564
  • Add support for Node 14 (#549); drop support for Node 6, 8 and 10 (#550)

Fixed

  • A bunch of vulnerabilities listed in npm audit are now gone - #544, #548, #551, #552, #553, #562
  • Log messages now typically take up one line again (fixing a relatively long-standing bug, at this point – oops!) - #554
  • Mentioning the same user more than once in a single message is now fixed (thanks to Qyriad)
  • Our Discord client now uses a retry limit of 3 (rather than 1) on internal server errors (hopefully fixing #461) - #565

v2.9.0-alpha

09 Aug 05:16
f047ce0
Compare
Choose a tag to compare
v2.9.0-alpha Pre-release
Pre-release

Pre-release of a (relatively large) upcoming change to use discord.js v12! There were a lot of breaking changes in the upstream library, including removal of support for Node <12, which is what prompts me to make this into a pre-release rather than storming ahead to release it directly. If nobody reports bugs on this soon, and I don't spot any, I'll promote this into a full release!

Please do test this out, if you're happy to risk breakages and report these bugs to me!

Changed

  • Upgraded discord.js to 12.2.0, which changes a lot of how the bot works behind the scenes, and starts preparing us for upcoming Discord API changes - #555
  • Added support for Node 14 (#549); dropped support for Node 6, 8 and 10 (#550).

Fixed

  • A bunch of vulnerabilities listed in npm audit are now gone - #544, #548, #551, #552, #553
  • Log messages now typically take up one line again (fixing a relatively long-standing bug, at this point – oops!) - #554

2.8.1

17 Mar 01:14
Compare
Choose a tag to compare

Fixed

  • Large avatars failed to display when bridging through webhooks - (thanks to Miosame, follow up in #530)
  • Update acorn to 7.1.1 - #534
  • Remove code coverage instrumentation from dist/ files - #536

2.8.0

14 Dec 20:46
Compare
Choose a tag to compare

Added

  • format.webhookAvatarURL, to customize the unrecognized user webhook avatar (thanks to Geo1088)
  • parallelPingFix, disabled by default, to prevent users of both Discord and IRC getting pings whenever their messages are mirrored to IRC (thanks to qaisjp originally, follow up in #502 and #520)
  • ignoreUsers.discordIds, to ignore specific Discord users through the bridge by ID instead of name (thanks to nsavch)
  • A basic Docker image, found at discordirc/discord-irc! This may not be often updated with the release tags we publish on GitHub, but it should contain a latest tag in addition to whichever Git hash is available on master (thanks to gdude2002, follow up in #498)

Changed

  • Add support for Node 13, drop testing for Node 6 - #521

Fixed

  • Upgrade various dependencies: babel, commander, coveralls, discord.js, eslint, mocha, simple-markdown, sinon, sinon-chai - #488, #503, #522, #523, #524, #525

2.7.2

08 Aug 14:21
Compare
Choose a tag to compare

Fixed

  • Defer to discord permissions for allowing @everyone and @here in webhook messages - #497
  • Support Node 10 and 12 - #499
  • Upgrade dependencies
  • Tests: Fix lint config deprecation - #500
  • Tests: Ensure all tests are run in dev environment - #501

2.7.1

08 Aug 14:21
Compare
Choose a tag to compare

Changed

  • Upgraded dependencies.

2.7.0

03 Apr 05:21
Compare
Choose a tag to compare

Changed

  • Convert channel mentions to codified mentions (thanks to Throne3d).
  • Match IRC style mentions at the beginning of message (thanks to rdb).
  • Upgraded dependencies.

2.6.2

08 Oct 22:36
Compare
Choose a tag to compare

Changed

  • Upgraded dependencies.

2.6.1

12 May 14:47
Compare
Choose a tag to compare

Changed

  • Upgraded dependencies.

2.6.0

22 Mar 14:57
Compare
Choose a tag to compare

Added

  • Support for posting messages to Discord using webhooks (thanks to
    Fiaxhs!).

Webhooks lets you override nicknames and avatars, so messages coming from IRC
can appear as regular Discord messages:

discord-webhook

To enable webhooks, follow part 1 of this
guide

to create and retrieve a webhook URL for a specific channel, then enable it in
discord-irc's config as follows:

  "webhooks": {
    "#discord-channel": "https://discordapp.com/api/webhooks/id/token"
  }