What's New
Goodbye legacy code 👋 🌇
We removed a few legacy items including:
- Field types
CalendarDay,DateTime,Slug,Url, andUuid. - Arguments
cookieSecret,cookie, andsessionStorefrom the Keystone constructor. - Arguments
schemaName,schemaNames,keystoneOptions, andgraphqlOptionswere 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
ca1be4156Thanks @timleslie! - Removed legacy method.getAdminMetafromKeystone,ListandFieldclasses. -
#5208
4d405390cThanks @timleslie! - Removed legacy propertyList.viewsand methodField.extendAdminViews(). -
#5194
a8be4c860Thanks @timleslie! - Removed legacy Admin UI views. -
#5244
0e1487385Thanks @timleslie! - Removed the legacy argumentsadminDocandadminConfig, and the methodextendAdminMeta. -
#5186
aa76102c1Thanks @timleslie! - Removedapp-admin-ui-legacypackage. -
#5234
f448a8b3aThanks @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
9e78d8818Thanks @timleslie! - Removedviewsexport, 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
0e1487385Thanks @timleslie! - Removed the legacy argumentsadminDocandadminConfig, and the methodextendAdminMeta. -
#5193
eb39fa37dThanks @timleslie! - Removedviewsexport, 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
9e78d8818Thanks @timleslie! - Removedviewsexport, 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
7bf269057Thanks @timleslie! - Removed legacyS3Adapter.
@keystone-next/keystone-legacy@22.0.0
Major Changes
-
#5250
e944b1ebbThanks @timleslie! - Removed legacy methodkeystone.createContext(). -
#5196
ca1be4156Thanks @timleslie! - Removed legacy method.getAdminMetafromKeystone,ListandFieldclasses. -
#5220
7ae452ad1Thanks @timleslie! - Removed the legacykeystone.createAuthStrategy()method. -
#5226
45272d0b1Thanks @timleslie! - Removed legacy methodkeystone.prepare(). -
#5248
ade638de0Thanks @timleslie! - Removed support for legacypluginsargument toListconfig. -
#5247
2a1fc416eThanks @timleslie! - Removed legacy methodkeystone.executeGraphQL(). -
#5208
4d405390cThanks @timleslie! - Removed legacy propertyList.viewsand methodField.extendAdminViews(). -
#5198
b36758a12Thanks @timleslie! - Removed the legacycookieSecret,cookie, andsessionStorearguments from theKeystoneconstructor. -
#5249
fe9fc5e0dThanks @timleslie! - Removed the legacyschemaNamesargument from theKeystoneandListconstructors. -
#5246
b8cd13fdfThanks @timleslie! - Removed legacykeystone.createApolloServermethod. -
#5195
32578f01eThanks @timleslie! - Removed legacy methodKeystone.getAdminViews().
Patch Changes
-
#5184
5510ae33fThanks @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
db6cb59dcThanks @timleslie! - Removed the legacykeystoneargument from all exported functions. -
#5258
0b679b742Thanks @timleslie! - Removed legacyrunCustomQueryfunction.
Minor Changes
- #5260
f73cc9377Thanks @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
d8e32c50eThanks @timleslie! - Removed unused argumentsschemaName,schemaNames,keystoneOptions, andgraphqlOptionsfromsetupServer(). -
#5223
33bc4de6cThanks @timleslie! - Removed the legacy functionsetupServer.
Patch Changes
-
#5198
b36758a12Thanks @timleslie! - Removed the legacycookieSecret,cookie, andsessionStorearguments from theKeystoneconstructor. -
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
97609a623Thanks @timleslie! - Removed unused functionscaptureSuspensePromisesandcountArrays.
@keystone-next/fields@5.4.0
Minor Changes
- #5217
da900777aThanks @timleslie! -selectfield type now uses the correct underlying type, allowing the use of{ dataType: 'enum' }and{ dataType: 'integer'}.
Patch Changes
-
#5216
0e01f471dThanks @timleslie! - Added a default config value of{}for themongoIdfield type. -
#5212
76e5c7bd3Thanks @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
76e5c7bd3Thanks @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
fe4b48907Thanks @raveling! - Updated command line output emojis to be more friendly -
#5198
b36758a12Thanks @timleslie! - Removed the legacycookieSecret,cookie, andsessionStorearguments from theKeystoneconstructor. -
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
34dd809eeThanks @timleslie! - Updated typeGraphQLExecutionArguments.variablesto 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
673b21a0dThanks @timleslie! - Updated project to useprisma_sqliterather thanmongooseas the database adapter ifDATABASSE_URLis 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
673b21a0dThanks @timleslie! - Updated project to useprisma_sqliterather thanmongooseas the database adapter ifDATABASSE_URLis 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
673b21a0dThanks @timleslie! - Updated project to useprisma_sqliterather thanmongooseas the database adapter ifDATABASSE_URLis 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
673b21a0dThanks @timleslie! - Updated project to useprisma_sqliterather thanmongooseas the database adapter ifDATABASSE_URLis 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
76e5c7bd3Thanks @timleslie! - Moved test fixtures into the new packages. -
#5184
5510ae33fThanks @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
0b679b742Thanks @timleslie! - Removed legacyrunCustomQueryfunction. -
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