Repository navigation
2.0.0-next.17
Pre-release
Pre-release
What’s Changed
PostgreSQL enum naming
- Fixed generated PostgreSQL enum type names for non-Prisma migration flows to include the table name, so a users.status enum now becomes users_status_enum instead of the globally-colliding status_enum.
- Added regression coverage to ensure multiple tables can declare same-named enum columns without type-name conflicts.
Many-to-many relation ergonomics
- Added Laravel-style pivot helpers to belongs-to-many relations, including withPivot, withTimestamps, as, using, wherePivot, wherePivotNotIn, wherePivotBetween, wherePivotNotBetween, wherePivotNull, and wherePivotNotNull.
- Extended relation metadata and eager-loading behavior so pivot fields and aliases are preserved consistently across relation loading.
- Improved pivot hydration so executing terminal operations from relation queries still keeps pivot payloads attached.
Query debugging and inspection
- Added query inspection support for adapters that can expose compiled queries.
- Added QueryBuilder inspection support for select, single-record select, count, and exists flows.
- Added structured query execution error wrapping through QueryExecutionException so adapter failures surface consistent Arkorm error context.
- Included compiled SQL and bound parameters in wrapped Kysely execution errors when available.
- Added runtime debug configuration with support for either a boolean flag or a custom callback handler.
- Enabled structured debug events around database activity, including before, after, and error phases for adapter-backed operations.
Adapter improvements
- Enhanced the Kysely adapter to centralize compiled-query handling for inspection, debug logging, and execution error reporting.
- Enhanced the Prisma adapter to emit structured debug events and wrap raw delegate execution failures in Arkorm exceptions.
- Preserved the current Prisma boundary where SQL inspection is unavailable rather than returning guessed or partial SQL.
What's Changed
- Add 'next' branch to CI workflow triggers by @3m1n3nc3 in #2
- Update deploy-docs.yml by @3m1n3nc3 in #3
Full Changelog: 2.0.0-next.2...2.0.0-next.17