diff --git a/CHANGELOG.md b/CHANGELOG.md index 38635b598..fddbf5eb0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [2.6.67] - 2026-04-10 + +### Fixed + +- **YouTube extractor registration** (`packages/bot/src/handlers/player/playerFactory.ts`): `discord-player-youtubei@3.0.0-beta.4` renamed the extractor class from `YoutubeiExtractor` to `YoutubeExtractor` and removed `streamOptions.useClient` / `generateWithPoToken` from the registration options. The old import resolved to `undefined`, causing every bot startup to silently skip YouTube extractor registration and log "YouTube extractor unavailable." All YouTube-backed tracks then fell through to the SoundCloud extractor, which cannot stream tracks unavailable on SoundCloud (e.g. anime openings, niche indie tracks), producing `NoResultError: Could not extract stream for this track` (Sentry LUCKY-2J). Fix: resolve the export by name with a v2 fallback (`YoutubeExtractor ?? YoutubeiExtractor`), drop the removed options, and guard explicitly when neither export is present. + ## [2.6.66] - 2026-04-09 ### Added diff --git a/package.json b/package.json index 004f3c89c..c80fd4592 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "lucky-bot", - "version": "2.6.66", + "version": "2.6.67", "description": "All-in-one Discord bot platform — music, moderation, auto-mod, custom commands, and web dashboard", "type": "module", "workspaces": [ diff --git a/packages/backend/package.json b/packages/backend/package.json index 1f5bfebc0..3f8f4bd6f 100644 --- a/packages/backend/package.json +++ b/packages/backend/package.json @@ -1,6 +1,6 @@ { "name": "@lucky/backend", - "version": "2.6.66", + "version": "2.6.67", "description": "Express API server for Lucky", "type": "module", "main": "./dist/index.js", diff --git a/packages/bot/package.json b/packages/bot/package.json index 868260358..f2f69c384 100644 --- a/packages/bot/package.json +++ b/packages/bot/package.json @@ -1,6 +1,6 @@ { "name": "@lucky/bot", - "version": "2.6.66", + "version": "2.6.67", "description": "Discord bot application", "type": "module", "main": "./dist/index.js", diff --git a/packages/frontend/package.json b/packages/frontend/package.json index c62a33e25..26c9064a3 100644 --- a/packages/frontend/package.json +++ b/packages/frontend/package.json @@ -1,7 +1,7 @@ { "name": "lucky-webapp", "private": true, - "version": "2.6.66", + "version": "2.6.67", "type": "module", "scripts": { "dev": "vite", diff --git a/packages/shared/package.json b/packages/shared/package.json index 1d5378f0c..214983db5 100644 --- a/packages/shared/package.json +++ b/packages/shared/package.json @@ -1,6 +1,6 @@ { "name": "@lucky/shared", - "version": "2.6.66", + "version": "2.6.67", "description": "Shared code for Lucky modular monolith", "type": "module", "main": "./dist/index.js",