From 7397dfe49e203cc85c66514fc1341e8d7bdecb32 Mon Sep 17 00:00:00 2001 From: Vlad Frangu Date: Mon, 18 Nov 2024 00:17:45 +0200 Subject: [PATCH] chore(voice): release @discordjs/voice@0.18.0 (#10602) * chore(voice): release @discordjs/voice@0.18.0 * chore: aes-256 note in readme --- packages/voice/CHANGELOG.md | 15 +++++++++++++++ packages/voice/README.md | 2 ++ packages/voice/package.json | 2 +- 3 files changed, 18 insertions(+), 1 deletion(-) diff --git a/packages/voice/CHANGELOG.md b/packages/voice/CHANGELOG.md index bcb652e78..104430b8d 100644 --- a/packages/voice/CHANGELOG.md +++ b/packages/voice/CHANGELOG.md @@ -2,6 +2,21 @@ All notable changes to this project will be documented in this file. +# [@discordjs/voice@0.18.0](https://github.com/discordjs/discord.js/compare/@discordjs/voice@0.17.0...@discordjs/voice@0.18.0) - (2024-11-17) + +## Features + +- **voice:** Add new encryption methods, remove old methods (#10451) ([9f8b9b1](https://github.com/discordjs/discord.js/commit/9f8b9b1d66edcc84ecf396d807dee7cf39f760c8)) by @nyapat + - **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')`). + +## Testing + +- Replace jest with vitest (#10472) ([24128a3](https://github.com/discordjs/discord.js/commit/24128a3c459ed0c3eb0932308f03ecc55e3c60f1)) by @nyapat + +### New Contributors + +* @Yareaj made their first contribution in #10575 + # [@discordjs/voice@0.17.0](https://github.com/discordjs/discord.js/compare/@discordjs/voice@0.16.0...@discordjs/voice@0.17.0) - (2024-05-04) ## Bug Fixes diff --git a/packages/voice/README.md b/packages/voice/README.md index b9007b005..852e91815 100644 --- a/packages/voice/README.md +++ b/packages/voice/README.md @@ -51,6 +51,8 @@ try installing another. **Encryption Libraries (npm install):** +> 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')`). + - `sodium-native`: ^3.3.0 - `sodium`: ^3.0.2 - `@stablelib/xchacha20poly1305`: ^2.0.0 diff --git a/packages/voice/package.json b/packages/voice/package.json index 2877e982d..cb3611be5 100644 --- a/packages/voice/package.json +++ b/packages/voice/package.json @@ -1,7 +1,7 @@ { "$schema": "https://json.schemastore.org/package.json", "name": "@discordjs/voice", - "version": "0.17.0", + "version": "0.18.0", "description": "Implementation of the Discord Voice API for Node.js", "scripts": { "build": "tsc --noEmit && tsup && node scripts/postbuild.mjs",