Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 0 additions & 31 deletions .changeset/fixes-and-patches.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/testing-kit.md

This file was deleted.

8 changes: 4 additions & 4 deletions bun.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

30 changes: 30 additions & 0 deletions packages/db/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,35 @@
# @djs-core/db

## 1.0.1

### Patch Changes

- 98a977f: Security, reliability, and DX fixes across the core packages.

### `@djs-core/runtime`

- 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

### `@djs-core/dev`

- 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)

### `@djs-core/db`

- 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`)

## 1.0.0

### Major Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/db/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@djs-core/db",
"version": "1.0.0",
"version": "1.0.1",
"description": "Native Drizzle database layer for djs-core",
"type": "module",
"main": "./dist/index.js",
Expand Down
40 changes: 40 additions & 0 deletions packages/dev/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,45 @@
# @djs-core/dev

## 5.6.0

### Minor Changes

- 482824f: Add `@djs-core/testing` with mock helpers for commands, components, events, and autocomplete. Ship it via `@djs-core/dev`, add `djs-core test`, and export ButtonHandler/SelectMenuHandler from runtime.

### Patch Changes

- 98a977f: Security, reliability, and DX fixes across the core packages.

### `@djs-core/runtime`

- 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

### `@djs-core/dev`

- 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)

### `@djs-core/db`

- 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`)

- Updated dependencies [98a977f]
- Updated dependencies [482824f]
- @djs-core/runtime@1.14.1
- @djs-core/db@1.0.1
- @djs-core/testing@1.0.0

## 5.5.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/dev/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@djs-core/dev",
"version": "5.5.0",
"version": "5.6.0",
"description": "Development CLI tools for djs-core Discord bot framework",
"type": "module",
"types": "./dist/index.d.ts",
Expand Down
34 changes: 34 additions & 0 deletions packages/runtime/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,39 @@
# @djs-core/runtime

## 1.14.1

### Patch Changes

- 98a977f: Security, reliability, and DX fixes across the core packages.

### `@djs-core/runtime`

- 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

### `@djs-core/dev`

- 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)

### `@djs-core/db`

- 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`)

- 482824f: Add `@djs-core/testing` with mock helpers for commands, components, events, and autocomplete. Ship it via `@djs-core/dev`, add `djs-core test`, and export ButtonHandler/SelectMenuHandler from runtime.
- Updated dependencies [98a977f]
- @djs-core/db@1.0.1

## 1.14.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/runtime/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@djs-core/runtime",
"version": "1.14.0",
"version": "1.14.1",
"description": "Runtime library for djs-core Discord bot framework",
"type": "module",
"main": "./dist/index.js",
Expand Down
12 changes: 12 additions & 0 deletions packages/testing/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,18 @@

## 1.0.0

### Major Changes

- 482824f: Add `@djs-core/testing` with mock helpers for commands, components, events, and autocomplete. Ship it via `@djs-core/dev`, add `djs-core test`, and export ButtonHandler/SelectMenuHandler from runtime.

### Patch Changes

- Updated dependencies [98a977f]
- Updated dependencies [482824f]
- @djs-core/runtime@1.14.1

## 1.0.0

### Minor Changes

- Initial release: `testCommand`, `testButton`, `testModal`, `testSelectMenu`, `testContextMenu`, `testAutocomplete`, `testEvent`
Expand Down
2 changes: 1 addition & 1 deletion packages/testing/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@djs-core/testing",
"version": "0.0.1",
"version": "1.0.0",
"description": "Testing utilities and mocks for djs-core Discord bots",
"type": "module",
"main": "./dist/index.js",
Expand Down