Skip to content

ZenStack Release v3.9.4

Latest

Choose a tag to compare

@github-actions github-actions released this 10 Sep 23:05
53d0b9c

What's Changed

Features

  • Added @uuid string validation attribute (with an optional version argument, 4 or 7) and a matching isUuid() function for use in custom validation rules and expressions - by @sanny-io and @MaxFreedomPollard

Fixes

  • Fixed args typing of parameterized computed fields: non-scalar parameters (enums, type defs, etc.) are now properly typed instead of falling back to unknown - by @evgenovalov
  • Fixed enum value resolution for table-qualified references, so joined queries involving mapped enum fields or renamed enum columns no longer fail #2825 - by @DoctorFTB
  • Added a mutex for single-connection database adapters (SQLite) to avoid concurrent transaction conflicts (ported from latest Kysely) #2788 - by @sanny-io

Additional notes

A side-effect improvement brought by @evgenovalov 's change is that, the generated model doesn't contain method stubs for computed fields anymore (they used to be an object under the computedFields key). Now computed field's argument type and return type are directly inferred from their field definitions.

Full Changelog: v3.9.3...v3.9.4