Skip to content

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

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

chore(deps): bump @djs-core/runtime from 1.10.0 to 1.11.0#137
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/bun/djs-core/runtime-1.11.0

Conversation

@dependabot

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

Copy link
Copy Markdown
Contributor

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

Release notes

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

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

    • DataStore is now lazily initialized — the database and cleanup interval only start on first use
    • CommandHandler resolves routes via Map.get() (O(1)) instead of Array.find() (O(n))

    Refactoring

    • WithCustomId mixin eliminates ~230 lines duplicated across 7 interaction classes
    • buildCommandStructure / routesToEntries extracted to utils/compile-command.ts
    • resolvePlugin() extracted to utils/plugin-resolver.ts
    • StringSelectMenu.addOptions no longer clones the full builder on each call

    dev CLI

    • SIGTERM handled alongside SIGINT for clean Docker/systemd shutdown
    • -p, --path <path> option now correctly captures its value
    • Silent catch blocks now log when DEBUG=true
Changelog

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

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

    • DataStore is now lazily initialized — the database and cleanup interval only start on first use
    • CommandHandler resolves routes via Map.get() (O(1)) instead of Array.find() (O(n))

    Refactoring

    • WithCustomId mixin eliminates ~230 lines duplicated across 7 interaction classes
    • buildCommandStructure / routesToEntries extracted to utils/compile-command.ts
    • resolvePlugin() extracted to utils/plugin-resolver.ts
    • StringSelectMenu.addOptions no longer clones the full builder on each call

    dev CLI

    • SIGTERM handled alongside SIGINT for clean Docker/systemd shutdown
    • -p, --path <path> option now correctly captures its value
    • Silent catch blocks now log when DEBUG=true
Commits
  • 6de92c7 Version Packages (#43)
  • 6f3c94c fix(ci): fix biome, knip, build, and test failures
  • c90121e refactor(runtime): simplify StringSelectMenu.addOptions and tighten choice va...
  • 189636f refactor(runtime): extract isUnknownCommandError helper, remove dead code, ha...
  • 52a2cde perf(runtime): lazy-init DataStore and replace router O(n) scan with Map lookup
  • c20112b fix(dev/runtime): surface silent errors and improve route depth message
  • 2f92956 fix(runtime/dev): improve data store, token entropy, signal handling, and pat...
  • 2f29daf fix(runtime): fix deprecated APIs, duplicate intents, missing config fields, ...
  • 9ce7b9f refactor(runtime): consolidate plugin resolution, route key building, and Con...
  • aebc334 fix(runtime): replace deprecated isCommand() with isChatInputCommand() and ex...
  • 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.11.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.11.0/packages/runtime)

---
updated-dependencies:
- dependency-name: "@djs-core/runtime"
  dependency-version: 1.11.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 17, 2026
@dependabot @github

dependabot Bot commented on behalf of github Jun 18, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #139.

@dependabot dependabot Bot closed this Jun 18, 2026
@dependabot dependabot Bot deleted the dependabot/bun/djs-core/runtime-1.11.0 branch June 18, 2026 15:23
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