Commit Graph

8585 Commits

Author SHA1 Message Date
Almeida
538b47dd00 feat: upgrade zod to v4 (#11258)
* feat: upgrade zod to v4

* fix: requested changes

---------

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-11-12 10:07:58 +00:00
Danial Raza
d923e90ae6 chore: migrate eslint configs (#11234)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-11-12 09:50:07 +00:00
Jiralite
8ed93b3269 types(DiscordjsErrorCodes): Add missing permission overwrites error codes (#11256)
types: add missing types

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-11-12 07:25:30 +00:00
Qjuh
5619137acd feat(api-extractor-model): use correct version for external packages (#11255)
Co-authored-by: Danial Raza <danialrazafb@gmail.com>
2025-11-11 20:40:22 +00:00
Souji
35996b7d75 fix: issue template guide (#11254)
* Add guide content issue template

* remove empty line

* fix: typo

* chore: add guide as issue template code owners

* chore: add core as additional template code owners

---------

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-11-11 20:28:25 +00:00
Denis-Adrian Cristea
d3d6777ef8 feat(core): handle request all guild members rate limit (#11251)
* feat(core): handle request all guild members rate limit

BREAKING CHANGE: `Gateway` now requires `off` `once` methods

* fix: weird import update

* refactor: error class

* refactor: error class again

* refactor: requested changes

* chore: fix dep

* fix: suggested changes

---------

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-11-11 07:14:57 +00:00
Denis-Adrian Cristea
37a38883d7 refactor(publish-dev): take ref instead (#11236)
* refactor(publish-dev): take ref instead

* fix: main checks

* chore: relevant examples

---------

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-11-10 14:39:42 +00:00
Josef
c85f18c1ee feat: optimize role manager cache getter (#11239)
Co-authored-by: Almeida <github@almeidx.dev>
2025-11-09 10:51:40 +00:00
Kendell R
9723cc590b fix: improve handling of italics in the presence of links (#11064)
* fix(formatters): don't escape * in links

* add test for * -> * in url

* `\S+` -> `\S*` (tested locally)

* @Qjuh: handle italics both inside+outside <url>s

* more accurate <link> matcher

---------

Co-authored-by: Qjuh <76154676+Qjuh@users.noreply.github.com>
2025-11-09 09:02:25 +00:00
Jiralite
3cb3ecae21 docs(BaseSelectMenu): Adjust maximum wording (#11249)
docs(BaseSelectMenu): adjust wording

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-11-05 19:30:36 +00:00
Almeida
dafdc78e73 chore: upgrade actions/setup-node to v6 and node.js to v24 (#11237)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-11-05 18:38:02 +00:00
Jiralite
3122da4ea4 ci(deprecate-tag): Remove comment (#11246)
ci: remove #

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-11-05 18:36:06 +00:00
Souji
4da0c03784 chore: add guide issue template (#11247)
* Add guide content issue template

* remove empty line
2025-11-05 19:31:40 +01:00
Denis-Adrian Cristea
4c18a89c2f feat(ci): deprecate tag (#11235)
* feat(ci): deprecate tag

* fix: wildcard

* chore: newer deps

---------

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-11-05 11:35:01 +00:00
Almeida
4359914d1a fix: open graph image in metadata (#11244)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-11-03 20:14:39 +00:00
ckohen
b026d0ee35 ci: fix pinning (#11243) 2025-11-03 06:37:21 +00:00
ckohen
3bb13f96b4 ci(dev): pin associated dev versions (#11238) 2025-11-02 05:38:17 +00:00
Naiyar
06a75e80bc docs: clarify wording for maximum values (#11231)
* docs(FileUpload): clarify wording

* chore: missed instances

---------

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-11-01 14:33:34 +00:00
Danial Raza
f26a5ed869 fix: only pass relevant options to API when fetching (#11228)
* fix: only pass relevant options to API when fetching

* chore: requested changes

* fix: missed instance
2025-10-31 20:48:51 +00:00
Almeida
d06d8c0806 chore: update readme package list (#11218)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-10-31 11:23:16 +00:00
ckohen
d8b913449e ci: refactor turbo team to use var (#11219)
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-10-31 11:21:42 +00:00
Almeida
fb5c629638 chore: bump dependencies (#11225) 2025-10-31 11:15:45 +00:00
TÆMBØØ
178c9cb348 fix(GuildMember): joinedAt possibly being NaN (#11224) 2025-10-30 20:59:02 +00:00
Danial Raza
94a9b4d03c fix(Message): update pinnable to use PinMessages (#11202)
* fix(Message): update `pinnable` to use `PinMessages`

* refactor: use bitwise OR

Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com>

* fix: check if in voice based channel for pinnable

* Update packages/discord.js/src/structures/Message.js

* Update packages/discord.js/src/structures/Message.js

Co-authored-by: Almeida <github@almeidx.dev>

* Update packages/discord.js/src/structures/Message.js

Co-authored-by: Almeida <github@almeidx.dev>

---------

Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com>
Co-authored-by: Almeida <github@almeidx.dev>
2025-10-28 14:54:22 +00:00
Almeida
4c0d667773 fix: retry google fonts fetch on fail (#11217)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-10-26 22:15:12 +00:00
Almeida
4f9475d937 chore: fix executable file permissions (#11216)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-10-26 21:48:40 +00:00
Jiralite
868be4eafc feat: Annotate result of releasing packages (#11200)
* feat: annotate result

* feat: note dry runs

* refactor: summaries
2025-10-26 21:40:49 +00:00
Copilot
ed143a6cda fix(GuildMemberFlagsBitField): Remove duplicate "guild" word (#11212)
* Initial plan

* Fix duplicate 'guild' word in GuildMemberFlagsBitField documentation

Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com>
2025-10-26 10:46:16 +00:00
Jiralite
56662ebad7 types(FileUploadModalData): Correct fields (#11210)
* types(FileUploadModalData): update fields

* docs: update more fields
2025-10-25 22:57:00 +00:00
Jiralite
8066821faa types(LabelModalData): Singular ModalData (#11207)
types(LabelModalData): no array
2025-10-25 19:12:17 +00:00
Jiralite
3048c3c0aa types(FileUploadComponentData): required should be a boolean (#11205)
types(FileUploadComponentData): `boolean`
2025-10-25 16:19:50 +00:00
Jiralite
2a5d99f0a0 ci(documentation): Ignore tag pushes for create-discord-bot (#11201)
ci(documentation): ignore create*
2025-10-25 02:42:22 +02:00
Jiralite
633d4813ef fix: Remove outdated documentation logic (#11203)
fix: remove unused stuff
2025-10-25 02:32:01 +02:00
Noel
08b87d9087 refactor(website,guide): cloudflare workers support (#11204) 2025-10-25 02:17:59 +02:00
Jiralite
756eac6bb1 fix: Use D1 for indices (#11199)
* fix: use D1 for indices

* fix: use D1 for indices

* build: remove unused packages

* fix: pass variables

---------

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-10-24 20:08:49 +00:00
ckohen
ee3be2c3c3 refactor(ApplicationCommand)!: make options nullable (#11167)
BREAKING CHANGE: ApplicationCommand#options is now nullable

Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com>
2025-10-24 20:32:41 +01:00
Jiralite
c05f653f0a chore: Release create-discord-app/bot (#11198)
* build: bump versions

* build: specify `monoRepo`

Specifying that this is a monorepo seems to fix changelog generation and the conventional bumping.

* chore(create-discord-bot): release create-discord-bot@4.1.0
create-discord-bot@4.1.0
2025-10-24 19:06:45 +01:00
Vlad Frangu
0c1ff5ea29 types(core): use result types instead of direct types (#11140)
* types(core): use result types instead of direct types

fix: import pains

chore: apply suggestion from review

Co-authored-by: Almeida <github@almeidx.dev>

chore: fmt script

chore: requested change

* chore: rename script, fix build

* chore: types

---------

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-10-24 15:36:54 +00:00
Jiralite
a990eefa31 fix: 404 for an unknown package's landing page (#11193)
* fix(page): 404 if no package

* fix: we go hard

Co-authored-by: Denis-Adrian Cristea <didinele.dev@gmail.com>

* fix: pain

Co-authored-by: Denis-Adrian Cristea <didinele.dev@gmail.com>

---------

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
Co-authored-by: Denis-Adrian Cristea <didinele.dev@gmail.com>
2025-10-24 15:06:14 +00:00
ckohen
63417e8b6c refactor(makeCache)!: make params an object (#11172)
BREAKING CHANGE: `Options.makeCache` now sends all of its parameters in an object rather than 3 individual parameters

Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com>
2025-10-24 15:55:29 +01:00
Naiyar
c9a9b6ce9d feat: file upload component (#11114)
* feat: file upload component

* docs: correct min values

* chore: rebase

* chore: resolve attachments

* chore: typings

* chore: whyyyyyyyyy

* types: `Snowflake`

* types: `Snowflake`

* docs: `Snowflake`

---------

Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com>
2025-10-24 11:09:33 +00:00
Jiralite
83ec0fdcdf refactor: Use idPredicate for file uploads (#11195)
refactor: use `idPredicate`
2025-10-24 10:45:37 +00:00
Jiralite
c84024968e feat: File upload support (#11108)
* build: bump discord-api-types

* feat: add support

* docs: correct examples

* fix(MappedComponentTypes): fix description

Co-authored-by: advaith <advaithj1@gmail.com>

* fix: use `z.int()`

* chore: remove errors

---------

Co-authored-by: advaith <advaithj1@gmail.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-10-24 10:16:05 +00:00
thelegendfox
63b5923deb fix: Singular misplaced comma (#11194)
docs: Fix misplaced comma
2025-10-24 09:54:33 +00:00
Qjuh
886d4a7fcb fix(website): don't error if unstable node missing (#11191)
fix: don't error if unstable node missing
2025-10-22 16:19:33 +00:00
Qjuh
697556fd16 feat(website): parse and show unstable tsdoc tag (#11187)
feat(website): parse and show unstable tsDoc tag
2025-10-22 11:53:56 +00:00
Naiyar
68835b3ff7 refactor(guide): redirect old urls to /legacy (#11170)
* refactor(guide): redirect old urls to /legacy

* chore: suggestion

Co-authored-by: Almeida <github@almeidx.dev>

---------

Co-authored-by: Almeida <github@almeidx.dev>
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com>
2025-10-20 13:13:36 +00:00
Jiralite
0cc92bd5b0 fix(textInput): Allow empty strings for a value (#11182)
fix: allow empty strings

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-10-16 13:55:15 +00:00
Souji
d03eb5e26e chore(guide): manually sort popular topics (#11174) 2025-10-16 09:21:07 +00:00
Jiralite
25b22c67aa fix(ModalSubmitInteraction): Resolve components correctly (#11168)
* fix: resolve components correctly

* fix: remove redundant parameter

---------

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-10-14 22:01:10 +00:00