mirror of
https://github.com/discordjs/discord.js.git
synced 2024-08-21 01:14:41 +12:00
20 KiB
20 KiB
Changelog
All notable changes to this project will be documented in this file.
@discordjs/core@1.2.0 - (2024-05-04)
Bug Fixes
- Gateway: Export interface (#10060) (ce84d3e)
Documentation
Features
- Consumable entitlements (#10235) (9978870)
- Polls (#10185) (a1aeaeb)
- GuildsAPI: Bulk ban users (#10202) (bfc3b10)
- Local and preview detection (79fbda3)
- guild: Add
with_counts
to getting guilds (#10143) (8c2abab) - Premium application subscriptions (#9907) (c4fcee3)
Refactor
- Docs (#10126) (18cce83)
- oauth2: Remove unnecessary dependency on 'node:url' (#10141) (906ade9)
- Use interfaces for AsyncEventEmitter event maps (#10044) (adfd9cd)
@discordjs/core@1.1.1 - (2023-11-18)
Bug Fixes
- Minify mainlib docs json (#9963) (4b88306)
@discordjs/core@1.1.1 - (2023-11-17)
Bug Fixes
- Minify mainlib docs json (#9963) (4b88306)
@discordjs/core@1.1.0 - (2023-11-12)
Documentation
- stickers: Reveal link in the website (#9870) (332b624)
- ApplicationsAPI: Fix
getCurrent()
options description (#9816) (23a6424)
Features
- Client: AsyncIterator-returning method for fetching members (#9771) (fffe70a)
- Add guild member (#9877) (c051ed9)
- Onboarding mode and edit method (#9647) (7671a83)
- Support new application properties and patch endpoint (#9709) (1fe7247)
- Implement
GET
current application (#9797) (50106c7)
Refactor
- Stickers are free (no more "premium" packs) (#9791) (e02a59b)
@discordjs/core@1.0.1 - (2023-08-17)
Documentation
- Update Node.js requirement to 16.11.0 (#9764) (188877c)
@discordjs/core@1.0.0 - (2023-07-31)
Bug Fixes
- core: Fix inconsistencies on
core
(#9680) (6d5840c) - client: Add missing application command permissions update event (#9639) (2818d7c)
- api: Various fixes for overlooked stuff (#9588) (6c7a5ed)
- GuildsAPI: Use
level
rather thanmfa_level
when editing MFA (#9584) (3535321) - roleConnections: Fix
body
type forupdateMetadataRecords()
(#9516) (166c961)
Documentation
- Define /core token in example (#9586) (bc2798b)
Features
- WebhooksAPI: Allow
with token
requests without bot auth (#9715) (bc83cab) - Guild onboarding (#9120) (dc73c93)
- ChannelsAPI: Add permission overwrites (#9651) (78381a5)
- api: Add stage instances (#9578) (985def3)
- GuildsAPI: Add
removeMember()
(#9576) (5d6eed6) - api: Add
getMemberBans()
query options andgetMemberBan()
(#9569) (590f5bc) - client: Support more request member fields (#9475) (1edd01a)
Refactor
- rest: Switch api to fetch-like and provide strategies (#9416) (cdaa0a3)
- BREAKING CHANGE: NodeJS v18+ is required when using node due to the use of global
fetch
- BREAKING CHANGE: The raw method of REST now returns a web compatible
Respone
object. - BREAKING CHANGE: The
parseResponse
utility method has been updated to operate on a web compatibleResponse
object. - BREAKING CHANGE: Many underlying internals have changed, some of which were exported.
- BREAKING CHANGE:
DefaultRestOptions
used to contain a defaultagent
, which is now set tonull
instead.
- BREAKING CHANGE: NodeJS v18+ is required when using node due to the use of global
Typings
- Use
Snowflake
instead ofstring
for snowflakes (#9583) (1c4a12c)
@discordjs/core@0.6.0 - (2023-05-01)
Documentation
- Update example usage (#9461) (6212bff)
- Generate static imports for types with api-extractor (98a76db)
Features
- core: Abstract gateway (#9410) (5d1a4c2)
@discordjs/core@0.5.1 - (2023-04-16)
Bug Fixes
- interactions: Make
data
parameter optional (#9379) (66dc401) - core: Support attachment editing on interactions (#9356) (676307f)
- core: Missed optional options (#9311) (6912faa)
Typings
- ChannelsAPI: Use correct type for
editMessage
(#9399) (0a1701b)
@discordjs/core@1.0.0 - (2023-07-31)
Bug Fixes
- core: Fix inconsistencies on
core
(#9680) (6d5840c) - client: Add missing application command permissions update event (#9639) (2818d7c)
- api: Various fixes for overlooked stuff (#9588) (6c7a5ed)
- GuildsAPI: Use
level
rather thanmfa_level
when editing MFA (#9584) (3535321) - roleConnections: Fix
body
type forupdateMetadataRecords()
(#9516) (166c961)
Documentation
- Define /core token in example (#9586) (bc2798b)
Features
- WebhooksAPI: Allow
with token
requests without bot auth (#9715) (bc83cab) - Guild onboarding (#9120) (dc73c93)
- ChannelsAPI: Add permission overwrites (#9651) (78381a5)
- api: Add stage instances (#9578) (985def3)
- GuildsAPI: Add
removeMember()
(#9576) (5d6eed6) - api: Add
getMemberBans()
query options andgetMemberBan()
(#9569) (590f5bc) - client: Support more request member fields (#9475) (1edd01a)
Refactor
- rest: Switch api to fetch-like and provide strategies (#9416) (cdaa0a3)
- BREAKING CHANGE: NodeJS v18+ is required when using node due to the use of global
fetch
- BREAKING CHANGE: The raw method of REST now returns a web compatible
Respone
object. - BREAKING CHANGE: The
parseResponse
utility method has been updated to operate on a web compatibleResponse
object. - BREAKING CHANGE: Many underlying internals have changed, some of which were exported.
- BREAKING CHANGE:
DefaultRestOptions
used to contain a defaultagent
, which is now set tonull
instead.
- BREAKING CHANGE: NodeJS v18+ is required when using node due to the use of global
Typings
- Use
Snowflake
instead ofstring
for snowflakes (#9583) (1c4a12c)
@discordjs/core@0.6.0 - (2023-05-01)
Documentation
- Update example usage (#9461) (6212bff)
- Generate static imports for types with api-extractor (98a76db)
Features
- core: Abstract gateway (#9410) (5d1a4c2)
@discordjs/core@0.5.1 - (2023-04-16)
Bug Fixes
- interactions: Make
data
parameter optional (#9379) (66dc401) - core: Support attachment editing on interactions (#9356) (676307f)
- core: Missed optional options (#9311) (6912faa)
Typings
- ChannelsAPI: Use correct type for
editMessage
(#9399) (0a1701b)
@discordjs/core@0.6.0 - (2023-05-01)
Documentation
- Update example usage (#9461) (6212bff)
- Generate static imports for types with api-extractor (98a76db)
Features
- core: Abstract gateway (#9410) (5d1a4c2)
@discordjs/core@0.5.1 - (2023-04-16)
Bug Fixes
- interactions: Make
data
parameter optional (#9379) (66dc401) - core: Support attachment editing on interactions (#9356) (676307f)
- core: Missed optional options (#9311) (6912faa)
Typings
- ChannelsAPI: Use correct type for
editMessage
(#9399) (0a1701b)
@discordjs/core@0.5.1 - (2023-04-16)
Bug Fixes
- interactions: Make
data
parameter optional (#9379) (66dc401) - core: Support attachment editing on interactions (#9356) (676307f)
- core: Missed optional options (#9311) (6912faa)
Typings
- ChannelsAPI: Use correct type for
editMessage
(#9399) (0a1701b)
@discordjs/core@0.5.1 - (2023-04-16)
Bug Fixes
- interactions: Make
data
parameter optional (#9379) (66dc401) - core: Support attachment editing on interactions (#9356) (676307f)
- core: Missed optional options (#9311) (6912faa)
Typings
- ChannelsAPI: Use correct type for
editMessage
(#9399) (0a1701b)
@discordjs/core@0.5.0 - (2023-04-01)
Bug Fixes
Features
- core: Http-only wrapper (#9281) (11e682c)
- core: Add
AbortSignal
support. (#9042) (907eb1b) - website: Render syntax and mdx on the server (#9086) (ee5169e)
@discordjs/core@0.4.0 - (2023-03-12)
Bug Fixes
- core: Use
auth: false
for interaction callback methods (#9211) (1b29099) - WebSocketShard: Proper error bubbling (#9119) (9681f34)
- oauth2: Pass through body (#9106) (483cbb3)
Documentation
- Fix /core README example (#9201) (f65ac2e)
Features
- core: Adds
getWebhooks()
function for the channel API and for the guild API (#9043) (c6f9c50) - website: Add support for source file links (#9048) (f6506e9)
- core: Implement some ws send events (#8941) (816aed4)
- core: Add oauth2 api support (#8938) (36560c9)
Refactor
- core: Move
setVoiceState
toGuildsAPI
(#9228) (dff131e)
Typings
- MappedEvents: Add
GuildAuditLogEntryCreate
(#9175) (3492b19) - Fix
GuildsAPI#getMembers
return type (#9037) (158db47)
@discordjs/core@0.3.0 - (2022-12-16)
Bug Fixes
- core: Instantiate/export role connections (166f742)
@discordjs/core@0.2.0 - (2022-12-16)
Bug Fixes
- thread:
get()
route (#8897) (3dede75) - Remove casts when using
makeURLSearchParams()
(#8877) (7430c8e)