Skip to content

release: v0.7.0#22

Merged
benvinegar merged 1 commit into
mainfrom
release/0.7.0
Jun 26, 2026
Merged

release: v0.7.0#22
benvinegar merged 1 commit into
mainfrom
release/0.7.0

Conversation

@benvinegar

Copy link
Copy Markdown
Member

Release v0.7.0

Bumps version to 0.7.0 and moves the Unreleased changelog entries into an immutable version section.

Release notes

Added

  • Scope predicates injected for joined tables with declared rules in select builders
  • InvalidScopedUpdateError and update payload validation via updateKey (falls back to insertKey) to prevent scope column reassignment during updates
  • Drizzle ORM 1.0 RC peer dependency support and CI compatibility checks
  • Social preview artwork, before/after diagram, release benchmark gate

Changed

  • Strict mode is now the default; opt out with strict: false
  • README reframed: scope-first positioning (tenant as example), TL;DR, badges, RLS comparison table, use cases section

Fixed

  • Double .where() can no longer overwrite the injected scope predicate — scoped builders return facades that hide scope-unsafe methods
  • Scope predicates injected for joined tables even when the root table is unscoped, closing a read-path leak
  • Strict-mode scope detection matches the table's original (pre-alias) name, fixing false positives when joined tables share a column name while remaining safe for aliased self-joins

Validation

pnpm format:check  ✓
pnpm lint          ✓
pnpm typecheck     ✓
pnpm test          ✓  (40/40)
pnpm coverage      ✓  (100% statements/branches/functions/lines)
pnpm build         ✓

@benvinegar benvinegar merged commit 875bb5c into main Jun 26, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant