Skip to content

chore: bump Discord.Net 3.19.0-beta.1 → 3.20.1 (stable) — pending voice runtime test#49

Open
JacobHaig wants to merge 1 commit into
mainfrom
chore/discord-net-3.20.1
Open

chore: bump Discord.Net 3.19.0-beta.1 → 3.20.1 (stable) — pending voice runtime test#49
JacobHaig wants to merge 1 commit into
mainfrom
chore/discord-net-3.20.1

Conversation

@JacobHaig

Copy link
Copy Markdown
Member

Why

Supersedes Dependabot #42 (which only edited the version line and would have left a now-false csproj comment, and conflicted with the SQLite override on main).

The bot was pinned to 3.19.0-beta.1 for one reason: the voice stream APIs the recorder uses (IAudioClient.GetStreams(), StreamCreated/StreamDestroyed, AudioInStream) were beta-only. They are present in stable as of 3.20.x.

Verified

  • ✅ Compiles + Release build clean (0 warnings) against this app — every voice API the recorder uses still resolves
  • ✅ Builds alongside the SQLite 3.0.3 override now on main
  • ✅ Refreshes the stale csproj comment

⚠️ Still required before merge

A live voice-recording runtime test — this can't be automated here (needs a running bot in a Discord voice channel):

  1. /recording start in a voice channel
  2. speak for a few seconds
  3. /recording stop
  4. confirm a non-empty WAV lands in ./recordings/

Leaving this PR open until that passes. The compile gate (the original blocker) is cleared.

Supersedes Dependabot #42. The bot was pinned to the beta solely because the
voice stream APIs the recorder uses (IAudioClient.GetStreams(),
StreamCreated/StreamDestroyed, AudioInStream) were beta-only; they are present
in stable as of 3.20.x. Verified to compile and build clean against this app.
Also refreshes the now-stale csproj comment.

NOT yet runtime-verified: a live voice-recording smoke test (join channel ->
/recording start -> speak -> stop -> confirm WAV) is still recommended before
relying on this in prod. Left as an open PR pending that test.
@coderabbitai

coderabbitai Bot commented Jun 22, 2026

Copy link
Copy Markdown

Review Change Stack

📝 Walkthrough

Summary by CodeRabbit

  • Chores
    • Updated Discord.Net library to stable version 3.20.1, replacing the previous beta release for improved stability and long-term support.

Walkthrough

Wisbot.csproj upgrades the Discord.Net package reference from 3.19.0-beta.1 to the stable 3.20.1 release. The inline comment explaining the beta pin is replaced with a note stating that the required voice stream APIs are available in stable 3.20.x.

Changes

Discord.Net Stable Version Bump

Layer / File(s) Summary
Discord.Net stable version pin
Wisbot.csproj
PackageReference version changed from 3.19.0-beta.1 to 3.20.1; accompanying comment updated to reflect that voice stream APIs are now present in the stable release.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Poem

🐇 A beta no more, the stable is here,
Discord.Net three-twenty-one draws near!
The voice streams sing, no longer in test,
A comment updated, the project at rest.
Hippity-hop, the bump is complete! 🎉

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately describes the main change: upgrading Discord.Net from a beta version to stable release.
Description check ✅ Passed The description is directly related to the changeset, explaining the rationale for the upgrade, verification steps completed, and remaining requirements.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/discord-net-3.20.1

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@Wisbot.csproj`:
- Around line 17-22: Update the Discord.Net version documentation in CLAUDE.md
(around lines 98-100) to reflect the new stable version requirement. Replace the
reference to Discord.Net 3.19.0-beta.1 with 3.20.1, and update the accompanying
explanation to indicate that IAudioClient.GetStreams() and the required voice
stream APIs are now available in the stable 3.20.x release, removing the
outdated guidance that a beta version is needed for this functionality.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 935c08bf-d1bd-4741-a9aa-8ab41ba4d0ca

📥 Commits

Reviewing files that changed from the base of the PR and between 1d4c2ba and 21a2e74.

📒 Files selected for processing (1)
  • Wisbot.csproj
📜 Review details
⏰ Context from checks skipped due to timeout. (1)
  • GitHub Check: build

Comment thread Wisbot.csproj
Comment on lines +17 to +22
<!-- Discord.Net 3.20.1 (stable). The voice stream APIs the recorder needs
(IAudioClient.GetStreams(), StreamCreated/StreamDestroyed, AudioInStream)
are present in stable as of 3.20.x — verified to compile against this app.
A live voice-recording runtime test is still recommended before relying on
it in prod (the beta pin's original reason is otherwise resolved). -->
<PackageReference Include="Discord.Net" Version="3.20.1" />

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor | ⚡ Quick win

Sync dependency documentation to avoid conflicting guidance.

Lines 17-21 correctly explain the beta pin is no longer needed, but CLAUDE.md (Line 98-100 in the provided snippet) still says Discord.Net 3.19.0-beta.1 is required for IAudioClient.GetStreams(). Please update that doc in this PR so contributor guidance matches the actual 3.20.1 pin.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@Wisbot.csproj` around lines 17 - 22, Update the Discord.Net version
documentation in CLAUDE.md (around lines 98-100) to reflect the new stable
version requirement. Replace the reference to Discord.Net 3.19.0-beta.1 with
3.20.1, and update the accompanying explanation to indicate that
IAudioClient.GetStreams() and the required voice stream APIs are now available
in the stable 3.20.x release, removing the outdated guidance that a beta version
is needed for this functionality.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant