Skip to content

v0.15.0

Choose a tag to compare

@codybrouwers codybrouwers released this 12 Aug 18:45
· 10 commits to main since this release
f7318ac

Added

  • Scope nested relational with includes on the callback/SQL relational query API (Drizzle 0.45). Scoped included relations now receive their own scope predicate recursively and fail closed when the relation or predicate cannot be resolved.

Changed

  • Relational with includes on the callback/SQL API are now scoped instead of rejected. The Drizzle 1.0 RQBv2 object-filter API still fails closed on nested with until nested object-filter injection is supported.
  • The npm package is published as @modem-dev/drizzle-scoped-db. Use this package name instead of the former @modemdev/drizzle-scoped-db scope.

Install

npm install @modem-dev/drizzle-scoped-db@0.15.0 drizzle-orm