Fleny and Awesome Stickz
df1658d923
build(packages): Remove swc --delete-dir-on-start ( #4433 )
...
Since we build the .js files and the .d.ts files in 2 different steps, you could run the tsc build and then the swc one, making swc delete the tsc build.
This is somewhat mitigated if you ran the tsc build with turbo as it will restore the cache, but it is annoying + the TS server in vscode for example will someone require you to restart it as it did not found the declration files for the package while it was building.
I did not find any good reason for this flag to be present, as while it will preserve files that no longer have a source, this matters only for local builds, as CI will always cleanly build the packages (and this issue exists with type declration as well anyway)
Co-authored-by: Awesome Stickz <awesome@stickz.dev >
2025-09-18 00:58:00 +05:30
Fleny and Awesome Stickz
87d16dd9ba
feat(types,bot): Add Label component and new modal stuff ( #4304 )
...
* feat(types,bot): Add Label component and new modal stuff
Since now there are some fields that are only in responses the types got a bit more complicated
* Add char limits to label label & desc
* update comments
* fix format
* Move Require to shared.ts
* code review
---------
Co-authored-by: Awesome Stickz <awesome@stickz.dev >
2025-09-18 00:50:59 +05:30
Fleny and Awesome Stickz
35133a1575
api-docs: Fix some stuff in interactions ( #4457 )
...
* api-docs: Fix some stuff in interactions
* Apply and fix code review suggestions
---------
Co-authored-by: Awesome Stickz <awesome@stickz.dev >
2025-09-17 00:56:50 +05:30
Fleny and Awesome Stickz
0d4f17472f
api-docs: banner, avatar, and bio on modify current member ( #4458 )
...
* api-docs: banner, avatar, and bio on modify current member
* Update packages/types/src/discordeno/guild.ts
Co-authored-by: Awesome Stickz <awesome@stickz.dev >
---------
Co-authored-by: Awesome Stickz <awesome@stickz.dev >
2025-09-16 21:03:39 +05:30
Fleny
3a99a7e085
api-docs: Social SDK webhook events ( #4459 )
2025-09-15 15:45:11 +05:30
Fleny and Awesome Stickz
d8dbcda383
api-docs!: Remove stage_instance, add expires_at to invites ( #4445 )
...
Co-authored-by: Awesome Stickz <awesome@stickz.dev >
2025-09-11 17:29:27 +05:30
Fleny and Awesome Stickz
9aec72df44
test(mocha): Update mocha to 11.7.2 and remove patch ( #4429 )
...
Co-authored-by: Awesome Stickz <awesome@stickz.dev >
2025-09-11 17:26:22 +05:30
Fleny and Awesome Stickz
ba7ca458b6
docs(bigbot): Send snake_case packets to bot ( #4430 )
...
Currently the big bot gateway worker was sending camelCase packets to the bot which caused the transformers in `@discordeno/bot` to not find most of the properties they need in the payload.
This changes the docs to show to override the forwardToBot method to send the packets as-is to the bot.
Co-authored-by: Awesome Stickz <awesome@stickz.dev >
2025-09-11 17:09:41 +05:30
Fleny
11c5147d6f
refactor(bot)!: Remove debug event ( #4437 )
2025-09-08 17:23:17 +02:00
Awesome Stickz
8e8ffa6a54
chore(types): rename MessageFlags.IsComponentV2 to IsComponentsV2 to match docs ( #4439 )
2025-09-08 04:14:55 +05:30
Fleny
96fa6e3a3f
chore(gateway)!: Remove Shard forwardToBot ( #4431 )
...
forwardToBot has been removed in favor of directly using the events.message.
the default implementation for forwardToBot used to camelize the packet, however in most cases you want to preserve the snake_case, and for those that need camelCase it can be easly done in the message event function.
This also removes the gateway.preferSnakeCase option as it no longer has a use
2025-09-05 08:28:48 +02:00
Fleny
4e08703eab
feat(types): Add JSON error code 400001 ( #4426 )
2025-09-04 08:52:13 +02:00
Fleny
0832500f01
docs(rest): Update documentation for get invites endpoint ( #4427 )
2025-09-04 08:47:45 +02:00
dependabot[bot]
2c72e0f0b9
build(deps-dev): bump lint-staged from 16.1.5 to 16.1.6 ( #4419 )
...
Bumps [lint-staged](https://github.com/lint-staged/lint-staged ) from 16.1.5 to 16.1.6.
- [Release notes](https://github.com/lint-staged/lint-staged/releases )
- [Changelog](https://github.com/lint-staged/lint-staged/blob/main/CHANGELOG.md )
- [Commits](https://github.com/lint-staged/lint-staged/compare/v16.1.5...v16.1.6 )
---
updated-dependencies:
- dependency-name: lint-staged
dependency-version: 16.1.6
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-02 19:56:16 +02:00
Fleny and Link
8efd604be3
ci: Add if for image scan job ( #4416 )
...
Co-authored-by: Link <link20050703@gmail.com >
2025-09-02 19:01:30 +02:00
dependabot[bot]
1feb3f0fd7
build(deps-dev): bump typedoc from 0.28.10 to 0.28.12 ( #4418 )
...
Bumps [typedoc](https://github.com/TypeStrong/TypeDoc ) from 0.28.10 to 0.28.12.
- [Release notes](https://github.com/TypeStrong/TypeDoc/releases )
- [Changelog](https://github.com/TypeStrong/typedoc/blob/master/CHANGELOG.md )
- [Commits](https://github.com/TypeStrong/TypeDoc/compare/v0.28.10...v0.28.12 )
---
updated-dependencies:
- dependency-name: typedoc
dependency-version: 0.28.12
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-02 18:25:25 +02:00
dependabot[bot] and Fleny
ea88819eea
build(deps-dev): bump @types/node from 24.2.1 to 24.3.0 ( #4417 )
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 24.2.1 to 24.3.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
---
updated-dependencies:
- dependency-name: "@types/node"
dependency-version: 24.3.0
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Fleny <Fleny113@outlook.com >
2025-09-02 18:21:02 +02:00
dependabot[bot]
b6fc7271b4
build(deps-dev): bump chai from 5.2.1 to 6.0.1 ( #4411 )
...
Bumps [chai](https://github.com/chaijs/chai ) from 5.2.1 to 6.0.1.
- [Release notes](https://github.com/chaijs/chai/releases )
- [Changelog](https://github.com/chaijs/chai/blob/main/History.md )
- [Commits](https://github.com/chaijs/chai/compare/v5.2.1...v6.0.1 )
---
updated-dependencies:
- dependency-name: chai
dependency-version: 6.0.1
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-02 09:52:29 +02:00
dependabot[bot] and Fleny
dea32e8779
build(deps-dev): bump chai-as-promised from 8.0.1 to 8.0.2 ( #4414 )
...
Bumps [chai-as-promised](https://github.com/chaijs/chai-as-promised ) from 8.0.1 to 8.0.2.
- [Release notes](https://github.com/chaijs/chai-as-promised/releases )
- [Commits](https://github.com/chaijs/chai-as-promised/compare/v8.0.1...v8.0.2 )
---
updated-dependencies:
- dependency-name: chai-as-promised
dependency-version: 8.0.2
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Fleny <Fleny113@outlook.com >
2025-09-02 09:47:39 +02:00
dependabot[bot] and Fleny
8f1f8adedb
build(deps-dev): bump turbo from 2.5.5 to 2.5.6 ( #4412 )
...
Bumps [turbo](https://github.com/vercel/turborepo ) from 2.5.5 to 2.5.6.
- [Release notes](https://github.com/vercel/turborepo/releases )
- [Changelog](https://github.com/vercel/turborepo/blob/main/release.md )
- [Commits](https://github.com/vercel/turborepo/compare/v2.5.5...v2.5.6 )
---
updated-dependencies:
- dependency-name: turbo
dependency-version: 2.5.6
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Fleny <Fleny113@outlook.com >
2025-09-02 09:44:43 +02:00
dependabot[bot] and Fleny
7c2b5effd1
build(deps-dev): bump @swc/core from 1.13.3 to 1.13.5 ( #4413 )
...
Bumps [@swc/core](https://github.com/swc-project/swc ) from 1.13.3 to 1.13.5.
- [Release notes](https://github.com/swc-project/swc/releases )
- [Changelog](https://github.com/swc-project/swc/blob/main/CHANGELOG.md )
- [Commits](https://github.com/swc-project/swc/compare/v1.13.3...v1.13.5 )
---
updated-dependencies:
- dependency-name: "@swc/core"
dependency-version: 1.13.5
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Fleny <Fleny113@outlook.com >
2025-09-02 09:41:50 +02:00
dependabot[bot] and Fleny
97b89fcef2
build(deps-dev): bump @swc/core in /docker-apps/rest-passthrough ( #4406 )
...
Bumps [@swc/core](https://github.com/swc-project/swc ) from 1.13.3 to 1.13.5.
- [Release notes](https://github.com/swc-project/swc/releases )
- [Changelog](https://github.com/swc-project/swc/blob/main/CHANGELOG.md )
- [Commits](https://github.com/swc-project/swc/compare/v1.13.3...v1.13.5 )
---
updated-dependencies:
- dependency-name: "@swc/core"
dependency-version: 1.13.5
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Fleny <Fleny113@outlook.com >
2025-09-02 09:38:41 +02:00
dependabot[bot] and Fleny
ff7c51de0a
build(deps): bump actions/checkout from 4 to 5 ( #4408 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: '5'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Fleny <Fleny113@outlook.com >
2025-09-02 09:35:36 +02:00
dependabot[bot] and Fleny
322331e0e6
build(deps): bump actions/download-artifact from 4 to 5 ( #4407 )
...
Bumps [actions/download-artifact](https://github.com/actions/download-artifact ) from 4 to 5.
- [Release notes](https://github.com/actions/download-artifact/releases )
- [Commits](https://github.com/actions/download-artifact/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/download-artifact
dependency-version: '5'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Fleny <Fleny113@outlook.com >
2025-09-02 09:32:00 +02:00
dependabot[bot] and Fleny
4bd338ce8c
build(deps): bump aquasecurity/trivy-action from 0.32.0 to 0.33.0 ( #4409 )
...
Bumps [aquasecurity/trivy-action](https://github.com/aquasecurity/trivy-action ) from 0.32.0 to 0.33.0.
- [Release notes](https://github.com/aquasecurity/trivy-action/releases )
- [Commits](https://github.com/aquasecurity/trivy-action/compare/0.32.0...0.33.0 )
---
updated-dependencies:
- dependency-name: aquasecurity/trivy-action
dependency-version: 0.33.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Fleny <Fleny113@outlook.com >
2025-09-02 09:27:55 +02:00
dependabot[bot] and Fleny
724a37ff34
build(deps): bump actions/upload-pages-artifact from 3 to 4 ( #4410 )
...
Bumps [actions/upload-pages-artifact](https://github.com/actions/upload-pages-artifact ) from 3 to 4.
- [Release notes](https://github.com/actions/upload-pages-artifact/releases )
- [Commits](https://github.com/actions/upload-pages-artifact/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/upload-pages-artifact
dependency-version: '4'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Fleny <Fleny113@outlook.com >
2025-09-02 09:19:09 +02:00
dependabot[bot] and Fleny
4499cd80ef
build(deps-dev): bump @biomejs/biome from 2.1.4 to 2.2.2 ( #4415 )
...
* build(deps-dev): bump @biomejs/biome from 2.1.4 to 2.2.2
Bumps [@biomejs/biome](https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome ) from 2.1.4 to 2.2.2.
- [Release notes](https://github.com/biomejs/biome/releases )
- [Changelog](https://github.com/biomejs/biome/blob/main/packages/@biomejs/biome/CHANGELOG.md )
- [Commits](https://github.com/biomejs/biome/commits/@biomejs/biome@2.2.2/packages/@biomejs/biome )
---
updated-dependencies:
- dependency-name: "@biomejs/biome"
dependency-version: 2.2.2
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* Update biome on the website as well
* Fix messup in previus commit
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Fleny <fleny113@outlook.com >
2025-09-02 09:16:02 +02:00
Fleny
ae650a04d9
refactor(typedoc): update typedoc configuration and mark internal APIs as private ( #4405 )
...
The typedoc config is now only in the top-level config file instead of also being one per package
and all internal APIs are now marked as private so typedoc won't generate documentation for them, however we still need to export them to avoid typedoc warnings
The new internal APIs that are exported, since are marked as `@private` can have breaking changes without notices
2025-09-02 08:17:59 +02:00
Fleny
2a7cd9b2a5
refactor(transformers)!: Use type helper to define customizers ( #4404 )
...
* refactor(transformers)!: Use type helper to define customizers
This allows us to ensure that customizers always follow the correct types for the transformers and we don't have 2 places to add the types.
* remove outdated comment in transformInteractionDataResolved
* remove not needed cast
* remove not needed cast
2025-09-02 06:54:38 +02:00
Fleny
304aacdba9
feat(bot)!: Camelize the AuditLogEntry changes ( #4403 )
...
* feat(bot)!: Camelize the AuditLogEntry changes
* fix type errors
2025-08-29 11:02:33 +02:00
Fleny and Link
e94308c8f2
chore: Imports directly from files instead of index files ( #4400 )
...
Currently we import from `index.js` files where we could simply import the actual file(s) or module we need.
This also creates a bit of confusion since it isn't obvious from where stuff is coming from, especially when we are importing types such as `Discord<XYZ>` types both from `@discordeno/types` and a `index.js` in the same file, one such example is `transformers/reverse/component.ts`.
As far as I can tell, this does not have any specific advantage beside readability, maybe something with tree-shaking. (and for us, tree-shaking doesn't really matter)
The only files that still import index.js files are:
- index.js files themself
- bot/src/handlers.js since it does a `import * as handlers from './handlers/index.js'` and the alternative is like 90 lines of imports
Co-authored-by: Link <link20050703@gmail.com >
2025-08-26 20:41:14 +02:00
Fleny and Link
3af54ca144
ci: Use biome ci in lib-check format ( #4399 )
...
Co-authored-by: Link <link20050703@gmail.com >
2025-08-26 20:00:36 +02:00
Fleny and Link
b7db305dee
refactor: Use TransformerFunction to define transformers ( #4402 )
...
Co-authored-by: Link <link20050703@gmail.com >
2025-08-26 10:56:43 -07:00
Fleny and Link
c7074d7837
fix(types): Update which messages can be forwarded ( #4398 )
...
Co-authored-by: Link <link20050703@gmail.com >
2025-08-26 10:32:01 -07:00
Samuel Voeller
7f35b34eca
fix(types,docs): Update documentation for component Select Menu types to reflect minValue and maxValue of 0-25, max 25 ( #4401 )
...
* fix(docs): Update DiscordSelectMenuComponent min_value and max_value
* fix(docs): Update Select Menu Options minValue and maxValue
2025-08-26 18:04:53 +02:00
Fleny and Link
274b5972dd
feat(types,bot): Add RATE_LIMITED & RESUMED handler & event ( #4391 )
...
Co-authored-by: Link <link20050703@gmail.com >
2025-08-24 14:14:14 -07:00
Fleny
33ea279714
feat(types): Add PIN_MESSAGES permission ( #4390 )
2025-08-24 14:01:40 -07:00
Fleny
590653f572
fix(bot): Remove VOICE_STATE_UPDATE payload check ( #4389 )
2025-08-22 21:37:26 +02:00
Link
f274ec665a
chore: Release pre-release as beta on NPM ( #4388 )
22.0.0-beta.1
2025-08-22 12:10:04 -07:00
Fleny and Link
269a5bf5f5
chore: Bump version to v22-beta.1 ( #4377 )
...
Co-authored-by: Link <link20050703@gmail.com >
2025-08-22 10:55:03 -07:00
Fleny and Link
bd37023847
ESM-only build ( #4227 )
...
Co-authored-by: Link <link20050703@gmail.com >
2025-08-22 10:48:28 -07:00
Awesome Stickz and Link
2d5e2114c7
docs: update info about dd cache proxy in caching guide ( #4387 )
...
Co-authored-by: Link <link20050703@gmail.com >
2025-08-22 10:07:44 -07:00
Fleny and Link
8996169b9d
build(deps-dev): Update typescript & @types/node ( #4325 )
...
Co-authored-by: Link <link20050703@gmail.com >
2025-08-22 09:39:52 -07:00
dependabot[bot]
aea991ae29
build(deps-dev): bump typedoc from 0.28.5 to 0.28.8 ( #4279 )
2025-08-22 10:26:20 +00:00
Fleny and Link
2ccf3c1437
ci: Fix snyk scan ( #4317 )
...
Co-authored-by: Link <link20050703@gmail.com >
2025-08-20 20:44:11 -07:00
Fleny and Link
52fc7b8c97
build(deps-dev): Update @biomejs/biome ( #4327 )
...
Co-authored-by: Link <link20050703@gmail.com >
2025-08-20 20:39:23 -07:00
Fleny and Link
b6f2d914b8
ci: Use biome ci in lib-check format ( #4319 )
...
Co-authored-by: Link <link20050703@gmail.com >
2025-08-20 20:35:25 -07:00
Fleny and Link
5d0cef5dca
build(deps): Update ws & @types/ws ( #4332 )
...
Co-authored-by: Link <link20050703@gmail.com >
2025-08-20 20:32:03 -07:00
Fleny and Link
7a97340bdb
build(deps-dev): Update lint-staged ( #4328 )
...
Co-authored-by: Link <link20050703@gmail.com >
2025-08-20 20:28:46 -07:00
Fleny and Link
9759eba986
ci: Specify permissions for CI ( #4338 )
...
Co-authored-by: Link <link20050703@gmail.com >
2025-08-20 19:07:49 -07:00