github zenstackhq/zenstack v1.5.0
ZenStack Release v1.5.0

latest releases: v2.8.1, v2.8.0, v2.7.5...
10 months ago

New Features

  • You can now specify the location of ZModel file in "package.json" in your project. #878

    {
        ...
        "zenstack": { "schema": "./db/schema.zmodel" }
    }

    The zenstack CLI recognizes this setting and will use it as default if it's set.

  • Field-level access policies can be configured to override model-level ones #809 docs

Fixes and Improvements

  • Upgraded "prettier" dependency to V3! By @sitch
  • [swr] Marked the generated legacy mutation functions as deprecated. New code should use mutation hooks instead.
  • [swr/tanstack] Fixed ESLint issue when calling the generated mutation hooks
  • [zod] Generated "Create" schemas now require foreign key fields if the relation is non-optional.
  • [zod] Fixed exports in "package.json" to make it compatible with Next.js 13+ bundler #861
  • [swr] Runtime modules are not compiled to both CJS and ESM
  • [cli] Removed --config option from CLI docs since it doesn't do anything today.

Welcome @sitch as our new contributor ❤️!

Full Changelog: v1.4.0...v1.5.0

Don't miss a new zenstack release

NewReleases is sending notifications on new releases.