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
, andUuid
. - Arguments
cookieSecret
,cookie
, andsessionStore
from the Keystone constructor. - Arguments
schemaName
,schemaNames
,keystoneOptions
, andgraphqlOptions
were unused and have been removed from thesetupServer()
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.