@discordjs/core@1.0.0
iCrawl
released this
31 Jul 20:13
·
410 commits
to main
since this release
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
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