Skip to content

ZenStack Release v3.9.6

Latest

Choose a tag to compare

@github-actions github-actions released this 24 Sep 01:17
aa89ff5

What's Changed

Fixes

  • Fixed access policy pre-create checks mistaking Json field values for Kysely operation nodes. A payload with a top-level kind key (e.g., { kind: "artwork" }) used to fail with Invariant failed: expecting a ValueNode when the model has a non-constant create policy #2791 - by @BetterAndBetterII
  • Fixed enum array fields (TestTag[]) with @map-ed values on PostgreSQL: select, insert, and update used to fail with malformed array literal #2818 - by @DoctorFTB
  • Improved createMany performance under access policies: when the create rule depends only on auth() and not on the row being created, the per-row policy check is now skipped instead of issuing one query per row #2841 - by @bgowers

Full Changelog: v3.9.5...v3.9.6