23 February 2023
The following packages have been updated
@keystone-6/[email protected]
@keystone-6/[email protected]
@keystone-6/[email protected]
@keystone-6/[email protected]
Breaking Changes
[core]
Changesgraphql.omit
type from array to explicit{ read: boolean, create: boolean, update: boolean }
(#8283) @dcousens[core]
Changesgraphql.*.isNonNull
tographql.isNonNull.*
, and addsgraphql.isNonNull.update
for optimistic locking usecases (#8283) @dcousens[core]
Removes--reset-db
fromkeystone dev
, usekeystone prisma db push --force-reset
to reset your database (#8302) @dcousens[auth, core]
RenamesisValidSession
onpageMiddleware
towasAccessAllowed
, which is what it actually is (#8280) @dcousens[core]
Upgrade Apollo Server to version 4 (#8221) @borisno2[core]
Remove experimentalgenerateNextGraphqlAPI
- usegetContext
instead (#8221) @borisno2[core]
Removes@keystone-6/core/next
from our exports (#8315) @dcousens[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]
Adds additional flags to thekeystone dev
,keystone build
andkeystone start
CLI commands (#8046) @borisno2
New Features
[core]
Removeskeystone build
errors forgraphql.isNonNull.create
andgraphql.isNonNull.update
when field access control is configured (#8283) @dcousens[core, fields-document]
Adds an experimentalextendPrismaSchema
configuration option for lists and fields to mutate the prisma schema (#8241) @borisno2[core]
Addacl
option for s3 storage configuration (#8264) @jhohlfeld[core]
Add acursor
argument forfindMany
queries, enabling cursor-based pagination (see Prisma.io documentation for how this works) (#8313) @marekryb[core]
Extenddb.enableLogging
to support other Prisma log levels (#8321) @MurzNN[core]
Adds asudo
GraphQL extension for theGraphQLSchema
passed toextendGraphqlSchema
; enabling developers to determine if they are extending the sudo GraphQL schema (#8298) @dcousens
Bug Fixes
[core]
Changes thekeystone telemetry status
command output to show formatted output instead of JSON (#8326) @dcousens[core]
Fixes the device telemetry configuration which had duplicate data under a malformed project path (#8326) @dcousens[core]
Fixes withRequest behavior when no session strategy is configured (#8318) @acburdine[core]
Fixeskeystone start
requiring Typescript by removingtsconfig.json
from the generated AdminUI output (#8293) @borisno2[core]
Fixes Dataloader error when resolving relationships when access isfalse
on related to-one item (#8216) @borisno2[auth, core]
FixespageMiddleware
to be called forpublicPages
, returning support for public redirects (#8280) @dcousens[core]
Fixes creating new relationships in card view on create item page (#8177) @borisno2[auth]
Fixes regression in authenticatedItem query (#8278) @marekryb[core]
Fixes.keystone/types
including invalid definitions (#8256) @dcousens[core]
Fixes undefined types when usingomit
for create or update (#8300) @dcousens[core]
FixesdefaultFieldMode
(#8222) @emmatown[cloudinary]
Add telemetry field type name forcloudinaryImage
field (#8259) @borisno2[core]
Fixes<div> cannot appear as a dependant of <p>
error on List Page (#8237) @borisno2[auth]
Fixes GraphQL error when usingautoincrement
for auth list id (#8182) @borisno2[auth]
Fixes GraphQL error whensessionStrategy.start
returns null or undefined (#8182) @borisno2[core]
Adds the ability to disable telemetry using environment variableKEYSTONE_TELEMETRY_DISABLED
(#8159) @borisno2[auth]
FixesisFilterable: false
throwing an error for identity fields (#8298) @dcousens[core]
Exportnext/head
for use in auth package (#8234) @borisno2[auth]
Fixesloading Admin Metadata
and<head> cannot appear as a child of <div>
errors on signin (#8234) @borisno2[core]
Fixes error when deleting an item that has a file or image that is no longer on the filesystem (#8239) @borisno2
🌱 New Contributors
Thanks to the following developers for making their first contributions to the project!
- @adamjkb (#8167)
- @austin047 (#8311)
- @CarlQLange (#8268)
- @jhohlfeld (#8264)
- @kennedybaird (#8266)
- @pnxdxt (#8316)
- @TasinIshmam (#8137)
💙 Acknowledgements
Lastly, thanks to @borisno2 (#8258,#8247,#8232,#8231,#8188,#8170,#8157), @dcousens (#8330,#8323,#8320,#8096,#8301,#8299,#8255,#8212), @dependabot (#8287,#8275,#8271), @flexdinesh (#8175,#8173,#8174,#8148), @Meetcpatel (#8260), @raveling (#8314,#8310), @renovate (#8328,#8327,#8249,#8273,#8267,#8142,#8152,#8141,#8236,#8133,#8172,#7939) for changes not shown above, but none-the-less appreciated.