Releases: Eventiva/zenstack
Releases · Eventiva/zenstack
Monorepo: v2.0.0
2.0.0 (2024-02-19)
Features
- a better "zod" plugin (#521) (2280f83)
- add "loadPath" options to runtime API and server adapter options (#696) (fc50deb)
- add @@auth option for declaring auth model (#787) (c390de1)
- add CLI config file support (#328) (4668ee9)
- Add multi-schema file support (#368) (4e57b96)
- add prisma passthrough attribute for working around discripancies between zmodel and prisma (#245) (cef96d4)
- add support for comparing fields in the same model (#631) (4776685)
- add support for filter operator functions (#289) (7914470)
- add support for type modifier attributes (#240) (a05d320)
- add switch to zod plugin to control whether unchecked input types are generated (#693) (cea2019)
- add zenstack CLI repl command (#808) (616be65)
- allow specifying zmodel location in package.json (#879) (bb149bd)
- allow to use custom fetch with generated hooks (#556) (2a6b31a)
- always use superjson to serialize/deserialize in the api layer (#585) (46fec66)
- automatic optimistic update for tanstack hooks (#830) (93dc7df)
- CLI improvements (#694) (eba3390)
- copy nextjs adapter over to
server
package (#420) (f79902a) - express.js adapter (#271) (e12fc5a)
- field-level access control (#638) (9a6f39b)
- field-level policy override (#889) (271d568)
- flexible 'createRouter' typings (#654) (e147412)
- fluent API support (#666) (4ae5a96)
- generate openapi doc with 3.1.0 version (fe74a80)
- generate openapi doc with 3.1.0 version (#304) (920b13e)
- implement filter operators in restful service (#411) (52f44c5)
- implement openapi security inferrence and override (#341) (2860f00)
- implement tanstack-query generator plugin (#413) (9351fc9)
- implementing access control for Prisma Pulse (#643) (d8c2e87)
- implementing sveltekit adapter and refactor server package (#418) (53716c9)
- import statment validation (#369) (782a449)
- improved automatic query invalidation for tanstack-query (#790) (42d654f)
- improvements of openapi plugin (#335) (3b9e356)
- include raw zod errors in response (#691) (b5da998)
- infinite query for swr plugin (#680) (757ccb5)
- infinite query support for tanstack-query (#679) (3300499)
- JetBrains plugin for ZModel (#904) (c79be9e)
- let
zenstack init
install exact versions for zenstack package… (#313) (38c97bd) - make nextjs adapter support next 13 app dir (#483) (a078b23)
- make parameters of transactions configurable (#988) (d0745b1)
- Make ZModel color schema looks cool and consistent (#791) (6dabb02), closes #716
- more flexible "createRouter" typings (#651) (d2bffb6)
- more flexible "in" operator and filter expressions (#367) (170bc73)
- more flexible formating for zmodel and generated prisma file (#388) (4d7699f)
- Nuxt server adapter and tanstack-query for "vue" hooks generation (#757) (033d95d)
- OpenAPI & fastify adapter (#254) (dd9963c)
- optimistic update support for SWR (#860) (0ca4670)
- options for logging queries sent to prisma (#488) (ccfb2b0)
- polymorphism (#990) (bac3683)
- react-hooks generator and runtime targeting @tanstack/react-query (#309) (21ccddb)
- ...