mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-12 01:23:31 +01:00
feat(guide): Update to 14.10.0 (#9487)
This commit is contained in:
@@ -490,6 +490,8 @@ In addition to this, there is now a new partial: _`Partials.ThreadMember`_.
|
|||||||
|
|
||||||
The thread permissions _`USE_PUBLIC_THREADS`_ and _`USE_PRIVATE_THREADS`_ have been removed as they are deprecated in the API. Use _`CREATE_PUBLIC_THREADS`_ and _`CREATE_PRIVATE_THREADS`_ respectively.
|
The thread permissions _`USE_PUBLIC_THREADS`_ and _`USE_PRIVATE_THREADS`_ have been removed as they are deprecated in the API. Use _`CREATE_PUBLIC_THREADS`_ and _`CREATE_PRIVATE_THREADS`_ respectively.
|
||||||
|
|
||||||
|
_`ManageEmojisAndStickers`_ has been deprecated due to API changes. Its replacement is _`ManageGuildExpressions`_.[^7]
|
||||||
|
|
||||||
### PermissionOverwritesManager
|
### PermissionOverwritesManager
|
||||||
|
|
||||||
Overwrites are now keyed by the _`PascalCase`_ permission key rather than the _`SCREAMING_SNAKE_CASE`_ permission key.
|
Overwrites are now keyed by the _`PascalCase`_ permission key rather than the _`SCREAMING_SNAKE_CASE`_ permission key.
|
||||||
@@ -647,6 +649,10 @@ The second parameter of <DocsLink type="class" parent="Webhook" symbol="fetchMes
|
|||||||
|
|
||||||
NFSW commands are supported.
|
NFSW commands are supported.
|
||||||
|
|
||||||
|
### Attachment
|
||||||
|
|
||||||
|
Added support for voice message metadata fields.
|
||||||
|
|
||||||
### AutocompleteInteraction
|
### AutocompleteInteraction
|
||||||
|
|
||||||
<DocsLink type="class" parent="AutocompleteInteraction" symbol="commandGuildId" /> has been added which is the id of the
|
<DocsLink type="class" parent="AutocompleteInteraction" symbol="commandGuildId" /> has been added which is the id of the
|
||||||
@@ -777,6 +783,8 @@ Added <DocsLink type="class" parent="MessageReaction" symbol="react" brackets />
|
|||||||
|
|
||||||
Added support for role subscriptions.
|
Added support for role subscriptions.
|
||||||
|
|
||||||
|
Added support for _`Role#tags#guildConnections`_.
|
||||||
|
|
||||||
### StageChannel
|
### StageChannel
|
||||||
|
|
||||||
Stage channels now allow messages to be sent in them, much like voice channels.
|
Stage channels now allow messages to be sent in them, much like voice channels.
|
||||||
@@ -797,9 +805,14 @@ Added <DocsLink type="class" parent="Webhook" symbol="applicationId" />.
|
|||||||
|
|
||||||
Added the _`threadName`_ property in <DocsLink type="typedef" parent="WebhookMessageCreateOptions"/> which allows a webhook to create a post in a forum channel.
|
Added the _`threadName`_ property in <DocsLink type="typedef" parent="WebhookMessageCreateOptions"/> which allows a webhook to create a post in a forum channel.
|
||||||
|
|
||||||
|
### WebSocketManager
|
||||||
|
|
||||||
|
discord.js uses <PackageLink name="ws" /> internally.
|
||||||
|
|
||||||
[^1]: https://github.com/discordjs/discord.js/pull/7188
|
[^1]: https://github.com/discordjs/discord.js/pull/7188
|
||||||
[^2]: https://github.com/discordjs/discord.js/pull/6492
|
[^2]: https://github.com/discordjs/discord.js/pull/6492
|
||||||
[^3]: https://github.com/discordjs/discord.js/pull/7669
|
[^3]: https://github.com/discordjs/discord.js/pull/7669
|
||||||
[^4]: https://github.com/discordjs/discord.js/issues/6546
|
[^4]: https://github.com/discordjs/discord.js/issues/6546
|
||||||
[^5]: https://github.com/discordjs/discord.js/pull/8010
|
[^5]: https://github.com/discordjs/discord.js/pull/8010
|
||||||
[^6]: https://github.com/discordjs/discord.js/issues/7091
|
[^6]: https://github.com/discordjs/discord.js/issues/7091
|
||||||
|
[^7]: https://github.com/discord/discord-api-docs/pull/6017
|
||||||
|
|||||||
@@ -24,4 +24,4 @@ export const PACKAGES = [
|
|||||||
/**
|
/**
|
||||||
* The stable version of discord.js.
|
* The stable version of discord.js.
|
||||||
*/
|
*/
|
||||||
export const VERSION = '14.9.0' as const;
|
export const VERSION = '14.10.0' as const;
|
||||||
|
|||||||
Reference in New Issue
Block a user