What's Changed
Fixes
- Fixed access policy pre-create checks mistaking
Jsonfield values for Kysely operation nodes. A payload with a top-levelkindkey (e.g.,{ kind: "artwork" }) used to fail withInvariant failed: expecting a ValueNodewhen 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 withmalformed array literal#2818 - by @DoctorFTB - Improved
createManyperformance under access policies: when the create rule depends only onauth()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