mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
14 KiB
14 KiB
Changelog
All notable changes to this project will be documented in this file.
@discordjs/core@2.0.0 - (2024-09-01)
Bug Fixes
- OAuth2API: Enable token exchange without token (#10312) (9b07036)
Documentation
- stageInstances: Correct reference for stage instance creation (#10333) (7f60a8f)
Features
- Use get sticker pack endpoint (#10445) (1b1ae2f)
- VoiceState: Add methods for fetching voice state (#10442) (9907ff9)
- Application emojis (#10399) (5d92525)
- OAuth2API: Add
revokeTokenmethod (#10440) (69adc6f) - Premium buttons (#10353) (4f59b74)
- Add
reasontofollowAnnouncementsmethod (#10275) (b36ec98)
Refactor
- Use get guild role endpoint (#10443) (bba0e72)
- ws: Event layout (#10376) (bf6761a)
- BREAKING CHANGE: All events now emit shard id as its own param
- fix: worker event forwarding
@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_countsto 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
GETcurrent 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
levelrather thanmfa_levelwhen editing MFA (#9584) (3535321) - roleConnections: Fix
bodytype forupdateMetadataRecords()(#9516) (166c961)
Documentation
- Define /core token in example (#9586) (bc2798b)
Features
- WebhooksAPI: Allow
with tokenrequests 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
Responeobject. - BREAKING CHANGE: The
parseResponseutility method has been updated to operate on a web compatibleResponseobject. - BREAKING CHANGE: Many underlying internals have changed, some of which were exported.
- BREAKING CHANGE:
DefaultRestOptionsused to contain a defaultagent, which is now set tonullinstead.
- BREAKING CHANGE: NodeJS v18+ is required when using node due to the use of global
Typings
- Use
Snowflakeinstead ofstringfor 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
dataparameter 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.4.0 - (2023-03-12)
Bug Fixes
- core: Use
auth: falsefor 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
setVoiceStatetoGuildsAPI(#9228) (dff131e)
Typings
- MappedEvents: Add
GuildAuditLogEntryCreate(#9175) (3492b19) - Fix
GuildsAPI#getMembersreturn 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)