Releases: AverageHelper/Gamgee
Releases · AverageHelper/Gamgee
v3.1.0
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
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
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
andyargs
. - Replaced
Jest
,Mocha
, andChai
withVitest
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
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
andnpm run commands:revoke
work correctly now.
v2.1.1
v2.1.0
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
Fixed
- Startup loop under PM2 when the
NODE_ENV
environment variable is't available.
v2.0.5
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
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
Changed
- More thorough logging, especially around song request messages. This should help us debug some timing issues.