Help us improve KeystoneJS! ✨Click here to share your thoughts in a 5-minute survey 🙏

Keystone Nextpreview

Release

30th March 2021

"@keystone-next/access-control-legacy": "9.0.1",
"@keystone-next/adapter-knex-legacy": "13.2.3",
"@keystone-next/adapter-mongoose-legacy": "11.1.3",
"@keystone-next/adapter-prisma-legacy": "4.0.1",
"@keystone-next/cloudinary": "3.0.5",
"@keystone-next/fields-document": "3.2.1",
"@keystone-next/fields": "5.4.0",
"@keystone-next/fields-auto-increment-legacy": "9.0.0",
"@keystone-next/fields-cloudinary-image-legacy": "4.0.0",
"@keystone-next/fields-mongoid-legacy": "10.0.0",
"@keystone-next/file-adapters-legacy": "8.0.0",
"@keystone-next/keystone": "14.0.1",
"@keystone-next/keystone-legacy": "22.0.0",
"@keystone-next/server-side-graphql-client-legacy": "3.0.0",
"@keystone-next/test-utils-legacy": "15.0.0",
"@keystone-next/types": "15.0.1",
"@keystone-next/utils-legacy": "8.0.0",

What's New

Goodbye legacy code 👋 🌇

We removed a few legacy items including:

  • Field types CalendarDay, DateTime, Slug, Url, and Uuid.
  • Arguments cookieSecret, cookie, and sessionStore from the Keystone constructor.
  • Arguments schemaName, schemaNames, keystoneOptions, and graphqlOptions were unused and have been removed from the setupServer() function (which we also removed).

Improved select field type 🔽

It now uses the correct underlying type, which lets you make use of { dataType: 'enum' } and { dataType: 'integer'}.

Squashed bugs 🐛

We fixed a bug that existed in updateMany on lists with declarative access control.

You can also view the verbose release notes on GitHub.

On this page

  • Release
  • 30th March 2021
  • What's New
  • Goodbye legacy code 👋 🌇
  • Improved select field type 🔽
  • Squashed bugs 🐛