The following packages have been updated
@keystone-6/auth@7.0.0
@keystone-6/cloudinary@7.0.0
@keystone-6/core@5.0.0
@keystone-6/fields-document@7.0.0
Breaking Changes
[core]Removes assumptions about@prisma/clientoutput location, with a newdb.prismaClientPathconfiguration option to set where to import the Prisma client from (#8307) @borisno2[core]Removes@keystone-6/core/nextfrom our exports (#8315) @dcousens[core]Removes--reset-dbfromkeystone dev, usekeystone prisma db push --force-resetto reset your database (#8302) @dcousens[core]Adds additional flags to thekeystone dev,keystone buildandkeystone startCLI commands (#8046) @borisno2[core]Remove experimentalgenerateNextGraphqlAPI- usegetContextinstead (#8221) @borisno2[core]Changesgraphql.*.isNonNulltographql.isNonNull.*, and addsgraphql.isNonNull.updatefor optimistic locking usecases (#8283)[core]Changesgraphql.omittype from array to type{ read: boolean, create: boolean, update: boolean }(#8283)
New Features
[core]Extendsdb.enableLoggingto support other Prisma log levels (#8321) @MurzNN[core]Add acursorargument forfindManyqueries, enabling cursor-based pagination (see Prisma.io documentation for how this works) (#8313) @marekryb[core]Adds asudoGraphQL extension for theGraphQLSchemapassed toextendGraphqlSchema; enabling developers to determine if they are extending the sudo GraphQL schema (#8298) @dcousens[core]Removeskeystone builderrors forgraphql.isNonNull.createandgraphql.isNonNull.updatewhen field access control is configured (#8283) @dcousens[core]Addacloption for s3 storage configuration (#8264) @jhohlfeld[core, fields-document]Adds an experimentalextendPrismaSchemaconfiguration option for lists and fields to mutate the prisma schema (#8241) @borisno2[core]Adds the ability to disable telemetry using environment variableKEYSTONE_TELEMETRY_DISABLED(#8159) @borisno2
Bug Fixes
[core]Fixes the device telemetry configuration which had duplicate data under a malformed project path (#8326) @dcousens[core]FixeswithRequestbehavior when no session strategy is configured (#8318) @acburdine[core]Fixes undefined types when usingomitfor create or update (#8300) @dcousens[core]Fixeskeystone startrequiring Typescript by removingtsconfig.jsonfrom the generated AdminUI output (#8293) @borisno2[auth, core]FixespageMiddlewareto be called forpublicPages, returning support for public redirects (#8280) @dcousens[auth]Fixes regression in authenticatedItem query (#8278) @marekryb[cloudinary]Add telemetry field type name forcloudinaryImagefield (#8259) @borisno2[core]Fixes.keystone/typesincluding invalid definitions (#8256) @dcousens[core]Fixes error when deleting an item that has a file or image that is no longer on the filesystem (#8239) @borisno2[core]Fixes<div> cannot appear as a dependant of <p>error on List Page (#8237) @borisno2[auth]Fixesloading Admin Metadataand<head> cannot appear as a child of <div>errors on signin (#8234) @borisno2[core]FixesdefaultFieldMode(#8222) @emmatown[core]Fixes Dataloader error when resolving relationships when access isfalseon related to-one item (#8216) @borisno2[auth]Fixes GraphQL error whensessionStrategy.startreturns null or undefined (#8182) @borisno2[core]Fixes creating new relationships in card view on create item page (#8177) @borisno2
🌱 New Contributors
Thanks to the following developers for making their first contributions to the project!
- @pnxdxt (#8316)
- @austin047 (#8311)
- @jhohlfeld (#8264)
- @CarlQLange (#8268)
- @TasinIshmam (#8137)
- @kennedybaird (#8266)
- @adamjkb (#8167)
💙 Acknowledgements
Lastly, thanks to @renovate (#8328,#8327,#8249,#8273,#8267,#8142,#8152,#8141,#8236,#8133,#8172,#7939), @dcousens (#8323,#8320,#8096,#8301,#8299,#8255,#8212), @raveling (#8314,#8310), @dependabot (#8287,#8275,#8271), @Meetcpatel (#8260), @borisno2 (#8258,#8247,#8232,#8231,#8188,#8170,#8157), @flexdinesh (#8175,#8173,#8174,#8148) for changes not shown above, but none-the-less appreciated.