From bc1324c3247fac9f1873c4457f254c25c140f180 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 21 Feb 2024 03:44:41 +0000 Subject: [PATCH] chore(v2): release Runtime 2.1.0-alpha.1 --- .github/release/.release-manifest.json | 2 +- packages/runtime/CHANGELOG.md | 119 +++++++++++++++++++++++++ packages/runtime/package.json | 2 +- 3 files changed, 121 insertions(+), 2 deletions(-) create mode 100644 packages/runtime/CHANGELOG.md diff --git a/.github/release/.release-manifest.json b/.github/release/.release-manifest.json index 5b18bf702..88fea35db 100644 --- a/.github/release/.release-manifest.json +++ b/.github/release/.release-manifest.json @@ -7,7 +7,7 @@ "packages/plugins/swr": "2.0.0-alpha.1", "packages/plugins/tanstack-query": "2.0.0-alpha.1", "packages/plugins/trpc": "2.0.0-alpha.1", - "packages/runtime": "2.0.0-alpha.1", + "packages/runtime": "2.1.0-alpha.1", "packages/sdk": "2.0.0-alpha.1", "packages/server": "2.0.0-alpha.1", "packages/testtools": "2.0.0-alpha.1" diff --git a/packages/runtime/CHANGELOG.md b/packages/runtime/CHANGELOG.md new file mode 100644 index 000000000..dd455be3e --- /dev/null +++ b/packages/runtime/CHANGELOG.md @@ -0,0 +1,119 @@ +# Changelog + +## [2.1.0-alpha.1](https://github.com/zenstackhq/zenstack/compare/Runtime-v2.0.0-alpha.1...Runtime-v2.1.0-alpha.1) (2024-02-21) + + +### Features + +* a better "zod" plugin ([#521](https://github.com/zenstackhq/zenstack/issues/521)) ([2280f83](https://github.com/zenstackhq/zenstack/commit/2280f83cd7f1f597fddfd6ab0c99417200124452)) +* add "loadPath" options to runtime API and server adapter options ([#696](https://github.com/zenstackhq/zenstack/issues/696)) ([fc50deb](https://github.com/zenstackhq/zenstack/commit/fc50deb6e70acc78dcb66b17e564a6fc84475970)) +* add prisma passthrough attribute for working around discripancies between zmodel and prisma ([#245](https://github.com/zenstackhq/zenstack/issues/245)) ([cef96d4](https://github.com/zenstackhq/zenstack/commit/cef96d4b6fe0a4d7d38742565817aca8e6533933)) +* add support for comparing fields in the same model ([#631](https://github.com/zenstackhq/zenstack/issues/631)) ([4776685](https://github.com/zenstackhq/zenstack/commit/477668579e3d95e7371ca752244ad2e319a96477)) +* add support for filter operator functions ([#289](https://github.com/zenstackhq/zenstack/issues/289)) ([7914470](https://github.com/zenstackhq/zenstack/commit/79144709b3bd56adf0a30f27b69426702980b95f)) +* add support for type modifier attributes ([#240](https://github.com/zenstackhq/zenstack/issues/240)) ([a05d320](https://github.com/zenstackhq/zenstack/commit/a05d320e7135440c20f3d75746c62ae67bfabd58)) +* always use superjson to serialize/deserialize in the api layer ([#585](https://github.com/zenstackhq/zenstack/issues/585)) ([46fec66](https://github.com/zenstackhq/zenstack/commit/46fec666c3af971010c69e467f08f55830655441)) +* automatic optimistic update for tanstack hooks ([#830](https://github.com/zenstackhq/zenstack/issues/830)) ([93dc7df](https://github.com/zenstackhq/zenstack/commit/93dc7df472427a4546ba71ec3703135d2d638ded)) +* express.js adapter ([#271](https://github.com/zenstackhq/zenstack/issues/271)) ([e12fc5a](https://github.com/zenstackhq/zenstack/commit/e12fc5a4ca4c71c10c1d34fc4a1d19f9fb9f75bb)) +* field-level access control ([#638](https://github.com/zenstackhq/zenstack/issues/638)) ([9a6f39b](https://github.com/zenstackhq/zenstack/commit/9a6f39bdb8940f7cef89fd7ee423658b8ed4c49f)) +* field-level policy override ([#889](https://github.com/zenstackhq/zenstack/issues/889)) ([271d568](https://github.com/zenstackhq/zenstack/commit/271d568ad3695e85f216ad7a293d9b9e802e7aaa)) +* fluent API support ([#666](https://github.com/zenstackhq/zenstack/issues/666)) ([4ae5a96](https://github.com/zenstackhq/zenstack/commit/4ae5a96ee2976dedbdb0b207f48c082c48b3f9ce)) +* implementing access control for Prisma Pulse ([#643](https://github.com/zenstackhq/zenstack/issues/643)) ([d8c2e87](https://github.com/zenstackhq/zenstack/commit/d8c2e8717e5fd3facb177443c8ef1baec89a81d5)) +* improved automatic query invalidation for tanstack-query ([#790](https://github.com/zenstackhq/zenstack/issues/790)) ([42d654f](https://github.com/zenstackhq/zenstack/commit/42d654fcfaa40b09fde578db79792c69e1e3b908)) +* include raw zod errors in response ([#691](https://github.com/zenstackhq/zenstack/issues/691)) ([b5da998](https://github.com/zenstackhq/zenstack/commit/b5da998b7fa11c19b85cebd0956803d854332b4d)) +* make parameters of transactions configurable ([#988](https://github.com/zenstackhq/zenstack/issues/988)) ([d0745b1](https://github.com/zenstackhq/zenstack/commit/d0745b149a5ce6abfef546de0b9243ddc4f6e765)) +* OpenAPI & fastify adapter ([#254](https://github.com/zenstackhq/zenstack/issues/254)) ([dd9963c](https://github.com/zenstackhq/zenstack/commit/dd9963cd35d414ebf61727bb4a5d9ad0c31100e0)) +* optimistic update support for SWR ([#860](https://github.com/zenstackhq/zenstack/issues/860)) ([0ca4670](https://github.com/zenstackhq/zenstack/commit/0ca46704f4c02b7d3e69470c68601835f426da59)) +* options for logging queries sent to prisma ([#488](https://github.com/zenstackhq/zenstack/issues/488)) ([ccfb2b0](https://github.com/zenstackhq/zenstack/commit/ccfb2b088cf1ce14c78c1d1355db5cb4ebcdc957)) +* polymorphism ([#990](https://github.com/zenstackhq/zenstack/issues/990)) ([bac3683](https://github.com/zenstackhq/zenstack/commit/bac368382b6c92585bc983861a56d141093b7896)) +* react-hooks generator and runtime targeting @tanstack/react-query ([#309](https://github.com/zenstackhq/zenstack/issues/309)) ([21ccddb](https://github.com/zenstackhq/zenstack/commit/21ccddb9be437eabed35fbc62ae43c1e192d289e)) +* RedwoodJS integration package ([#911](https://github.com/zenstackhq/zenstack/issues/911)) ([e4aeee3](https://github.com/zenstackhq/zenstack/commit/e4aeee32ae3a5ab1718fd1daa2f93043fb68a8d5)) +* RESTful style server API handler ([#405](https://github.com/zenstackhq/zenstack/issues/405)) ([f07ccdd](https://github.com/zenstackhq/zenstack/commit/f07ccdded01e232823e3955ab1ffc19b1c8f33a1)) +* runtime support for custom `@[@auth](https://github.com/auth)` model ([#793](https://github.com/zenstackhq/zenstack/issues/793)) ([08b9677](https://github.com/zenstackhq/zenstack/commit/08b967735c938de1e770a2409c36c5a50173b01d)) +* support multi-id-field models (@[@id](https://github.com/id)([f1, f2, ...])) ([#243](https://github.com/zenstackhq/zenstack/issues/243)) ([7e55e65](https://github.com/zenstackhq/zenstack/commit/7e55e652eceacec108dd4966ff08cfef184cd8ab)) +* support Prisma v5 ([#587](https://github.com/zenstackhq/zenstack/issues/587)) ([b0d9154](https://github.com/zenstackhq/zenstack/commit/b0d9154270a89c6c93c7a8f1aada85c413d16d6f)) +* support self relations ([#244](https://github.com/zenstackhq/zenstack/issues/244)) ([93cb6bf](https://github.com/zenstackhq/zenstack/commit/93cb6bfc847d8b97612e849cffcbfe7723630ad9)) +* support using collection predicate expression with `auth()` ([#831](https://github.com/zenstackhq/zenstack/issues/831)) ([ff1e8a5](https://github.com/zenstackhq/zenstack/commit/ff1e8a5e98ec94337f08576a29ffbee07ba8fd88)) +* zod plugin and zod validation for open-api requests ([#262](https://github.com/zenstackhq/zenstack/issues/262)) ([51c094e](https://github.com/zenstackhq/zenstack/commit/51c094e329df0d1ebb28239d5fe5ff4608065280)) + + +### Bug Fixes + +* add "exports" to generated package.json, make trpc code-gen compatible with vite ([#677](https://github.com/zenstackhq/zenstack/issues/677)) ([df67f30](https://github.com/zenstackhq/zenstack/commit/df67f301119db23e5048464de2f73bff1a2adffc)) +* add `CheckSelect` type into code for Prisma version backward compatibility ([#619](https://github.com/zenstackhq/zenstack/issues/619)) ([3e09a3a](https://github.com/zenstackhq/zenstack/commit/3e09a3a6646ae0f6e393cc0f92991c9b5d0c4d29)) +* add package.json exports ([#597](https://github.com/zenstackhq/zenstack/issues/597)) ([8ccfc93](https://github.com/zenstackhq/zenstack/commit/8ccfc93ba8135ced89754fbd912a02fe11962a53)) +* add support for @[@schema](https://github.com/schema) attribute, and allow arbitrary fields in datasource ([#250](https://github.com/zenstackhq/zenstack/issues/250)) ([9d45384](https://github.com/zenstackhq/zenstack/commit/9d4538445600b856962b200ca0faa0bbfff68f8a)) +* avoid return loaded prisma if undefined ([#461](https://github.com/zenstackhq/zenstack/issues/461)) ([cfca402](https://github.com/zenstackhq/zenstack/commit/cfca4022dcb79ccab47d7a5fe8bb8b5c9521295e)) +* batch bug fixes ([#273](https://github.com/zenstackhq/zenstack/issues/273)) ([e1600c8](https://github.com/zenstackhq/zenstack/commit/e1600c8bc69cb3cf51fb763a86b06834810236eb)) +* bug in enhancement proxy for detecting nested transactions ([#941](https://github.com/zenstackhq/zenstack/issues/941)) ([85a0525](https://github.com/zenstackhq/zenstack/commit/85a052594c447120ecc8123d30c7b098afcc8841)) +* bug with NOT clause reduction when condition is an array ([#848](https://github.com/zenstackhq/zenstack/issues/848)) ([debd35b](https://github.com/zenstackhq/zenstack/commit/debd35b3531262c4df453653cbee10dc85baf222)) +* bugs related to model name casing ([#645](https://github.com/zenstackhq/zenstack/issues/645)) ([32d5b26](https://github.com/zenstackhq/zenstack/commit/32d5b262cacdd03209a56027e4c2cbda1bc408c0)) +* build, lint and etc. ([#833](https://github.com/zenstackhq/zenstack/issues/833)) ([cccbc3c](https://github.com/zenstackhq/zenstack/commit/cccbc3c82ad522d40bc76ad7b84b1305d378b1db)) +* canonicalize plugin's output folder detection; don't generate aux field unnecessarily ([#423](https://github.com/zenstackhq/zenstack/issues/423)) ([9eaf235](https://github.com/zenstackhq/zenstack/commit/9eaf2353e479a7c967af42a0cd6ed6b9afeded4a)) +* change back to loading from literal ".zenstack" path otherwise Vercel breaks :( ([#701](https://github.com/zenstackhq/zenstack/issues/701)) ([2d41a9f](https://github.com/zenstackhq/zenstack/commit/2d41a9fcffab2fa228356a5cc45b4c2ecd62fd63)) +* change openapi plugin's default flavor to "rpc" ([#439](https://github.com/zenstackhq/zenstack/issues/439)) ([ec65e53](https://github.com/zenstackhq/zenstack/commit/ec65e53f202e3e02ea98a9c88682c106dcbafc76)) +* clean up zod generation ([#883](https://github.com/zenstackhq/zenstack/issues/883)) ([909281f](https://github.com/zenstackhq/zenstack/commit/909281f8090734322c0cab09d0187b6b5e813c9a)) +* clean up zod generation ([#883](https://github.com/zenstackhq/zenstack/issues/883)) ([9d4a8ed](https://github.com/zenstackhq/zenstack/commit/9d4a8ede7d42d1966fd5a12d64a5992092f4bc7d)) +* conditions hoisted from nested read overwrites toplevel where conditions ([#635](https://github.com/zenstackhq/zenstack/issues/635)) ([9a35f88](https://github.com/zenstackhq/zenstack/commit/9a35f88c059ff4e616d1f54b1e0e01c3c5ce6e19)) +* deal with payload field value with undefined ([#778](https://github.com/zenstackhq/zenstack/issues/778)) ([e41fc74](https://github.com/zenstackhq/zenstack/commit/e41fc747c5a8389d820820c5f8fd95ee13717160)) +* deprecated `cuid` dependency & clean up CI file ([#359](https://github.com/zenstackhq/zenstack/issues/359)) ([9f79e51](https://github.com/zenstackhq/zenstack/commit/9f79e51351b847e9da422144383613e7f0c2f063)) +* deprecated import from "@prisma/client/runtime" ([#398](https://github.com/zenstackhq/zenstack/issues/398)) ([da7d88c](https://github.com/zenstackhq/zenstack/commit/da7d88c2bd60e58b32d6c6f0a613daca24f65375)) +* disable eslint in generated hooks, refactor package inter-dependencies ([9e84126](https://github.com/zenstackhq/zenstack/commit/9e8412645e06f0bf63f85c8bb61ad00384fdef99)) +* enhanced client doesn't work with client extensions that add new model methods ([7dec167](https://github.com/zenstackhq/zenstack/commit/7dec167b8c3bb03c3cae57e6566b223bfce57cca)) +* enhanced client doesn't work with client extensions that add new model methods ([#851](https://github.com/zenstackhq/zenstack/issues/851)) ([ea564c9](https://github.com/zenstackhq/zenstack/commit/ea564c93e9ca2a888c0e53216633d66c733f6beb)) +* fix react-query code-gen and improve mutation options merging ([#314](https://github.com/zenstackhq/zenstack/issues/314)) ([51484a7](https://github.com/zenstackhq/zenstack/commit/51484a76f90e5efd0a651bab9f6aa864baab95f2)) +* fix the incorrect query args reduction when there're mixed boolean operators ([#690](https://github.com/zenstackhq/zenstack/issues/690)) ([c0c5a16](https://github.com/zenstackhq/zenstack/commit/c0c5a164c50c15c8d1982f331cbcac4eae5138b7)) +* handle @[@ignore](https://github.com/ignore) models properly in plugins ([#283](https://github.com/zenstackhq/zenstack/issues/283)) ([6f7cb0e](https://github.com/zenstackhq/zenstack/commit/6f7cb0e6513d606c98b097c65c0573ad1f006b2c)) +* handle foreign key field-level access check during relation update ([#847](https://github.com/zenstackhq/zenstack/issues/847)) ([3c8cba7](https://github.com/zenstackhq/zenstack/commit/3c8cba71b283d6029087971fc3b160892d0d143e)) +* hooks generation emits Provider export for backward compatibility ([#594](https://github.com/zenstackhq/zenstack/issues/594)) ([ca3ebda](https://github.com/zenstackhq/zenstack/commit/ca3ebdae4e213d3901bb5834fd9ebf1217da94a7)) +* improve clarity of dealing with `auth()` during policy generation ([#293](https://github.com/zenstackhq/zenstack/issues/293)) ([c3b456a](https://github.com/zenstackhq/zenstack/commit/c3b456a3b6e841d7eedc7565ef87cafd90fca2d6)) +* improve consistency of generated guard code ([#616](https://github.com/zenstackhq/zenstack/issues/616)) ([1b7b5bd](https://github.com/zenstackhq/zenstack/commit/1b7b5bda3f5106d31b7f5e70be27158fb8217600)) +* improve error messages ([#502](https://github.com/zenstackhq/zenstack/issues/502)) ([c8e5724](https://github.com/zenstackhq/zenstack/commit/c8e572449b3ff464da0cb071cda40b9d27f8de53)) +* improve generated typing for polymorphic models ([#1002](https://github.com/zenstackhq/zenstack/issues/1002)) ([7b453f7](https://github.com/zenstackhq/zenstack/commit/7b453f7745cad73fc81e7884faf473aecda99556)) +* improve stacktrace of errors generated by proxied Prisma methods ([#484](https://github.com/zenstackhq/zenstack/issues/484)) ([1b67eba](https://github.com/zenstackhq/zenstack/commit/1b67ebadb89c5c443eacb9cf0be9ad56dbc42de4)) +* incorrect policy injection for nested to-one relation inside a to-many parent ([#777](https://github.com/zenstackhq/zenstack/issues/777)) ([876e013](https://github.com/zenstackhq/zenstack/commit/876e01392112ed369cde37cb77ca983126f2d881)) +* incorrect relation owner analysis ([#610](https://github.com/zenstackhq/zenstack/issues/610)) ([c89012b](https://github.com/zenstackhq/zenstack/commit/c89012bcb8d32588cc7f5a1df19088292e571cec)) +* incorrect reverse query built for to-many relation ([d2ad3a5](https://github.com/zenstackhq/zenstack/commit/d2ad3a59f93a74189c29d3ee2960fc887b14851c)) +* incorrect reverse query built for to-many relation ([#815](https://github.com/zenstackhq/zenstack/issues/815)) ([2c345e1](https://github.com/zenstackhq/zenstack/commit/2c345e1d4fe7274b7a08c1178afccede1d694327)) +* invalid query sent to Prisma when doing nested update with multi-id ([#553](https://github.com/zenstackhq/zenstack/issues/553)) ([24760be](https://github.com/zenstackhq/zenstack/commit/24760be0f6286089c58df893ec1ae9c192ba17e2)) +* issue [#627](https://github.com/zenstackhq/zenstack/issues/627) ([#628](https://github.com/zenstackhq/zenstack/issues/628)) ([2ef93cb](https://github.com/zenstackhq/zenstack/commit/2ef93cb932e7aed6923cd3d7e69069d0c9ff161b)) +* issue 599, throw error if the given user context doesn't contain full id fields ([#629](https://github.com/zenstackhq/zenstack/issues/629)) ([4bc72a8](https://github.com/zenstackhq/zenstack/commit/4bc72a8b93558059a80dc465dc408da33b0adba3)) +* issue 961, incorrect policy injection for nested `updateMany` ([bf690a0](https://github.com/zenstackhq/zenstack/commit/bf690a072771ab95907a8f56079c4f6aaf655849)) +* issue 961, incorrect policy injection for nested `updateMany` ([#962](https://github.com/zenstackhq/zenstack/issues/962)) ([2b2bfcf](https://github.com/zenstackhq/zenstack/commit/2b2bfcff965f9a70ff2764e6fbc7613b6f061685)) +* issue with connecting multiple relations ([#450](https://github.com/zenstackhq/zenstack/issues/450)) ([dd6be95](https://github.com/zenstackhq/zenstack/commit/dd6be9509c46fd4dfff500a53070259410b6a61f)) +* make core plugins compile generated ts files by default ([#373](https://github.com/zenstackhq/zenstack/issues/373)) ([4bf1304](https://github.com/zenstackhq/zenstack/commit/4bf1304c6518cc027b1a1f2d33fea70979d9d94b)) +* make sure auxiliary fields in nested entities are stripped ([#387](https://github.com/zenstackhq/zenstack/issues/387)) ([5616c05](https://github.com/zenstackhq/zenstack/commit/5616c056aaee14d3b8566161493b2694c3c8e6ae)) +* make sure Buffer is imported ([#596](https://github.com/zenstackhq/zenstack/issues/596)) ([76a0bac](https://github.com/zenstackhq/zenstack/commit/76a0bac9c63707baf34a072e398b63156c1e0640)) +* make sure zod schemas have type annotations ([#574](https://github.com/zenstackhq/zenstack/issues/574)) ([51985b1](https://github.com/zenstackhq/zenstack/commit/51985b1279dca8e82a7275330a7b6597f37d15a4)) +* missing string quote during function arg gen ([#234](https://github.com/zenstackhq/zenstack/issues/234)) ([88828e3](https://github.com/zenstackhq/zenstack/commit/88828e309c8aab2a43bd06c7f9beaadcb070d3a6)) +* more tests and bump version ([#225](https://github.com/zenstackhq/zenstack/issues/225)) ([cabe9dc](https://github.com/zenstackhq/zenstack/commit/cabe9dc956b32bd854a3bbbfe88e9203412703ca)) +* nullify field instead of reject when an optional relation field is not readable ([#588](https://github.com/zenstackhq/zenstack/issues/588)) ([fc16008](https://github.com/zenstackhq/zenstack/commit/fc16008ba20aba18f39948f3ff13ec3bc79729e3)) +* open-api issues ([#446](https://github.com/zenstackhq/zenstack/issues/446)) ([2855647](https://github.com/zenstackhq/zenstack/commit/285564751094797da8484bf041a9d3a4eafafc9d)) +* openapi generator relation handling ([#320](https://github.com/zenstackhq/zenstack/issues/320)) ([f1c9765](https://github.com/zenstackhq/zenstack/commit/f1c9765b778f8fb476c015a2f3bbe72dd94ef6b0)) +* optimize the way how generated packages are loaded in test environment ([#549](https://github.com/zenstackhq/zenstack/issues/549)) ([18267f6](https://github.com/zenstackhq/zenstack/commit/18267f6377a926cc332bedab6cf74e8a9b9f2343)) +* policy generation error when field-level rules contain "this" expression ([#670](https://github.com/zenstackhq/zenstack/issues/670)) ([dc106a9](https://github.com/zenstackhq/zenstack/commit/dc106a905f732c90c70f7622df5a1207b442e1ff)) +* post-update rules incorrectly reject update ([#826](https://github.com/zenstackhq/zenstack/issues/826)) ([d921a7c](https://github.com/zenstackhq/zenstack/commit/d921a7ca6bef0341ccf5bc50e195156695129e7f)) +* post-update rules incorrectly reject update ([#826](https://github.com/zenstackhq/zenstack/issues/826)) ([e85831e](https://github.com/zenstackhq/zenstack/commit/e85831e98d08a433febb5a8fecf8d539150ced08)) +* query injection error when create (in array form) is nested inside an update ([#865](https://github.com/zenstackhq/zenstack/issues/865)) ([ca55bf6](https://github.com/zenstackhq/zenstack/commit/ca55bf61edff7a67765cd8a9eac2b97daaf33506)) +* require with default ([#546](https://github.com/zenstackhq/zenstack/issues/546)) ([1e9fe1c](https://github.com/zenstackhq/zenstack/commit/1e9fe1cfcf50b691bf788021b8a460b1f3ecb29e)) +* short-circuit post-read check when policy rules don't depend on model fields ([#376](https://github.com/zenstackhq/zenstack/issues/376)) ([a54eba4](https://github.com/zenstackhq/zenstack/commit/a54eba45f64382ed070e5aeabe0c8dc263bebc0d)) +* support object literal in plugin fields processing ([#351](https://github.com/zenstackhq/zenstack/issues/351)) ([8284988](https://github.com/zenstackhq/zenstack/commit/8284988cf12c3c4f3983c36c3658201db5509b2c)) +* tanstack-query build issues and bugs in optimistic update ([#843](https://github.com/zenstackhq/zenstack/issues/843)) ([08d317d](https://github.com/zenstackhq/zenstack/commit/08d317d150b99fc38b8e5fb56bb4ab27fe1b4470)) +* trpc mutation route should return undefined when result is not readable ([#227](https://github.com/zenstackhq/zenstack/issues/227)) ([a3926c2](https://github.com/zenstackhq/zenstack/commit/a3926c2d69353c5f047f68d70f717db6872cce20)) +* typing of policy definition ([#640](https://github.com/zenstackhq/zenstack/issues/640)) ([acd0753](https://github.com/zenstackhq/zenstack/commit/acd075392a2237e12ef88a55f13de701e172f57d)) +* undefined field access when selecting with _count ([#403](https://github.com/zenstackhq/zenstack/issues/403)) ([d90d7c8](https://github.com/zenstackhq/zenstack/commit/d90d7c83e95d33c85e9c3b4b650e014ee76136c3)) +* update langium version ([26dd30f](https://github.com/zenstackhq/zenstack/commit/26dd30f8a00e030d4ec605cf0b88261e2944c43a)) +* update langium version ([#290](https://github.com/zenstackhq/zenstack/issues/290)) ([23180ce](https://github.com/zenstackhq/zenstack/commit/23180cee63fd5a140d154857c170d597224679e6)) +* update rule check for connect with implicit many-to-many relation ([#565](https://github.com/zenstackhq/zenstack/issues/565)) ([ffdad27](https://github.com/zenstackhq/zenstack/commit/ffdad2713e71071b53ac3fd13b82b38673d7b6f6)) +* vscode language accidentally bundles prisma packages ([#625](https://github.com/zenstackhq/zenstack/issues/625)) ([f6b68da](https://github.com/zenstackhq/zenstack/commit/f6b68dabc9e089230bc6d8f8e802e8fbc43a8a69)) +* when field policy only has deny rule, access should be allowed when the rule doesn't satisfy ([#818](https://github.com/zenstackhq/zenstack/issues/818)) ([62a8200](https://github.com/zenstackhq/zenstack/commit/62a82001cde1c8e0ac598035b8df77b9049fabaa)) +* wrong dev dependency in cli project ([#318](https://github.com/zenstackhq/zenstack/issues/318)) ([181f9ef](https://github.com/zenstackhq/zenstack/commit/181f9ef17899d11d23369f1d485c2d964e2d4561)) +* wrong payload injected for nested create in update ([#715](https://github.com/zenstackhq/zenstack/issues/715)) ([d8f0954](https://github.com/zenstackhq/zenstack/commit/d8f0954fc15b6ea3df033a7c5fea414ff4aba8c9)) +* wrong return type of generated `count` hook ([#347](https://github.com/zenstackhq/zenstack/issues/347)) ([2035319](https://github.com/zenstackhq/zenstack/commit/2035319a030369dc0c847eaac248f2d9acdc7c7b)) +* wrong type generated for `groupBy` hook ([#344](https://github.com/zenstackhq/zenstack/issues/344)) ([83fd21e](https://github.com/zenstackhq/zenstack/commit/83fd21e5b2c55ca182386be61151386f0400bdd0)) +* zod plugin issue with lower-case model names ([#396](https://github.com/zenstackhq/zenstack/issues/396)) ([d6fba93](https://github.com/zenstackhq/zenstack/commit/d6fba93e2f0149c14f67d4cd0b4e9cdb6eee73a5)) +* zod schema compilation errors in pnpm environment due to peer dependencies ([#568](https://github.com/zenstackhq/zenstack/issues/568)) ([858b075](https://github.com/zenstackhq/zenstack/commit/858b075ca193ae26673aaefc052cc7c029a26c08)) + + +### Performance Improvements + +* improve runtime performance by removing expensive verbose logging ([#371](https://github.com/zenstackhq/zenstack/issues/371)) ([0d7a2bf](https://github.com/zenstackhq/zenstack/commit/0d7a2bf417c6ea5cc5c6c3568593a0fbe7d7903e)) diff --git a/packages/runtime/package.json b/packages/runtime/package.json index 1d5c8fd37..7d956e94a 100644 --- a/packages/runtime/package.json +++ b/packages/runtime/package.json @@ -1,7 +1,7 @@ { "name": "@zenstackhq/runtime", "displayName": "ZenStack Runtime Library", - "version": "2.0.0-alpha.1", + "version": "2.1.0-alpha.1", "description": "Runtime of ZenStack for both client-side and server-side environments.", "repository": { "type": "git",