Skip to content

16 April 2024

Compare
Choose a tag to compare
@dcousens dcousens released this 16 Apr 01:47
· 197 commits to main since this release
6603187

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] Changes file and image to use random 128-bit base64url identifiers by default, not uuid (#9079) @dcousens
  • [core] Removes AdminUIConfig, DatabaseConfig, GraphQLConfig and ServerConfig from @keystone-6/core/types, and some unused types - instead use KeystoneConfig['ui'], KeystoneConfig['db'] and so on (#9085) @dcousens
  • [core] Removes @keystone-6/core/system from exports (#9085) @dcousens
  • [core] Upgrade @prisma/* packages to 5.12.1 (#9088) @dcousens, @borisno2
  • [core] Removes unused type parameters from types ListConfig and ListAdminUIConfig (#9083) @dcousens
  • [core] Remove the deprecated type parameters from the list and group functions (#9083) @dcousens
  • [core] Removes graphqlSchema parameter from extendHttpServer, use context.graphql.schema instead (#9083) @dcousens
  • [core] Moves config.extendGraphqlSchema to config.graphql.extendGraphqlSchema, similar to db.extendPrismaSchema (#9083) @dcousens
  • [core] Remove KeystoneConfig parameter from getAdditionalFiles function type (#9083) @dcousens
  • [core] Remove the deprecated context.exitSudo from KeystoneContext (#9083) @dcousens
  • [core] Remove context.experimental.initialisedLists, use context.__internal.lists (may break in patch) (#9083) @dcousens
  • [core] Remove ExtendGraphqlSchema type alias, use (schema: GraphQLSchema) => GraphQLSchema instead (with import type { GraphQLSchema } from 'graphql'). (#9083) @dcousens, @emmatown
  • [core] Remove the deprecated (#8721) config.server.healthCheck, use extendExpressApp instead (#9083) @dcousens
  • [core] Removes ListSchemaConfig type, use KeystoneConfig['lists'] instead (#9083) @dcousens
  • [core] Remove db.additionalPrismaDatasourceProperties, use extendPrismaSchema if needed (#9083) @dcousens
  • [core] Remove db.prismaPreviewFeatures, use extendPrismaSchema if needed (#9083) @dcousens
  • [core] Remove any type parameter from SessionStore/SessionStoreFunction types (#9083) @dcousens
  • [core] Remove deprecated config.db.useMigrations, use --with-migrations process argument or keystone prisma migrate [dev|deploy] instead (#9090) @dcousens
  • [core] Change keystone prisma behaviour to first require keystone build (or keystone dev) (#8776) @dcousens, @borisno2

New Features

  • [core] KS_PRISMA_ERRORS are now logged with console.error on the server (#8776) @dcousens

Bug Fixes

  • [core] Fix --no-server being ignored by keystone start (#9090) @dcousens

💙 Acknowledgements

Lastly, thanks to @dcousens (#9087,#9094,#9087), @renovate (#9096,#9095,#9086,#9084,#9080) for changes not shown above, but none-the-less appreciated.

👀 Review

See 2024-04-02...2024-04-16 to compare with our previous release.