Features
- Server adapter for Nuxt V3! docs
@zenstackhq/tanstack-query
plugin now supports "vue" target. You can use it with the Nuxt server adapter for Vue.js-based full-stack development docs. Checkout the todo sample.- Support configuring what models to include for zod and trpc plugins. Please beware that even with a list of models specified for the "zod" plugin, during generation it'll traverse and include all referenced models recursively. trpc-docs zod-docs #728
Fixes and Improvements
- Upgrading Zod dependency to the latest "3.22.4" release. Older Zod is vulnerable to ReDos attack. Please consider upgrading Zod dependency in your project as well.
- ZModel: added missing
Max
enum declaration and extra parameter to the@default
attribute for MSSQL #724 - ZModel: allow models without field declarations #734
- ZModel: support using "view" and "import" as declarations names #735
- ZModel: support using string literal as keys in object expressions #744
- ZModel: report errors when member access is made on an array field #756
- OpenAPI: do not generate "id" field in create input if the field has default value #736
- TRPC: added "eslint ignore" comment generation for
helper.ts
#753 - Added "model-meta" and "policy" entries to "package.json" of the generated ".zenstack" package for better compatibility #755
New Contributors
- Welcome our new contributor @Lordfirespeed 👏👏👏
Full Changelog: v1.0.2...v1.1.0