---
title: "@discordjs/voice 0.19.1 Breaking Changes on npm | Since.dev"
description: "What each @discordjs/voice release removed, renamed or changed: 12 breaking changes in 4 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/@discordjs/voice
last_updated: 2026-12-04
---

# @discordjs/voice breaking changes

@discordjs/voice 0.19.1 (March 9, 2026) is its newest release with breaking changes, 6 of them. The first: Removes the builders and formatters re-export in @discordjs/voice 0.19.1. Every breaking API change we have recorded in @discordjs/voice on npm: 12 breaking changes in 4 versions. Below, its 4 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `0.19.2`, released March 17, 2026. [Source repository](https://github.com/discordjs/discord.js)

Its 0.19.0 release requires Node.js 22.12.0 or later. [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [0.17.0](#v-0-17-0) to [0.19.1](#v-0-19-1): 11 breaking changes in 3 versions.

## @discordjs/voice 0.19.1 breaking changes

@discordjs/voice 0.19.1, released March 9, 2026: 6 breaking changes.

- **Removed**  

The package no longer re-exports builders and formatters, so code importing them through @discordjs/voice must import them from their own packages instead. [github.com](https://github.com/discordjs/discord.js/commit/84b85f4c91e83b40eb2bd74d61304fcfdcabf6d5)
- **Signature changed** `DAVESession.decrypt`  

Was decrypt(packet: Buffer, userId: string): Buffer | null; now decrypt(packet: Buffer, userId: string): Buffer\<ArrayBufferLike> | null. [npmjs.com](https://www.npmjs.com/package/@discordjs/voice/v/0.19.1)
- **Signature changed** `DAVESession.encrypt`  

Was encrypt(packet: Buffer): Buffer; now encrypt(packet: Buffer): Buffer\<ArrayBufferLike>. [npmjs.com](https://www.npmjs.com/package/@discordjs/voice/v/0.19.1)
- **Signature changed** `DAVESession.executeTransition`  

Was executeTransition(transitionId: number): boolean | undefined; now executeTransition(transitionId: number): boolean. [npmjs.com](https://www.npmjs.com/package/@discordjs/voice/v/0.19.1)
- **Signature changed** `Networking.prepareAudioPacket`  

Was prepareAudioPacket(opusPacket: Buffer): Buffer | undefined; now prepareAudioPacket(opusPacket: Buffer): Buffer\<ArrayBufferLike> | undefined. [npmjs.com](https://www.npmjs.com/package/@discordjs/voice/v/0.19.1)
- **Signature changed** `VoiceConnection.prepareAudioPacket`  

Was prepareAudioPacket(buffer: Buffer): Buffer | undefined; now prepareAudioPacket(buffer: Buffer): Buffer\<ArrayBufferLike> | undefined. [npmjs.com](https://www.npmjs.com/package/@discordjs/voice/v/0.19.1)

## @discordjs/voice 0.19.0 breaking changes

@discordjs/voice 0.19.0, released August 17, 2025: 4 breaking changes.

- **Removed**  

The package now needs Node.js 20 or newer. Upgrade the Node.js runtime before updating the package. [github.com](https://github.com/discordjs/discord.js/releases/tag/%40discordjs/voice%400.19.0)
- **Removed**  

The package now needs Node.js 22.12.0 or newer. Upgrade the Node.js runtime before updating the package. [github.com](https://github.com/discordjs/discord.js/releases/tag/%40discordjs/voice%400.19.0)
- **Signature changed** `AudioReceiveStream.constructor`  

Was constructor({end, ...options}: AudioReceiveStreamOptions); now constructor(options: AudioReceiveStreamOptions). [npmjs.com](https://www.npmjs.com/package/@discordjs/voice/v/0.19.0)
- **Signature changed** `VoiceReceiver.onWsPacket`  

Was onWsPacket(packet: any): void; now onWsPacket(packet: VoiceReceivePayload): void. [npmjs.com](https://www.npmjs.com/package/@discordjs/voice/v/0.19.0)

## @discordjs/voice 0.18.0 breaking changes

@discordjs/voice 0.18.0, released November 17, 2024: 1 breaking change.

- **Removed**  

The library no longer supports tweetnacl for voice encryption because Discord deprecated the algorithms it relied on. Migrate to one of the listed libraries, or remove tweetnacl if your system supports aes-256-gcm. [github.com](https://github.com/discordjs/discord.js/releases/tag/%40discordjs/voice%400.18.0)

## @discordjs/voice 0.17.0 breaking changes

@discordjs/voice 0.17.0, released May 4, 2024: 1 breaking change.

- **Behavior changed**  

The package now requires Node.js 16.11.0 or later. Users on older Node.js versions must upgrade before installing this release. [github.com](https://github.com/discordjs/discord.js/releases/tag/%40discordjs/voice%400.17.0)

## Related packages

- [discord.js](https://since.dev/packages/npm/discord.js.md)
- [@discordjs/builders](https://since.dev/packages/npm/@discordjs/builders.md)
- [@discordjs/opus](https://since.dev/packages/npm/@discordjs/opus.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
