From f1bbb43d9da20297fe92774bd7bb269b897e4515 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 27 Jul 2026 23:46:50 +0000 Subject: [PATCH] Version Packages --- .changeset/add-block-description.md | 5 - .changeset/add-cloudinary-meta.md | 5 - .changeset/add-context-internal.md | 5 - .changeset/add-end-session.md | 5 - .changeset/add-graphql-singular.md | 5 - .changeset/add-isnonnull-true.md | 5 - .../add-itemfield-to-fieldmeta-functions.md | 5 - .changeset/add-itemfield-to-hooks.md | 5 - .changeset/add-list-actions.md | 5 - .changeset/add-list-defaults.md | 5 - .changeset/add-open-telemetry.md | 5 - .changeset/add-quiet.md | 5 - .changeset/add-set-many.md | 5 - .changeset/add-ui-label.md | 5 - .changeset/add-unique-filters.md | 5 - .changeset/afraid-beds-read.md | 6 - .changeset/blue-balloons-turn.md | 5 - .changeset/break-sudo-schema.md | 5 - .changeset/breezy-dingos-allow.md | 5 - .changeset/bright-ducks-scope.md | 5 - .changeset/bump-next.md | 5 - .changeset/bump-prisma-7.md | 5 - .changeset/bye-design-system.md | 5 - .changeset/bye-old-fields.md | 5 - .changeset/calm-buckets-shine.md | 5 - .changeset/chilled-moons-walk.md | 5 - .changeset/contributors.json | 14 ++ .changeset/crazy-poems-cross.md | 5 - .changeset/drop-field-path.md | 5 - .changeset/dull-crabs-sit.md | 5 - .changeset/eager-cloths-matter.md | 5 - .changeset/early-shirts-win.md | 5 - .changeset/eleven-queens-fix.md | 5 - .changeset/empty-dots-judge.md | 5 - .changeset/field-mode-defaults.md | 5 - .changeset/filter-relationships-too.md | 5 - .changeset/fix-admin-file-duplicates.md | 5 - .changeset/fix-defaults.md | 5 - .changeset/fix-enum-names.md | 5 - .changeset/fix-graphql-plural.md | 5 - .changeset/fix-nonnull-create.md | 5 - .changeset/free-deserts-remain.md | 7 - .changeset/free-papers-show.md | 5 - .changeset/green-ravens-count.md | 5 - .changeset/green-teeth-wear.md | 5 - .changeset/hungry-colts-sort.md | 5 - .changeset/indexed-types.md | 5 - .changeset/large-animals-love.md | 5 - .changeset/lazy-tools-rest.md | 5 - .changeset/less-arrays-ui.md | 5 - .changeset/less-high-description.md | 5 - .changeset/less-lonely-authors.md | 5 - .changeset/less-null-ui.md | 5 - .changeset/less-true-only.md | 5 - .changeset/list-sort-filter.md | 5 - .changeset/maybe-item.md | 5 - .changeset/mean-fans-shop.md | 5 - .changeset/mean-rats-invent.md | 5 - .changeset/monorepo-easier.md | 5 - .changeset/move-field-label.md | 5 - .changeset/move-meta-item.md | 5 - .changeset/nervous-flies-press.md | 5 - .changeset/new-jars-grab.md | 5 - .changeset/orange-boats-act.md | 5 - .changeset/plenty-things-work.md | 5 - .changeset/polite-colts-admire.md | 6 - .changeset/polite-colts-desire.md | 5 - .changeset/poor-months-wear.md | 5 - .changeset/puny-tires-rescue.md | 5 - .changeset/react-peer-deps.md | 8 - .changeset/ready-laws-refuse.md | 5 - .changeset/remove-document-primitives.md | 5 - .changeset/remove-end-session.md | 5 - .changeset/remove-init-first-item.md | 5 - .changeset/remove-keystone-prisma.md | 5 - .changeset/remove-meta-fields.md | 5 - .changeset/remove-migration-command.md | 5 - .changeset/rename-meta-fields.md | 5 - .changeset/rm-auth-magic.md | 5 - .changeset/rotten-vans-vanish.md | 5 - .changeset/seven-windows-itch.md | 5 - .changeset/shaggy-beds-know.md | 5 - .changeset/silent-lists-filter.md | 5 - .changeset/slow-points-listen.md | 5 - .changeset/small-kiwis-speak.md | 5 - .changeset/solid-ravens-start.md | 5 - .changeset/starter-bump.md | 5 - .changeset/structure-errors.md | 5 - .changeset/stupid-seas-burn.md | 5 - .changeset/tangy-items-carry.md | 5 - .changeset/testing-reset-database.md | 5 - .changeset/tired-tires-look.md | 7 - .changeset/twelve-rings-remain.md | 5 - .changeset/two-olives-raise.md | 5 - .changeset/violet-kiwis-refuse.md | 5 - .changeset/wise-documents-validate.md | 5 - .changeset/witty-tigers-agree.md | 5 - .changeset/witty-toes-switch.md | 10 -- packages/auth/CHANGELOG.md | 29 ++++ packages/auth/package.json | 4 +- packages/cloudinary/CHANGELOG.md | 19 ++ packages/cloudinary/package.json | 4 +- packages/core/CHANGELOG.md | 162 +++++++++++++++++- packages/core/package.json | 2 +- packages/create/CHANGELOG.md | 10 ++ packages/create/package.json | 2 +- packages/document-renderer/CHANGELOG.md | 10 ++ packages/document-renderer/package.json | 2 +- packages/fields-document/CHANGELOG.md | 48 +++++- packages/fields-document/package.json | 4 +- 110 files changed, 297 insertions(+), 512 deletions(-) delete mode 100644 .changeset/add-block-description.md delete mode 100644 .changeset/add-cloudinary-meta.md delete mode 100644 .changeset/add-context-internal.md delete mode 100644 .changeset/add-end-session.md delete mode 100644 .changeset/add-graphql-singular.md delete mode 100644 .changeset/add-isnonnull-true.md delete mode 100644 .changeset/add-itemfield-to-fieldmeta-functions.md delete mode 100644 .changeset/add-itemfield-to-hooks.md delete mode 100644 .changeset/add-list-actions.md delete mode 100644 .changeset/add-list-defaults.md delete mode 100644 .changeset/add-open-telemetry.md delete mode 100644 .changeset/add-quiet.md delete mode 100644 .changeset/add-set-many.md delete mode 100644 .changeset/add-ui-label.md delete mode 100644 .changeset/add-unique-filters.md delete mode 100644 .changeset/afraid-beds-read.md delete mode 100644 .changeset/blue-balloons-turn.md delete mode 100644 .changeset/break-sudo-schema.md delete mode 100644 .changeset/breezy-dingos-allow.md delete mode 100644 .changeset/bright-ducks-scope.md delete mode 100644 .changeset/bump-next.md delete mode 100644 .changeset/bump-prisma-7.md delete mode 100644 .changeset/bye-design-system.md delete mode 100644 .changeset/bye-old-fields.md delete mode 100644 .changeset/calm-buckets-shine.md delete mode 100644 .changeset/chilled-moons-walk.md delete mode 100644 .changeset/crazy-poems-cross.md delete mode 100644 .changeset/drop-field-path.md delete mode 100644 .changeset/dull-crabs-sit.md delete mode 100644 .changeset/eager-cloths-matter.md delete mode 100644 .changeset/early-shirts-win.md delete mode 100644 .changeset/eleven-queens-fix.md delete mode 100644 .changeset/empty-dots-judge.md delete mode 100644 .changeset/field-mode-defaults.md delete mode 100644 .changeset/filter-relationships-too.md delete mode 100644 .changeset/fix-admin-file-duplicates.md delete mode 100644 .changeset/fix-defaults.md delete mode 100644 .changeset/fix-enum-names.md delete mode 100644 .changeset/fix-graphql-plural.md delete mode 100644 .changeset/fix-nonnull-create.md delete mode 100644 .changeset/free-deserts-remain.md delete mode 100644 .changeset/free-papers-show.md delete mode 100644 .changeset/green-ravens-count.md delete mode 100644 .changeset/green-teeth-wear.md delete mode 100644 .changeset/hungry-colts-sort.md delete mode 100644 .changeset/indexed-types.md delete mode 100644 .changeset/large-animals-love.md delete mode 100644 .changeset/lazy-tools-rest.md delete mode 100644 .changeset/less-arrays-ui.md delete mode 100644 .changeset/less-high-description.md delete mode 100644 .changeset/less-lonely-authors.md delete mode 100644 .changeset/less-null-ui.md delete mode 100644 .changeset/less-true-only.md delete mode 100644 .changeset/list-sort-filter.md delete mode 100644 .changeset/maybe-item.md delete mode 100644 .changeset/mean-fans-shop.md delete mode 100644 .changeset/mean-rats-invent.md delete mode 100644 .changeset/monorepo-easier.md delete mode 100644 .changeset/move-field-label.md delete mode 100644 .changeset/move-meta-item.md delete mode 100644 .changeset/nervous-flies-press.md delete mode 100644 .changeset/new-jars-grab.md delete mode 100644 .changeset/orange-boats-act.md delete mode 100644 .changeset/plenty-things-work.md delete mode 100644 .changeset/polite-colts-admire.md delete mode 100644 .changeset/polite-colts-desire.md delete mode 100644 .changeset/poor-months-wear.md delete mode 100644 .changeset/puny-tires-rescue.md delete mode 100644 .changeset/react-peer-deps.md delete mode 100644 .changeset/ready-laws-refuse.md delete mode 100644 .changeset/remove-document-primitives.md delete mode 100644 .changeset/remove-end-session.md delete mode 100644 .changeset/remove-init-first-item.md delete mode 100644 .changeset/remove-keystone-prisma.md delete mode 100644 .changeset/remove-meta-fields.md delete mode 100644 .changeset/remove-migration-command.md delete mode 100644 .changeset/rename-meta-fields.md delete mode 100644 .changeset/rm-auth-magic.md delete mode 100644 .changeset/rotten-vans-vanish.md delete mode 100644 .changeset/seven-windows-itch.md delete mode 100644 .changeset/shaggy-beds-know.md delete mode 100644 .changeset/silent-lists-filter.md delete mode 100644 .changeset/slow-points-listen.md delete mode 100644 .changeset/small-kiwis-speak.md delete mode 100644 .changeset/solid-ravens-start.md delete mode 100644 .changeset/starter-bump.md delete mode 100644 .changeset/structure-errors.md delete mode 100644 .changeset/stupid-seas-burn.md delete mode 100644 .changeset/tangy-items-carry.md delete mode 100644 .changeset/testing-reset-database.md delete mode 100644 .changeset/tired-tires-look.md delete mode 100644 .changeset/twelve-rings-remain.md delete mode 100644 .changeset/two-olives-raise.md delete mode 100644 .changeset/violet-kiwis-refuse.md delete mode 100644 .changeset/wise-documents-validate.md delete mode 100644 .changeset/witty-tigers-agree.md delete mode 100644 .changeset/witty-toes-switch.md diff --git a/.changeset/add-block-description.md b/.changeset/add-block-description.md deleted file mode 100644 index 483fb6157c1..00000000000 --- a/.changeset/add-block-description.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@keystone-6/fields-document": minor ---- - -Adds `.description` support for component block relationship fields diff --git a/.changeset/add-cloudinary-meta.md b/.changeset/add-cloudinary-meta.md deleted file mode 100644 index 06f6070a461..00000000000 --- a/.changeset/add-cloudinary-meta.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@keystone-6/cloudinary": minor ---- - -Adds the pre-existing meta `width`, `height` and `filesize` to the `CloudinaryImage_File` GraphQL output type diff --git a/.changeset/add-context-internal.md b/.changeset/add-context-internal.md deleted file mode 100644 index 9fc41d067d2..00000000000 --- a/.changeset/add-context-internal.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@keystone-6/core": minor ---- - -Adds `context.internal()` to spawn a context unaffected by `graphql.omit` on lists or fields diff --git a/.changeset/add-end-session.md b/.changeset/add-end-session.md deleted file mode 100644 index a42bac7516d..00000000000 --- a/.changeset/add-end-session.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@keystone-6/auth": minor ---- - -Adds the `endSession` GraphQL mutation addition when `context.session.end` is defined diff --git a/.changeset/add-graphql-singular.md b/.changeset/add-graphql-singular.md deleted file mode 100644 index afd57eb50f0..00000000000 --- a/.changeset/add-graphql-singular.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@keystone-6/core": major ---- - -Adds `{list}.graphql.singular` option diff --git a/.changeset/add-isnonnull-true.md b/.changeset/add-isnonnull-true.md deleted file mode 100644 index 1f4c511a3b2..00000000000 --- a/.changeset/add-isnonnull-true.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@keystone-6/core": major ---- - -Adds support for `[field].graphql.isNonNull: true` diff --git a/.changeset/add-itemfield-to-fieldmeta-functions.md b/.changeset/add-itemfield-to-fieldmeta-functions.md deleted file mode 100644 index d1185ce106d..00000000000 --- a/.changeset/add-itemfield-to-fieldmeta-functions.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@keystone-6/core": minor ---- - -Adds `itemField` and `fieldKey` parameters to field `ui.fieldMode` and `ui.fieldPosition` functions diff --git a/.changeset/add-itemfield-to-hooks.md b/.changeset/add-itemfield-to-hooks.md deleted file mode 100644 index 848774f1302..00000000000 --- a/.changeset/add-itemfield-to-hooks.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@keystone-6/core": major ---- - -Adds `itemField`, `originalItemField`, `inputFieldData` and `resolvedFieldData` parameters to field hooks diff --git a/.changeset/add-list-actions.md b/.changeset/add-list-actions.md deleted file mode 100644 index 99c631dae5d..00000000000 --- a/.changeset/add-list-actions.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@keystone-6/core": minor ---- - -Adds `list.actions` to the list configuration diff --git a/.changeset/add-list-defaults.md b/.changeset/add-list-defaults.md deleted file mode 100644 index 71cd52d06c9..00000000000 --- a/.changeset/add-list-defaults.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@keystone-6/core": minor ---- - -Adds `listDefaults` configuration for `graphql.omit` and `graphql.maxTake` diff --git a/.changeset/add-open-telemetry.md b/.changeset/add-open-telemetry.md deleted file mode 100644 index 7c9f5d3756c..00000000000 --- a/.changeset/add-open-telemetry.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@keystone-6/core": minor ---- - -Adds support for `@opentelemetry/api` tracing for Keystone's internal operations diff --git a/.changeset/add-quiet.md b/.changeset/add-quiet.md deleted file mode 100644 index 99674a89937..00000000000 --- a/.changeset/add-quiet.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@keystone-6/core": minor ---- - -Adds a `--quiet` flag to `keystone` CLI commands, suppressing most output except for errors diff --git a/.changeset/add-set-many.md b/.changeset/add-set-many.md deleted file mode 100644 index ac60b59181f..00000000000 --- a/.changeset/add-set-many.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@keystone-6/core": minor ---- - -Adds `set` input field for `*RelateToManyUpdateInput` GraphQL type on many relationships diff --git a/.changeset/add-ui-label.md b/.changeset/add-ui-label.md deleted file mode 100644 index 1956b35ce76..00000000000 --- a/.changeset/add-ui-label.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@keystone-6/fields-document": minor ---- - -Adds `.labelField` support for inline and component block relationship fields diff --git a/.changeset/add-unique-filters.md b/.changeset/add-unique-filters.md deleted file mode 100644 index 3a99a29e829..00000000000 --- a/.changeset/add-unique-filters.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@keystone-6/core": minor ---- - -Adds support for uniquely filtering items by 1-to-1 relationships diff --git a/.changeset/afraid-beds-read.md b/.changeset/afraid-beds-read.md deleted file mode 100644 index cd46dcef9dd..00000000000 --- a/.changeset/afraid-beds-read.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@keystone-6/auth": major -"@keystone-6/core": major ---- - -Updates `@apollo/client` to v4 diff --git a/.changeset/blue-balloons-turn.md b/.changeset/blue-balloons-turn.md deleted file mode 100644 index 156c83106d7..00000000000 --- a/.changeset/blue-balloons-turn.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@keystone-6/core": major ---- - -Updates the `config` function to default any missing values to what is used internally; compatible with the internal type `ResolvedKeystoneConfig` diff --git a/.changeset/break-sudo-schema.md b/.changeset/break-sudo-schema.md deleted file mode 100644 index 91b0de41f47..00000000000 --- a/.changeset/break-sudo-schema.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@keystone-6/core": major ---- - -Changes the method by which `.sudo()` bypasses access control, with `context.sudo().graphql.schema` now retaining access control as part of the GraphQL schema diff --git a/.changeset/breezy-dingos-allow.md b/.changeset/breezy-dingos-allow.md deleted file mode 100644 index 86f89f6a3bb..00000000000 --- a/.changeset/breezy-dingos-allow.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@keystone-6/core": minor ---- - -Adds support for extra id types (cuid2, uuid v7, ulid, nanoid) added to Prisma diff --git a/.changeset/bright-ducks-scope.md b/.changeset/bright-ducks-scope.md deleted file mode 100644 index e0ffa156ea0..00000000000 --- a/.changeset/bright-ducks-scope.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@keystone-6/core': major ---- - -Changes the `sudo` boolean on GraphQL schema extensions to `scope`, which is either `'public'` or `'internal'`. Code that previously checked `schema.extensions.sudo` should now check `schema.extensions.scope === 'internal'`. diff --git a/.changeset/bump-next.md b/.changeset/bump-next.md deleted file mode 100644 index 5bead860056..00000000000 --- a/.changeset/bump-next.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@keystone-6/core": major ---- - -Upgrades Next major version to 16, `next` is also now a peer dependency so it must be installed directly in your project. diff --git a/.changeset/bump-prisma-7.md b/.changeset/bump-prisma-7.md deleted file mode 100644 index e030b29feb7..00000000000 --- a/.changeset/bump-prisma-7.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@keystone-6/core': major ---- - -Upgrades Prisma major version to 7. `prisma` and `@prisma/client` are now peer dependencies of `@keystone-6/core`. You will need to install them in your project along with the relevant adapter for your database (e.g. `@prisma/adapter-pg`). The `db.url`, `db.shadowDatabaseUrl`, and `db.enableLogging` config options have been replaced with a `prismaClientOptions` option, this is a function which should return the configuring Prisma adapter and any other options you want to pass to the Prisma client. The Prisma Client is now generated into `generated/prisma` by default now diff --git a/.changeset/bye-design-system.md b/.changeset/bye-design-system.md deleted file mode 100644 index d42a167455d..00000000000 --- a/.changeset/bye-design-system.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@keystone-6/core": major ---- - -Removes `.itemQueryName` and `.listQueryName` from `KeystoneAdminUIListMeta`, use `.graphql.names.*QueryName` instead diff --git a/.changeset/bye-old-fields.md b/.changeset/bye-old-fields.md deleted file mode 100644 index 438bffbe845..00000000000 --- a/.changeset/bye-old-fields.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@keystone-6/core": major ---- - -Removes the `@keystone-ui/*` design system, you should upgrade your custom components to `@keystar/ui`. When you depend on `@keystar/ui`, you should pin `@keystar/ui` and `@keystone-6/core` to matching versions based on the version in `@keystone-6/core`'s `peerDependencies`, whenever updating `@keystone-6/core`, you should also update `@keystar/ui` to the matching version. \ No newline at end of file diff --git a/.changeset/calm-buckets-shine.md b/.changeset/calm-buckets-shine.md deleted file mode 100644 index ffb63a0eae9..00000000000 --- a/.changeset/calm-buckets-shine.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@keystone-6/core": major ---- - -Removes the `isFilterable`, `isOrderable`, `defaultIsFilterable`, and `defaultIsOrderable` configuration options. Field read access can now distinguish between reading an item, filtering, and ordering through `access.read.item`, `access.read.filter`, and `access.read.order`. The corresponding GraphQL schema fields can be omitted through `graphql.omit.read`, with list-wide defaults configured through `fieldDefaults.access` and `fieldDefaults.graphql.omit`. diff --git a/.changeset/chilled-moons-walk.md b/.changeset/chilled-moons-walk.md deleted file mode 100644 index ce86baea4ff..00000000000 --- a/.changeset/chilled-moons-walk.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@keystone-6/core": major ---- - -Removes deprecated `validateInput` and `validateDelete` hooks and adds object hook syntax to fields. diff --git a/.changeset/contributors.json b/.changeset/contributors.json index 5eb0cc2068b..17c9f7c831d 100644 --- a/.changeset/contributors.json +++ b/.changeset/contributors.json @@ -2,6 +2,7 @@ "Achisingh", "AlanBreck", "AliceRossa", + "Bojun-Vvibe", "CarlQLange", "ChrisLaneAU", "DavidMulder0", @@ -12,10 +13,12 @@ "JedWatson", "MadeByMike", "MarcelMalik", + "MauriceArikoglu", "Meetcpatel", "MohammadKurjieh", "MurzNN", "Noviny", + "OlleMattsson", "PaulAroo", "ScottAgirs", "SeanDoyleGit", @@ -24,11 +27,13 @@ "Tekipeps", "TweededBadger", "Vultraz", + "abhijnyan-codes", "acburdine", "adamjkb", "adrianbienias", "ahmedreza1", "allcontributors[bot]", + "andoan16", "austin047", "bartduisters", "benderham", @@ -43,7 +48,10 @@ "direisc", "dominikwilkowski", "duidae", + "dwidge", + "emilshr", "emmatown", + "envsecure", "fkrauthan", "flexdinesh", "ganobrega", @@ -61,6 +69,7 @@ "jim-lake", "jordanoverbye", "jossmac", + "kamilbiela", "kennedybaird", "keystonejs-release-bot", "kidneyweakx", @@ -68,12 +77,15 @@ "lahirurane-rau", "leopoldkristjansson", "lukebennett88", + "lushkovsky-s", "marekryb", "mikehazell", "mkarkachov", "mmachatschek", "molomby", "moselhy", + "mroforolhc", + "n0wsh", "nathsimpson", "nderkim", "nya1", @@ -93,9 +105,11 @@ "ticidesign", "timgates42", "timleslie", + "trickreich", "ttbarnes", "u-ishii", "u-u-z", + "unrevised6419", "willemmulder", "wysher", "yashdharmal" diff --git a/.changeset/crazy-poems-cross.md b/.changeset/crazy-poems-cross.md deleted file mode 100644 index 78232dfaff1..00000000000 --- a/.changeset/crazy-poems-cross.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@keystone-6/core": minor ---- - -Adds support for `displayMode: 'table'` on relationship fields diff --git a/.changeset/drop-field-path.md b/.changeset/drop-field-path.md deleted file mode 100644 index 1d21367737a..00000000000 --- a/.changeset/drop-field-path.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@keystone-6/core": major ---- - -Changes field meta from `{field}.path` to `{field}.key`, as used by field views diff --git a/.changeset/dull-crabs-sit.md b/.changeset/dull-crabs-sit.md deleted file mode 100644 index 47a85a20524..00000000000 --- a/.changeset/dull-crabs-sit.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@keystone-6/fields-document": minor ---- - -Adds `componentBlocks?: 'inherit'` option to block child fields diff --git a/.changeset/eager-cloths-matter.md b/.changeset/eager-cloths-matter.md deleted file mode 100644 index 64e11bae6b8..00000000000 --- a/.changeset/eager-cloths-matter.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@keystone-6/core": major ---- - -Upgrades `@graphql-ts/schema` to `1.0.0` diff --git a/.changeset/early-shirts-win.md b/.changeset/early-shirts-win.md deleted file mode 100644 index a15f1499f56..00000000000 --- a/.changeset/early-shirts-win.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@keystone-6/core": minor ---- - -Adds `ui.{createView,itemView}.isRequired` for control of `isRequired` UI functionality diff --git a/.changeset/eleven-queens-fix.md b/.changeset/eleven-queens-fix.md deleted file mode 100644 index b00747804d7..00000000000 --- a/.changeset/eleven-queens-fix.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@keystone-6/document-renderer": minor ---- - -Adds exports for the `Element`, `Text` and `Node` types diff --git a/.changeset/empty-dots-judge.md b/.changeset/empty-dots-judge.md deleted file mode 100644 index 94fae0de6c4..00000000000 --- a/.changeset/empty-dots-judge.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@keystone-6/core": major ---- - -Adds list-level `ui.listView.initialFilter` to apply a filter to the list view by default diff --git a/.changeset/field-mode-defaults.md b/.changeset/field-mode-defaults.md deleted file mode 100644 index 8616f3c101e..00000000000 --- a/.changeset/field-mode-defaults.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@keystone-6/core': major ---- - -Moves the default field mode configuration from `ui.*.defaultFieldMode` to `fieldDefaults.ui.*.fieldMode` on lists and field groups. diff --git a/.changeset/filter-relationships-too.md b/.changeset/filter-relationships-too.md deleted file mode 100644 index 0ac4a92a4b5..00000000000 --- a/.changeset/filter-relationships-too.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@keystone-6/fields-document": minor ---- - -Adds `filter` and `sort` options to inline and component relationship fields diff --git a/.changeset/fix-admin-file-duplicates.md b/.changeset/fix-admin-file-duplicates.md deleted file mode 100644 index 93870f390d9..00000000000 --- a/.changeset/fix-admin-file-duplicates.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@keystone-6/core": patch ---- - -Fixes race in `keystone build` when writing admin files with duplicate output paths diff --git a/.changeset/fix-defaults.md b/.changeset/fix-defaults.md deleted file mode 100644 index c9b9e9401b9..00000000000 --- a/.changeset/fix-defaults.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@keystone-6/core": minor ---- - -Adds support for `null` as a `defaultValue` on `bigint`, `decimal`, `float` and `integer` diff --git a/.changeset/fix-enum-names.md b/.changeset/fix-enum-names.md deleted file mode 100644 index bdf1b722453..00000000000 --- a/.changeset/fix-enum-names.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@keystone-6/core": major ---- - -Fixes enum names on \*select field types from switching to their singular form diff --git a/.changeset/fix-graphql-plural.md b/.changeset/fix-graphql-plural.md deleted file mode 100644 index ea14f2c7a29..00000000000 --- a/.changeset/fix-graphql-plural.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@keystone-6/core": major ---- - -Fixes the computed GraphQL list plural to retain the original casing diff --git a/.changeset/fix-nonnull-create.md b/.changeset/fix-nonnull-create.md deleted file mode 100644 index 22fc20c90a2..00000000000 --- a/.changeset/fix-nonnull-create.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@keystone-6/core": patch ---- - -Fixes AdminUI create view not supporting `{field}.graphql.isNonNull` for `create` operations diff --git a/.changeset/free-deserts-remain.md b/.changeset/free-deserts-remain.md deleted file mode 100644 index 19d56caf0b5..00000000000 --- a/.changeset/free-deserts-remain.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'@keystone-6/fields-document': major -'@keystone-6/auth': major -'@keystone-6/core': major ---- - -Updates to `graphql@^16.14.2`, `graphql` is now also a peer dependency in addition to a normal dependency so if you have a dependency on `graphql` yourself, you must have a compatible version installed diff --git a/.changeset/free-papers-show.md b/.changeset/free-papers-show.md deleted file mode 100644 index 5546ff9a6ee..00000000000 --- a/.changeset/free-papers-show.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@keystone-6/core": patch ---- - -Fixes lists with hideNavigation showing on the dashboard diff --git a/.changeset/green-ravens-count.md b/.changeset/green-ravens-count.md deleted file mode 100644 index 7d3a76ab53f..00000000000 --- a/.changeset/green-ravens-count.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@keystone-6/core": minor ---- - -Adds `access.operation.query.one`, `access.operation.query.many`, and `access.operation.query.count` for access control for specific kinds of queries. The `access.operation.query` functions also receive `kind: 'one' | 'many' | 'count'`. Specific kinds of queries can be omitted from the GraphQL schema through `graphql.omit.query.one`, `graphql.omit.query.many`, and `graphql.omit.query.count`. \ No newline at end of file diff --git a/.changeset/green-teeth-wear.md b/.changeset/green-teeth-wear.md deleted file mode 100644 index 6057b985e42..00000000000 --- a/.changeset/green-teeth-wear.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@keystone-6/core': major ---- - -Updates default `types.path` to `generated/keystone/types.ts` diff --git a/.changeset/hungry-colts-sort.md b/.changeset/hungry-colts-sort.md deleted file mode 100644 index cb775d3abac..00000000000 --- a/.changeset/hungry-colts-sort.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@keystone-6/core': major ---- - -Updates `@apollo/server` to v5 diff --git a/.changeset/indexed-types.md b/.changeset/indexed-types.md deleted file mode 100644 index a3f84e92339..00000000000 --- a/.changeset/indexed-types.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@keystone-6/core": minor ---- - -Fixes the common field type of `.isIndexed` to accept `boolean`, not only `true` diff --git a/.changeset/large-animals-love.md b/.changeset/large-animals-love.md deleted file mode 100644 index 1dd6558c1e8..00000000000 --- a/.changeset/large-animals-love.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@keystone-6/core": major ---- - -Moves `storage` configuration to `image` and `file` fields, with a new `StorageStrategy` interface that directly defines how `put`, `delete` and `url` functions diff --git a/.changeset/lazy-tools-rest.md b/.changeset/lazy-tools-rest.md deleted file mode 100644 index 90e8aaad355..00000000000 --- a/.changeset/lazy-tools-rest.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"create-keystone-app": major ---- - -Removes auto-install, use your preferred package manager to install dependencies instead diff --git a/.changeset/less-arrays-ui.md b/.changeset/less-arrays-ui.md deleted file mode 100644 index 76c88933999..00000000000 --- a/.changeset/less-arrays-ui.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@keystone-6/core": major ---- - -Changes the type for `ui.getAdditionalFiles` to be flattened, prefer function composition when wrapping diff --git a/.changeset/less-high-description.md b/.changeset/less-high-description.md deleted file mode 100644 index 3fb6f50b23e..00000000000 --- a/.changeset/less-high-description.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@keystone-6/core": major ---- - -Removes `{list}.description` and `{list}.ui.description`, retains `{list}.graphql.description` functionality diff --git a/.changeset/less-lonely-authors.md b/.changeset/less-lonely-authors.md deleted file mode 100644 index 4d33157c107..00000000000 --- a/.changeset/less-lonely-authors.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@keystone-6/core": minor ---- - -Changes the relationship field to only call the GraphQL `create` mutation when saving the item, not on blur diff --git a/.changeset/less-null-ui.md b/.changeset/less-null-ui.md deleted file mode 100644 index 21a536ecd39..00000000000 --- a/.changeset/less-null-ui.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@keystone-6/core": major ---- - -Removes `null` value from `{field}.ui.description`, replace with empty string or omit the key diff --git a/.changeset/less-true-only.md b/.changeset/less-true-only.md deleted file mode 100644 index 84c2124ce8f..00000000000 --- a/.changeset/less-true-only.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@keystone-6/fields-document": patch ---- - -Changes DocumentFieldConfig to accept `?: boolean`, not `?: true` formatting options diff --git a/.changeset/list-sort-filter.md b/.changeset/list-sort-filter.md deleted file mode 100644 index 7ba22a163b0..00000000000 --- a/.changeset/list-sort-filter.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@keystone-6/core": minor ---- - -Adds `ui.{sort,filter}` options to relationship fields with `ui.displayMode: 'select'`, with sort defaulting to the foreign list's `{list}.ui.listView.{initialSort}` option diff --git a/.changeset/maybe-item.md b/.changeset/maybe-item.md deleted file mode 100644 index 4a1e7b856fe..00000000000 --- a/.changeset/maybe-item.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@keystone-6/core": major ---- - -Changes `item` argument type in `field.*View.field*` functions to be nullable diff --git a/.changeset/mean-fans-shop.md b/.changeset/mean-fans-shop.md deleted file mode 100644 index 4f7d74cca60..00000000000 --- a/.changeset/mean-fans-shop.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@keystone-6/core": major ---- - -Changes Prisma client error handling so Prisma operations no longer return `GraphQLError`. Using the Prisma client will now throw errors normally. Prisma errors that are not caught in resolvers will now have all information beyond the fact that they're Prisma errors removed before they're returned over the network. You can use `graphql.apolloConfig.formatError` in your config to override this. diff --git a/.changeset/mean-rats-invent.md b/.changeset/mean-rats-invent.md deleted file mode 100644 index a69d1cfcee7..00000000000 --- a/.changeset/mean-rats-invent.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@keystone-6/fields-document": patch ---- - -Updates document structure validation with clearer error messages diff --git a/.changeset/monorepo-easier.md b/.changeset/monorepo-easier.md deleted file mode 100644 index 31feae5b9ae..00000000000 --- a/.changeset/monorepo-easier.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@keystone-6/core": minor ---- - -Adds support for importing TypeScript (and similar) packages in a monorepo without a separate build step. diff --git a/.changeset/move-field-label.md b/.changeset/move-field-label.md deleted file mode 100644 index 79d9d5fdf10..00000000000 --- a/.changeset/move-field-label.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@keystone-6/core": major ---- - -Moves `{field}.label` to `{field}.ui.label` diff --git a/.changeset/move-meta-item.md b/.changeset/move-meta-item.md deleted file mode 100644 index 44113bfc1ae..00000000000 --- a/.changeset/move-meta-item.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@keystone-6/core": major ---- - -Moves item field parameters from list.itemView() to list() in the KeystoneAdminMeta GraphQL type diff --git a/.changeset/nervous-flies-press.md b/.changeset/nervous-flies-press.md deleted file mode 100644 index ea41499f544..00000000000 --- a/.changeset/nervous-flies-press.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@keystone-6/core": patch ---- - -Updates relationship fields to implicitly set `ui.hideCreate: true` when `graphql.omit.create: false` is set on the related list diff --git a/.changeset/new-jars-grab.md b/.changeset/new-jars-grab.md deleted file mode 100644 index 9f47d934722..00000000000 --- a/.changeset/new-jars-grab.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@keystone-6/core": patch ---- - -Changes `fieldMode` and `fieldPosition` on `KeystoneAdminUIFieldMetaItemView` to non-nullable diff --git a/.changeset/orange-boats-act.md b/.changeset/orange-boats-act.md deleted file mode 100644 index a2373505e50..00000000000 --- a/.changeset/orange-boats-act.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@keystone-6/fields-document": minor ---- - -Adds `displayMode` to `fields.text` diff --git a/.changeset/plenty-things-work.md b/.changeset/plenty-things-work.md deleted file mode 100644 index c74b119230a..00000000000 --- a/.changeset/plenty-things-work.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@keystone-6/core": patch ---- - -Adds startup log messages to inform users of telemetry status diff --git a/.changeset/polite-colts-admire.md b/.changeset/polite-colts-admire.md deleted file mode 100644 index a338acf6713..00000000000 --- a/.changeset/polite-colts-admire.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@keystone-6/auth": major -"@keystone-6/core": major ---- - -Changes the `password` field options from `bcrypt` and `workFactor` to the new generic `kdf` option. diff --git a/.changeset/polite-colts-desire.md b/.changeset/polite-colts-desire.md deleted file mode 100644 index 7c2fddb7144..00000000000 --- a/.changeset/polite-colts-desire.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@keystone-6/core": major ---- - -Fixes the `password` field to throw an error for inputs longer than 72 bytes when using the default `bcrypt` key derivation function (KDF) diff --git a/.changeset/poor-months-wear.md b/.changeset/poor-months-wear.md deleted file mode 100644 index c8f0d097f7f..00000000000 --- a/.changeset/poor-months-wear.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@keystone-6/fields-document": patch ---- - -Fixes new component-block form fields failing validation on existing data diff --git a/.changeset/puny-tires-rescue.md b/.changeset/puny-tires-rescue.md deleted file mode 100644 index 57c5b1010fd..00000000000 --- a/.changeset/puny-tires-rescue.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@keystone-6/core": minor ---- - -Adds conditional client-state filters for `ui.*.fieldMode` diff --git a/.changeset/react-peer-deps.md b/.changeset/react-peer-deps.md deleted file mode 100644 index f75c9580ef5..00000000000 --- a/.changeset/react-peer-deps.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -'@keystone-6/core': major -'@keystone-6/fields-document': major -'@keystone-6/cloudinary': major -'@keystone-6/auth': major ---- - -Moves `react` and `react-dom` to peer dependencies. diff --git a/.changeset/ready-laws-refuse.md b/.changeset/ready-laws-refuse.md deleted file mode 100644 index 4f75be2e32a..00000000000 --- a/.changeset/ready-laws-refuse.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@keystone-6/core": major ---- - -Changes `displayMode: 'count'` on relationship fields to require `itemView.fieldMode: 'read'` or a dynamic `fieldMode` that only resolves to `'read'` or `'hidden'`. diff --git a/.changeset/remove-document-primitives.md b/.changeset/remove-document-primitives.md deleted file mode 100644 index 80883b8ee48..00000000000 --- a/.changeset/remove-document-primitives.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@keystone-6/fields-document": major ---- - -Removes `@keystone-6/fields-document/primitives` from exports diff --git a/.changeset/remove-end-session.md b/.changeset/remove-end-session.md deleted file mode 100644 index c433c6be14c..00000000000 --- a/.changeset/remove-end-session.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@keystone-6/core": major ---- - -Removes the `endSession` GraphQL mutation addition when `context.session.end` is defined, extend this yourself or use `@keystone-6/auth` which adds `endSession` if required diff --git a/.changeset/remove-init-first-item.md b/.changeset/remove-init-first-item.md deleted file mode 100644 index 52f1c06c64b..00000000000 --- a/.changeset/remove-init-first-item.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@keystone-6/auth': major ---- - -Removes `initFirstItem`, including the `/init` Admin UI page and the `createInitial*` GraphQL mutation. Use `db.onConnect` to seed an initial user instead. diff --git a/.changeset/remove-keystone-prisma.md b/.changeset/remove-keystone-prisma.md deleted file mode 100644 index 8d263149b4c..00000000000 --- a/.changeset/remove-keystone-prisma.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@keystone-6/core": major ---- - -Removes the `keystone prisma` command, you should use `prisma` directly. diff --git a/.changeset/remove-meta-fields.md b/.changeset/remove-meta-fields.md deleted file mode 100644 index 892ba0d6ce1..00000000000 --- a/.changeset/remove-meta-fields.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@keystone-6/core": major ---- - -Removes `authenticatedItem` from `@keystone-6/core/admin-ui/components` exports diff --git a/.changeset/remove-migration-command.md b/.changeset/remove-migration-command.md deleted file mode 100644 index fd640ad70e1..00000000000 --- a/.changeset/remove-migration-command.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@keystone-6/core': major ---- - -Removes the `keystone migrate` commands and the `--with-migrations` option, you should use `prisma` directly. diff --git a/.changeset/rename-meta-fields.md b/.changeset/rename-meta-fields.md deleted file mode 100644 index 4e7ad75592b..00000000000 --- a/.changeset/rename-meta-fields.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@keystone-6/core": major ---- - -Changes `isHidden` to `hideNavigation` on the AdminMeta list GraphQL type diff --git a/.changeset/rm-auth-magic.md b/.changeset/rm-auth-magic.md deleted file mode 100644 index 97662a758c5..00000000000 --- a/.changeset/rm-auth-magic.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@keystone-6/auth": major ---- - -Removes `magicAuthLink` and `passwordResetLink` functionality from `@keystone-6/auth` diff --git a/.changeset/rotten-vans-vanish.md b/.changeset/rotten-vans-vanish.md deleted file mode 100644 index 59dc8731016..00000000000 --- a/.changeset/rotten-vans-vanish.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@keystone-6/core": major ---- - -Removes the deprecated `--fix` flag from `keystone postinstall` diff --git a/.changeset/seven-windows-itch.md b/.changeset/seven-windows-itch.md deleted file mode 100644 index b9cc73d4acd..00000000000 --- a/.changeset/seven-windows-itch.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@keystone-6/core": patch ---- - -Adds more specific types to `cacheHint` and respects `cacheHint` on `findOne` queries. diff --git a/.changeset/shaggy-beds-know.md b/.changeset/shaggy-beds-know.md deleted file mode 100644 index d915db8d69a..00000000000 --- a/.changeset/shaggy-beds-know.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@keystone-6/auth": minor ---- - -Changes the type of `withAuth`'s first parameter to be a `ResolvedKeystoneConfig`, rather than `KeystoneConfig` diff --git a/.changeset/silent-lists-filter.md b/.changeset/silent-lists-filter.md deleted file mode 100644 index 1bd3ee18914..00000000000 --- a/.changeset/silent-lists-filter.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@keystone-6/core": minor ---- - -Adds `ui.listView.hiddenFilter`, a hidden Admin UI list view filter that is always applied to the list query but is not shown in the filter UI. diff --git a/.changeset/slow-points-listen.md b/.changeset/slow-points-listen.md deleted file mode 100644 index e86c09d6ef5..00000000000 --- a/.changeset/slow-points-listen.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@keystone-6/core': patch ---- - -Fixes `isolationLevel` type in `context.transaction` diff --git a/.changeset/small-kiwis-speak.md b/.changeset/small-kiwis-speak.md deleted file mode 100644 index 5f1fc1a9b94..00000000000 --- a/.changeset/small-kiwis-speak.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@keystone-6/core": minor ---- - -Changes the `graphql` export name to `g` - `graphql` is still exported but is deprecated and may be removed in a future release. In projects, use `gWithContext` to bind `g` to your specific context type. diff --git a/.changeset/solid-ravens-start.md b/.changeset/solid-ravens-start.md deleted file mode 100644 index 005400bcaba..00000000000 --- a/.changeset/solid-ravens-start.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@keystone-6/core': major ---- - -Upgrades express major version to 5 diff --git a/.changeset/starter-bump.md b/.changeset/starter-bump.md deleted file mode 100644 index 20fd61805ed..00000000000 --- a/.changeset/starter-bump.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"create-keystone-app": major ---- - -Updates the `keystone-app` configuration to the newest major version diff --git a/.changeset/structure-errors.md b/.changeset/structure-errors.md deleted file mode 100644 index 9e21037a706..00000000000 --- a/.changeset/structure-errors.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@keystone-6/fields-document": patch ---- - -Changes fields-document missing item error message to match `@keystone-6/core` diff --git a/.changeset/stupid-seas-burn.md b/.changeset/stupid-seas-burn.md deleted file mode 100644 index 3d0b25072b8..00000000000 --- a/.changeset/stupid-seas-burn.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@keystone-6/core": patch ---- - -Fixes Prisma build errors with Node.js 22 and Node.js 24. Thanks @sfodor for the fix diff --git a/.changeset/tangy-items-carry.md b/.changeset/tangy-items-carry.md deleted file mode 100644 index 17ac2a5aae1..00000000000 --- a/.changeset/tangy-items-carry.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@keystone-6/core": patch ---- - -Adds more specific types for the `lists` argument passed in `virtual` fields when using existing list types diff --git a/.changeset/testing-reset-database.md b/.changeset/testing-reset-database.md deleted file mode 100644 index 33ff4065321..00000000000 --- a/.changeset/testing-reset-database.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@keystone-6/core': major ---- - -Replaces `@keystone-6/core/testing`'s `resetDatabase` function with new implementations in `@keystone-6/core/testing/postgresql`, `@keystone-6/core/testing/sqlite` and `@keystone-6/core/testing/mysql` diff --git a/.changeset/tired-tires-look.md b/.changeset/tired-tires-look.md deleted file mode 100644 index acad50f5e00..00000000000 --- a/.changeset/tired-tires-look.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@keystone-6/core": major -"@keystone-6/fields-document": patch -"@keystone-6/cloudinary": patch ---- - -Removes `jsonFieldTypePolyfilledForSQLite` since Prisma now supports the Json scalar for SQLite diff --git a/.changeset/twelve-rings-remain.md b/.changeset/twelve-rings-remain.md deleted file mode 100644 index a41060c22d6..00000000000 --- a/.changeset/twelve-rings-remain.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@keystone-6/core": patch ---- - -Adds support for the `Bytes` Prisma type in TypeScript types when implementing custom field types diff --git a/.changeset/two-olives-raise.md b/.changeset/two-olives-raise.md deleted file mode 100644 index 9b569d38961..00000000000 --- a/.changeset/two-olives-raise.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@keystone-6/fields-document": patch ---- - -Removes checking excess properties on component blocks diff --git a/.changeset/violet-kiwis-refuse.md b/.changeset/violet-kiwis-refuse.md deleted file mode 100644 index 1d1bd88dd8a..00000000000 --- a/.changeset/violet-kiwis-refuse.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@keystone-6/core": patch ---- - -Changes esbuild to use the automatic JSX runtime to align with the Next build process diff --git a/.changeset/wise-documents-validate.md b/.changeset/wise-documents-validate.md deleted file mode 100644 index c8ff5bfe0d6..00000000000 --- a/.changeset/wise-documents-validate.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@keystone-6/fields-document": patch ---- - -Adds tighter document field relationship validation error handling. diff --git a/.changeset/witty-tigers-agree.md b/.changeset/witty-tigers-agree.md deleted file mode 100644 index 43526eb2790..00000000000 --- a/.changeset/witty-tigers-agree.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@keystone-6/fields-document": patch ---- - -Fixes normalising multiple dividers in component blocks diff --git a/.changeset/witty-toes-switch.md b/.changeset/witty-toes-switch.md deleted file mode 100644 index 64c70cc3c3c..00000000000 --- a/.changeset/witty-toes-switch.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -'@keystone-6/document-renderer': major -'@keystone-6/fields-document': major -'@keystone-6/cloudinary': major -'create-keystone-app': major -'@keystone-6/auth': major -'@keystone-6/core': major ---- - -Changes package to exclusively Node ESM. This is intended to be used by `require(esm)` and should not affect consumers beyond requiring a modern Node version. `keystone build` outputs are still CommonJS. diff --git a/packages/auth/CHANGELOG.md b/packages/auth/CHANGELOG.md index 2e0e713265e..ef76c03d181 100644 --- a/packages/auth/CHANGELOG.md +++ b/packages/auth/CHANGELOG.md @@ -1,5 +1,34 @@ # @keystone-6/auth +## 10.0.0 + +### Major Changes + +- [#9740](https://github.com/keystonejs/keystone/pull/9740) [`912ed1d`](https://github.com/keystonejs/keystone/commit/912ed1d3f279e595b795f7f39e53c1c02ea90274) Thanks [@emmatown](https://github.com/emmatown)! - Updates `@apollo/client` to v4 + +- [#9956](https://github.com/keystonejs/keystone/pull/9956) [`450b3eb`](https://github.com/keystonejs/keystone/commit/450b3eb479d16213a7c492fd4701e62301c932ad) Thanks [@emmatown](https://github.com/emmatown)! - Updates to `graphql@^16.14.2`, `graphql` is now also a peer dependency in addition to a normal dependency so if you have a dependency on `graphql` yourself, you must have a compatible version installed + +- [#9471](https://github.com/keystonejs/keystone/pull/9471) [`e3e1f8d`](https://github.com/keystonejs/keystone/commit/e3e1f8d9eed94bfed0ff9542b5661c2eb2f4a7b2) Thanks [@emmatown](https://github.com/emmatown)! - Changes the `password` field options from `bcrypt` and `workFactor` to the new generic `kdf` option. + +- [#9907](https://github.com/keystonejs/keystone/pull/9907) [`e775394`](https://github.com/keystonejs/keystone/commit/e775394fd472daeb0a4b33a9aabf02d0d6ef36dd) Thanks [@emmatown](https://github.com/emmatown)! - Moves `react` and `react-dom` to peer dependencies. + +- [#9915](https://github.com/keystonejs/keystone/pull/9915) [`8a025a1`](https://github.com/keystonejs/keystone/commit/8a025a1868989674cf30a5d7351ee94fb8fe9641) Thanks [@emmatown](https://github.com/emmatown)! - Removes `initFirstItem`, including the `/init` Admin UI page and the `createInitial*` GraphQL mutation. Use `db.onConnect` to seed an initial user instead. + +- [#9245](https://github.com/keystonejs/keystone/pull/9245) [`2672109`](https://github.com/keystonejs/keystone/commit/267210934cde5dde00b2a69a11f6793e920244a5) Thanks [@dcousens](https://github.com/dcousens)! - Removes `magicAuthLink` and `passwordResetLink` functionality from `@keystone-6/auth` + +- [#9929](https://github.com/keystonejs/keystone/pull/9929) [`056f6b5`](https://github.com/keystonejs/keystone/commit/056f6b582d6a391cbe84cc2797ef98cec467e7d2) Thanks [@emmatown](https://github.com/emmatown)! - Changes package to exclusively Node ESM. This is intended to be used by `require(esm)` and should not affect consumers beyond requiring a modern Node version. `keystone build` outputs are still CommonJS. + +### Minor Changes + +- [#9253](https://github.com/keystonejs/keystone/pull/9253) [`b7d0f1b`](https://github.com/keystonejs/keystone/commit/b7d0f1bc01764df7f92ca07289cbba30ad1b467f) Thanks [@dcousens](https://github.com/dcousens)! - Adds the `endSession` GraphQL mutation addition when `context.session.end` is defined + +- [#9189](https://github.com/keystonejs/keystone/pull/9189) [`a2ee52e`](https://github.com/keystonejs/keystone/commit/a2ee52e93ad3d281035dac857519709f647048fe) Thanks [@gautamsi](https://github.com/gautamsi)! - Changes the type of `withAuth`'s first parameter to be a `ResolvedKeystoneConfig`, rather than `KeystoneConfig` + +### Patch Changes + +- Updated dependencies [[`75824a1`](https://github.com/keystonejs/keystone/commit/75824a17c5661899099598c4f8052bd05bae5317), [`edb1f28`](https://github.com/keystonejs/keystone/commit/edb1f28af35d2d53112dbaee966302a8a6014b86), [`7a4624f`](https://github.com/keystonejs/keystone/commit/7a4624fd472f9da31049e9a8a7bd8ba8f541a1e2), [`585e4ee`](https://github.com/keystonejs/keystone/commit/585e4ee64c497c6b63e42f640a3032670369bd30), [`585e4ee`](https://github.com/keystonejs/keystone/commit/585e4ee64c497c6b63e42f640a3032670369bd30), [`49e1d50`](https://github.com/keystonejs/keystone/commit/49e1d50af706c6d6c91efbd5e19d8fbfc8a24a24), [`ebc985b`](https://github.com/keystonejs/keystone/commit/ebc985b357483dceb92f496995854987ebf8b5fe), [`22e4468`](https://github.com/keystonejs/keystone/commit/22e44681e36358db8dac5764dfda0168b1eec7dc), [`83ac5f3`](https://github.com/keystonejs/keystone/commit/83ac5f3d3fe26d2955ab2e31de2a7e4e797afad0), [`551496f`](https://github.com/keystonejs/keystone/commit/551496f51e608bc79e50e7c4f7c3bb117a4e6bdb), [`dd8c02d`](https://github.com/keystonejs/keystone/commit/dd8c02d146c89bd0b78911349b17b521357aa642), [`912ed1d`](https://github.com/keystonejs/keystone/commit/912ed1d3f279e595b795f7f39e53c1c02ea90274), [`a2ee52e`](https://github.com/keystonejs/keystone/commit/a2ee52e93ad3d281035dac857519709f647048fe), [`75824a1`](https://github.com/keystonejs/keystone/commit/75824a17c5661899099598c4f8052bd05bae5317), [`8b87897`](https://github.com/keystonejs/keystone/commit/8b878977d34c7ced2629dcf012739b5b51906549), [`0cf1fa3`](https://github.com/keystonejs/keystone/commit/0cf1fa3fb9a31a6048bfbb5a0203bc9b77b06e69), [`c340760`](https://github.com/keystonejs/keystone/commit/c3407607cdd733b6555b02fe8264e4953af92256), [`034da65`](https://github.com/keystonejs/keystone/commit/034da65638cf00814efe9d6bfacf9d5a18516ef7), [`b7d0f1b`](https://github.com/keystonejs/keystone/commit/b7d0f1bc01764df7f92ca07289cbba30ad1b467f), [`b7d0f1b`](https://github.com/keystonejs/keystone/commit/b7d0f1bc01764df7f92ca07289cbba30ad1b467f), [`677f640`](https://github.com/keystonejs/keystone/commit/677f640f7e1be2aa6ce30dd9d602dee8348ba1e7), [`77bfd2c`](https://github.com/keystonejs/keystone/commit/77bfd2c0b9cf2bcd14d10712dd40f7f5aeffac37), [`67cc93d`](https://github.com/keystonejs/keystone/commit/67cc93d107c892e6f2fa231f68ce6f88bb0cf17b), [`41e0f72`](https://github.com/keystonejs/keystone/commit/41e0f729d114649470e1ccda85c8c48d635386b3), [`810e77d`](https://github.com/keystonejs/keystone/commit/810e77d12c54c4c22480b43bed1456e1f5e46d3d), [`172f97b`](https://github.com/keystonejs/keystone/commit/172f97b8b1662b7b286e327258db8c833aed9a03), [`8ac439f`](https://github.com/keystonejs/keystone/commit/8ac439f4fb5a7eb8e413a6d769216d678c03a24d), [`059faf5`](https://github.com/keystonejs/keystone/commit/059faf5c0af7c9e95e674c2a96592f4d37782bee), [`80e31e4`](https://github.com/keystonejs/keystone/commit/80e31e4a7914326eb54ab65e829afcee44bdf971), [`b7d0f1b`](https://github.com/keystonejs/keystone/commit/b7d0f1bc01764df7f92ca07289cbba30ad1b467f), [`c06ee77`](https://github.com/keystonejs/keystone/commit/c06ee774962a5cb54c3aecbf9b6f3d03732ccb20), [`edb1f28`](https://github.com/keystonejs/keystone/commit/edb1f28af35d2d53112dbaee966302a8a6014b86), [`b7d0f1b`](https://github.com/keystonejs/keystone/commit/b7d0f1bc01764df7f92ca07289cbba30ad1b467f), [`450b3eb`](https://github.com/keystonejs/keystone/commit/450b3eb479d16213a7c492fd4701e62301c932ad), [`59ae8af`](https://github.com/keystonejs/keystone/commit/59ae8aff0f3741fddc91338f796cb654d9a56b6e), [`677f640`](https://github.com/keystonejs/keystone/commit/677f640f7e1be2aa6ce30dd9d602dee8348ba1e7), [`d04d22e`](https://github.com/keystonejs/keystone/commit/d04d22e64735d0cc71d9b5c93b48337f0137c574), [`580634a`](https://github.com/keystonejs/keystone/commit/580634aaa70910d27e3b03bf591187feb7176afb), [`dd8c02d`](https://github.com/keystonejs/keystone/commit/dd8c02d146c89bd0b78911349b17b521357aa642), [`41ee880`](https://github.com/keystonejs/keystone/commit/41ee880fe389240e3dee5ffb9439fb5d96ae5429), [`4bae32f`](https://github.com/keystonejs/keystone/commit/4bae32f20e4ba7f07bebb7a39fe5d52eecbe11ad), [`2cbce53`](https://github.com/keystonejs/keystone/commit/2cbce53ca2d66c8a94ae403469862eb7b0038958), [`b7d0f1b`](https://github.com/keystonejs/keystone/commit/b7d0f1bc01764df7f92ca07289cbba30ad1b467f), [`2cbce53`](https://github.com/keystonejs/keystone/commit/2cbce53ca2d66c8a94ae403469862eb7b0038958), [`16b2b47`](https://github.com/keystonejs/keystone/commit/16b2b4765a98e5060eec6ebf622546b35ee28eec), [`b7d0f1b`](https://github.com/keystonejs/keystone/commit/b7d0f1bc01764df7f92ca07289cbba30ad1b467f), [`eaf1144`](https://github.com/keystonejs/keystone/commit/eaf11443239f5c7554883c097df03d40eaabdfff), [`014b9f3`](https://github.com/keystonejs/keystone/commit/014b9f31170902c43af853dfb4d10c4e7d0b1282), [`462ff0e`](https://github.com/keystonejs/keystone/commit/462ff0e7ac925d4cd17d3c37d277511b19d8f17b), [`b07145a`](https://github.com/keystonejs/keystone/commit/b07145ad7fdfe69fd1aea634a17d71a025653226), [`3c6b053`](https://github.com/keystonejs/keystone/commit/3c6b053dec67fbdd1fd77c244e3ce205f1eb5991), [`f77e69a`](https://github.com/keystonejs/keystone/commit/f77e69a96d492320a027cc36df9084ff95ce5c17), [`033d065`](https://github.com/keystonejs/keystone/commit/033d06529018482c16f309d8bd6e6e2280e9c161), [`e3e1f8d`](https://github.com/keystonejs/keystone/commit/e3e1f8d9eed94bfed0ff9542b5661c2eb2f4a7b2), [`0c5e0c0`](https://github.com/keystonejs/keystone/commit/0c5e0c03d73cb13e541accaa5a2f494e435c04e9), [`17fff44`](https://github.com/keystonejs/keystone/commit/17fff4491f10281e5cfb4d301e410e36c219cb56), [`e775394`](https://github.com/keystonejs/keystone/commit/e775394fd472daeb0a4b33a9aabf02d0d6ef36dd), [`1f0a560`](https://github.com/keystonejs/keystone/commit/1f0a5603a63e20a3af1fcddadea7a016bc21e0a7), [`b7d0f1b`](https://github.com/keystonejs/keystone/commit/b7d0f1bc01764df7f92ca07289cbba30ad1b467f), [`034da65`](https://github.com/keystonejs/keystone/commit/034da65638cf00814efe9d6bfacf9d5a18516ef7), [`b07145a`](https://github.com/keystonejs/keystone/commit/b07145ad7fdfe69fd1aea634a17d71a025653226), [`034da65`](https://github.com/keystonejs/keystone/commit/034da65638cf00814efe9d6bfacf9d5a18516ef7), [`b07145a`](https://github.com/keystonejs/keystone/commit/b07145ad7fdfe69fd1aea634a17d71a025653226), [`5410848`](https://github.com/keystonejs/keystone/commit/54108480451680f960f7e1c5c92418953a2c6dac), [`ec66d47`](https://github.com/keystonejs/keystone/commit/ec66d472feeabd2bda2c457d8991953c25cab9f3), [`d421102`](https://github.com/keystonejs/keystone/commit/d42110286f4f6aaee74c5af1fa097eb90e1a88f1), [`0105917`](https://github.com/keystonejs/keystone/commit/0105917fa6c81ecd146b646fe05e88a558eb6174), [`c6ce0a7`](https://github.com/keystonejs/keystone/commit/c6ce0a7ea67d33deeba96173e729fec5fd2cd18e), [`c0ea594`](https://github.com/keystonejs/keystone/commit/c0ea59481d4a2b208b8741a6fa24e296a21402da), [`76423c7`](https://github.com/keystonejs/keystone/commit/76423c767a8a4f0b339cd1e42448deceafab52a5), [`c2a8116`](https://github.com/keystonejs/keystone/commit/c2a8116a46f6caa30a50e6dac3e6338f46da6c16), [`034da65`](https://github.com/keystonejs/keystone/commit/034da65638cf00814efe9d6bfacf9d5a18516ef7), [`ce4be0b`](https://github.com/keystonejs/keystone/commit/ce4be0bc1d39f8bb87bd4433d974ab943418ec10), [`341e342`](https://github.com/keystonejs/keystone/commit/341e3427ac49c8e73a5c76d66f2d6fca5cfa26ce), [`c643407`](https://github.com/keystonejs/keystone/commit/c6434077d86fe53705a31b7496a1246aab5c34e1), [`056f6b5`](https://github.com/keystonejs/keystone/commit/056f6b582d6a391cbe84cc2797ef98cec467e7d2)]: + - @keystone-6/core@8.0.0 + ## 9.0.0 ### Major Changes diff --git a/packages/auth/package.json b/packages/auth/package.json index 685d331cc0c..0315443692a 100644 --- a/packages/auth/package.json +++ b/packages/auth/package.json @@ -1,6 +1,6 @@ { "name": "@keystone-6/auth", - "version": "9.0.0", + "version": "10.0.0", "license": "MIT", "type": "module", "exports": { @@ -21,7 +21,7 @@ "react-dom": "catalog:" }, "peerDependencies": { - "@keystone-6/core": "^7.0.0", + "@keystone-6/core": "^8.0.0", "graphql": "catalog:", "react": "^19.0.0", "react-dom": "^19.0.0", diff --git a/packages/cloudinary/CHANGELOG.md b/packages/cloudinary/CHANGELOG.md index a4526262558..0e930824168 100644 --- a/packages/cloudinary/CHANGELOG.md +++ b/packages/cloudinary/CHANGELOG.md @@ -1,5 +1,24 @@ # @keystone-6/cloudinary +## 10.0.0 + +### Major Changes + +- [#9907](https://github.com/keystonejs/keystone/pull/9907) [`e775394`](https://github.com/keystonejs/keystone/commit/e775394fd472daeb0a4b33a9aabf02d0d6ef36dd) Thanks [@emmatown](https://github.com/emmatown)! - Moves `react` and `react-dom` to peer dependencies. + +- [#9929](https://github.com/keystonejs/keystone/pull/9929) [`056f6b5`](https://github.com/keystonejs/keystone/commit/056f6b582d6a391cbe84cc2797ef98cec467e7d2) Thanks [@emmatown](https://github.com/emmatown)! - Changes package to exclusively Node ESM. This is intended to be used by `require(esm)` and should not affect consumers beyond requiring a modern Node version. `keystone build` outputs are still CommonJS. + +### Minor Changes + +- [#9253](https://github.com/keystonejs/keystone/pull/9253) [`b7d0f1b`](https://github.com/keystonejs/keystone/commit/b7d0f1bc01764df7f92ca07289cbba30ad1b467f) Thanks [@dcousens](https://github.com/dcousens)! - Adds the pre-existing meta `width`, `height` and `filesize` to the `CloudinaryImage_File` GraphQL output type + +### Patch Changes + +- [#9541](https://github.com/keystonejs/keystone/pull/9541) [`ce4be0b`](https://github.com/keystonejs/keystone/commit/ce4be0bc1d39f8bb87bd4433d974ab943418ec10) Thanks [@emmatown](https://github.com/emmatown)! - Removes `jsonFieldTypePolyfilledForSQLite` since Prisma now supports the Json scalar for SQLite + +- Updated dependencies [[`75824a1`](https://github.com/keystonejs/keystone/commit/75824a17c5661899099598c4f8052bd05bae5317), [`edb1f28`](https://github.com/keystonejs/keystone/commit/edb1f28af35d2d53112dbaee966302a8a6014b86), [`7a4624f`](https://github.com/keystonejs/keystone/commit/7a4624fd472f9da31049e9a8a7bd8ba8f541a1e2), [`585e4ee`](https://github.com/keystonejs/keystone/commit/585e4ee64c497c6b63e42f640a3032670369bd30), [`585e4ee`](https://github.com/keystonejs/keystone/commit/585e4ee64c497c6b63e42f640a3032670369bd30), [`49e1d50`](https://github.com/keystonejs/keystone/commit/49e1d50af706c6d6c91efbd5e19d8fbfc8a24a24), [`ebc985b`](https://github.com/keystonejs/keystone/commit/ebc985b357483dceb92f496995854987ebf8b5fe), [`22e4468`](https://github.com/keystonejs/keystone/commit/22e44681e36358db8dac5764dfda0168b1eec7dc), [`83ac5f3`](https://github.com/keystonejs/keystone/commit/83ac5f3d3fe26d2955ab2e31de2a7e4e797afad0), [`551496f`](https://github.com/keystonejs/keystone/commit/551496f51e608bc79e50e7c4f7c3bb117a4e6bdb), [`dd8c02d`](https://github.com/keystonejs/keystone/commit/dd8c02d146c89bd0b78911349b17b521357aa642), [`912ed1d`](https://github.com/keystonejs/keystone/commit/912ed1d3f279e595b795f7f39e53c1c02ea90274), [`a2ee52e`](https://github.com/keystonejs/keystone/commit/a2ee52e93ad3d281035dac857519709f647048fe), [`75824a1`](https://github.com/keystonejs/keystone/commit/75824a17c5661899099598c4f8052bd05bae5317), [`8b87897`](https://github.com/keystonejs/keystone/commit/8b878977d34c7ced2629dcf012739b5b51906549), [`0cf1fa3`](https://github.com/keystonejs/keystone/commit/0cf1fa3fb9a31a6048bfbb5a0203bc9b77b06e69), [`c340760`](https://github.com/keystonejs/keystone/commit/c3407607cdd733b6555b02fe8264e4953af92256), [`034da65`](https://github.com/keystonejs/keystone/commit/034da65638cf00814efe9d6bfacf9d5a18516ef7), [`b7d0f1b`](https://github.com/keystonejs/keystone/commit/b7d0f1bc01764df7f92ca07289cbba30ad1b467f), [`b7d0f1b`](https://github.com/keystonejs/keystone/commit/b7d0f1bc01764df7f92ca07289cbba30ad1b467f), [`677f640`](https://github.com/keystonejs/keystone/commit/677f640f7e1be2aa6ce30dd9d602dee8348ba1e7), [`77bfd2c`](https://github.com/keystonejs/keystone/commit/77bfd2c0b9cf2bcd14d10712dd40f7f5aeffac37), [`67cc93d`](https://github.com/keystonejs/keystone/commit/67cc93d107c892e6f2fa231f68ce6f88bb0cf17b), [`41e0f72`](https://github.com/keystonejs/keystone/commit/41e0f729d114649470e1ccda85c8c48d635386b3), [`810e77d`](https://github.com/keystonejs/keystone/commit/810e77d12c54c4c22480b43bed1456e1f5e46d3d), [`172f97b`](https://github.com/keystonejs/keystone/commit/172f97b8b1662b7b286e327258db8c833aed9a03), [`8ac439f`](https://github.com/keystonejs/keystone/commit/8ac439f4fb5a7eb8e413a6d769216d678c03a24d), [`059faf5`](https://github.com/keystonejs/keystone/commit/059faf5c0af7c9e95e674c2a96592f4d37782bee), [`80e31e4`](https://github.com/keystonejs/keystone/commit/80e31e4a7914326eb54ab65e829afcee44bdf971), [`b7d0f1b`](https://github.com/keystonejs/keystone/commit/b7d0f1bc01764df7f92ca07289cbba30ad1b467f), [`c06ee77`](https://github.com/keystonejs/keystone/commit/c06ee774962a5cb54c3aecbf9b6f3d03732ccb20), [`edb1f28`](https://github.com/keystonejs/keystone/commit/edb1f28af35d2d53112dbaee966302a8a6014b86), [`b7d0f1b`](https://github.com/keystonejs/keystone/commit/b7d0f1bc01764df7f92ca07289cbba30ad1b467f), [`450b3eb`](https://github.com/keystonejs/keystone/commit/450b3eb479d16213a7c492fd4701e62301c932ad), [`59ae8af`](https://github.com/keystonejs/keystone/commit/59ae8aff0f3741fddc91338f796cb654d9a56b6e), [`677f640`](https://github.com/keystonejs/keystone/commit/677f640f7e1be2aa6ce30dd9d602dee8348ba1e7), [`d04d22e`](https://github.com/keystonejs/keystone/commit/d04d22e64735d0cc71d9b5c93b48337f0137c574), [`580634a`](https://github.com/keystonejs/keystone/commit/580634aaa70910d27e3b03bf591187feb7176afb), [`dd8c02d`](https://github.com/keystonejs/keystone/commit/dd8c02d146c89bd0b78911349b17b521357aa642), [`41ee880`](https://github.com/keystonejs/keystone/commit/41ee880fe389240e3dee5ffb9439fb5d96ae5429), [`4bae32f`](https://github.com/keystonejs/keystone/commit/4bae32f20e4ba7f07bebb7a39fe5d52eecbe11ad), [`2cbce53`](https://github.com/keystonejs/keystone/commit/2cbce53ca2d66c8a94ae403469862eb7b0038958), [`b7d0f1b`](https://github.com/keystonejs/keystone/commit/b7d0f1bc01764df7f92ca07289cbba30ad1b467f), [`2cbce53`](https://github.com/keystonejs/keystone/commit/2cbce53ca2d66c8a94ae403469862eb7b0038958), [`16b2b47`](https://github.com/keystonejs/keystone/commit/16b2b4765a98e5060eec6ebf622546b35ee28eec), [`b7d0f1b`](https://github.com/keystonejs/keystone/commit/b7d0f1bc01764df7f92ca07289cbba30ad1b467f), [`eaf1144`](https://github.com/keystonejs/keystone/commit/eaf11443239f5c7554883c097df03d40eaabdfff), [`014b9f3`](https://github.com/keystonejs/keystone/commit/014b9f31170902c43af853dfb4d10c4e7d0b1282), [`462ff0e`](https://github.com/keystonejs/keystone/commit/462ff0e7ac925d4cd17d3c37d277511b19d8f17b), [`b07145a`](https://github.com/keystonejs/keystone/commit/b07145ad7fdfe69fd1aea634a17d71a025653226), [`3c6b053`](https://github.com/keystonejs/keystone/commit/3c6b053dec67fbdd1fd77c244e3ce205f1eb5991), [`f77e69a`](https://github.com/keystonejs/keystone/commit/f77e69a96d492320a027cc36df9084ff95ce5c17), [`033d065`](https://github.com/keystonejs/keystone/commit/033d06529018482c16f309d8bd6e6e2280e9c161), [`e3e1f8d`](https://github.com/keystonejs/keystone/commit/e3e1f8d9eed94bfed0ff9542b5661c2eb2f4a7b2), [`0c5e0c0`](https://github.com/keystonejs/keystone/commit/0c5e0c03d73cb13e541accaa5a2f494e435c04e9), [`17fff44`](https://github.com/keystonejs/keystone/commit/17fff4491f10281e5cfb4d301e410e36c219cb56), [`e775394`](https://github.com/keystonejs/keystone/commit/e775394fd472daeb0a4b33a9aabf02d0d6ef36dd), [`1f0a560`](https://github.com/keystonejs/keystone/commit/1f0a5603a63e20a3af1fcddadea7a016bc21e0a7), [`b7d0f1b`](https://github.com/keystonejs/keystone/commit/b7d0f1bc01764df7f92ca07289cbba30ad1b467f), [`034da65`](https://github.com/keystonejs/keystone/commit/034da65638cf00814efe9d6bfacf9d5a18516ef7), [`b07145a`](https://github.com/keystonejs/keystone/commit/b07145ad7fdfe69fd1aea634a17d71a025653226), [`034da65`](https://github.com/keystonejs/keystone/commit/034da65638cf00814efe9d6bfacf9d5a18516ef7), [`b07145a`](https://github.com/keystonejs/keystone/commit/b07145ad7fdfe69fd1aea634a17d71a025653226), [`5410848`](https://github.com/keystonejs/keystone/commit/54108480451680f960f7e1c5c92418953a2c6dac), [`ec66d47`](https://github.com/keystonejs/keystone/commit/ec66d472feeabd2bda2c457d8991953c25cab9f3), [`d421102`](https://github.com/keystonejs/keystone/commit/d42110286f4f6aaee74c5af1fa097eb90e1a88f1), [`0105917`](https://github.com/keystonejs/keystone/commit/0105917fa6c81ecd146b646fe05e88a558eb6174), [`c6ce0a7`](https://github.com/keystonejs/keystone/commit/c6ce0a7ea67d33deeba96173e729fec5fd2cd18e), [`c0ea594`](https://github.com/keystonejs/keystone/commit/c0ea59481d4a2b208b8741a6fa24e296a21402da), [`76423c7`](https://github.com/keystonejs/keystone/commit/76423c767a8a4f0b339cd1e42448deceafab52a5), [`c2a8116`](https://github.com/keystonejs/keystone/commit/c2a8116a46f6caa30a50e6dac3e6338f46da6c16), [`034da65`](https://github.com/keystonejs/keystone/commit/034da65638cf00814efe9d6bfacf9d5a18516ef7), [`ce4be0b`](https://github.com/keystonejs/keystone/commit/ce4be0bc1d39f8bb87bd4433d974ab943418ec10), [`341e342`](https://github.com/keystonejs/keystone/commit/341e3427ac49c8e73a5c76d66f2d6fca5cfa26ce), [`c643407`](https://github.com/keystonejs/keystone/commit/c6434077d86fe53705a31b7496a1246aab5c34e1), [`056f6b5`](https://github.com/keystonejs/keystone/commit/056f6b582d6a391cbe84cc2797ef98cec467e7d2)]: + - @keystone-6/core@8.0.0 + ## 9.0.0 ### Major Changes diff --git a/packages/cloudinary/package.json b/packages/cloudinary/package.json index a54b0a79151..015bd01e838 100644 --- a/packages/cloudinary/package.json +++ b/packages/cloudinary/package.json @@ -1,6 +1,6 @@ { "name": "@keystone-6/cloudinary", - "version": "9.0.0", + "version": "10.0.0", "license": "MIT", "type": "module", "exports": { @@ -14,7 +14,7 @@ "cloudinary": "^2.0.0" }, "peerDependencies": { - "@keystone-6/core": "^7.0.0", + "@keystone-6/core": "^8.0.0", "react": "^19.0.0", "react-dom": "^19.0.0", "@keystar/ui": "catalog:" diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index b2cd7fc421b..6c493e5af96 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -1,5 +1,165 @@ # @keystone-6/core +## 8.0.0 + +### Major Changes + +- [#9644](https://github.com/keystonejs/keystone/pull/9644) [`edb1f28`](https://github.com/keystonejs/keystone/commit/edb1f28af35d2d53112dbaee966302a8a6014b86) Thanks [@dcousens](https://github.com/dcousens)! - Adds `{list}.graphql.singular` option + +- [#9234](https://github.com/keystonejs/keystone/pull/9234) [`7a4624f`](https://github.com/keystonejs/keystone/commit/7a4624fd472f9da31049e9a8a7bd8ba8f541a1e2) Thanks [@dcousens](https://github.com/dcousens)! - Adds support for `[field].graphql.isNonNull: true` + +- [#9600](https://github.com/keystonejs/keystone/pull/9600) [`585e4ee`](https://github.com/keystonejs/keystone/commit/585e4ee64c497c6b63e42f640a3032670369bd30) Thanks [@dcousens](https://github.com/dcousens)! - Adds `itemField`, `originalItemField`, `inputFieldData` and `resolvedFieldData` parameters to field hooks + +- [#9740](https://github.com/keystonejs/keystone/pull/9740) [`912ed1d`](https://github.com/keystonejs/keystone/commit/912ed1d3f279e595b795f7f39e53c1c02ea90274) Thanks [@emmatown](https://github.com/emmatown)! - Updates `@apollo/client` to v4 + +- [#9189](https://github.com/keystonejs/keystone/pull/9189) [`a2ee52e`](https://github.com/keystonejs/keystone/commit/a2ee52e93ad3d281035dac857519709f647048fe) Thanks [@gautamsi](https://github.com/gautamsi)! - Updates the `config` function to default any missing values to what is used internally; compatible with the internal type `ResolvedKeystoneConfig` + +- [#9731](https://github.com/keystonejs/keystone/pull/9731) [`75824a1`](https://github.com/keystonejs/keystone/commit/75824a17c5661899099598c4f8052bd05bae5317) Thanks [@dcousens](https://github.com/dcousens)! - Changes the method by which `.sudo()` bypasses access control, with `context.sudo().graphql.schema` now retaining access control as part of the GraphQL schema + +- [#9914](https://github.com/keystonejs/keystone/pull/9914) [`0cf1fa3`](https://github.com/keystonejs/keystone/commit/0cf1fa3fb9a31a6048bfbb5a0203bc9b77b06e69) Thanks [@emmatown](https://github.com/emmatown)! - Changes the `sudo` boolean on GraphQL schema extensions to `scope`, which is either `'public'` or `'internal'`. Code that previously checked `schema.extensions.sudo` should now check `schema.extensions.scope === 'internal'`. + +- [#9421](https://github.com/keystonejs/keystone/pull/9421) [`c340760`](https://github.com/keystonejs/keystone/commit/c3407607cdd733b6555b02fe8264e4953af92256) Thanks [@gautamsi](https://github.com/gautamsi)! - Upgrades Next major version to 16, `next` is also now a peer dependency so it must be installed directly in your project. + +- [#9872](https://github.com/keystonejs/keystone/pull/9872) [`034da65`](https://github.com/keystonejs/keystone/commit/034da65638cf00814efe9d6bfacf9d5a18516ef7) Thanks [@emmatown](https://github.com/emmatown)! - Upgrades Prisma major version to 7. `prisma` and `@prisma/client` are now peer dependencies of `@keystone-6/core`. You will need to install them in your project along with the relevant adapter for your database (e.g. `@prisma/adapter-pg`). The `db.url`, `db.shadowDatabaseUrl`, and `db.enableLogging` config options have been replaced with a `prismaClientOptions` option, this is a function which should return the configuring Prisma adapter and any other options you want to pass to the Prisma client. The Prisma Client is now generated into `generated/prisma` by default now + +- [#9253](https://github.com/keystonejs/keystone/pull/9253) [`b7d0f1b`](https://github.com/keystonejs/keystone/commit/b7d0f1bc01764df7f92ca07289cbba30ad1b467f) Thanks [@dcousens](https://github.com/dcousens)! - Removes `.itemQueryName` and `.listQueryName` from `KeystoneAdminUIListMeta`, use `.graphql.names.*QueryName` instead + +- [#9253](https://github.com/keystonejs/keystone/pull/9253) [`b7d0f1b`](https://github.com/keystonejs/keystone/commit/b7d0f1bc01764df7f92ca07289cbba30ad1b467f) Thanks [@dcousens](https://github.com/dcousens)! - Removes the `@keystone-ui/*` design system, you should upgrade your custom components to `@keystar/ui`. When you depend on `@keystar/ui`, you should pin `@keystar/ui` and `@keystone-6/core` to matching versions based on the version in `@keystone-6/core`'s `peerDependencies`, whenever updating `@keystone-6/core`, you should also update `@keystar/ui` to the matching version. + +- [#9883](https://github.com/keystonejs/keystone/pull/9883) [`677f640`](https://github.com/keystonejs/keystone/commit/677f640f7e1be2aa6ce30dd9d602dee8348ba1e7) Thanks [@emmatown](https://github.com/emmatown)! - Removes the `isFilterable`, `isOrderable`, `defaultIsFilterable`, and `defaultIsOrderable` configuration options. Field read access can now distinguish between reading an item, filtering, and ordering through `access.read.item`, `access.read.filter`, and `access.read.order`. The corresponding GraphQL schema fields can be omitted through `graphql.omit.read`, with list-wide defaults configured through `fieldDefaults.access` and `fieldDefaults.graphql.omit`. + +- [#9204](https://github.com/keystonejs/keystone/pull/9204) [`77bfd2c`](https://github.com/keystonejs/keystone/commit/77bfd2c0b9cf2bcd14d10712dd40f7f5aeffac37) Thanks [@gautamsi](https://github.com/gautamsi)! - Removes deprecated `validateInput` and `validateDelete` hooks and adds object hook syntax to fields. + +- [#9671](https://github.com/keystonejs/keystone/pull/9671) [`41e0f72`](https://github.com/keystonejs/keystone/commit/41e0f729d114649470e1ccda85c8c48d635386b3) Thanks [@dcousens](https://github.com/dcousens)! - Changes field meta from `{field}.path` to `{field}.key`, as used by field views + +- [#9535](https://github.com/keystonejs/keystone/pull/9535) [`810e77d`](https://github.com/keystonejs/keystone/commit/810e77d12c54c4c22480b43bed1456e1f5e46d3d) Thanks [@emmatown](https://github.com/emmatown)! - Upgrades `@graphql-ts/schema` to `1.0.0` + +- [#9629](https://github.com/keystonejs/keystone/pull/9629) [`8ac439f`](https://github.com/keystonejs/keystone/commit/8ac439f4fb5a7eb8e413a6d769216d678c03a24d) Thanks [@emmatown](https://github.com/emmatown)! - Adds list-level `ui.listView.initialFilter` to apply a filter to the list view by default + +- [`059faf5`](https://github.com/keystonejs/keystone/commit/059faf5c0af7c9e95e674c2a96592f4d37782bee) Thanks [@emmatown](https://github.com/emmatown)! - Moves the default field mode configuration from `ui.*.defaultFieldMode` to `fieldDefaults.ui.*.fieldMode` on lists and field groups. + +- [`c06ee77`](https://github.com/keystonejs/keystone/commit/c06ee774962a5cb54c3aecbf9b6f3d03732ccb20) Thanks [@dcousens](https://github.com/dcousens)! - Fixes enum names on \*select field types from switching to their singular form + +- [#9644](https://github.com/keystonejs/keystone/pull/9644) [`edb1f28`](https://github.com/keystonejs/keystone/commit/edb1f28af35d2d53112dbaee966302a8a6014b86) Thanks [@dcousens](https://github.com/dcousens)! - Fixes the computed GraphQL list plural to retain the original casing + +- [#9956](https://github.com/keystonejs/keystone/pull/9956) [`450b3eb`](https://github.com/keystonejs/keystone/commit/450b3eb479d16213a7c492fd4701e62301c932ad) Thanks [@emmatown](https://github.com/emmatown)! - Updates to `graphql@^16.14.2`, `graphql` is now also a peer dependency in addition to a normal dependency so if you have a dependency on `graphql` yourself, you must have a compatible version installed + +- [#9925](https://github.com/keystonejs/keystone/pull/9925) [`d04d22e`](https://github.com/keystonejs/keystone/commit/d04d22e64735d0cc71d9b5c93b48337f0137c574) Thanks [@emmatown](https://github.com/emmatown)! - Updates default `types.path` to `generated/keystone/types.ts` + +- [#9880](https://github.com/keystonejs/keystone/pull/9880) [`580634a`](https://github.com/keystonejs/keystone/commit/580634aaa70910d27e3b03bf591187feb7176afb) Thanks [@trickreich](https://github.com/trickreich)! - Updates `@apollo/server` to v5 + +- [#9529](https://github.com/keystonejs/keystone/pull/9529) [`41ee880`](https://github.com/keystonejs/keystone/commit/41ee880fe389240e3dee5ffb9439fb5d96ae5429) Thanks [@emmatown](https://github.com/emmatown)! - Moves `storage` configuration to `image` and `file` fields, with a new `StorageStrategy` interface that directly defines how `put`, `delete` and `url` functions + +- [#9681](https://github.com/keystonejs/keystone/pull/9681) [`4bae32f`](https://github.com/keystonejs/keystone/commit/4bae32f20e4ba7f07bebb7a39fe5d52eecbe11ad) Thanks [@dcousens](https://github.com/dcousens)! - Changes the type for `ui.getAdditionalFiles` to be flattened, prefer function composition when wrapping + +- [#9672](https://github.com/keystonejs/keystone/pull/9672) [`2cbce53`](https://github.com/keystonejs/keystone/commit/2cbce53ca2d66c8a94ae403469862eb7b0038958) Thanks [@dcousens](https://github.com/dcousens)! - Removes `{list}.description` and `{list}.ui.description`, retains `{list}.graphql.description` functionality + +- [#9672](https://github.com/keystonejs/keystone/pull/9672) [`2cbce53`](https://github.com/keystonejs/keystone/commit/2cbce53ca2d66c8a94ae403469862eb7b0038958) Thanks [@dcousens](https://github.com/dcousens)! - Removes `null` value from `{field}.ui.description`, replace with empty string or omit the key + +- [#9253](https://github.com/keystonejs/keystone/pull/9253) [`b7d0f1b`](https://github.com/keystonejs/keystone/commit/b7d0f1bc01764df7f92ca07289cbba30ad1b467f) Thanks [@dcousens](https://github.com/dcousens)! - Changes `item` argument type in `field.*View.field*` functions to be nullable + +- [#9476](https://github.com/keystonejs/keystone/pull/9476) [`eaf1144`](https://github.com/keystonejs/keystone/commit/eaf11443239f5c7554883c097df03d40eaabdfff) Thanks [@emmatown](https://github.com/emmatown)! - Changes Prisma client error handling so Prisma operations no longer return `GraphQLError`. Using the Prisma client will now throw errors normally. Prisma errors that are not caught in resolvers will now have all information beyond the fact that they're Prisma errors removed before they're returned over the network. You can use `graphql.apolloConfig.formatError` in your config to override this. + +- [#9631](https://github.com/keystonejs/keystone/pull/9631) [`462ff0e`](https://github.com/keystonejs/keystone/commit/462ff0e7ac925d4cd17d3c37d277511b19d8f17b) Thanks [@dcousens](https://github.com/dcousens)! - Moves `{field}.label` to `{field}.ui.label` + +- [#9684](https://github.com/keystonejs/keystone/pull/9684) [`b07145a`](https://github.com/keystonejs/keystone/commit/b07145ad7fdfe69fd1aea634a17d71a025653226) Thanks [@dcousens](https://github.com/dcousens)! - Moves item field parameters from list.itemView() to list() in the KeystoneAdminMeta GraphQL type + +- [#9471](https://github.com/keystonejs/keystone/pull/9471) [`e3e1f8d`](https://github.com/keystonejs/keystone/commit/e3e1f8d9eed94bfed0ff9542b5661c2eb2f4a7b2) Thanks [@emmatown](https://github.com/emmatown)! - Changes the `password` field options from `bcrypt` and `workFactor` to the new generic `kdf` option. + +- [#9486](https://github.com/keystonejs/keystone/pull/9486) [`0c5e0c0`](https://github.com/keystonejs/keystone/commit/0c5e0c03d73cb13e541accaa5a2f494e435c04e9) Thanks [@emmatown](https://github.com/emmatown)! - Fixes the `password` field to throw an error for inputs longer than 72 bytes when using the default `bcrypt` key derivation function (KDF) + +- [#9907](https://github.com/keystonejs/keystone/pull/9907) [`e775394`](https://github.com/keystonejs/keystone/commit/e775394fd472daeb0a4b33a9aabf02d0d6ef36dd) Thanks [@emmatown](https://github.com/emmatown)! - Moves `react` and `react-dom` to peer dependencies. + +- [#9528](https://github.com/keystonejs/keystone/pull/9528) [`1f0a560`](https://github.com/keystonejs/keystone/commit/1f0a5603a63e20a3af1fcddadea7a016bc21e0a7) Thanks [@emmatown](https://github.com/emmatown)! - Changes `displayMode: 'count'` on relationship fields to require `itemView.fieldMode: 'read'` or a dynamic `fieldMode` that only resolves to `'read'` or `'hidden'`. + +- [#9253](https://github.com/keystonejs/keystone/pull/9253) [`b7d0f1b`](https://github.com/keystonejs/keystone/commit/b7d0f1bc01764df7f92ca07289cbba30ad1b467f) Thanks [@dcousens](https://github.com/dcousens)! - Removes the `endSession` GraphQL mutation addition when `context.session.end` is defined, extend this yourself or use `@keystone-6/auth` which adds `endSession` if required + +- [#9872](https://github.com/keystonejs/keystone/pull/9872) [`034da65`](https://github.com/keystonejs/keystone/commit/034da65638cf00814efe9d6bfacf9d5a18516ef7) Thanks [@emmatown](https://github.com/emmatown)! - Removes the `keystone prisma` command, you should use `prisma` directly. + +- [#9684](https://github.com/keystonejs/keystone/pull/9684) [`b07145a`](https://github.com/keystonejs/keystone/commit/b07145ad7fdfe69fd1aea634a17d71a025653226) Thanks [@dcousens](https://github.com/dcousens)! - Removes `authenticatedItem` from `@keystone-6/core/admin-ui/components` exports + +- [#9872](https://github.com/keystonejs/keystone/pull/9872) [`034da65`](https://github.com/keystonejs/keystone/commit/034da65638cf00814efe9d6bfacf9d5a18516ef7) Thanks [@emmatown](https://github.com/emmatown)! - Removes the `keystone migrate` commands and the `--with-migrations` option, you should use `prisma` directly. + +- [#9684](https://github.com/keystonejs/keystone/pull/9684) [`b07145a`](https://github.com/keystonejs/keystone/commit/b07145ad7fdfe69fd1aea634a17d71a025653226) Thanks [@dcousens](https://github.com/dcousens)! - Changes `isHidden` to `hideNavigation` on the AdminMeta list GraphQL type + +- [#9190](https://github.com/keystonejs/keystone/pull/9190) [`5410848`](https://github.com/keystonejs/keystone/commit/54108480451680f960f7e1c5c92418953a2c6dac) Thanks [@gautamsi](https://github.com/gautamsi)! - Removes the deprecated `--fix` flag from `keystone postinstall` + +- [#9344](https://github.com/keystonejs/keystone/pull/9344) [`c0ea594`](https://github.com/keystonejs/keystone/commit/c0ea59481d4a2b208b8741a6fa24e296a21402da) Thanks [@renovate](https://github.com/apps/renovate)! - Upgrades express major version to 5 + +- [#9872](https://github.com/keystonejs/keystone/pull/9872) [`034da65`](https://github.com/keystonejs/keystone/commit/034da65638cf00814efe9d6bfacf9d5a18516ef7) Thanks [@emmatown](https://github.com/emmatown)! - Replaces `@keystone-6/core/testing`'s `resetDatabase` function with new implementations in `@keystone-6/core/testing/postgresql`, `@keystone-6/core/testing/sqlite` and `@keystone-6/core/testing/mysql` + +- [#9541](https://github.com/keystonejs/keystone/pull/9541) [`ce4be0b`](https://github.com/keystonejs/keystone/commit/ce4be0bc1d39f8bb87bd4433d974ab943418ec10) Thanks [@emmatown](https://github.com/emmatown)! - Removes `jsonFieldTypePolyfilledForSQLite` since Prisma now supports the Json scalar for SQLite + +- [#9929](https://github.com/keystonejs/keystone/pull/9929) [`056f6b5`](https://github.com/keystonejs/keystone/commit/056f6b582d6a391cbe84cc2797ef98cec467e7d2) Thanks [@emmatown](https://github.com/emmatown)! - Changes package to exclusively Node ESM. This is intended to be used by `require(esm)` and should not affect consumers beyond requiring a modern Node version. `keystone build` outputs are still CommonJS. + +### Minor Changes + +- [#9731](https://github.com/keystonejs/keystone/pull/9731) [`75824a1`](https://github.com/keystonejs/keystone/commit/75824a17c5661899099598c4f8052bd05bae5317) Thanks [@dcousens](https://github.com/dcousens)! - Adds `context.internal()` to spawn a context unaffected by `graphql.omit` on lists or fields + +- [#9600](https://github.com/keystonejs/keystone/pull/9600) [`585e4ee`](https://github.com/keystonejs/keystone/commit/585e4ee64c497c6b63e42f640a3032670369bd30) Thanks [@dcousens](https://github.com/dcousens)! - Adds `itemField` and `fieldKey` parameters to field `ui.fieldMode` and `ui.fieldPosition` functions + +- [#9689](https://github.com/keystonejs/keystone/pull/9689) [`49e1d50`](https://github.com/keystonejs/keystone/commit/49e1d50af706c6d6c91efbd5e19d8fbfc8a24a24) Thanks [@dcousens](https://github.com/dcousens)! - Adds `list.actions` to the list configuration + +- [#9926](https://github.com/keystonejs/keystone/pull/9926) [`ebc985b`](https://github.com/keystonejs/keystone/commit/ebc985b357483dceb92f496995854987ebf8b5fe) Thanks [@emmatown](https://github.com/emmatown)! - Adds `listDefaults` configuration for `graphql.omit` and `graphql.maxTake` + +- [`22e4468`](https://github.com/keystonejs/keystone/commit/22e44681e36358db8dac5764dfda0168b1eec7dc) Thanks [@dcousens](https://github.com/dcousens)! - Adds support for `@opentelemetry/api` tracing for Keystone's internal operations + +- [#9682](https://github.com/keystonejs/keystone/pull/9682) [`83ac5f3`](https://github.com/keystonejs/keystone/commit/83ac5f3d3fe26d2955ab2e31de2a7e4e797afad0) Thanks [@dcousens](https://github.com/dcousens)! - Adds a `--quiet` flag to `keystone` CLI commands, suppressing most output except for errors + +- [#9645](https://github.com/keystonejs/keystone/pull/9645) [`551496f`](https://github.com/keystonejs/keystone/commit/551496f51e608bc79e50e7c4f7c3bb117a4e6bdb) Thanks [@dcousens](https://github.com/dcousens)! - Adds `set` input field for `*RelateToManyUpdateInput` GraphQL type on many relationships + +- [#9595](https://github.com/keystonejs/keystone/pull/9595) [`dd8c02d`](https://github.com/keystonejs/keystone/commit/dd8c02d146c89bd0b78911349b17b521357aa642) Thanks [@dcousens](https://github.com/dcousens)! - Adds support for uniquely filtering items by 1-to-1 relationships + +- [#9481](https://github.com/keystonejs/keystone/pull/9481) [`8b87897`](https://github.com/keystonejs/keystone/commit/8b878977d34c7ced2629dcf012739b5b51906549) Thanks [@emmatown](https://github.com/emmatown)! - Adds support for extra id types (cuid2, uuid v7, ulid, nanoid) added to Prisma + +- [#9523](https://github.com/keystonejs/keystone/pull/9523) [`67cc93d`](https://github.com/keystonejs/keystone/commit/67cc93d107c892e6f2fa231f68ce6f88bb0cf17b) Thanks [@emmatown](https://github.com/emmatown)! - Adds support for `displayMode: 'table'` on relationship fields + +- [#9626](https://github.com/keystonejs/keystone/pull/9626) [`172f97b`](https://github.com/keystonejs/keystone/commit/172f97b8b1662b7b286e327258db8c833aed9a03) Thanks [@emmatown](https://github.com/emmatown)! - Adds `ui.{createView,itemView}.isRequired` for control of `isRequired` UI functionality + +- [#9253](https://github.com/keystonejs/keystone/pull/9253) [`b7d0f1b`](https://github.com/keystonejs/keystone/commit/b7d0f1bc01764df7f92ca07289cbba30ad1b467f) Thanks [@dcousens](https://github.com/dcousens)! - Adds support for `null` as a `defaultValue` on `bigint`, `decimal`, `float` and `integer` + +- [#9883](https://github.com/keystonejs/keystone/pull/9883) [`677f640`](https://github.com/keystonejs/keystone/commit/677f640f7e1be2aa6ce30dd9d602dee8348ba1e7) Thanks [@emmatown](https://github.com/emmatown)! - Adds `access.operation.query.one`, `access.operation.query.many`, and `access.operation.query.count` for access control for specific kinds of queries. The `access.operation.query` functions also receive `kind: 'one' | 'many' | 'count'`. Specific kinds of queries can be omitted from the GraphQL schema through `graphql.omit.query.one`, `graphql.omit.query.many`, and `graphql.omit.query.count`. + +- [#9595](https://github.com/keystonejs/keystone/pull/9595) [`dd8c02d`](https://github.com/keystonejs/keystone/commit/dd8c02d146c89bd0b78911349b17b521357aa642) Thanks [@dcousens](https://github.com/dcousens)! - Fixes the common field type of `.isIndexed` to accept `boolean`, not only `true` + +- [#9253](https://github.com/keystonejs/keystone/pull/9253) [`b7d0f1b`](https://github.com/keystonejs/keystone/commit/b7d0f1bc01764df7f92ca07289cbba30ad1b467f) Thanks [@dcousens](https://github.com/dcousens)! - Changes the relationship field to only call the GraphQL `create` mutation when saving the item, not on blur + +- [#9688](https://github.com/keystonejs/keystone/pull/9688) [`16b2b47`](https://github.com/keystonejs/keystone/commit/16b2b4765a98e5060eec6ebf622546b35ee28eec) Thanks [@dcousens](https://github.com/dcousens)! - Adds `ui.{sort,filter}` options to relationship fields with `ui.displayMode: 'select'`, with sort defaulting to the foreign list's `{list}.ui.listView.{initialSort}` option + +- [`014b9f3`](https://github.com/keystonejs/keystone/commit/014b9f31170902c43af853dfb4d10c4e7d0b1282) Thanks [@dcousens](https://github.com/dcousens)! - Adds support for importing TypeScript (and similar) packages in a monorepo without a separate build step. + +- [#9620](https://github.com/keystonejs/keystone/pull/9620) [`17fff44`](https://github.com/keystonejs/keystone/commit/17fff4491f10281e5cfb4d301e410e36c219cb56) Thanks [@emmatown](https://github.com/emmatown)! - Adds conditional client-state filters for `ui.*.fieldMode` + +- [#9866](https://github.com/keystonejs/keystone/pull/9866) [`d421102`](https://github.com/keystonejs/keystone/commit/d42110286f4f6aaee74c5af1fa097eb90e1a88f1) Thanks [@emmatown](https://github.com/emmatown)! - Adds `ui.listView.hiddenFilter`, a hidden Admin UI list view filter that is always applied to the list query but is not shown in the filter UI. + +- [#9460](https://github.com/keystonejs/keystone/pull/9460) [`c6ce0a7`](https://github.com/keystonejs/keystone/commit/c6ce0a7ea67d33deeba96173e729fec5fd2cd18e) Thanks [@emmatown](https://github.com/emmatown)! - Changes the `graphql` export name to `g` - `graphql` is still exported but is deprecated and may be removed in a future release. In projects, use `gWithContext` to bind `g` to your specific context type. + +### Patch Changes + +- [#9808](https://github.com/keystonejs/keystone/pull/9808) [`80e31e4`](https://github.com/keystonejs/keystone/commit/80e31e4a7914326eb54ab65e829afcee44bdf971) Thanks [@andoan16](https://github.com/andoan16)! - Fixes race in `keystone build` when writing admin files with duplicate output paths + +- [#9253](https://github.com/keystonejs/keystone/pull/9253) [`b7d0f1b`](https://github.com/keystonejs/keystone/commit/b7d0f1bc01764df7f92ca07289cbba30ad1b467f) Thanks [@dcousens](https://github.com/dcousens)! - Fixes AdminUI create view not supporting `{field}.graphql.isNonNull` for `create` operations + +- [#9642](https://github.com/keystonejs/keystone/pull/9642) [`59ae8af`](https://github.com/keystonejs/keystone/commit/59ae8aff0f3741fddc91338f796cb654d9a56b6e) Thanks [@emmatown](https://github.com/emmatown)! - Fixes lists with hideNavigation showing on the dashboard + +- [#9480](https://github.com/keystonejs/keystone/pull/9480) [`3c6b053`](https://github.com/keystonejs/keystone/commit/3c6b053dec67fbdd1fd77c244e3ce205f1eb5991) Thanks [@emmatown](https://github.com/emmatown)! - Updates relationship fields to implicitly set `ui.hideCreate: true` when `graphql.omit.create: false` is set on the related list + +- [#9510](https://github.com/keystonejs/keystone/pull/9510) [`f77e69a`](https://github.com/keystonejs/keystone/commit/f77e69a96d492320a027cc36df9084ff95ce5c17) Thanks [@emmatown](https://github.com/emmatown)! - Changes `fieldMode` and `fieldPosition` on `KeystoneAdminUIFieldMetaItemView` to non-nullable + +- [#9822](https://github.com/keystonejs/keystone/pull/9822) [`033d065`](https://github.com/keystonejs/keystone/commit/033d06529018482c16f309d8bd6e6e2280e9c161) Thanks [@abhijnyan-codes](https://github.com/abhijnyan-codes)! - Adds startup log messages to inform users of telemetry status + +- [#9524](https://github.com/keystonejs/keystone/pull/9524) [`ec66d47`](https://github.com/keystonejs/keystone/commit/ec66d472feeabd2bda2c457d8991953c25cab9f3) Thanks [@lushkovsky-s](https://github.com/lushkovsky-s)! - Adds more specific types to `cacheHint` and respects `cacheHint` on `findOne` queries. + +- [#9902](https://github.com/keystonejs/keystone/pull/9902) [`0105917`](https://github.com/keystonejs/keystone/commit/0105917fa6c81ecd146b646fe05e88a558eb6174) Thanks [@emmatown](https://github.com/emmatown)! - Fixes `isolationLevel` type in `context.transaction` + +- [`76423c7`](https://github.com/keystonejs/keystone/commit/76423c767a8a4f0b339cd1e42448deceafab52a5) Thanks [@gautamsi](https://github.com/gautamsi)! - Fixes Prisma build errors with Node.js 22 and Node.js 24. Thanks @sfodor for the fix + +- [#9536](https://github.com/keystonejs/keystone/pull/9536) [`c2a8116`](https://github.com/keystonejs/keystone/commit/c2a8116a46f6caa30a50e6dac3e6338f46da6c16) Thanks [@emmatown](https://github.com/emmatown)! - Adds more specific types for the `lists` argument passed in `virtual` fields when using existing list types + +- [#9483](https://github.com/keystonejs/keystone/pull/9483) [`341e342`](https://github.com/keystonejs/keystone/commit/341e3427ac49c8e73a5c76d66f2d6fca5cfa26ce) Thanks [@emmatown](https://github.com/emmatown)! - Adds support for the `Bytes` Prisma type in TypeScript types when implementing custom field types + +- [#9558](https://github.com/keystonejs/keystone/pull/9558) [`c643407`](https://github.com/keystonejs/keystone/commit/c6434077d86fe53705a31b7496a1246aab5c34e1) Thanks [@emmatown](https://github.com/emmatown)! - Changes esbuild to use the automatic JSX runtime to align with the Next build process + ## 7.0.0 ### Major Changes @@ -1044,7 +1204,6 @@ ``` When updating to this change, and running `npm run dev`, Keystone will prompt you to update your schema. - - If you are using `useMigrations: true`, Keystone will follow the typical migration flow offer to apply an automatically generated migration. **DO NOT APPLY THE AUTOMATICALLY GENERATED MIGRATION** - unless you want to `DROP` your data. - If you are using `useMigrations: false`, Keystone will follow the typical flow and offer to automatically migrate your schema. Again, **DO NOT RUN THE AUTOMATIC MIGRATION** - unless you want to `DROP` your data. @@ -1366,7 +1525,6 @@ - [#6518](https://github.com/keystonejs/keystone/pull/6518) [`0218a4215`](https://github.com/keystonejs/keystone/commit/0218a421576fb3ceb38eb5f38223a9ef0af4c4d2) Thanks [@timleslie](https://github.com/timleslie)! - Removed the deprecated `config.db.adapter` option. Please use `config.db.provider` to indicate the database provider for your system. * [#6684](https://github.com/keystonejs/keystone/pull/6684) [`14bfa8a9b`](https://github.com/keystonejs/keystone/commit/14bfa8a9b33fae4c5eb3664ca23bb88850df5e50) Thanks [@timleslie](https://github.com/timleslie)! - \* Consolidated the `beforeChange`/`beforeDelete` and `afterChange`/`afterDelete` hooks into `beforeOperation` and `afterOperation`. - - Renamed the `existingItem` argument for all hooks (except `afterOperation`) to `item`. - Renamed the `existingItem` argument for `afterOperation` to `originalItem`. - Renamed the `updatedItem` argument for `afterOperation` to `item`. diff --git a/packages/core/package.json b/packages/core/package.json index 9fa805c9a76..3066e67a4fa 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@keystone-6/core", - "version": "7.0.0", + "version": "8.0.0", "repository": "https://github.com/keystonejs/keystone/tree/main/packages/core", "license": "MIT", "type": "module", diff --git a/packages/create/CHANGELOG.md b/packages/create/CHANGELOG.md index ae1462c1c93..b50713a91bb 100644 --- a/packages/create/CHANGELOG.md +++ b/packages/create/CHANGELOG.md @@ -1,5 +1,15 @@ # create-keystone-app +## 11.0.0 + +### Major Changes + +- [#9942](https://github.com/keystonejs/keystone/pull/9942) [`74ef343`](https://github.com/keystonejs/keystone/commit/74ef3431af5d30ea94c1dfda5f1012ca25d9a4dc) Thanks [@emmatown](https://github.com/emmatown)! - Removes auto-install, use your preferred package manager to install dependencies instead + +- [#9253](https://github.com/keystonejs/keystone/pull/9253) [`b7d0f1b`](https://github.com/keystonejs/keystone/commit/b7d0f1bc01764df7f92ca07289cbba30ad1b467f) Thanks [@dcousens](https://github.com/dcousens)! - Updates the `keystone-app` configuration to the newest major version + +- [#9929](https://github.com/keystonejs/keystone/pull/9929) [`056f6b5`](https://github.com/keystonejs/keystone/commit/056f6b582d6a391cbe84cc2797ef98cec467e7d2) Thanks [@emmatown](https://github.com/emmatown)! - Changes package to exclusively Node ESM. This is intended to be used by `require(esm)` and should not affect consumers beyond requiring a modern Node version. `keystone build` outputs are still CommonJS. + ## 10.0.3 ### Patch Changes diff --git a/packages/create/package.json b/packages/create/package.json index e73400bc50e..c88351a27c2 100644 --- a/packages/create/package.json +++ b/packages/create/package.json @@ -1,6 +1,6 @@ { "name": "create-keystone-app", - "version": "10.0.3", + "version": "11.0.0", "license": "MIT", "type": "module", "repository": "https://github.com/keystonejs/keystone/tree/main/packages/create", diff --git a/packages/document-renderer/CHANGELOG.md b/packages/document-renderer/CHANGELOG.md index 29c01d01c9a..1bc81ba4974 100644 --- a/packages/document-renderer/CHANGELOG.md +++ b/packages/document-renderer/CHANGELOG.md @@ -1,5 +1,15 @@ # @keystone-6/document-renderer +## 2.0.0 + +### Major Changes + +- [#9929](https://github.com/keystonejs/keystone/pull/9929) [`056f6b5`](https://github.com/keystonejs/keystone/commit/056f6b582d6a391cbe84cc2797ef98cec467e7d2) Thanks [@emmatown](https://github.com/emmatown)! - Changes package to exclusively Node ESM. This is intended to be used by `require(esm)` and should not affect consumers beyond requiring a modern Node version. `keystone build` outputs are still CommonJS. + +### Minor Changes + +- [#9556](https://github.com/keystonejs/keystone/pull/9556) [`f0e6aaf`](https://github.com/keystonejs/keystone/commit/f0e6aaf4ff7f72b6eb4cbabb1452f49643f82fcf) Thanks [@emmatown](https://github.com/emmatown)! - Adds exports for the `Element`, `Text` and `Node` types + ## 1.2.0 ### Minor Changes diff --git a/packages/document-renderer/package.json b/packages/document-renderer/package.json index d6b43dbaa78..e1baf9cf883 100644 --- a/packages/document-renderer/package.json +++ b/packages/document-renderer/package.json @@ -1,7 +1,7 @@ { "name": "@keystone-6/document-renderer", "description": "KeystoneJS Document Renderer", - "version": "1.2.0", + "version": "2.0.0", "license": "MIT", "type": "module", "exports": { diff --git a/packages/fields-document/CHANGELOG.md b/packages/fields-document/CHANGELOG.md index 0abff44bf4f..a0eeb579dd1 100644 --- a/packages/fields-document/CHANGELOG.md +++ b/packages/fields-document/CHANGELOG.md @@ -1,5 +1,51 @@ # @keystone-6/fields-document +## 11.0.0 + +### Major Changes + +- [#9956](https://github.com/keystonejs/keystone/pull/9956) [`450b3eb`](https://github.com/keystonejs/keystone/commit/450b3eb479d16213a7c492fd4701e62301c932ad) Thanks [@emmatown](https://github.com/emmatown)! - Updates to `graphql@^16.14.2`, `graphql` is now also a peer dependency in addition to a normal dependency so if you have a dependency on `graphql` yourself, you must have a compatible version installed + +- [#9907](https://github.com/keystonejs/keystone/pull/9907) [`e775394`](https://github.com/keystonejs/keystone/commit/e775394fd472daeb0a4b33a9aabf02d0d6ef36dd) Thanks [@emmatown](https://github.com/emmatown)! - Moves `react` and `react-dom` to peer dependencies. + +- [#9253](https://github.com/keystonejs/keystone/pull/9253) [`b7d0f1b`](https://github.com/keystonejs/keystone/commit/b7d0f1bc01764df7f92ca07289cbba30ad1b467f) Thanks [@dcousens](https://github.com/dcousens)! - Removes `@keystone-6/fields-document/primitives` from exports + +- [#9929](https://github.com/keystonejs/keystone/pull/9929) [`056f6b5`](https://github.com/keystonejs/keystone/commit/056f6b582d6a391cbe84cc2797ef98cec467e7d2) Thanks [@emmatown](https://github.com/emmatown)! - Changes package to exclusively Node ESM. This is intended to be used by `require(esm)` and should not affect consumers beyond requiring a modern Node version. `keystone build` outputs are still CommonJS. + +### Minor Changes + +- [#9668](https://github.com/keystonejs/keystone/pull/9668) [`b278036`](https://github.com/keystonejs/keystone/commit/b2780368a14a8924c2700ebf767ed6b8565a9c9a) Thanks [@dcousens](https://github.com/dcousens)! - Adds `.description` support for component block relationship fields + +- [#9655](https://github.com/keystonejs/keystone/pull/9655) [`9a311a6`](https://github.com/keystonejs/keystone/commit/9a311a646cae1bc5c36b0f304c52e3e8e4b86aa0) Thanks [@dcousens](https://github.com/dcousens)! - Adds `.labelField` support for inline and component block relationship fields + +- [#9574](https://github.com/keystonejs/keystone/pull/9574) [`5db76e7`](https://github.com/keystonejs/keystone/commit/5db76e791cc6b05df6c1a855ff85d121ee76258e) Thanks [@emmatown](https://github.com/emmatown)! - Adds `componentBlocks?: 'inherit'` option to block child fields + +- [#9666](https://github.com/keystonejs/keystone/pull/9666) [`bbd75e9`](https://github.com/keystonejs/keystone/commit/bbd75e9aa2267f57a28fb43e50a8bf6d7908ab24) Thanks [@dcousens](https://github.com/dcousens)! - Adds `filter` and `sort` options to inline and component relationship fields + +- [#9588](https://github.com/keystonejs/keystone/pull/9588) [`b246b54`](https://github.com/keystonejs/keystone/commit/b246b5468869285c8bffb677f591fb018b66cda4) Thanks [@emmatown](https://github.com/emmatown)! - Adds `displayMode` to `fields.text` + +### Patch Changes + +- [#9569](https://github.com/keystonejs/keystone/pull/9569) [`5429407`](https://github.com/keystonejs/keystone/commit/5429407dc07015c0c8ec1a8eb359fdd8876fe4e3) Thanks [@dcousens](https://github.com/dcousens)! - Changes DocumentFieldConfig to accept `?: boolean`, not `?: true` formatting options + +- [#9604](https://github.com/keystonejs/keystone/pull/9604) [`48aee51`](https://github.com/keystonejs/keystone/commit/48aee51594190fc4fdfdcc3e7414e0b06ad9ee8b) Thanks [@emmatown](https://github.com/emmatown)! - Updates document structure validation with clearer error messages + +- [#9640](https://github.com/keystonejs/keystone/pull/9640) [`d0d1a4f`](https://github.com/keystonejs/keystone/commit/d0d1a4f361e86478c06c46f729cb6d6284a56e16) Thanks [@emmatown](https://github.com/emmatown)! - Fixes new component-block form fields failing validation on existing data + +- [#9595](https://github.com/keystonejs/keystone/pull/9595) [`dd8c02d`](https://github.com/keystonejs/keystone/commit/dd8c02d146c89bd0b78911349b17b521357aa642) Thanks [@dcousens](https://github.com/dcousens)! - Changes fields-document missing item error message to match `@keystone-6/core` + +- [#9541](https://github.com/keystonejs/keystone/pull/9541) [`ce4be0b`](https://github.com/keystonejs/keystone/commit/ce4be0bc1d39f8bb87bd4433d974ab943418ec10) Thanks [@emmatown](https://github.com/emmatown)! - Removes `jsonFieldTypePolyfilledForSQLite` since Prisma now supports the Json scalar for SQLite + +- [#9641](https://github.com/keystonejs/keystone/pull/9641) [`784cd08`](https://github.com/keystonejs/keystone/commit/784cd086138f65e75a8473fe28d045988ebc2355) Thanks [@emmatown](https://github.com/emmatown)! - Removes checking excess properties on component blocks + +- [#9881](https://github.com/keystonejs/keystone/pull/9881) [`019d28b`](https://github.com/keystonejs/keystone/commit/019d28bbaccfc4bb83873927d36824832493e76d) Thanks [@emmatown](https://github.com/emmatown)! - Adds tighter document field relationship validation error handling. + +- [#9605](https://github.com/keystonejs/keystone/pull/9605) [`533e0ff`](https://github.com/keystonejs/keystone/commit/533e0ff294049feb519d48242852672380455bd5) Thanks [@emmatown](https://github.com/emmatown)! - Fixes normalising multiple dividers in component blocks + +- Updated dependencies [[`75824a1`](https://github.com/keystonejs/keystone/commit/75824a17c5661899099598c4f8052bd05bae5317), [`edb1f28`](https://github.com/keystonejs/keystone/commit/edb1f28af35d2d53112dbaee966302a8a6014b86), [`7a4624f`](https://github.com/keystonejs/keystone/commit/7a4624fd472f9da31049e9a8a7bd8ba8f541a1e2), [`585e4ee`](https://github.com/keystonejs/keystone/commit/585e4ee64c497c6b63e42f640a3032670369bd30), [`585e4ee`](https://github.com/keystonejs/keystone/commit/585e4ee64c497c6b63e42f640a3032670369bd30), [`49e1d50`](https://github.com/keystonejs/keystone/commit/49e1d50af706c6d6c91efbd5e19d8fbfc8a24a24), [`ebc985b`](https://github.com/keystonejs/keystone/commit/ebc985b357483dceb92f496995854987ebf8b5fe), [`22e4468`](https://github.com/keystonejs/keystone/commit/22e44681e36358db8dac5764dfda0168b1eec7dc), [`83ac5f3`](https://github.com/keystonejs/keystone/commit/83ac5f3d3fe26d2955ab2e31de2a7e4e797afad0), [`551496f`](https://github.com/keystonejs/keystone/commit/551496f51e608bc79e50e7c4f7c3bb117a4e6bdb), [`dd8c02d`](https://github.com/keystonejs/keystone/commit/dd8c02d146c89bd0b78911349b17b521357aa642), [`912ed1d`](https://github.com/keystonejs/keystone/commit/912ed1d3f279e595b795f7f39e53c1c02ea90274), [`a2ee52e`](https://github.com/keystonejs/keystone/commit/a2ee52e93ad3d281035dac857519709f647048fe), [`75824a1`](https://github.com/keystonejs/keystone/commit/75824a17c5661899099598c4f8052bd05bae5317), [`8b87897`](https://github.com/keystonejs/keystone/commit/8b878977d34c7ced2629dcf012739b5b51906549), [`0cf1fa3`](https://github.com/keystonejs/keystone/commit/0cf1fa3fb9a31a6048bfbb5a0203bc9b77b06e69), [`c340760`](https://github.com/keystonejs/keystone/commit/c3407607cdd733b6555b02fe8264e4953af92256), [`034da65`](https://github.com/keystonejs/keystone/commit/034da65638cf00814efe9d6bfacf9d5a18516ef7), [`b7d0f1b`](https://github.com/keystonejs/keystone/commit/b7d0f1bc01764df7f92ca07289cbba30ad1b467f), [`b7d0f1b`](https://github.com/keystonejs/keystone/commit/b7d0f1bc01764df7f92ca07289cbba30ad1b467f), [`677f640`](https://github.com/keystonejs/keystone/commit/677f640f7e1be2aa6ce30dd9d602dee8348ba1e7), [`77bfd2c`](https://github.com/keystonejs/keystone/commit/77bfd2c0b9cf2bcd14d10712dd40f7f5aeffac37), [`67cc93d`](https://github.com/keystonejs/keystone/commit/67cc93d107c892e6f2fa231f68ce6f88bb0cf17b), [`41e0f72`](https://github.com/keystonejs/keystone/commit/41e0f729d114649470e1ccda85c8c48d635386b3), [`810e77d`](https://github.com/keystonejs/keystone/commit/810e77d12c54c4c22480b43bed1456e1f5e46d3d), [`172f97b`](https://github.com/keystonejs/keystone/commit/172f97b8b1662b7b286e327258db8c833aed9a03), [`f0e6aaf`](https://github.com/keystonejs/keystone/commit/f0e6aaf4ff7f72b6eb4cbabb1452f49643f82fcf), [`8ac439f`](https://github.com/keystonejs/keystone/commit/8ac439f4fb5a7eb8e413a6d769216d678c03a24d), [`059faf5`](https://github.com/keystonejs/keystone/commit/059faf5c0af7c9e95e674c2a96592f4d37782bee), [`80e31e4`](https://github.com/keystonejs/keystone/commit/80e31e4a7914326eb54ab65e829afcee44bdf971), [`b7d0f1b`](https://github.com/keystonejs/keystone/commit/b7d0f1bc01764df7f92ca07289cbba30ad1b467f), [`c06ee77`](https://github.com/keystonejs/keystone/commit/c06ee774962a5cb54c3aecbf9b6f3d03732ccb20), [`edb1f28`](https://github.com/keystonejs/keystone/commit/edb1f28af35d2d53112dbaee966302a8a6014b86), [`b7d0f1b`](https://github.com/keystonejs/keystone/commit/b7d0f1bc01764df7f92ca07289cbba30ad1b467f), [`450b3eb`](https://github.com/keystonejs/keystone/commit/450b3eb479d16213a7c492fd4701e62301c932ad), [`59ae8af`](https://github.com/keystonejs/keystone/commit/59ae8aff0f3741fddc91338f796cb654d9a56b6e), [`677f640`](https://github.com/keystonejs/keystone/commit/677f640f7e1be2aa6ce30dd9d602dee8348ba1e7), [`d04d22e`](https://github.com/keystonejs/keystone/commit/d04d22e64735d0cc71d9b5c93b48337f0137c574), [`580634a`](https://github.com/keystonejs/keystone/commit/580634aaa70910d27e3b03bf591187feb7176afb), [`dd8c02d`](https://github.com/keystonejs/keystone/commit/dd8c02d146c89bd0b78911349b17b521357aa642), [`41ee880`](https://github.com/keystonejs/keystone/commit/41ee880fe389240e3dee5ffb9439fb5d96ae5429), [`4bae32f`](https://github.com/keystonejs/keystone/commit/4bae32f20e4ba7f07bebb7a39fe5d52eecbe11ad), [`2cbce53`](https://github.com/keystonejs/keystone/commit/2cbce53ca2d66c8a94ae403469862eb7b0038958), [`b7d0f1b`](https://github.com/keystonejs/keystone/commit/b7d0f1bc01764df7f92ca07289cbba30ad1b467f), [`2cbce53`](https://github.com/keystonejs/keystone/commit/2cbce53ca2d66c8a94ae403469862eb7b0038958), [`16b2b47`](https://github.com/keystonejs/keystone/commit/16b2b4765a98e5060eec6ebf622546b35ee28eec), [`b7d0f1b`](https://github.com/keystonejs/keystone/commit/b7d0f1bc01764df7f92ca07289cbba30ad1b467f), [`eaf1144`](https://github.com/keystonejs/keystone/commit/eaf11443239f5c7554883c097df03d40eaabdfff), [`014b9f3`](https://github.com/keystonejs/keystone/commit/014b9f31170902c43af853dfb4d10c4e7d0b1282), [`462ff0e`](https://github.com/keystonejs/keystone/commit/462ff0e7ac925d4cd17d3c37d277511b19d8f17b), [`b07145a`](https://github.com/keystonejs/keystone/commit/b07145ad7fdfe69fd1aea634a17d71a025653226), [`3c6b053`](https://github.com/keystonejs/keystone/commit/3c6b053dec67fbdd1fd77c244e3ce205f1eb5991), [`f77e69a`](https://github.com/keystonejs/keystone/commit/f77e69a96d492320a027cc36df9084ff95ce5c17), [`033d065`](https://github.com/keystonejs/keystone/commit/033d06529018482c16f309d8bd6e6e2280e9c161), [`e3e1f8d`](https://github.com/keystonejs/keystone/commit/e3e1f8d9eed94bfed0ff9542b5661c2eb2f4a7b2), [`0c5e0c0`](https://github.com/keystonejs/keystone/commit/0c5e0c03d73cb13e541accaa5a2f494e435c04e9), [`17fff44`](https://github.com/keystonejs/keystone/commit/17fff4491f10281e5cfb4d301e410e36c219cb56), [`e775394`](https://github.com/keystonejs/keystone/commit/e775394fd472daeb0a4b33a9aabf02d0d6ef36dd), [`1f0a560`](https://github.com/keystonejs/keystone/commit/1f0a5603a63e20a3af1fcddadea7a016bc21e0a7), [`b7d0f1b`](https://github.com/keystonejs/keystone/commit/b7d0f1bc01764df7f92ca07289cbba30ad1b467f), [`034da65`](https://github.com/keystonejs/keystone/commit/034da65638cf00814efe9d6bfacf9d5a18516ef7), [`b07145a`](https://github.com/keystonejs/keystone/commit/b07145ad7fdfe69fd1aea634a17d71a025653226), [`034da65`](https://github.com/keystonejs/keystone/commit/034da65638cf00814efe9d6bfacf9d5a18516ef7), [`b07145a`](https://github.com/keystonejs/keystone/commit/b07145ad7fdfe69fd1aea634a17d71a025653226), [`5410848`](https://github.com/keystonejs/keystone/commit/54108480451680f960f7e1c5c92418953a2c6dac), [`ec66d47`](https://github.com/keystonejs/keystone/commit/ec66d472feeabd2bda2c457d8991953c25cab9f3), [`d421102`](https://github.com/keystonejs/keystone/commit/d42110286f4f6aaee74c5af1fa097eb90e1a88f1), [`0105917`](https://github.com/keystonejs/keystone/commit/0105917fa6c81ecd146b646fe05e88a558eb6174), [`c6ce0a7`](https://github.com/keystonejs/keystone/commit/c6ce0a7ea67d33deeba96173e729fec5fd2cd18e), [`c0ea594`](https://github.com/keystonejs/keystone/commit/c0ea59481d4a2b208b8741a6fa24e296a21402da), [`76423c7`](https://github.com/keystonejs/keystone/commit/76423c767a8a4f0b339cd1e42448deceafab52a5), [`c2a8116`](https://github.com/keystonejs/keystone/commit/c2a8116a46f6caa30a50e6dac3e6338f46da6c16), [`034da65`](https://github.com/keystonejs/keystone/commit/034da65638cf00814efe9d6bfacf9d5a18516ef7), [`ce4be0b`](https://github.com/keystonejs/keystone/commit/ce4be0bc1d39f8bb87bd4433d974ab943418ec10), [`341e342`](https://github.com/keystonejs/keystone/commit/341e3427ac49c8e73a5c76d66f2d6fca5cfa26ce), [`c643407`](https://github.com/keystonejs/keystone/commit/c6434077d86fe53705a31b7496a1246aab5c34e1), [`056f6b5`](https://github.com/keystonejs/keystone/commit/056f6b582d6a391cbe84cc2797ef98cec467e7d2)]: + - @keystone-6/core@8.0.0 + - @keystone-6/document-renderer@2.0.0 + ## 10.0.0 ### Major Changes @@ -201,7 +247,6 @@ The breaking changes are only for defining components, _no database migration is needed_. The primary breaking changes for component blocks are: - - For the arguments to the `component` function from `@keystone-6/fields-document/component-blocks`, the following properties have been renamed - `component` -> `preview` - `props` -> `schema` @@ -209,7 +254,6 @@ For example, `props.fields.title` instead of `props.title`. For a nested example, `props.fields.someObject.fields.title` instead of `props.someObject.title`. - - The React element to render for a child field is now `props.{innerFieldName}.element` instead of `props.{innerFieldName}`. See [#7428](https://github.com/keystonejs/keystone/pull/7428) for detailed instructions if you need to upgrade your code. diff --git a/packages/fields-document/package.json b/packages/fields-document/package.json index 58f28d67c86..e54e5424991 100644 --- a/packages/fields-document/package.json +++ b/packages/fields-document/package.json @@ -1,7 +1,7 @@ { "name": "@keystone-6/fields-document", "description": "KeystoneJS Document Field Type", - "version": "10.0.0", + "version": "11.0.0", "license": "MIT", "type": "module", "exports": { @@ -83,7 +83,7 @@ "slate-hyperscript": "^0.100.0" }, "peerDependencies": { - "@keystone-6/core": "^7.0.0", + "@keystone-6/core": "^8.0.0", "graphql": "catalog:", "react": "^19.0.0", "react-dom": "^19.0.0",