Skip to content

Releases: zenstackhq/zenstack

ZenStack Release v0.5.0

16 Dec 09:06
0a2a9b4
Compare
Choose a tag to compare

Features

  • Serialization between client (hooks) and server now uses superjson, [#139]

Fixes and improvements

  • Fixed goto definition issue in VSCode extension, [#69]

Breaking changes

  • Next-auth adapter and helper are moved to a separate package @zenstackhq/next-auth.

ZenStack Release v0.4.0

01 Dec 06:08
158c6de
Compare
Choose a tag to compare

Features

  • zenstack init command for initializing a project, #109, doc.

  • Field constraint suport, #94, doc.

  • Support for server-side CRUD with access policy check (SSR), #126, doc.

  • Options for disabling fetching in hooks (useful when arguments are not ready), #57, doc.

  • Telemetry in CLI, #102, doc.

  • Iron-session based starter, #95, link.

  • Barebone starter (without authentication), link.

  • Website is live!

Fixes and improvements

  • Merge @zenstackhq/internal into @zenstackhq/runtime so as to have a single runtime dependency, #70.

  • More accurate log for access policy violation, #71.

  • auth() function's return type is now resolved to User model in ZModel, instead of Any, #65.

  • Improved ZModel type checking, #67, #46, #99.

  • Upgraded to Prisma 4.7.

Breaking changes

  • @zenstackhq/runtime doesn't export anything now.

    Use @zenstackhq/runtime/types for type definitions shared between client and server, @zenstackhq/runtime/client for client-specific libaries (like React hooks), and @zenstackhq/runtime/server for server-specific libraries.

ZenStack Release v0.3.0

08 Nov 03:29
bb1640b
Compare
Choose a tag to compare

Closes #48 #54 #45 #53 #51 #58

  • More robust policy checks
  • Configurable logging (to stdout and emitting as events)
  • Properly handles complex types like BigInt, Date, Decimal, etc.
  • Makes sure Prisma schema is regenerated for related CLI commands
  • @password and @omit attribute support
  • Lower VSCode engine version requirement for the extension
  • Better overall documentation

ZenStack Release v0.2.4

03 Nov 15:10
5c813e3
Compare
Choose a tag to compare
Pre-release
  • Refactored policy checking and added more integration tests
  • Added new @password and @omit field attributes
  • Cleaned up todo sample's redundant models

ZenStack Release v0.2.1

29 Oct 01:33
c6726de
Compare
Choose a tag to compare
Pre-release

ZenStack Release v0.2.1 (2022-10-29)

Initial public release for ZenStack cli and runtime packages

New Features

  • ZModel data modeling schema (an extension to Prisma Schema)
  • zenstack cli for generating RESTful services, auth adapters and React hooks from ZModel
  • Policy engine that transforms policy rules into Prisma query conditions
  • Runtime packages
  • An initial set of tests