Skip to content
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

chore(v2): release Language 2.0.0 #6

Open
wants to merge 1 commit into
base: v2
Choose a base branch
from

Conversation

github-actions[bot]
Copy link

@github-actions github-actions bot commented Feb 19, 2024

🤖 I have created a release beep boop

2.0.0 (2024-02-19)

Features

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 missing attribute parameters and loosen keyword restrictions (#394) (ef7acd7)
  • add support for @@schema attribute, and allow arbitrary fields in datasource (#250) (9d45384)
  • allow "view" and "import" as identifier (#750) (2e15dfb)
  • allow models without field declarations (#749) (43322e1)
  • automatically enable "@core/zod" plugin when there're validation rules (#535) (0519421)
  • batch bug fixes (#273) (e1600c8)
  • build, lint and etc. (#833) (cccbc3c)
  • 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 peer dependencies (#218) (a9283cd)
  • clean up zod generation (#883) (909281f)
  • clean up zod generation (#883) (9d4a8ed)
  • disable eslint in generated hooks, refactor package inter-dependencies (9e84126)
  • enable auto completion inside attribute (#949) (20d5bfc)
  • 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)
  • handle @@ignore models properly in plugins (#283) (6f7cb0e)
  • 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)
  • incorrect relation owner analysis (#610) (c89012b)
  • incorrect reverse query built for to-many relation (#815) (2c345e1)
  • issue #627 (#628) (2ef93cb)
  • issue 961, incorrect policy injection for nested updateMany (#962) (2b2bfcf)
  • issue with connecting multiple relations (#450) (dd6be95)
  • issue with dealing with result read-back for nextjs and react hooks (8e630e0)
  • issue with dealing with result read-back for nextjs and react hooks (#223) (fb1ec3d)
  • make core plugins compile generated ts files by default (#373) (4bf1304)
  • 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)
  • number literal precision issue (#659) (6275701)
  • open-api issues (#446) (2855647)
  • openapi generator relation handling (#320) (f1c9765)
  • post-update rules incorrectly reject update (#826) (d921a7c)
  • post-update rules incorrectly reject update (#826) (e85831e)
  • short-circuit post-read check when policy rules don't depend on model fields (#376) (a54eba4)
  • support for string escaping in ZModel (#668) (f034839)
  • support object literal in plugin fields processing (#351) (8284988)
  • support postgres extensions (#718) (cdc98e0)
  • support string literal keys for object expressions in ZModel (#752) (22b1bf9)
  • trpc mutation route should return undefined when result is not readable (#227) (a3926c2)
  • undefined field access when selecting with _count (#403) (d90d7c8)
  • update langium version (26dd30f)
  • update langium version (#290) (23180ce)
  • Validation errors when using true or false as prefix of id (#530) (551b33d)
  • vscode language accidentally bundles prisma packages (#625) (f6b68da)
  • wrong dev dependency in cli project (#318) (181f9ef)
  • wrong return type of generated count hook (#347) (2035319)
  • wrong type generated for groupBy hook (#344) (83fd21e)

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

coderabbitai bot commented Feb 19, 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

0 participants