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

Version Packages #8338

Merged
merged 1 commit into from
Mar 2, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .changeset/esm-not-found.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/fluffy-toys-admire.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/lemon-cougars-peel.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/six-radios-burn.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/strange-baboons-do.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/tidy-keys-own.md

This file was deleted.

7 changes: 0 additions & 7 deletions docs/pages/docs/config/lists.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,20 +169,13 @@ 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.
- `omit.query` (default: `false`): If set to true, the query operation will be omitted from the GraphQL API for this list.
- `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';
Expand Down
18 changes: 18 additions & 0 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down