v0.27.2
@kitcn/resend
Published @kitcn/resend@0.27.2.
kitcn
Patch Changes
-
#397
c90f821Thanks @MikeyZhang75! - ## Patches-
Fix organization permission checks returning a false "not a member" once an
organization grows past ~200 members. The generated auth schema now indexes
the composite lookups the organization plugin actually issues:
memberbyorganizationId+userIdand byorganizationId+role,
teamMemberbyteamId+userId,invitationby
organizationId+statusand byemail+organizationId+status, and
organizationRolebyorganizationId+role. Every index that was emitted
before is still emitted, so this is additive — rerun
npx kitcn add auth --schema --yesto pick the new ones up. -
Fix
findOnereporting "not found" when the scan budget ran out before
reaching a matching row. Single-document reads now page until they match a row
or exhaust the query, so an unindexed lookup is slow and warns rather than
silently wrong. Watch forQuerying without an index on table "..."in your
logs and add the index it names.
-