Skip to content

chore(deps): bump @djs-core/runtime from 1.10.0 to 1.13.1 - #143

Merged
Cleboost merged 1 commit into
mainfrom
dependabot/bun/djs-core/runtime-1.13.0
Aug 9, 2026
Merged

chore(deps): bump @djs-core/runtime from 1.10.0 to 1.13.1#143
Cleboost merged 1 commit into
mainfrom
dependabot/bun/djs-core/runtime-1.13.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 23, 2026

Copy link
Copy Markdown
Contributor

Bumps @djs-core/runtime from 1.10.0 to 1.13.1.

Release notes

Sourced from @​djs-core/runtime's releases.

@​djs-core/runtime@​1.13.1

Patch Changes

  • b4d86c3: Bump discord.js peer dependency from 14.26.4 to 14.26.5.

  • ea05cf9: Fix default_member_permissions not being applied when commands are nested under subcommand groups (e.g. admin.logs.export). Permissions from leaf commands are now merged onto the root slash command during sync.

    Add a console warning when subcommands under the same root command define different default_member_permissions, since Discord only supports one permission set per root command.

@​djs-core/runtime@​1.13.0

Minor Changes

  • 387494a: Add .withData<T>() method to Button, Modal, and all SelectMenu components

    • Button, Modal, StringSelectMenu, UserSelectMenu, RoleSelectMenu, ChannelSelectMenu, and MentionableSelectMenu now expose .withData<T>() to declare the expected data type
    • The old generic constructor syntax (new Button<T>()) is deprecated in favor of new Button().withData<T>()
    • New no-generic-constructor lint rule in djs-core check detects and autofixes the deprecated pattern

@​djs-core/runtime@​1.12.0

Minor Changes

  • 1313559: Add .autocomplete(optionName, fn) helper on Command for per-option autocomplete handlers. The function receives (value, interaction) and returns choices directly — no need to call getFocused() or respond() manually. Multiple options are supported by chaining. .runAutocomplete() remains available as a low-level fallback and is called when no per-option handler matches.

  • 9cbd5e7: Add automatic TypeScript inference for command options in .run(). Option names and required status are inferred from the builder chain — no manual typing needed.

    new Command()
      .addStringOption((opt) => opt.setName("fruit").setRequired(true))
      .addStringOption((opt) => opt.setName("color"))
      .run(async (interaction, options) => {
        options.fruit; // string
        options.color; // string | null
      });

Patch Changes

  • fe6bbc7: Refactor ButtonHandler, ModalHandler, and SelectMenuHandler to extend a shared BaseHandler abstract class, eliminating ~90 lines of duplicated Map/dispatch logic.

@​djs-core/runtime@​1.11.0

Minor Changes

  • 96bc0d0: Security

    • Remove shell: true from spawnSync calls in plugin installer (prevents RCE via crafted plugin names)

    New APIs

    • closeDataStore() — cleanly closes the SQLite database and stops the cleanup interval (useful for shutdown hooks and tests)
    • isUnknownCommandError() exported from utils/discord-errors — typed guard for Discord API error 10063

    Bug fixes

... (truncated)

Changelog

Sourced from @​djs-core/runtime's changelog.

1.13.1

Patch Changes

  • b4d86c3: Bump discord.js peer dependency from 14.26.4 to 14.26.5.

  • ea05cf9: Fix default_member_permissions not being applied when commands are nested under subcommand groups (e.g. admin.logs.export). Permissions from leaf commands are now merged onto the root slash command during sync.

    Add a console warning when subcommands under the same root command define different default_member_permissions, since Discord only supports one permission set per root command.

1.13.0

Minor Changes

  • 387494a: Add .withData<T>() method to Button, Modal, and all SelectMenu components

    • Button, Modal, StringSelectMenu, UserSelectMenu, RoleSelectMenu, ChannelSelectMenu, and MentionableSelectMenu now expose .withData<T>() to declare the expected data type
    • The old generic constructor syntax (new Button<T>()) is deprecated in favor of new Button().withData<T>()
    • New no-generic-constructor lint rule in djs-core check detects and autofixes the deprecated pattern

1.12.0

Minor Changes

  • 1313559: Add .autocomplete(optionName, fn) helper on Command for per-option autocomplete handlers. The function receives (value, interaction) and returns choices directly — no need to call getFocused() or respond() manually. Multiple options are supported by chaining. .runAutocomplete() remains available as a low-level fallback and is called when no per-option handler matches.

  • 9cbd5e7: Add automatic TypeScript inference for command options in .run(). Option names and required status are inferred from the builder chain — no manual typing needed.

    new Command()
      .addStringOption((opt) => opt.setName("fruit").setRequired(true))
      .addStringOption((opt) => opt.setName("color"))
      .run(async (interaction, options) => {
        options.fruit; // string
        options.color; // string | null
      });

Patch Changes

  • fe6bbc7: Refactor ButtonHandler, ModalHandler, and SelectMenuHandler to extend a shared BaseHandler abstract class, eliminating ~90 lines of duplicated Map/dispatch logic.

1.11.0

Minor Changes

  • 96bc0d0: Security

    • Remove shell: true from spawnSync calls in plugin installer (prevents RCE via crafted plugin names)

    New APIs

... (truncated)

Commits
  • 6a4e6e7 Version Packages (#89)
  • b4d86c3 chore(deps): bump discord.js from 14.26.4 to 14.26.5 (#81)
  • ea05cf9 fix(runtime): propagate default_member_permissions for nested commands (#88)
  • 6ef38cb Version Packages (#61)
  • 8a5feb0 fix(runtime): restore tab indentation in package.json for biome
  • 6f438d5 chore(runtime): move discord.js to peerDependencies
  • 34e5b49 fix(ci): fix biome suppressions placement and add missing astro-expressive-co...
  • dcdc24f chore: hide internal members from autocomplete in published package
  • 387494a feat: add .withData<T>() API to all interactive components
  • dd0abce chore(deps): bump discord.js from 14.25.1 to 14.26.4 (#57)
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Jun 23, 2026
@Cleboost

Cleboost commented Aug 9, 2026

Copy link
Copy Markdown
Member

@dependabot rebase

Bumps [@djs-core/runtime](https://github.com/Cleboost/djs-core/tree/HEAD/packages/runtime) from 1.10.0 to 1.13.1.
- [Release notes](https://github.com/Cleboost/djs-core/releases)
- [Changelog](https://github.com/Cleboost/djs-core/blob/master/packages/runtime/CHANGELOG.md)
- [Commits](https://github.com/Cleboost/djs-core/commits/@djs-core/runtime@1.13.1/packages/runtime)

---
updated-dependencies:
- dependency-name: "@djs-core/runtime"
  dependency-version: 1.13.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot changed the title chore(deps): bump @djs-core/runtime from 1.10.0 to 1.13.0 chore(deps): bump @djs-core/runtime from 1.10.0 to 1.13.1 Aug 9, 2026
@dependabot
dependabot Bot force-pushed the dependabot/bun/djs-core/runtime-1.13.0 branch from 0d3902f to 30866ec Compare August 9, 2026 17:43
@Cleboost
Cleboost merged commit e678874 into main Aug 9, 2026
2 checks passed
@dependabot
dependabot Bot deleted the dependabot/bun/djs-core/runtime-1.13.0 branch August 9, 2026 18:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant