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/client
output location, with a newdb.prismaClientPath
configuration option to set where to import the Prisma client from (#8307) @borisno2[core]
Removes@keystone-6/core/next
from our exports (#8315) @dcousens[core]
Removes--reset-db
fromkeystone dev
, usekeystone prisma db push --force-reset
to reset your database (#8302) @dcousens[core]
Adds additional flags to thekeystone dev
,keystone build
andkeystone start
CLI commands (#8046) @borisno2[core]
Remove experimentalgenerateNextGraphqlAPI
- usegetContext
instead (#8221) @borisno2[core]
Changesgraphql.*.isNonNull
tographql.isNonNull.*
, and addsgraphql.isNonNull.update
for optimistic locking usecases (#8283)[core]
Changesgraphql.omit
type from array to type{ read: boolean, create: boolean, update: boolean }
(#8283)
New Features
[core]
Extendsdb.enableLogging
to support other Prisma log levels (#8321) @MurzNN[core]
Add acursor
argument forfindMany
queries, enabling cursor-based pagination (see Prisma.io documentation for how this works) (#8313) @marekryb[core]
Adds asudo
GraphQL extension for theGraphQLSchema
passed toextendGraphqlSchema
; enabling developers to determine if they are extending the sudo GraphQL schema (#8298) @dcousens[core]
Removeskeystone build
errors forgraphql.isNonNull.create
andgraphql.isNonNull.update
when field access control is configured (#8283) @dcousens[core]
Addacl
option for s3 storage configuration (#8264) @jhohlfeld[core, fields-document]
Adds an experimentalextendPrismaSchema
configuration 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]
FixeswithRequest
behavior when no session strategy is configured (#8318) @acburdine[core]
Fixes undefined types when usingomit
for create or update (#8300) @dcousens[core]
Fixeskeystone start
requiring Typescript by removingtsconfig.json
from the generated AdminUI output (#8293) @borisno2[auth, core]
FixespageMiddleware
to be called forpublicPages
, returning support for public redirects (#8280) @dcousens[auth]
Fixes regression in authenticatedItem query (#8278) @marekryb[cloudinary]
Add telemetry field type name forcloudinaryImage
field (#8259) @borisno2[core]
Fixes.keystone/types
including 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 Metadata
and<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 isfalse
on related to-one item (#8216) @borisno2[auth]
Fixes GraphQL error whensessionStrategy.start
returns 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.