All notable changes to this project will be documented in this file.
@discordjs/core@2.0.0 - (2024-09-01)
- OAuth2API: Enable token exchange without token (#10312) (9b07036)
- stageInstances: Correct reference for stage instance creation (#10333) (7f60a8f)
- Use get sticker pack endpoint (#10445) (1b1ae2f)
- VoiceState: Add methods for fetching voice state (#10442) (9907ff9)
- Application emojis (#10399) (5d92525)
- OAuth2API: Add
revokeToken
method (#10440) (69adc6f) - Premium buttons (#10353) (4f59b74)
- Add
reason
tofollowAnnouncements
method (#10275) (b36ec98)
- Use get guild role endpoint (#10443) (bba0e72)
- ws: Event layout (#10376) (bf6761a)
- BREAKING CHANGE: All events now emit shard id as its own param
@discordjs/core@1.2.0 - (2024-05-04)
- Gateway: Export interface (#10060) (ce84d3e)
- 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)
- 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)
- Minify mainlib docs json (#9963) (4b88306)
@discordjs/core@1.1.1 - (2023-11-17)
- Minify mainlib docs json (#9963) (4b88306)
@discordjs/core@1.1.0 - (2023-11-12)
- stickers: Reveal link in the website (#9870) (332b624)
- ApplicationsAPI: Fix
getCurrent()
options description (#9816) (23a6424)
- 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)
- Stickers are free (no more "premium" packs) (#9791) (e02a59b)
@discordjs/core@1.0.1 - (2023-08-17)
- Update Node.js requirement to 16.11.0 (#9764) (188877c)
@discordjs/core@1.0.0 - (2023-07-31)
- 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)
- Define /core token in example (#9586) (bc2798b)
- 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)
- 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
- Use
Snowflake
instead ofstring
for snowflakes (#9583) (1c4a12c)
@discordjs/core@0.6.0 - (2023-05-01)
- Update example usage (#9461) (6212bff)
- Generate static imports for types with api-extractor (98a76db)
- core: Abstract gateway (#9410) (5d1a4c2)
@discordjs/core@0.5.1 - (2023-04-16)
- interactions: Make
data
parameter optional (#9379) (66dc401) - core: Support attachment editing on interactions (#9356) (676307f)
- core: Missed optional options (#9311) (6912faa)
- ChannelsAPI: Use correct type for
editMessage
(#9399) (0a1701b)
@discordjs/core@0.4.0 - (2023-03-12)
- core: Use
auth: false
for interaction callback methods (#9211) (1b29099) - WebSocketShard: Proper error bubbling (#9119) (9681f34)
- oauth2: Pass through body (#9106) (483cbb3)
- Fix /core README example (#9201) (f65ac2e)
- 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)
- core: Move
setVoiceState
toGuildsAPI
(#9228) (dff131e)
- MappedEvents: Add
GuildAuditLogEntryCreate
(#9175) (3492b19) - Fix
GuildsAPI#getMembers
return type (#9037) (158db47)
@discordjs/core@0.3.0 - (2022-12-16)
- core: Instantiate/export role connections (166f742)