Almeida
50018979ed
feat: add email and phoneNumber formatters ( #11050 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-08-26 21:26:05 +00:00
Souji
55ab46dbc3
fix(GuildChannel): account for everyone base permissions ( #11053 )
...
When calculating permissions after overwrites, the base permission of the at-everyone role need to be accounted for.
Role#permissions is not sufficient, as it only describes base permissions of the role itself.
fixes #11052
2025-08-22 11:03:33 +00:00
Vlad Frangu
4b6060dcd8
feat: bump discord.js in create-discord-bot/app ( #11048 )
...
* feat: bump discord.js in create-discord-bot/app
* chore: forgot core
2025-08-21 06:58:35 +00:00
J4C0B3Y
b1d96e251f
refactor(ActionsManager): register actions without using class name ( #11047 )
2025-08-19 08:51:52 +00:00
ckohen
7710decf6a
ci(release): use full commit hash ( #11046 )
2025-08-18 07:57:24 +00:00
ckohen
29173f12f3
chore(voice): release @discordjs/voice@0.19.0 ( #11045 )
@discordjs/voice@0.19.0
2025-08-17 22:33:16 +00:00
Almeida
e68829770f
build: fix package name argument parsing ( #11044 )
2025-08-17 22:12:19 +00:00
Jiralite
059d274aff
chore: Fix typos ( #11043 )
...
chore: fix typos
2025-08-17 19:45:38 +00:00
Jiralite
fdc305dd6a
ci: Use actions/checkout@v5 ( #11040 )
...
ci: actions/checkout@v5
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-08-16 21:09:51 +00:00
Jiralite
1014af382b
chore: Add more partials to issue form ( #11018 )
...
chore: add more partials
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-08-16 21:08:21 +00:00
ckohen
ac290aea95
ci(release): use app user ( #11038 )
...
* ci(release): set git user
* ci(release): refactor to use app
* ci(release): use only app token
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-08-16 21:05:36 +00:00
Jiralite
9be62b35c9
chore: Update deno.unstable to an array ( #11032 )
...
chore: update `deno.unstable`
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-08-12 07:10:46 +00:00
Jiralite
bdcb3e1df7
build: Upgrade pnpm-lock.yaml ( #11036 )
...
* build: upgrade pnpm-lock.yaml
* style: format
2025-08-09 21:45:57 +00:00
Jiralite
698b92c2ad
fix(guild)!: Remove API related to guild ownership ( #11029 )
...
* fix(guild): deprecate guild owner API
* style: prettier
2025-08-06 21:36:09 +03:00
Jiralite
a2ee3932b6
fix(guild): Creating a template actually creates a template ( #11030 )
...
feat(guild): add creating a template
2025-08-04 18:46:26 +00:00
Jiralite
8f5ac55d82
fix!: Remove API related to guild ownership ( #11021 )
...
BREAKING CHANGE: API related to guild ownership has been removed, such as setting the MFA level, deleting a guild, creating a guild, and creating a guild from a guild template.
2025-07-31 19:24:17 +01:00
Almeida
c3dc58169b
fix: attachment sending ( #11015 )
...
* fix: attachment sending
* test: add tests
---------
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
2025-07-30 10:53:44 +00:00
ckohen
593369dbb8
ci(release): fix dev releases ( #11016 )
2025-07-28 01:59:22 +02:00
Jiralite
c0c1ac2879
ci(release): Miscellaneous fixes ( #11014 )
...
* ci: some fixes
* ci: typo in property
* fix: yaml-schema errors
* ci: oven-sh/setup-bun@v2
* ci: typo in dev release
---------
Co-authored-by: ckohen <chaikohen@gmail.com >
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-07-27 10:53:48 +00:00
Almeida
08a61ca8e3
refactor(WebSocketManager)!: remove deprecated rest option ( #10998 )
...
BREAKING CHANGE: The `rest` option in the `WebSocketManager` constructor has been removed. Pass a `fetchGatewayInformation` function instead.
2025-07-27 11:49:29 +01:00
Jiralite
2e9bfba5f4
fix!: Remove guild creation ( #11012 )
...
BREAKING CHANGE: Guild creation is no longer possible.
2025-07-26 12:25:36 +01:00
ckohen
6cdfa3864b
ci: better release workflow ( #10325 )
...
* ci: better release workflow
* ci: simplify + use changelog
* ci(release): better parsing and exclusions
* ci(release): remove tree log
* ci(release): improve logs
* ci(release): properly check inputs
* ci(release): better promise handling
Co-authored-by: Aura <kyradiscord@gmail.com >
* ci: refactor release to use bun
* ci(release): whitespace
Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com >
* ci(release): add dev release handling
* ci(release): fixes from testing
* ci(release): make the promise run
* ci(release): when specifying package, skip exclusions
* ci(dev): create-discord-bot dev release
* ci(release): improve changelog detection
* ci: fix typo and allow releasing branches
* ci(release): set make_latest for gh releases
* ci(release): add ssh_key so pushed tags run workflow
---------
Co-authored-by: Aura <kyradiscord@gmail.com >
Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com >
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-07-25 11:56:02 +02:00
Jiralite
f2fec9177f
feat: Enforce limit of URLs for link buttons ( #11011 )
...
feat: enforce limit of URLs for link buttons
2025-07-23 14:20:56 +00:00
Jiralite
90b3692941
docs: Add structures to main README.md ( #11008 )
...
docs: Add structures to main
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-07-22 10:53:44 +00:00
Jiralite
3a060f7494
docs: Replace Discord API with Discord Developers ( #10968 )
...
docs: replace with Discord Developers
2025-07-22 10:33:42 +00:00
Jiralite
a7f711b30f
fix: Remove trailing color references ( #11007 )
...
fix: role colour fixes
2025-07-20 12:26:24 +00:00
Jiralite
43a995bef0
refactor!: Invite classes ( #10888 )
...
BREAKING CHANGE: Invites are now split up into classes based on their type.
2025-07-17 13:34:25 +01:00
Jiralite
aee6d311c0
fix(Container): Use the same discord-api-types version ( #10999 )
...
fix(Container): use v10
2025-07-17 07:38:16 +00:00
Jiralite
1dfc511e4f
fix(contextMenu): Remove regular expression validation ( #10994 )
...
* fix: remove regex validation
* test: remove incorrect test
This is fine to create.
* fix: guard against whitespace
2025-07-16 15:47:29 +00:00
Danial Raza
9ff04820b3
feat: support user guilds ( #10962 )
...
* feat: support user guilds
* chore: add cdn test
* chore: suggested changes
* refactor: move to user primary guild to its own class
* docs: update description of `badgeHash` parameter
* chore: export UserPrimaryGuild
* refactor: revert to no `UserPrimaryGuild`
* fix: use key in data
* fix: both `in` and is truthy check
* docs: remove `-`
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
---------
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
2025-07-16 07:26:00 +00:00
Jiralite
d03cacbde4
feat(MessageManager)!: New pinned messages routes ( #10989 )
...
BREAKING CHANGE: `fetchPinned()` has been renamed to `fetchPins()`, which is a paginated endpoint to fetch pinned messages.
2025-07-15 16:13:24 +01:00
Danial Raza
5a611be8de
feat(User): add collectibles ( #10939 )
...
* feat(User): add `collectibles`
* docs: nullable collectibles and nameplate data
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
---------
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
2025-07-14 23:35:00 +00:00
Jiralite
1105ec9abc
feat(channel)!: New pinned messages routes ( #10988 )
...
* feat(channel): new pinned messages routes
* fix: `query` is optional
Co-authored-by: Almeida <github@almeidx.dev >
---------
Co-authored-by: Almeida <github@almeidx.dev >
2025-07-14 22:11:04 +01:00
Jiralite
7e3d4e536c
refactor(ThreadChannel): Remove trimming of name ( #10984 )
...
refactor(ThreadChannel): no need to trim name
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-07-13 20:00:12 +00:00
Jiralite
8a36c42942
fix(DirectoryChannel): Export class ( #10985 )
...
fix: export directory channels
2025-07-13 19:57:40 +00:00
Almeida
de2b2dd330
chore: bump dependencies ( #10967 )
2025-07-13 19:39:47 +00:00
Snazzah
8bdea6232b
feat: implement DAVE end-to-end encryption ( #10921 )
...
* feat(voice): implement DAVE E2EE encryption
* chore(voice): update dependencies
* chore(voice): update debug logs and dependency report
* feat(voice): emit and propogate DAVESession errors
* chore(voice): export dave session things
* chore(voice): move expiry numbers to consts
* feat(voice): keep track of and pass connected client IDs
* fix(voice): dont set initial transitions as pending
* feat(voice): dave encryption
* chore(voice): directly reference package name in import
* feat(voice): dave decryption
* chore(deps): update @snazzah/davey
* fix(voice): handle decryption failure tolerance
* fix(voice): move and update decryption failure logic to DAVESession
* feat(voice): propogate voice privacy code
* fix(voice): actually send a transition ready when ready
* feat(voice): propogate transitions and verification code function
* feat(voice): add dave options
* chore: resolve format change requests
* chore: emit debug messages on bad transitions
* chore: downgrade commit/welcome errors as debug messages
* chore: resolve formatting change requests
* chore: update davey dependency
* chore: add types for underlying dave session
* fix: fix rebase
* chore: change "ID" to "id" in typedocs
---------
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
2025-07-13 17:02:56 +00:00
Qjuh
3cff4d7412
feat: @discordjs/structures ( #10900 )
...
* chore: init /structures
* feat: base structure
* feat: initial structures design attempt
* refactor(Structure): use unknown to store in kData
* feat(Structure): add Invite
refactor(Structure): patch to _patch
* refactor: symbol names and override location
* fix: don't possibly return 0 if discord borks
Co-authored-by: Synbulat Biishev <signin@syjalo.dev >
* refactor: use getter value instead of api
Co-authored-by: Synbulat Biishev <signin@syjalo.dev >
* refactor: cache createdTimestamp value
Co-authored-by: Qjuh <76154676+Qjuh@users.noreply.github.com >
* docs: better docs for what's done so far
* feat: add Mixin
* refactor(User): remove bitfield getters and add displayName
* feat(structures): add Connection
* feat(structures): add Channel base
* refactor(Mixin): trace prototype chain, allow construction
* fix(structures): fix mixin behavior
* fix(structures): data optimization call behavior from perf testing
* feat: channel mixins
* chore: update deps
* feat: channels and mixins
* chore: more typeguard tests
* fix: tests and some other issues
* feat: add ChannelWebhookMixin
* fix: more tests
* chore: tests and docs
* chore: docs
* fix: remove unneccessary omitted
* chore: apply code suggestions
* refactor: change how extended invite works
* fix: type imports
* Apply suggestions from code review
Co-authored-by: Almeida <github@almeidx.dev >
* fix: tests
* chore: add jsdoc
* refactor: apply code suggestions
* fix: don't instantiate sub-structures
* fix: don't do null default twice
* chore: use formatters, add _cache
* chore: lockfile
* chore: move MixinTypes to declaratiion file
* fix: tests
* fix: don't include source d.ts files for docs
* feat: bitfields
* feat: more bitfields
* refactor: remove DirectoryChannel structure
* chore: apply suggestions from code review
* chore: remove unused import
* refactor: use symbol for mixin toJSON, remove _ prefix
* chore: apply suggestions from code review
* refactor: remove bitfield casts
* refactor: remove special case for threadchannel types
* fix: apply code review suggestions
* refactor: bitfields always store bigint
* fix: tests
* chore: apply suggestions from code review
* fix: lint
* refactor: conditional structuredClone
* Apply suggestions from code review
Co-authored-by: ckohen <chaikohen@gmail.com >
* fix: code review errors
* fix: lint
* chore: bump dtypes
* Update packages/structures/cliff.toml
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
* docs: link to VideoQualityMode
* chore: typo in comment
* chore: small nits in docs links
* chore: small nits
* docs: forgot one
* chore: update template
* chore: typos and things
* chore: apply suggestions from code review
* fix: tests and typeguards
* chore: don't clone appliedTags
* refactor: use a symbol for patch method
* fix: add missing readonly
* chore: remove todo comment
* refactor: use symbol for clone
* fix: add constraint to DataType
* chore: apply suggestions
* fix: dtypes bump
* chore: fix comment
* chore: add todo comment
* chore: mark bitfield as todo
chore: mark bit field as todo and edit readme
---------
Co-authored-by: ckohen <chaikohen@gmail.com >
Co-authored-by: Synbulat Biishev <signin@syjalo.dev >
Co-authored-by: Almeida <github@almeidx.dev >
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-07-12 18:24:30 +00:00
Souji
591668099e
feat(guide): port remaining prs/issues from legacy ( #10974 )
...
* chore: remove await wait placeholder
prefer using an explanatory placeholder rather than this artificial
example
original issue: https://github.com/discordjs/guide/issues/1360
* chore: remove implicit grant guide and add disclaimer
issue: https://github.com/discordjs/guide/issues/1370/
pr: https://github.com/discordjs/guide/pull/1543/
* chore(sharding): improve broadcast sample and use of context argument
original PR: https://github.com/discordjs/guide/pull/1624
* feat: add page about setup with proxy
original PR: https://github.com/discordjs/guide/pull/1623
* chore: clarify hiding of commands
original PR: https://github.com/discordjs/guide/pull/1617
* feat(voice): seeking
original PR: https://github.com/discordjs/guide/pull/1483
* chore(oauth2): typo
* chore: align with rest of the guide
remove abstraction layers in ws proxy handling in favour of directly setting globals
* chore: branding over grammar
* Apply suggestions from code review
Co-authored-by: Qjuh <76154676+Qjuh@users.noreply.github.com >
* chore: remove now obsolete example explanation from comments
---------
Co-authored-by: Qjuh <76154676+Qjuh@users.noreply.github.com >
2025-07-12 00:13:54 +00:00
Jiralite
1f0fe39156
refactor(CDN)!: Use an object for the constructor ( #10978 )
...
BREAKING CHANGE: The CDN class requires an object to construct.
2025-07-11 15:44:25 +01:00
Jiralite
35cc57ab92
fix: Adjust reason in methods options ( #10976 )
...
* fix(channel): allow reason in editing
* fix(channel): allow reason in `delete()`
* fix(channel): allow reason in creating threads
* chore: run format
* fix(guild): remove incorrect `reason` option
---------
Co-authored-by: Danial Raza <danialrazafb@gmail.com >
2025-07-10 23:16:07 +00:00
Danial Raza
7242352884
feat!: role gradient colors ( #10961 )
...
* feat: role gradient colors
* refactor: `options.colors && { ... }`
* refactor(Role)!: remove `color`
* feat: `RoleColorsResolvable`
* feat(Constants): add `HolographicStyle`
2025-07-10 23:46:25 +02:00
Souji
bc6005f446
feat(guide): port legacy guide ( #10938 )
...
* feat: initial attempt at porting legacy guide
* feat: completion of legacy guide backport
* chore: lockfile shenanigans
* fix: handle svgs
* fix: replace svg with mermaid integration
* chore: format
* chore: remove unnecssary bullet
* chore: cleanup code highlights
* chore: explicit return
* chore: move display components after interactive components in sidebar
* chore: voice
* top link should be installation
* add docs link to sidebar
* feat: subguide-based accent styles
* chore: don't list faq twice
* chore: mention display components in interactive components
* fix: remove unoccs/order rule from guide
* chore: redirect to legacy guide instead of /guide root
* refactor: use `<kbd>`
* refactor: more kbd use
* Update apps/guide/content/docs/legacy/app-creation/handling-events.mdx
Co-authored-by: Naiyar <137700126+imnaiyar@users.noreply.github.com >
* chore: fix typos
Co-authored-by: Qjuh <76154676+Qjuh@users.noreply.github.com >
* chore: fix typos
* chore: fix links regarding secret stores across coding platforms
* chore: fix typo
* chore: link node method directly
Co-authored-by: Qjuh <76154676+Qjuh@users.noreply.github.com >
* chore: typos
Co-authored-by: Vlad Frangu <me@vladfrangu.dev >
* chore: typo
Co-authored-by: Vlad Frangu <me@vladfrangu.dev >
* fix: prevent v14 changes from being listed twice
* chore: prefer relative links
* chore: missed link conversion
* chore: missed link conversion
* chore: fix link
* chore: remove legacy code highlight markers
* chore: rephrase and extend contributing guidelines
* feat(setup): suggest cli flag over dotenv package
* chore: move introduction in sidebar
better navigation experience if the 'next page' in intro refers to getting started vs. updating/faq
* fix: replace outdated link
* fix: update voice dependencies
* chore: update node install instructions
* fix: list in missing access callout
* chore: match bun env file format
* chore: restore ffmpeg disclaimer
* fix: lockfile conflict
* chore: action row typo
Co-authored-by: Vlad Frangu <me@vladfrangu.dev >
* chore: no longer use at-next for pino
---------
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
Co-authored-by: Qjuh <76154676+Qjuh@users.noreply.github.com >
Co-authored-by: Naiyar <137700126+imnaiyar@users.noreply.github.com >
Co-authored-by: Vlad Frangu <me@vladfrangu.dev >
2025-07-08 13:01:50 +00:00
Superchupu
ee3ca6f7c6
refactor(create-discord-bot): replace deps with built-in apis ( #10971 )
2025-07-08 07:14:19 +00:00
Danial Raza
024ae5c566
build: bump discord-api-types to 0.38.15 ( #10966 )
2025-07-05 16:33:10 +00:00
Qjuh
42fbca83c8
types: reverse interface inheritance to omit Omit ( #10923 )
2025-07-04 15:24:01 +00:00
René
e6d59eaf9a
types(ReadonlyCollection): derivation logic ( #10964 )
...
types(collection): ReadonlyCollection derivation logic
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-07-03 08:06:35 +00:00
Almeida
a5bd4cfe73
feat!: use zod v4 ( #10922 )
...
* feat: zod 4
* feat: zod v3, but v4
feat: validation error class
Co-authored-by: Qjuh <76154676+Qjuh@users.noreply.github.com >
* chore: bump
---------
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
Co-authored-by: Qjuh <76154676+Qjuh@users.noreply.github.com >
2025-07-03 01:02:45 +01:00
LJ
4dbeed933b
chore(WebSocketShard): improve zlib-sync errors ( #10808 )
...
* chore(WebSocketShard): improve zlib-sync errors
* chore(WebSocketShard): move zlib-sync error numbers to constants file
* chore(WebSocketShard): move enum, zlib-sync is lazily loaded
---------
Co-authored-by: Almeida <github@almeidx.dev >
2025-07-02 23:18:11 +00:00
Danial Raza
02fbb706aa
build: bump discord-api-types to 0.38.14 ( #10960 )
2025-07-01 04:44:33 +00:00