Skip to content

Releases: AverageHelper/Gamgee

v3.1.0

23 Aug 19:12
508920b
Compare
Choose a tag to compare

Added

  • Use YouTube's first-party API when an API key is provided.
  • The /test command now reports when an alternative source is used for querying platforms. This is especially useful to determine whether Gamgee needed to fall back on an Invidius instance when YTDL failed, or when an API key was not configured.

Changed

  • More reliable parsing of track duration data from Bandcamp, using a polyfill for the new Temporal API instead of RegEx.

v3.0.0

21 Aug 19:37
9bfc61d
Compare
Choose a tag to compare

Fixed

  • Version bump because of a breaking change in v2.2.1. (Sorry!!) We now require Node 20. Docker users should be unaffected, since the Dockerfile *should* be using the latest Node anyway.

v2.2.1

21 Aug 19:05
85092ba
Compare
Choose a tag to compare

Changed

  • BREAKING: We now require Node 20. Make sure you upgrade your system Node version if you don't use Docker.
  • Network and args parsing are now handled using native structures instead of cross-fetch and yargs.
  • Replaced Jest, Mocha, and Chai with Vitest for unit testing.
  • Started using ESM instead of CJS modules.
  • Use trailing commas to made code diffs cleaner.
  • /limits now mentions the /cooldown command properly.
  • Updated dependencies, and made our Rollup bundle tighter.

Fixed

  • We now halt dangling network requests when one video platform answers back. This might speed up handling request floods, since ostensibly this means Node will let go of unneeded network resources more quickly for each request.
  • Handle YouTube failures by trying an Invidius proxy instead. For now, the only instance we'll try is https://iv.ggtyler.dev, as it seemed the most reliable at the time.

v2.2.0

18 Feb 22:17
ca65c79
Compare
Choose a tag to compare

Added

  • Translations for /howto command responses. (Thanks to @karcsesz, @vayandas, and marph92 for help translating!)
  • Internal logging to indicate the start of a user's submission cooldown timer.
  • .mailmap file.

Changed

  • When the bot references a command in chat, we now use an interactive link to the new slash-command variant. Users can click or tap this command to fill in their message bar.
  • Some internals to prepare for modern module syntax.

Fixed

  • Test falures on Node 18+.
  • npm run commands:deploy and npm run commands:revoke work correctly now.

v2.1.1

04 Apr 04:12
847cd93
Compare
Choose a tag to compare

Changed

  • Trying out ESBuild instead of terser. Should hopefully make for a less memory-intensive build process for small servers.

Fixed

  • Failure to decode button interactions. New discord.js version properly utilizes the new subdependency version. (They really should consider pinning their deps.)

v2.1.0

03 Apr 00:15
cb710cb
Compare
Choose a tag to compare

Added

  • Complete translations for common commands.

Changed

  • /sr now presents song request embeds more quickly.
  • /quo open now logs the timestamp at which the queue was opened.

v2.0.6

15 Feb 02:05
b73fdfe
Compare
Choose a tag to compare

Fixed

  • Startup loop under PM2 when the NODE_ENV environment variable is't available.

v2.0.5

15 Feb 01:44
30f03bc
Compare
Choose a tag to compare

Added

  • We now verify on startup that all commands were deployed.

Changed

  • Round the output of /cooldown upward to the next second, rather than strictly to the nearest second. The actual cooldown time is unchanged. This new rounding only means that folks who time their next subission to the second based on /cooldown will be less likely to be 0-1 seconds early.

Fixed

  • Crashes related to blacklist management

v2.0.4

08 Feb 17:44
3b3169d
Compare
Choose a tag to compare

Changed

  • Clarified the header to the results from /test.
  • Reduced processing time for message commands by reducing the cases in which we fetch message data from Discord.
  • Time-out HTTP requests after 50 seconds.
  • More resilience to slow responses from media providers.
  • Reduced the number of round-trip database calls when opening the queue.

v2.0.3

29 Oct 21:39
1520fcd
Compare
Choose a tag to compare

Changed

  • More thorough logging, especially around song request messages. This should help us debug some timing issues.