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.
Enjoying Keystone?
Star this repo 🌟 ☝️ or connect to Keystone on Twitter and in Slack.
View verbose release notes
Releases
@keystone-next/fields-legacy@24.0.0
Major Changes
-
#5196
ca1be4156
Thanks @timleslie! - Removed legacy method.getAdminMeta
fromKeystone
,List
andField
classes. -
#5208
4d405390c
Thanks @timleslie! - Removed legacy propertyList.views
and methodField.extendAdminViews()
. -
#5194
a8be4c860
Thanks @timleslie! - Removed legacy Admin UI views. -
#5244
0e1487385
Thanks @timleslie! - Removed the legacy argumentsadminDoc
andadminConfig
, and the methodextendAdminMeta
. -
#5186
aa76102c1
Thanks @timleslie! - Removedapp-admin-ui-legacy
package. -
#5234
f448a8b3a
Thanks @timleslie! - Removed the legacy field typesCalendarDay
,DateTime
,Slug
,Url
, andUuid
.
Patch Changes
- Updated dependencies [
0e01f471d
,76e5c7bd3
,97609a623
,da900777a
]:- @keystone-next/fields@5.4.0
- @keystone-next/utils-legacy@8.0.0
- @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/access-control-legacy@9.0.1
@keystone-next/fields-auto-increment-legacy@9.0.0
Major Changes
- #5192
9e78d8818
Thanks @timleslie! - Removedviews
export, which was used to provide functionality to the legacy Admin UI.
Patch Changes
- Updated dependencies [
ca1be4156
,4d405390c
,a8be4c860
,0e1487385
,aa76102c1
,f448a8b3a
]:- @keystone-next/fields-legacy@24.0.0
- @keystone-next/adapter-knex-legacy@13.2.3
- @keystone-next/adapter-prisma-legacy@4.0.1
@keystone-next/fields-cloudinary-image-legacy@4.0.0
Major Changes
-
#5244
0e1487385
Thanks @timleslie! - Removed the legacy argumentsadminDoc
andadminConfig
, and the methodextendAdminMeta
. -
#5193
eb39fa37d
Thanks @timleslie! - Removedviews
export, which was used to provide functionality to the legacy Admin UI.
Patch Changes
- Updated dependencies [
ca1be4156
,4d405390c
,a8be4c860
,0e1487385
,aa76102c1
,f448a8b3a
]:- @keystone-next/fields-legacy@24.0.0
- @keystone-next/adapter-knex-legacy@13.2.3
- @keystone-next/adapter-mongoose-legacy@11.1.3
@keystone-next/fields-mongoid-legacy@10.0.0
Major Changes
- #5192
9e78d8818
Thanks @timleslie! - Removedviews
export, which was used to provide functionality to the legacy Admin UI.
Patch Changes
- Updated dependencies [
ca1be4156
,4d405390c
,a8be4c860
,0e1487385
,aa76102c1
,f448a8b3a
]:- @keystone-next/fields-legacy@24.0.0
- @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/file-adapters-legacy@8.0.0
Major Changes
- #5228
7bf269057
Thanks @timleslie! - Removed legacyS3Adapter
.
@keystone-next/keystone-legacy@22.0.0
Major Changes
-
#5250
e944b1ebb
Thanks @timleslie! - Removed legacy methodkeystone.createContext()
. -
#5196
ca1be4156
Thanks @timleslie! - Removed legacy method.getAdminMeta
fromKeystone
,List
andField
classes. -
#5220
7ae452ad1
Thanks @timleslie! - Removed the legacykeystone.createAuthStrategy()
method. -
#5226
45272d0b1
Thanks @timleslie! - Removed legacy methodkeystone.prepare()
. -
#5248
ade638de0
Thanks @timleslie! - Removed support for legacyplugins
argument toList
config. -
#5247
2a1fc416e
Thanks @timleslie! - Removed legacy methodkeystone.executeGraphQL()
. -
#5208
4d405390c
Thanks @timleslie! - Removed legacy propertyList.views
and methodField.extendAdminViews()
. -
#5198
b36758a12
Thanks @timleslie! - Removed the legacycookieSecret
,cookie
, andsessionStore
arguments from theKeystone
constructor. -
#5249
fe9fc5e0d
Thanks @timleslie! - Removed the legacyschemaNames
argument from theKeystone
andList
constructors. -
#5246
b8cd13fdf
Thanks @timleslie! - Removed legacykeystone.createApolloServer
method. -
#5195
32578f01e
Thanks @timleslie! - Removed legacy methodKeystone.getAdminViews()
.
Patch Changes
-
#5184
5510ae33f
Thanks @timleslie! - Fixed bug with updateMany on lists with declarative access control. -
Updated dependencies [
97609a623
]:- @keystone-next/utils-legacy@8.0.0
- @keystone-next/access-control-legacy@9.0.1
@keystone-next/server-side-graphql-client-legacy@3.0.0
Major Changes
-
#5222
db6cb59dc
Thanks @timleslie! - Removed the legacykeystone
argument from all exported functions. -
#5258
0b679b742
Thanks @timleslie! - Removed legacyrunCustomQuery
function.
Minor Changes
- #5260
f73cc9377
Thanks @timleslie! - Convert the package to TypeScript.
Patch Changes
- Updated dependencies [
34dd809ee
]:- @keystone-next/types@15.0.1
@keystone-next/test-utils-legacy@15.0.0
Major Changes
-
#5199
d8e32c50e
Thanks @timleslie! - Removed unused argumentsschemaName
,schemaNames
,keystoneOptions
, andgraphqlOptions
fromsetupServer()
. -
#5223
33bc4de6c
Thanks @timleslie! - Removed the legacy functionsetupServer
.
Patch Changes
-
#5198
b36758a12
Thanks @timleslie! - Removed the legacycookieSecret
,cookie
, andsessionStore
arguments from theKeystone
constructor. -
Updated dependencies [
e944b1ebb
,ca1be4156
,7ae452ad1
,45272d0b1
,ade638de0
,2a1fc416e
,5510ae33f
,4d405390c
,fe4b48907
,b36758a12
,fe9fc5e0d
,b8cd13fdf
,32578f01e
]:- @keystone-next/keystone-legacy@22.0.0
- @keystone-next/keystone@14.0.1
@keystone-next/utils-legacy@8.0.0
Major Changes
- #5197
97609a623
Thanks @timleslie! - Removed unused functionscaptureSuspensePromises
andcountArrays
.
@keystone-next/fields@5.4.0
Minor Changes
- #5217
da900777a
Thanks @timleslie! -select
field type now uses the correct underlying type, allowing the use of{ dataType: 'enum' }
and{ dataType: 'integer'}
.
Patch Changes
-
#5216
0e01f471d
Thanks @timleslie! - Added a default config value of{}
for themongoId
field type. -
#5212
76e5c7bd3
Thanks @timleslie! - Moved test fixtures into the new packages. -
Updated dependencies [
ca1be4156
,9e78d8818
,4d405390c
,34dd809ee
,a8be4c860
,0e1487385
,aa76102c1
,f448a8b3a
]:- @keystone-next/fields-legacy@24.0.0
- @keystone-next/fields-auto-increment-legacy@9.0.0
- @keystone-next/fields-mongoid-legacy@10.0.0
- @keystone-next/types@15.0.1
@keystone-next/cloudinary@3.0.5
Patch Changes
- Updated dependencies [
34dd809ee
,0e1487385
,7bf269057
,eb39fa37d
]:- @keystone-next/types@15.0.1
- @keystone-next/fields-cloudinary-image-legacy@4.0.0
- @keystone-next/file-adapters-legacy@8.0.0
@keystone-next/fields-document@3.2.1
Patch Changes
-
#5212
76e5c7bd3
Thanks @timleslie! - Moved test fixtures into the new packages. -
Updated dependencies [
0e01f471d
,76e5c7bd3
,ca1be4156
,da900777a
,4d405390c
,34dd809ee
,a8be4c860
,0e1487385
,aa76102c1
,f448a8b3a
]:- @keystone-next/fields@5.4.0
- @keystone-next/fields-legacy@24.0.0
- @keystone-next/types@15.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/keystone@14.0.1
Patch Changes
-
#5229
fe4b48907
Thanks @raveling! - Updated command line output emojis to be more friendly -
#5198
b36758a12
Thanks @timleslie! - Removed the legacycookieSecret
,cookie
, andsessionStore
arguments from theKeystone
constructor. -
Updated dependencies [
0e01f471d
,76e5c7bd3
,f73cc9377
,e944b1ebb
,db6cb59dc
,ca1be4156
,7ae452ad1
,45272d0b1
,ade638de0
,2a1fc416e
,5510ae33f
,da900777a
,4d405390c
,34dd809ee
,0b679b742
,b36758a12
,fe9fc5e0d
,b8cd13fdf
,32578f01e
]:- @keystone-next/fields@5.4.0
- @keystone-next/server-side-graphql-client-legacy@3.0.0
- @keystone-next/keystone-legacy@22.0.0
- @keystone-next/types@15.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/types@15.0.1
Patch Changes
- #5257
34dd809ee
Thanks @timleslie! - Updated typeGraphQLExecutionArguments.variables
to be optional.
@keystone-next/access-control-legacy@9.0.1
Patch Changes
- Updated dependencies [
97609a623
]:- @keystone-next/utils-legacy@8.0.0
@keystone-next/adapter-knex-legacy@13.2.3
Patch Changes
- Updated dependencies [
e944b1ebb
,ca1be4156
,7ae452ad1
,97609a623
,45272d0b1
,ade638de0
,2a1fc416e
,9e78d8818
,5510ae33f
,4d405390c
,b36758a12
,fe9fc5e0d
,b8cd13fdf
,32578f01e
]:- @keystone-next/keystone-legacy@22.0.0
- @keystone-next/utils-legacy@8.0.0
- @keystone-next/fields-auto-increment-legacy@9.0.0
@keystone-next/adapter-mongoose-legacy@11.1.3
Patch Changes
- Updated dependencies [
e944b1ebb
,ca1be4156
,7ae452ad1
,97609a623
,45272d0b1
,ade638de0
,2a1fc416e
,9e78d8818
,5510ae33f
,4d405390c
,b36758a12
,fe9fc5e0d
,b8cd13fdf
,32578f01e
]:- @keystone-next/keystone-legacy@22.0.0
- @keystone-next/utils-legacy@8.0.0
- @keystone-next/fields-mongoid-legacy@10.0.0
@keystone-next/adapter-prisma-legacy@4.0.1
Patch Changes
- Updated dependencies [
e944b1ebb
,ca1be4156
,7ae452ad1
,97609a623
,45272d0b1
,ade638de0
,2a1fc416e
,9e78d8818
,5510ae33f
,4d405390c
,b36758a12
,fe9fc5e0d
,b8cd13fdf
,32578f01e
]:- @keystone-next/keystone-legacy@22.0.0
- @keystone-next/utils-legacy@8.0.0
- @keystone-next/fields-auto-increment-legacy@9.0.0
@keystone-next/example-auth@2.0.0
Major Changes
- #5230
673b21a0d
Thanks @timleslie! - Updated project to useprisma_sqlite
rather thanmongoose
as the database adapter ifDATABASSE_URL
is not provided.
Patch Changes
- Updated dependencies [
0e01f471d
,76e5c7bd3
,da900777a
,fe4b48907
,b36758a12
]:- @keystone-next/fields@5.4.0
- @keystone-next/keystone@14.0.1
@keystone-next/app-basic@2.0.0
Major Changes
- #5230
673b21a0d
Thanks @timleslie! - Updated project to useprisma_sqlite
rather thanmongoose
as the database adapter ifDATABASSE_URL
is not provided.
Patch Changes
- Updated dependencies [
0e01f471d
,76e5c7bd3
,da900777a
,34dd809ee
,fe4b48907
,b36758a12
]:- @keystone-next/fields@5.4.0
- @keystone-next/fields-document@3.2.1
- @keystone-next/types@15.0.1
- @keystone-next/keystone@14.0.1
@keystone-next/example-ecommerce@2.0.0
Major Changes
- #5230
673b21a0d
Thanks @timleslie! - Updated project to useprisma_sqlite
rather thanmongoose
as the database adapter ifDATABASSE_URL
is not provided.
Patch Changes
- Updated dependencies [
0e01f471d
,76e5c7bd3
,f73cc9377
,db6cb59dc
,da900777a
,34dd809ee
,0b679b742
,fe4b48907
,b36758a12
]:- @keystone-next/fields@5.4.0
- @keystone-next/server-side-graphql-client-legacy@3.0.0
- @keystone-next/types@15.0.1
- @keystone-next/keystone@14.0.1
- @keystone-next/cloudinary@3.0.5
@keystone-next/example-roles@2.0.0
Major Changes
- #5230
673b21a0d
Thanks @timleslie! - Updated project to useprisma_sqlite
rather thanmongoose
as the database adapter ifDATABASSE_URL
is not provided.
Patch Changes
- Updated dependencies [
0e01f471d
,76e5c7bd3
,da900777a
,34dd809ee
,fe4b48907
,b36758a12
]:- @keystone-next/fields@5.4.0
- @keystone-next/types@15.0.1
- @keystone-next/keystone@14.0.1
@keystone-next/api-tests-legacy@9.2.1
Patch Changes
-
#5212
76e5c7bd3
Thanks @timleslie! - Moved test fixtures into the new packages. -
#5184
5510ae33f
Thanks @timleslie! - Fixed bug with updateMany on lists with declarative access control. -
Updated dependencies [
ca1be4156
,97609a623
,4d405390c
,34dd809ee
,a8be4c860
,b36758a12
,0e1487385
,d8e32c50e
,33bc4de6c
,aa76102c1
,f448a8b3a
]:- @keystone-next/fields-legacy@24.0.0
- @keystone-next/utils-legacy@8.0.0
- @keystone-next/types@15.0.1
- @keystone-next/test-utils-legacy@15.0.0
@keystone-next/benchmarks-legacy@5.2.4
Patch Changes
-
#5258
0b679b742
Thanks @timleslie! - Removed legacyrunCustomQuery
function. -
Updated dependencies [
0e01f471d
,76e5c7bd3
,f73cc9377
,e944b1ebb
,db6cb59dc
,ca1be4156
,7ae452ad1
,45272d0b1
,ade638de0
,2a1fc416e
,5510ae33f
,da900777a
,4d405390c
,0b679b742
,a8be4c860
,fe4b48907
,b36758a12
,fe9fc5e0d
,0e1487385
,b8cd13fdf
,32578f01e
,d8e32c50e
,33bc4de6c
,aa76102c1
,f448a8b3a
]:- @keystone-next/fields@5.4.0
- @keystone-next/server-side-graphql-client-legacy@3.0.0
- @keystone-next/keystone-legacy@22.0.0
- @keystone-next/fields-legacy@24.0.0
- @keystone-next/keystone@14.0.1
- @keystone-next/test-utils-legacy@15.0.0
- @keystone-next/adapter-knex-legacy@13.2.3
- @keystone-next/adapter-mongoose-legacy@11.1.3