Skip to content

Releases: Cleboost/djs-core

@djs-core/runtime@1.10.0

25 Mar 21:42
c001bda

Choose a tag to compare

Minor Changes

  • 1aab71f: feat: add support for partials in configuration and enable all intents by default in DjsClient.
    • Add partials to the Config interface.
    • Update DjsClient constructor to include more default intents.
    • Added default partials support in DjsClient for partial data handling.

@djs-core/dev@5.2.2

25 Mar 21:42
c001bda

Choose a tag to compare

Patch Changes

  • Updated dependencies [1aab71f]
    • @djs-core/runtime@1.10.0

@djs-core/dev@5.2.1

25 Mar 18:02
f60c152

Choose a tag to compare

Patch Changes

  • Updated dependencies [07c0dd9]
    • @djs-core/runtime@1.9.0

@djs-core/runtime@1.8.0

22 Mar 17:26
9cd63ec

Choose a tag to compare

Minor Changes

  • 9bf091e: Support for dynamic plugin typing via PluginsExtensions augmentation and asynchronous import() in plugin configuration.

Patch Changes

  • 3c13aa6: Optimize application command registration by implementing parallel guild synchronization (via Promise.all) to improve performance and adding unit tests for command synchronization.
  • d8a5f1f: Optimize context menu registration and deletion by parallelizing guild-specific API calls and improving internal safety checks.

@djs-core/plugin-sql@2.0.0

22 Mar 17:26
9cd63ec

Choose a tag to compare

Major Changes

  • fa07901: Enforce tagged template literals for SQL queries to prevent SQL injection by design.
    This is a breaking change that removes support for traditional (query, params) syntax in favor of safe-by-default backtick templates: sql.execute`SELECT...` .

Patch Changes

  • 9bf091e: Migrate to the new decoupled type generation system for improved developer experience and better type safety.
  • Updated dependencies [9bf091e]
  • Updated dependencies [3c13aa6]
  • Updated dependencies [d8a5f1f]
    • @djs-core/runtime@1.8.0

@djs-core/plugin-prisma-sqlite@1.0.0

22 Mar 17:26
9cd63ec

Choose a tag to compare

Major Changes

  • 9bf091e: Initial release of the Prisma SQLite plugin for djs-core. Optimized for Bun with "Zero Config" setup and automatic type augmentation.

Patch Changes

  • Updated dependencies [9bf091e]
  • Updated dependencies [3c13aa6]
  • Updated dependencies [d8a5f1f]
    • @djs-core/runtime@1.8.0

@djs-core/dev@5.2.0

22 Mar 17:26
9cd63ec

Choose a tag to compare

Minor Changes

  • 9bf091e: New plugin management system with djs-core plugin install and postinstall commands. Supports automatic configuration updates and plugin-contributed CLI commands.

  • 32395b2: Add non-interactive build flags to the djs-core development CLI:

    • --bundled to force a Bun bundled build
    • --external to force a Bun build with external dependencies
    • reuses existing --compile flag to build a native binary

    These flags allow CI/build-runner workflows to run djs-core build without an interactive prompt.

Patch Changes

  • Updated dependencies [9bf091e]
  • Updated dependencies [3c13aa6]
  • Updated dependencies [d8a5f1f]
    • @djs-core/runtime@1.8.0

@djs-core/runtime@1.7.0

10 Mar 14:50
6edfdaf

Choose a tag to compare

Minor Changes

  • b5594d9: Introduce a major new plugin system for djs-core.
    • Modular architecture to extend the native client functions.
    • Fully typed configuration in djs.config.ts.
    • Automatic type augmentation for perfect DX (autocompletion on client.pluginName).
    • Support for life-cycle hooks like onReady.

Patch Changes

  • c7d6460: - plugin-sql: Initial release of the SQL plugin using Bun SQLite.
    • runtime:
      • Improve Command class type support for fluent API with subcommands and groups.
      • Ensure plugins are fully initialized before bot startup to prevent race conditions.
    • dev:
      • Stabilize type generation in monorepo by adding local tsconfig.json support and bundler module resolution.
      • Wait for plugin initialization in the generated production entry point.
    • example: Added a comprehensive SQL Todo List example using filesystem-based subcommands.
  • d5ab9f8: refactor: update EventListener to use Client for better type safety and cleaner user code.

@djs-core/plugin-sql@1.0.0

10 Mar 14:50
6edfdaf

Choose a tag to compare

Major Changes

  • c7d6460: - plugin-sql: Initial release of the SQL plugin using Bun SQLite.
    • runtime:
      • Improve Command class type support for fluent API with subcommands and groups.
      • Ensure plugins are fully initialized before bot startup to prevent race conditions.
    • dev:
      • Stabilize type generation in monorepo by adding local tsconfig.json support and bundler module resolution.
      • Wait for plugin initialization in the generated production entry point.
    • example: Added a comprehensive SQL Todo List example using filesystem-based subcommands.

Patch Changes

  • Updated dependencies [c7d6460]
  • Updated dependencies [b5594d9]
  • Updated dependencies [d5ab9f8]
    • @djs-core/runtime@1.7.0

@djs-core/dev@5.1.0

10 Mar 14:50
6edfdaf

Choose a tag to compare

Minor Changes

  • 6240da1: feat: add support for native binary compilation using bun build --compile.
    Includes a new --compile (or -c) flag and an interactive menu option with a size warning.
  • b5594d9: Introduce a major new plugin system for djs-core.
    • Modular architecture to extend the native client functions.
    • Fully typed configuration in djs.config.ts.
    • Automatic type augmentation for perfect DX (autocompletion on client.pluginName).
    • Support for life-cycle hooks like onReady.

Patch Changes

  • c7d6460: - plugin-sql: Initial release of the SQL plugin using Bun SQLite.
    • runtime:
      • Improve Command class type support for fluent API with subcommands and groups.
      • Ensure plugins are fully initialized before bot startup to prevent race conditions.
    • dev:
      • Stabilize type generation in monorepo by adding local tsconfig.json support and bundler module resolution.
      • Wait for plugin initialization in the generated production entry point.
    • example: Added a comprehensive SQL Todo List example using filesystem-based subcommands.
  • 6240da1: fix: ensure build command exits cleanly after completion by forcing process exit.
  • Updated dependencies [c7d6460]
  • Updated dependencies [b5594d9]
  • Updated dependencies [d5ab9f8]
    • @djs-core/runtime@1.7.0