diff --git a/.changeset/esm-not-found.md b/.changeset/esm-not-found.md deleted file mode 100644 index 3e7d595227a..00000000000 --- a/.changeset/esm-not-found.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@keystone-6/core': patch ---- - -Updates `image-size` to `5.0.0` to mitigate [CVE-2022-36313](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-36313) diff --git a/.changeset/fluffy-toys-admire.md b/.changeset/fluffy-toys-admire.md deleted file mode 100644 index a0bff94f1ab..00000000000 --- a/.changeset/fluffy-toys-admire.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@keystone-6/core': patch ---- - -Fixes list-level `graphql.omit` syntax to match the field-level `graphql.omit` diff --git a/.changeset/lemon-cougars-peel.md b/.changeset/lemon-cougars-peel.md deleted file mode 100644 index 36957b52646..00000000000 --- a/.changeset/lemon-cougars-peel.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@keystone-6/core': patch ---- - -Fixes Typescript types to use `never` for omitted types diff --git a/.changeset/six-radios-burn.md b/.changeset/six-radios-burn.md deleted file mode 100644 index c753c35fe5a..00000000000 --- a/.changeset/six-radios-burn.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@keystone-6/core": minor ---- - -Updates Prisma to v4.11.0 diff --git a/.changeset/strange-baboons-do.md b/.changeset/strange-baboons-do.md deleted file mode 100644 index eeb760e8440..00000000000 --- a/.changeset/strange-baboons-do.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@keystone-6/core': patch ---- - -Removes outdated Prisma `prismaClient.$on('beforeExit'...` work-around that blocked Prisma Data Proxy support diff --git a/.changeset/tidy-keys-own.md b/.changeset/tidy-keys-own.md deleted file mode 100644 index 3144458e15b..00000000000 --- a/.changeset/tidy-keys-own.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@keystone-6/core': patch ---- - -Fixes `keystone start --with-migrations` exiting after a migration diff --git a/docs/pages/docs/config/lists.md b/docs/pages/docs/config/lists.md index 97f3acd663d..0a5a29d5c36 100644 --- a/docs/pages/docs/config/lists.md +++ b/docs/pages/docs/config/lists.md @@ -169,7 +169,6 @@ Options: - `plural`: (default: Pluralised list key, e.g. `'Users'`): Overrides the name used in multiple mutations and queries (e.g. `users()`, `updateUsers()`, etc). - `maxTake` (default: `undefined`): Allows you to specify the maximum `take` number for query operations on this list in the GraphQL API. - `cacheHint` (default: `undefined`): Allows you to specify the [dynamic cache control hints](https://www.apollographql.com/docs/apollo-server/performance/caching/#in-your-resolvers-dynamic) used for queries to this list. -{% if $nextRelease %} - `omit` (default: `undefined`): Allows you to configure which parts of the CRUD API are autogenerated for your GraphQL API. This option accepts either `true`, or an object with the below fields. If you specify `true` then the entire list, including its output type, will be omitted from the GraphQL API. @@ -177,12 +176,6 @@ Options: - `omit.create` (default: `false`): If set to true, the create mutation will be omitted from the GraphQL API for this list. - `omit.update` (default: `false`): If set to true, the update mutation will be omitted from the GraphQL API for this list. - `omit.delete` (default: `false`): If set to true, the delete mutation will be omitted from the GraphQL API for this list. -{% else /%} -- `omit` (default: `undefined`): Allows you to configure which parts of the CRUD API are autogenerated for your GraphQL API. - This option accepts either `true`, or an array of the values `query`, `create`, `update`, or `delete`. - If you specify `true` then the entire list, including its output type, will be omitted from the GraphQL API. - If you provide an array of `query`, `create`, `update`, or `delete` options, the corresponding operations will be omitted from the GraphQL API. -{% /if %} ```typescript import { config, list } from '@keystone-6/core'; diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index 29cf60fc788..374b1454ed5 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -1,5 +1,23 @@ # @keystone-6/core +## 5.1.0 + +### Minor Changes + +- [#7964](https://github.com/keystonejs/keystone/pull/7964) [`33ec1fc01`](https://github.com/keystonejs/keystone/commit/33ec1fc01ef2e01848fb190d881c4b6ad316daf3) Thanks [@renovate](https://github.com/apps/renovate)! - Updates Prisma to v4.11.0 + +### Patch Changes + +- [#8304](https://github.com/keystonejs/keystone/pull/8304) [`aad631483`](https://github.com/keystonejs/keystone/commit/aad6314837aac048683f52213de2bcdfcba8f2b1) Thanks [@dcousens](https://github.com/dcousens)! - Updates `image-size` to `5.0.0` to mitigate [CVE-2022-36313](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-36313) + +- [#8352](https://github.com/keystonejs/keystone/pull/8352) [`f4d4f5c48`](https://github.com/keystonejs/keystone/commit/f4d4f5c485861618d225d75e2c7496319703b936) Thanks [@acburdine](https://github.com/acburdine)! - Fixes list-level `graphql.omit` syntax to match the field-level `graphql.omit` + +- [#8355](https://github.com/keystonejs/keystone/pull/8355) [`ce600cf44`](https://github.com/keystonejs/keystone/commit/ce600cf444a9295be210cae4e2962fa2625e712a) Thanks [@acburdine](https://github.com/acburdine)! - Fixes Typescript types to use `never` for omitted types + +- [#8347](https://github.com/keystonejs/keystone/pull/8347) [`5051e5a72`](https://github.com/keystonejs/keystone/commit/5051e5a724f13008ce1b606858b565830f349b98) Thanks [@borisno2](https://github.com/borisno2)! - Removes outdated Prisma `prismaClient.$on('beforeExit'...` work-around that blocked Prisma Data Proxy support + +- [#8354](https://github.com/keystonejs/keystone/pull/8354) [`c3ce0da37`](https://github.com/keystonejs/keystone/commit/c3ce0da37c78c4e1174a13e8d34d00a4f6079dcb) Thanks [@acburdine](https://github.com/acburdine)! - Fixes `keystone start --with-migrations` exiting after a migration + ## 5.0.0 ### Major Changes diff --git a/packages/core/package.json b/packages/core/package.json index fad47435d15..27371e93402 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@keystone-6/core", - "version": "5.0.0", + "version": "5.1.0", "repository": "https://github.com/keystonejs/keystone/tree/main/packages/core", "license": "MIT", "main": "dist/keystone-6-core.cjs.js",