github keystonejs/keystone 2023-02-23
23 February 2023

latest releases: 2024-04-30, @keystone-6/core@6.1.0, @keystone-6/core@0.0.0-rc-20240429035832...
16 months ago

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 new db.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 from keystone dev, use keystone prisma db push --force-reset to reset your database (#8302) @dcousens
  • [core] Adds additional flags to the keystone dev, keystone build and keystone start CLI commands (#8046) @borisno2
  • [core] Remove experimental generateNextGraphqlAPI - use getContext instead (#8221) @borisno2
  • [core] Changes graphql.*.isNonNull to graphql.isNonNull.*, and adds graphql.isNonNull.update for optimistic locking usecases (#8283)
  • [core] Changes graphql.omit type from array to type { read: boolean, create: boolean, update: boolean } (#8283)

New Features

  • [core] Extends db.enableLogging to support other Prisma log levels (#8321) @MurzNN
  • [core] Add a cursor argument for findMany queries, enabling cursor-based pagination (see Prisma.io documentation for how this works) (#8313) @marekryb
  • [core] Adds a sudo GraphQL extension for the GraphQLSchema passed to extendGraphqlSchema; enabling developers to determine if they are extending the sudo GraphQL schema (#8298) @dcousens
  • [core] Removes keystone build errors for graphql.isNonNull.create and graphql.isNonNull.update when field access control is configured (#8283) @dcousens
  • [core] Add acl option for s3 storage configuration (#8264) @jhohlfeld
  • [core, fields-document] Adds an experimental extendPrismaSchema configuration option for lists and fields to mutate the prisma schema (#8241) @borisno2
  • [core] Adds the ability to disable telemetry using environment variable KEYSTONE_TELEMETRY_DISABLED (#8159) @borisno2

Bug Fixes

  • [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] Fixes undefined types when using omit for create or update (#8300) @dcousens
  • [core] Fixes keystone start requiring Typescript by removing tsconfig.json from the generated AdminUI output (#8293) @borisno2
  • [auth, core] Fixes pageMiddleware to be called for publicPages, returning support for public redirects (#8280) @dcousens
  • [auth] Fixes regression in authenticatedItem query (#8278) @marekryb
  • [cloudinary] Add telemetry field type name for cloudinaryImage 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] Fixes loading Admin Metadata and <head> cannot appear as a child of <div> errors on signin (#8234) @borisno2
  • [core] Fixes defaultFieldMode (#8222) @emmatown
  • [core] Fixes Dataloader error when resolving relationships when access is false on related to-one item (#8216) @borisno2
  • [auth] Fixes GraphQL error when sessionStrategy.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!

💙 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.

Don't miss a new keystone release

NewReleases is sending notifications on new releases.