Skip to content

Version Packages - #105

Merged
Cleboost merged 1 commit into
masterfrom
changeset-release/master
Sep 3, 2026
Merged

Version Packages#105
Cleboost merged 1 commit into
masterfrom
changeset-release/master

Conversation

@github-actions

@github-actions github-actions Bot commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to master, this PR will be updated.

Releases

@djs-core/testing@1.0.0

Minor Changes

  • Initial release: testCommand, testButton, testModal, testSelectMenu, testContextMenu, testAutocomplete, testEvent
  • Mock interaction factories and reply tracking for Bun test projects

@djs-core/dev@5.6.0

Minor Changes

  • 940ea61: Add @djs-core/testing and ship djs-core test for running colocated bun:test suites against bot handlers.

Patch Changes

  • 940ea61: Security, reliability, and DX improvements:

    • Include modals in the production generated entry
    • Lazy-load ts-morph for djs-core check and keep it external in the CLI bundle
    • Read CLI --version from @djs-core/dev package.json
    • Sanitize djs-core generate output paths against directory traversal
    • Harden generated Dockerfiles (USER bun, healthcheck, optional migrations copy) and add --docker
    • Handle SIGTERM during djs-core dev shutdown (Docker/systemd)
    • Improve dev HMR: unload buttons before reload, warn when djs.config.ts changes, document restart requirements
    • Generate PostgresJsDatabase types for PostgreSQL (matches postgres-js runtime driver)
  • Updated dependencies [940ea61]

  • Updated dependencies [940ea61]

  • Updated dependencies [940ea61]

  • Updated dependencies [940ea61]

    • @djs-core/db@1.0.1
    • @djs-core/runtime@1.14.1
    • @djs-core/testing@1.0.0

@djs-core/db@1.0.1

Patch Changes

  • 940ea61: Security and reliability improvements:

    • Parse db: from djs.config.ts with a strict JSON-like parser instead of new Function()
    • Throw when autoMigrate is enabled but db/migrations is missing (default examples use autoMigrate: false)

@djs-core/runtime@1.14.1

Patch Changes

  • 940ea61: Export ButtonHandler and SelectMenuHandler for testing and advanced integrations.

  • 940ea61: Reliability and performance improvements:

    • Catch event listener failures in EventHandler instead of crashing the process
    • Close database, DataStore, and cron jobs in DjsClient.destroy()
    • Route slash command sync through ApplicationCommandHandler only (no duplicate compiler path)
    • Cap autocomplete responses at 25 choices with a warning when trimmed
    • Cache SQLite prepared statements in DataStore for store/get/delete/cleanup
    • Default to Guilds intent with bounded message cache and thread sweepers via Options.createDefault; opt into extra intents and partials from djs.config.ts
  • Updated dependencies [940ea61]

    • @djs-core/db@1.0.1

@github-actions
github-actions Bot force-pushed the changeset-release/master branch 7 times, most recently from 296afaf to bbbb9e9 Compare August 15, 2026 19:30
@github-actions
github-actions Bot force-pushed the changeset-release/master branch 7 times, most recently from 607efa7 to 8b6a070 Compare September 3, 2026 19:43
@github-actions
github-actions Bot force-pushed the changeset-release/master branch from 8b6a070 to b1ebf30 Compare September 3, 2026 20:09
@Cleboost
Cleboost merged commit 9012412 into master Sep 3, 2026
@Cleboost
Cleboost deleted the changeset-release/master branch September 3, 2026 20:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant