Releases: Cleboost/djs-core
Releases · Cleboost/djs-core
@djs-core/runtime@1.10.0
Minor Changes
- 1aab71f: feat: add support for partials in configuration and enable all intents by default in
DjsClient.- Add
partialsto theConfiginterface. - Update
DjsClientconstructor to include more default intents. - Added default
partialssupport inDjsClientfor partial data handling.
- Add
@djs-core/dev@5.2.2
Patch Changes
- Updated dependencies [1aab71f]
- @djs-core/runtime@1.10.0
@djs-core/dev@5.2.1
Patch Changes
- Updated dependencies [07c0dd9]
- @djs-core/runtime@1.9.0
@djs-core/runtime@1.8.0
Minor Changes
- 9bf091e: Support for dynamic plugin typing via
PluginsExtensionsaugmentation and asynchronousimport()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
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
@djs-core/plugin-prisma-sqlite@1.0.0
@djs-core/dev@5.2.0
Minor Changes
-
9bf091e: New plugin management system with
djs-core plugin installandpostinstallcommands. Supports automatic configuration updates and plugin-contributed CLI commands. -
32395b2: Add non-interactive build flags to the
djs-coredevelopment CLI:--bundledto force a Bun bundled build--externalto force a Bun build with external dependencies- reuses existing
--compileflag to build a native binary
These flags allow CI/build-runner workflows to run
djs-core buildwithout an interactive prompt.
Patch Changes
@djs-core/runtime@1.7.0
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
Commandclass type support for fluent API with subcommands and groups. - Ensure plugins are fully initialized before bot startup to prevent race conditions.
- Improve
- dev:
- Stabilize type generation in monorepo by adding local
tsconfig.jsonsupport andbundlermodule resolution. - Wait for plugin initialization in the generated production entry point.
- Stabilize type generation in monorepo by adding local
- example: Added a comprehensive SQL Todo List example using filesystem-based subcommands.
- runtime:
- d5ab9f8: refactor: update EventListener to use Client for better type safety and cleaner user code.
@djs-core/plugin-sql@1.0.0
Major Changes
- c7d6460: - plugin-sql: Initial release of the SQL plugin using Bun SQLite.
- runtime:
- Improve
Commandclass type support for fluent API with subcommands and groups. - Ensure plugins are fully initialized before bot startup to prevent race conditions.
- Improve
- dev:
- Stabilize type generation in monorepo by adding local
tsconfig.jsonsupport andbundlermodule resolution. - Wait for plugin initialization in the generated production entry point.
- Stabilize type generation in monorepo by adding local
- example: Added a comprehensive SQL Todo List example using filesystem-based subcommands.
- runtime:
Patch Changes
@djs-core/dev@5.1.0
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
Commandclass type support for fluent API with subcommands and groups. - Ensure plugins are fully initialized before bot startup to prevent race conditions.
- Improve
- dev:
- Stabilize type generation in monorepo by adding local
tsconfig.jsonsupport andbundlermodule resolution. - Wait for plugin initialization in the generated production entry point.
- Stabilize type generation in monorepo by adding local
- example: Added a comprehensive SQL Todo List example using filesystem-based subcommands.
- runtime:
- 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