iCrawl
1e3aed0d97
chore: config overhaul
2023-08-22 01:33:47 +02:00
iCrawl
5d7c59c301
chore: deps
2023-08-22 00:30:08 +02:00
Jiralite
899bc5f78b
build: bump Undici and discord-api-types ( #9779 )
...
* build: bump discord-api-types
* build: bump Undici too
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-08-21 21:00:14 +00:00
iCrawl
84ead6e554
chore(rest): release @discordjs/rest@2.0.1
2023-08-17 21:41:52 +02:00
iCrawl
7fa9ea3f0f
chore: pin discord-api-deps, revert undici
2023-08-17 21:31:04 +02:00
iCrawl
99cadfd82b
chore: deps
2023-08-17 21:08:09 +02:00
Toast
188877c50a
docs: Update Node.js requirement to 16.11.0 ( #9764 )
...
* Update Node.js requirement in README file
* chore: update the rest of files with nodejs 16.11.0
* Update 03-updating-to-v14.mdx
---------
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
2023-08-13 19:49:33 +00:00
Jiralite
a1605b3a5e
build: Update vite and other related dependencies ( #9772 )
...
* build: update vite and other related dependencies
* chore: use `"errors-only"`
2023-08-13 21:36:23 +02:00
iCrawl
d04987f09b
chore(rest): release @discordjs/rest@2.0.0
2023-07-31 21:24:28 +02:00
iCrawl
fd8197fe5b
chore: deps
2023-07-30 02:13:39 +02:00
ckohen
8f4256db8a
refactor(REST): remove double classing ( #9722 )
...
* refactor(REST): remove double classing
BREAKING CHANGE: `REST` and `RequestManager` have been combined, most of the properties, methods, and events from both classes can now be found on `REST`
BREAKING CHANGE: `REST#raw` has been removed in favor of `REST#queueRequest`
BREAKING CHANGE: `REST#getAgent` has been removed in favor of `REST#agent`
* chore: update for /rest changes
2023-07-25 08:40:21 +00:00
iCrawl
d26e022afc
chore: deps
2023-07-19 11:59:42 +02:00
iCrawl
afa98793cd
chore: deps
2023-07-17 09:45:07 +02:00
Vlad Frangu
386f206caf
feat: no-de-no-de, now with extra buns ( #9683 )
...
BREAKING CHANGE: The REST and RequestManager classes now extend AsyncEventEmitter
from `@vladfrangu/async_event_emitter`, which aids in cross-compatibility
between Node, Deno, Bun, CF Workers, Vercel Functions, etc.
BREAKING CHANGE: DefaultUserAgentAppendix has been adapted to support multiple
different platforms (previously mentioned Deno, Bun, CF Workers, etc)
BREAKING CHANGE: the entry point for `@discordjs/rest` will now differ
in non-node-like environments (CF Workers, etc.)
Co-authored-by: Suneet Tipirneni <77477100+suneettipirneni@users.noreply.github.com >
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
Co-authored-by: suneettipirneni <suneettipirneni@icloud.com >
2023-07-17 08:27:57 +02:00
Almeida
8d97017458
feat: user avatar decorations ( #8914 )
...
feat(User): add avatar decorations
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
2023-07-13 20:33:38 +00:00
Almeida
766be94b93
chore: bump discord-api-types to 0.37.45 ( #9654 )
2023-06-15 19:06:52 +00:00
ckohen
8f014c65ef
chore: unpin rest, unbump node version req ( #9632 )
...
* chore: unpin rest, unbump node version req
* chore: update readmes
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-06-13 19:08:35 +00:00
volcanofr
a531dc9f1c
RESTOptions: (really) small description update for cdn ( #9615 )
...
Small option update cnd REST.ts
I just add "``" to uniform cdn @defaultValue with others one (like api).
The link is not broken anymore, because it do not work anymore.
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-06-09 09:00:20 +00:00
Synbulat Biishev
1ab60f9da4
feat: support new username system ( #9512 )
...
* feat: support new username system
* docs(GuildMember#displayName): update
* fix(User#hasNewUsername): use User#discriminator
* feat(User#tag): add new username
* docs(User#tag): update
* docs(User#hasNewUsername): update
* docs: update
* feat(User#defaultAvatarURL): update
* feat: remove some newly added properties
* docs(User#discriminator): update
* docs(User#globalName): bad Copilot
* feat(User#displayName): return display name
* types(User#displayName): not a partial structure
* feat: add `calculateUserDefaultAvatarId` function
* docs(CND#defaultAvatar): update
* docs(CDN#defaultAvatar): update
* feat: change default avatar id to type
* feat: deprecate `User#tag`
* docs(CDN#defaultAvatar): update
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
* docs(User): update
Co-authored-by: Rodrigo Leitão <38259440+ImRodry@users.noreply.github.com >
* feat: update
* typing: update
Co-authored-by: Jan <66554238+vaporoxx@users.noreply.github.com >
* feat: change the param type to `Snowflake`
---------
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
Co-authored-by: Rodrigo Leitão <38259440+ImRodry@users.noreply.github.com >
Co-authored-by: Jan <66554238+vaporoxx@users.noreply.github.com >
2023-06-08 18:16:42 +00:00
iCrawl
9b06734445
chore: deps
2023-05-23 20:14:15 +02:00
iCrawl
90e243d350
chore: deps
2023-05-16 00:14:14 +02:00
iCrawl
7c8849fae5
chore: deps
2023-05-12 19:58:51 +02:00
iCrawl
9ddb3ff71d
chore: deps
2023-05-07 18:04:10 +02:00
ckohen
cdaa0a36f5
refactor(rest): switch api to fetch-like and provide strategies ( #9416 )
...
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 compatible `Response` object.
BREAKING CHANGE: Many underlying internals have changed, some of which were exported.
BREAKING CHANGE: `DefaultRestOptions` used to contain a default `agent`, which is now set to `null` instead.
2023-05-06 21:09:19 +02:00
iCrawl
d8d21cf370
chore: cloudflare sponsorship
2023-05-05 20:29:10 +02:00
iCrawl
d4f12e0a0c
chore: deps
2023-05-05 14:30:47 +02:00
iCrawl
7e875f6919
chore: refactor workspace
2023-05-03 02:14:22 +02:00
iCrawl
481bbc924f
chore(rest): release @discordjs/rest@1.7.1
2023-05-01 17:29:19 +02:00
iCrawl
0762ddb3f4
chore: deps
2023-05-01 15:29:51 +02:00
iCrawl
48cab844d4
build: switch to bundler moduleResolution
2023-05-01 13:14:13 +02:00
iCrawl
1ba7394a7d
chore: deps
2023-04-30 09:01:17 +02:00
Michael H
1b4d34cebf
chore: Add directory to package.json ( #9456 )
...
* chore: Add directory to package.json
* fix: run fmt
* fix: undo formatting
2023-04-25 14:27:44 +00:00
iCrawl
43e205b840
chore: deps
2023-04-24 19:46:44 +02:00
MrMythicalYT
d6bca9bb4d
docs: reference package names properly ( #9426 )
2023-04-20 06:25:32 +00:00
iCrawl
98a76db482
docs: generate static imports for types with api-extractor
2023-04-17 19:08:01 +02:00
iCrawl
e5859b41cf
chore: storybook
2023-04-13 19:09:56 +02:00
iCrawl
3d2f4b405e
chore(guide): bring guide up to speed
2023-04-09 12:41:02 +02:00
iCrawl
f893c6a357
chore: deps
2023-04-07 21:13:36 +02:00
Tetie
a7425c29c4
fix: fix external links ( #9313 )
...
* fix: fix external links
* fix: fix external links
* fix: link to correct classes
* fix: fix JSONEncodable link
* chore: fix select menu link
* fix: fix external links
* fix: link to correct classes
* fix: fix JSONEncodable link
* chore: fix select menu link
* fix: fix collection#sweep url
* fix: fix subpackages urls
* fix: fix discord.js docs url
* Update packages/util/docs/README.md
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
Co-authored-by: Aura Román <kyradiscord@gmail.com >
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
2023-04-07 10:35:56 +00:00
iCrawl
1cbd04e8fd
build: git-cliff config
2023-04-02 01:55:39 +02:00
iCrawl
b977ba5f4d
chore(rest): release @discordjs/rest@1.7.0
2023-04-02 01:51:33 +02:00
Jiralite
ab3328a0e2
chore: Include discord.js in the user agent string ( #9267 )
...
* chore: apply user agent string
* fix: enforce even in custom option
* fix: tests
* refactor: simpler way
* docs: add type
* Update packages/discord.js/src/client/BaseClient.js
Co-authored-by: Aura Román <kyradiscord@gmail.com >
* fix: prioritise `option` type check
* types: `static`
* feat: add runtime check
* docs: update default
* refactor: remove Bun
* Update packages/discord.js/src/client/BaseClient.js
Co-authored-by: Almeida <almeidx@pm.me >
* fix: extra whitespace issues
* refactor: `trimEnd()`
---------
Co-authored-by: Aura Román <kyradiscord@gmail.com >
Co-authored-by: Almeida <almeidx@pm.me >
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-04-01 22:26:44 +00:00
Tetie
74a6d59ae9
chore: overhaul readmes ( #9277 )
...
Co-authored-by: Souji <timoqueezle@gmail.com >
Co-authored-by: Noel <buechler.noel@outlook.com >
2023-04-01 13:45:15 +02:00
iCrawl
311cab2d3f
build(website): build site from db data
2023-04-01 02:50:24 +02:00
ckohen
db8df104c5
fix(handlers): create burst handler for interaction callbacks ( #8996 )
...
* fix(handlers): create burst handler for interaction callbacks
* docs: use remarks instead of info block
Co-Authored-By: Almeida <almeidx@pm.me >
* refactor: move code duplication to shared handler
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
* Update packages/rest/src/lib/handlers/BurstHandler.ts
---------
Co-authored-by: Almeida <almeidx@pm.me >
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com >
Co-authored-by: Aura Román <kyradiscord@gmail.com >
2023-03-30 17:22:04 +00:00
iCrawl
89235f32b0
ci: docker image build for proxy
2023-03-28 22:47:48 +02:00
iCrawl
d8d5f31d39
fix(scripts): accessing tsComment
2023-03-25 14:02:40 +01:00
iCrawl
d6cd3fd7ed
chore: deps
2023-03-23 23:24:27 +01:00
Suneet Tipirneni
ee5169e0aa
feat(website): render syntax and mdx on the server ( #9086 )
2023-03-23 22:17:41 +01:00
iCrawl
852fae557e
chore: deps
2023-03-23 14:28:58 +01:00