github zenstackhq/zenstack v1.0.0-alpha.87
ZenStack Release v1.0.0-alpha.87

latest releases: v2.9.3, v2.9.2, v2.9.1...
20 months ago

What's Changed

  • Support for implicit many-to-many relations
  • Added attribute functions for filtering on fields in policy expressions: contains, search, startsWith, endsWith, has, hasSome, isEmpty. You can use these functions to write more flexible policy rules, e.g.:
    model Post {
      id String @id
      title String
      @@allow('update', startsWith(title, '[DRAFT]'))
    }
    See detailed documentation here: https://zenstack.dev/docs/reference/zmodel-language#predefined-attribute-functions.
  • Improved consistency in handling undefined and null values in auth() object

Full Changelog: v1.0.0-alpha.85...v1.0.0-alpha.87

Don't miss a new zenstack release

NewReleases is sending notifications on new releases.