Skip to content

Commit 7397dfe

Browse files
authored
chore(voice): release @discordjs/voice@0.18.0 (#10602)
* chore(voice): release @discordjs/voice@0.18.0 * chore: aes-256 note in readme
1 parent 9f8b9b1 commit 7397dfe

File tree

3 files changed

+18
-1
lines changed

3 files changed

+18
-1
lines changed

packages/voice/CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,21 @@
22

33
All notable changes to this project will be documented in this file.
44

5+
# [@discordjs/voice@0.18.0](https://github.com/discordjs/discord.js/compare/@discordjs/[email protected]...@discordjs/[email protected]) - (2024-11-17)
6+
7+
## Features
8+
9+
- **voice:** Add new encryption methods, remove old methods (#10451) ([9f8b9b1](https://github.com/discordjs/discord.js/commit/9f8b9b1d66edcc84ecf396d807dee7cf39f760c8)) by @nyapat
10+
- **BREAKING CHANGE:** This library no longer supports using `tweetnacl` as an encryption library due to Discord deprecating the algorithms that `tweetnacl` helped us support (read more [here](https://discord.com/developers/docs/change-log#voice-encryption-modes)). Please migrate to one of: `sodium-native`, `sodium`, `@stablelib/xchacha20poly1305`, `@noble/ciphers` or `libsodium-wrappers` unless your system supports `aes-256-gcm` (verify by running `require('node:crypto').getCiphers().includes('aes-256-gcm')`).
11+
12+
## Testing
13+
14+
- Replace jest with vitest (#10472) ([24128a3](https://github.com/discordjs/discord.js/commit/24128a3c459ed0c3eb0932308f03ecc55e3c60f1)) by @nyapat
15+
16+
### New Contributors
17+
18+
* @Yareaj made their first contribution in #10575
19+
520
# [@discordjs/voice@0.17.0](https://github.com/discordjs/discord.js/compare/@discordjs/[email protected]...@discordjs/[email protected]) - (2024-05-04)
621

722
## Bug Fixes

packages/voice/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ try installing another.
5151

5252
**Encryption Libraries (npm install):**
5353

54+
> note: You only need to install one of these libraries if your system does not support `aes-256-gcm` (verify by running `require('node:crypto').getCiphers().includes('aes-256-gcm')`).
55+
5456
- `sodium-native`: ^3.3.0
5557
- `sodium`: ^3.0.2
5658
- `@stablelib/xchacha20poly1305`: ^2.0.0

packages/voice/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"$schema": "https://json.schemastore.org/package.json",
33
"name": "@discordjs/voice",
4-
"version": "0.17.0",
4+
"version": "0.18.0",
55
"description": "Implementation of the Discord Voice API for Node.js",
66
"scripts": {
77
"build": "tsc --noEmit && tsup && node scripts/postbuild.mjs",

0 commit comments

Comments
 (0)