chore(voice): release @discordjs/voice@0.18.0 (#10602)

* chore(voice): release @discordjs/voice@0.18.0

* chore: aes-256 note in readme
This commit is contained in:
Vlad Frangu
2024-11-18 00:17:45 +02:00
committed by GitHub
parent 9f8b9b1d66
commit 7397dfe49e
3 changed files with 18 additions and 1 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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",