github keystonejs/keystone 2022-10-19
19 October 2022

latest releases: 2024-11-07, create-keystone-app@10.0.3, @keystone-6/fields-document@9.1.1...
2 years ago

The following packages have been updated

@keystone-6/auth@5.0.0
@keystone-6/cloudinary@5.0.0
@keystone-6/core@3.0.0
@keystone-6/fields-document@5.0.0

Breaking Changes

  • [core] Changes access-control error messages to only show the list key and operation (#7914) @dcousens
  • [core] Replaces @keystone-6/core/testing exports with { resetDatabase }, for a context use getContext instead (#7968) @mitchellhamilton
  • [core] Removes @keystone-6/core/artifacts from our exports (#7972) @mitchellhamilton
  • [core] Removes disconnect from SessionStrategy (#7971) @mitchellhamilton
  • [core] Removes isLiveReload flag from createSystem (#7969) @mitchellhamilton
  • [core] Removes the @graphql-tools/schema wrapping functions graphQLSchemaExtension and gql. Developers should import @graphql-tools/schema themselves, or use graphql (as exported by @keystone-6/core). (#7943) @borisno2
  • [core] Removes filters export from @keystone-6/core/types (#7919) @mitchellhamilton
  • [core] Removes experimental.generateNodeAPI, use getContext instead (#7957) @dcousens
  • [core] db.onConnect is now called with an unprivileged context, not sudo. Use context.sudo() if you need to bypass access control (#7955) @dcousens
  • [core] Removes the parameters for getAdminMeta when writing field types, and the respective types AdminMetaRootVal, ListMetaRootVal and FieldMetaRootVal therein. (#7913) @mitchellhamilton
  • [core] Removes createSessionContext export from @keystone-6/core/session (#7912) @mitchellhamilton
  • [core] Changes default Apollo Server configuration to use cache: "bounded" and persistedQueries: false (#7888) @mitchellhamilton
  • [core] Changes .access control on list to required, with new allowAll and denyAll functions for easy shorthand. (#7848) @Noviny
  • [core] Upgrade to graphql@16 (#7817) @mitchellhamilton
  • [core] Changes field .views module resolution, from a path, to a module path that is resolved from where keystone start is run (#7805) @mitchellhamilton
  • [core] Changes the return type for the resolveInput hook with json fields. Previously you may have used 'DbNull' or 'JsonNull' as respective null magic values - you can now always use a Javascript null value.
    Unlike previous behaviour, a null value will now consistently map to a Prisma.DbNull. (#7671) @renovate

New Features

  • [core] Adds [list].graphql.maxTake, a list configuration option to enforce the maximum take value in findMany queries for that list (#7963) @dcousens
  • [core] Adds new getContext function (from @keystone-6/core/context) for working with a Keystone configuration directly (#7954) @dcousens
  • [core] Adds a search input field to the list view, resulting in a contains query across ui.searchFields joined with the list view filters (#7841) @Noviny
  • [core] Adds a new isSingleton property for configuring Singleton lists (#7863) @mitchellhamilton

Bug Fixes

🌱 New Contributors

Thanks to the following developers for making their first contributions to the project!

💙 Acknowledgements

Lastly, thanks to @dcousens (#8012,#7998,#7997,#7995,#7981,#7979,#7973,#7897,#7895,#7894,#7864), @renovate (#8008,#7988,#7976,#7938,#7854,#7892,#7886,#7885,#7868), @flexdinesh (#8004,#8002,#7987,#7994,#7983,#7937,#7813), @mitchellhamilton (#7999,#7990,#7991,#7960,#7951,#7953,#7928,#7921,#7911,#7903,#7882,#7887,#7871,#7872,#7845,#7844), @Tekipeps (#7989), @Noviny (#7941) for changes not shown above, but none-the-less appreciated.

Don't miss a new keystone release

NewReleases is sending notifications on new releases.