Skip to content

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

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/bun/djs-core/runtime-1.13.0
Open

chore(deps): bump @djs-core/runtime from 1.10.0 to 1.13.0#143
dependabot[bot] wants to merge 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.0.

Release notes

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

@​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

    • isChatInputCommand() replaces deprecated isCommand() — context menu interactions no longer incorrectly hit the slash command handler
    • getInteractionData now returns { data, expired } | null instead of unknown | undefined, distinguishing expired tokens from tokens that were never stored
    • ephemeral: true replaced with flags: MessageFlags.Ephemeral in error replies
    • Duplicate GuildIntegrations and GuildScheduledEvents intents removed from defaults
    • CoreConfig now includes partials and experimental.bundle fields, matching the public Config interface

    Performance

... (truncated)

Changelog

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

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

    • 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

    • isChatInputCommand() replaces deprecated isCommand() — context menu interactions no longer incorrectly hit the slash command handler
    • getInteractionData now returns { data, expired } | null instead of unknown | undefined, distinguishing expired tokens from tokens that were never stored
    • ephemeral: true replaced with flags: MessageFlags.Ephemeral in error replies
    • Duplicate GuildIntegrations and GuildScheduledEvents intents removed from defaults

... (truncated)

Commits
  • 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)
  • 5f5bd1a Version Packages (#55)
  • 758d29b fix(ci): ignore website/ in biome, fix @​ts-ignore text in comments
  • dbfc2d5 fix(ci): replace @​ts-expect-error with @​ts-ignore on Command option overrides
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [@djs-core/runtime](https://github.com/Cleboost/djs-core/tree/HEAD/packages/runtime) from 1.10.0 to 1.13.0.
- [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.0/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 added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Jun 23, 2026
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.

0 participants