Skip to content

chore(v2): release Runtime 2.1.0-alpha.1 #1032

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed

Conversation

github-actions[bot]
Copy link
Contributor

🤖 I have created a release beep boop

2.1.0-alpha.1 (2024-02-21)

Features

  • a better "zod" plugin (#521) (2280f83)
  • add "loadPath" options to runtime API and server adapter options (#696) (fc50deb)
  • 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)
  • always use superjson to serialize/deserialize in the api layer (#585) (46fec66)
  • automatic optimistic update for tanstack hooks (#830) (93dc7df)
  • express.js adapter (#271) (e12fc5a)
  • field-level access control (#638) (9a6f39b)
  • field-level policy override (#889) (271d568)
  • fluent API support (#666) (4ae5a96)
  • implementing access control for Prisma Pulse (#643) (d8c2e87)
  • improved automatic query invalidation for tanstack-query (#790) (42d654f)
  • include raw zod errors in response (#691) (b5da998)
  • make parameters of transactions configurable (#988) (d0745b1)
  • 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)
  • RedwoodJS integration package (#911) (e4aeee3)
  • RESTful style server API handler (#405) (f07ccdd)
  • runtime support for custom @[@auth](https://github.com/auth) model (#793) (08b9677)
  • support multi-id-field models (@@id([f1, f2, ...])) (#243) (7e55e65)
  • support Prisma v5 (#587) (b0d9154)
  • support self relations (#244) (93cb6bf)
  • support using collection predicate expression with auth() (#831) (ff1e8a5)
  • zod plugin and zod validation for open-api requests (#262) (51c094e)

Bug Fixes

  • add "exports" to generated package.json, make trpc code-gen compatible with vite (#677) (df67f30)
  • add CheckSelect type into code for Prisma version backward compatibility (#619) (3e09a3a)
  • add package.json exports (#597) (8ccfc93)
  • add support for @@schema attribute, and allow arbitrary fields in datasource (#250) (9d45384)
  • avoid return loaded prisma if undefined (#461) (cfca402)
  • batch bug fixes (#273) (e1600c8)
  • bug in enhancement proxy for detecting nested transactions (#941) (85a0525)
  • bug with NOT clause reduction when condition is an array (#848) (debd35b)
  • bugs related to model name casing (#645) (32d5b26)
  • build, lint and etc. (#833) (cccbc3c)
  • canonicalize plugin's output folder detection; don't generate aux field unnecessarily (#423) (9eaf235)
  • change back to loading from literal ".zenstack" path otherwise Vercel breaks :( (#701) (2d41a9f)
  • change openapi plugin's default flavor to "rpc" (#439) (ec65e53)
  • clean up zod generation (#883) (909281f)
  • clean up zod generation (#883) (9d4a8ed)
  • conditions hoisted from nested read overwrites toplevel where conditions (#635) (9a35f88)
  • deal with payload field value with undefined (#778) (e41fc74)
  • deprecated cuid dependency & clean up CI file (#359) (9f79e51)
  • deprecated import from "@prisma/client/runtime" (#398) (da7d88c)
  • disable eslint in generated hooks, refactor package inter-dependencies (9e84126)
  • enhanced client doesn't work with client extensions that add new model methods (7dec167)
  • enhanced client doesn't work with client extensions that add new model methods (#851) (ea564c9)
  • fix react-query code-gen and improve mutation options merging (#314) (51484a7)
  • fix the incorrect query args reduction when there're mixed boolean operators (#690) (c0c5a16)
  • handle @@ignore models properly in plugins (#283) (6f7cb0e)
  • handle foreign key field-level access check during relation update (#847) (3c8cba7)
  • hooks generation emits Provider export for backward compatibility (#594) (ca3ebda)
  • improve clarity of dealing with auth() during policy generation (#293) (c3b456a)
  • improve consistency of generated guard code (#616) (1b7b5bd)
  • improve error messages (#502) (c8e5724)
  • improve generated typing for polymorphic models (#1002) (7b453f7)
  • improve stacktrace of errors generated by proxied Prisma methods (#484) (1b67eba)
  • incorrect policy injection for nested to-one relation inside a to-many parent (#777) (876e013)
  • incorrect relation owner analysis (#610) (c89012b)
  • incorrect reverse query built for to-many relation (d2ad3a5)
  • incorrect reverse query built for to-many relation (#815) (2c345e1)
  • invalid query sent to Prisma when doing nested update with multi-id (#553) (24760be)
  • issue #627 (#628) (2ef93cb)
  • issue 599, throw error if the given user context doesn't contain full id fields (#629) (4bc72a8)
  • issue 961, incorrect policy injection for nested updateMany (bf690a0)
  • issue 961, incorrect policy injection for nested updateMany (#962) (2b2bfcf)
  • issue with connecting multiple relations (#450) (dd6be95)
  • make core plugins compile generated ts files by default (#373) (4bf1304)
  • make sure auxiliary fields in nested entities are stripped (#387) (5616c05)
  • make sure Buffer is imported (#596) (76a0bac)
  • make sure zod schemas have type annotations (#574) (51985b1)
  • missing string quote during function arg gen (#234) (88828e3)
  • more tests and bump version (#225) (cabe9dc)
  • nullify field instead of reject when an optional relation field is not readable (#588) (fc16008)
  • open-api issues (#446) (2855647)
  • openapi generator relation handling (#320) (f1c9765)
  • optimize the way how generated packages are loaded in test environment (#549) (18267f6)
  • policy generation error when field-level rules contain "this" expression (#670) (dc106a9)
  • post-update rules incorrectly reject update (#826) (d921a7c)
  • post-update rules incorrectly reject update (#826) (e85831e)
  • query injection error when create (in array form) is nested inside an update (#865) (ca55bf6)
  • require with default (#546) (1e9fe1c)
  • short-circuit post-read check when policy rules don't depend on model fields (#376) (a54eba4)
  • support object literal in plugin fields processing (#351) (8284988)
  • tanstack-query build issues and bugs in optimistic update (#843) (08d317d)
  • trpc mutation route should return undefined when result is not readable (#227) (a3926c2)
  • typing of policy definition (#640) (acd0753)
  • undefined field access when selecting with _count (#403) (d90d7c8)
  • update langium version (26dd30f)
  • update langium version (#290) (23180ce)
  • update rule check for connect with implicit many-to-many relation (#565) (ffdad27)
  • vscode language accidentally bundles prisma packages (#625) (f6b68da)
  • when field policy only has deny rule, access should be allowed when the rule doesn't satisfy (#818) (62a8200)
  • wrong dev dependency in cli project (#318) (181f9ef)
  • wrong payload injected for nested create in update (#715) (d8f0954)
  • wrong return type of generated count hook (#347) (2035319)
  • wrong type generated for groupBy hook (#344) (83fd21e)
  • zod plugin issue with lower-case model names (#396) (d6fba93)
  • zod schema compilation errors in pnpm environment due to peer dependencies (#568) (858b075)

Performance Improvements

  • improve runtime performance by removing expensive verbose logging (#371) (0d7a2bf)

This PR was generated by Release-Please, and approved by the ZenStack Team.

Copy link
Contributor

coderabbitai bot commented Feb 21, 2024

Important

Auto Review Skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

Share

Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>.
    • Generate unit-tests for this file.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit tests for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai generate interesting stats about this repository from git and render them as a table.
    • @coderabbitai show all the console.log statements in this repository.
    • @coderabbitai read src/utils.ts and generate unit tests.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (invoked as PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger a review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai help to get help.

Additionally, you can add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.

CodeRabbit Configration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • The JSON schema for the configuration file is available here.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/coderabbit-overrides.v2.json

CodeRabbit Discord Community

Join our Discord Community to get help, request features, and share feedback.

@ymc9 ymc9 closed this Feb 21, 2024
@ymc9 ymc9 deleted the release-please--branches--v2--components--Runtime branch March 2, 2024 20:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant