What's New
This release involved a bunch of busywork behind the scenes in Keystone Next 🔧. Stripping away all the things we don't need now that we're using Prisma exclusively. The end of the cleanup is in sight, and we're getting closer to the point where we can start working on some great new features.
Files in Keystone Next 📁. Now you can use Admin UI to upload local files to your repo using SQLite. We also added a maxFileSize property for easier project config.
Enjoying Keystone?
Star this repo 🌟 ☝️ or connect to Keystone on Twitter and in Slack.
View verbose release notes
Releases
@keystone-next/fields@8.0.0
Major Changes
-
#5578
f7d4c9b9fThanks @mitchellhamilton! - Replacedmodefield onImageFieldOutputGraphQL type with makingImageFieldOutputan interface and having aLocalImageFieldOutputtype that implementsImageFieldOutput. -
#5582
49dd46843Thanks @gwyneplaine! - Changed image ref to now be${mode}:image:${id}.
Minor Changes
- #5529
b7aeb232dThanks @gwyneplaine! - Added file field type.
Patch Changes
-
#5514
8577eb3baThanks @timleslie! - The field hooks API has deprecated theaddFieldValidationErrorargument. It has been replaced with the argumentaddValidationError, and will be removed in a future release. -
#5587
3e33cd3ffThanks @timleslie! - Simplified image input resolver. -
Updated dependencies [
b7aeb232d,7e81b52b0,fddeacf79,fdebf79cc,dbc62ff7c,05d4883ee,a0c5aa307,9fd7cc62a,b7aeb232d,49dd46843,74fed41e2]:- @keystone-next/admin-ui@14.1.0
- @keystone-next/types@17.0.1
- @keystone-next/adapter-prisma-legacy@6.0.1
- @keystone-next/utils-legacy@10.0.0
- @keystone-next/access-control-legacy@10.0.1
@keystone-next/keystone@17.0.0
Major Changes
- #5582
49dd46843Thanks @gwyneplaine! - Changed image ref to now be${mode}:image:${id}.
Minor Changes
- #5570
2df2fa021Thanks @gwyneplaine! - AddedmaxFileSizeproperty to keystone config.
Patch Changes
-
#5547
18ae28bdeThanks @timleslie! - Consolidate the code from the@keystone-next/server-side-graphql-client-legacypackage into the main package. -
#5518
fddeacf79Thanks @timleslie! - Updated the list item and db item APIs to include an empty default for.findMany()and.count(). -
#5522
fbf5f77c5Thanks @timleslie! - Moved the call tocreateImagesContextintomakeCreateContext(). -
#5514
8577eb3baThanks @timleslie! - The field hooks API has deprecated theaddFieldValidationErrorargument. It has been replaced with the argumentaddValidationError, and will be removed in a future release. -
#5523
91e603d7aThanks @timleslie! - Moved internal code into subdirectories for easier navigation. -
#5517
a6cdf3da8Thanks @timleslie! - Fixed a bug using the items API to create/updateimagefield items. -
#5552
a0c5aa307Thanks @timleslie! - Updatecontext.lists.<list>.count()to use the GraphQL API rather than directly calling the resolver. -
#5524
ddf51724aThanks @timleslie! - Removed un-implemented exportsingletonfromschema/. -
#5569
d216fd04cThanks @mitchellhamilton! - Refactored implementation of db lists API -
#5515
f76938ac2Thanks @timleslie! - Simplified the implementation of the images context API. -
Updated dependencies [
b7aeb232d,b7aeb232d,f7d4c9b9f,7e81b52b0,fddeacf79,fdebf79cc,dbc62ff7c,8577eb3ba,05d4883ee,a0c5aa307,9fd7cc62a,3e33cd3ff,b7aeb232d,49dd46843,49dd46843,74fed41e2]:- @keystone-next/admin-ui@14.1.0
- @keystone-next/fields@8.0.0
- @keystone-next/types@17.0.1
- @keystone-next/adapter-prisma-legacy@6.0.1
- @keystone-next/utils-legacy@10.0.0
- @keystone-next/access-control-legacy@10.0.1
@keystone-next/utils-legacy@10.0.0
Major Changes
- #5582
49dd46843Thanks @gwyneplaine! - Updated parseImageRef and getRef to accept a different signature for the image ref.
Minor Changes
- #5529
b7aeb232dThanks @gwyneplaine! - AddedgetFileRefandparseFileRefto exported utilities.
Patch Changes
@keystone-next/admin-ui@14.1.0
Minor Changes
- #5529
b7aeb232dThanks @gwyneplaine! - Added symlink logic for file storage.
Patch Changes
-
#5586
dbc62ff7cThanks @gautamsi! - Fixed a bug where custom Field views were not able to be used in the Admin UI (object does not have setter error) -
#5530
74fed41e2Thanks @timleslie! - Updated code to use the new DB items API. -
Updated dependencies [
18ae28bde,7e81b52b0,fddeacf79,fbf5f77c5,fdebf79cc,8577eb3ba,91e603d7a,a6cdf3da8,a0c5aa307,ddf51724a,9fd7cc62a,d216fd04c,2df2fa021,49dd46843,f76938ac2]:- @keystone-next/keystone@17.0.0
- @keystone-next/types@17.0.1
@keystone-next/auth@22.0.0
Patch Changes
-
#5530
74fed41e2Thanks @timleslie! - Updated code to use the new DB items API. -
Updated dependencies [
b7aeb232d,b7aeb232d,18ae28bde,f7d4c9b9f,7e81b52b0,fddeacf79,fbf5f77c5,fdebf79cc,dbc62ff7c,8577eb3ba,91e603d7a,a6cdf3da8,a0c5aa307,ddf51724a,9fd7cc62a,d216fd04c,3e33cd3ff,2df2fa021,49dd46843,f76938ac2,74fed41e2]:- @keystone-next/admin-ui@14.1.0
- @keystone-next/fields@8.0.0
- @keystone-next/keystone@17.0.0
- @keystone-next/types@17.0.1
@keystone-next/cloudinary@4.0.1
Patch Changes
- Updated dependencies [
b7aeb232d,b7aeb232d,f7d4c9b9f,7e81b52b0,fddeacf79,fdebf79cc,dbc62ff7c,8577eb3ba,05d4883ee,a0c5aa307,9fd7cc62a,3e33cd3ff,49dd46843,74fed41e2]:- @keystone-next/admin-ui@14.1.0
- @keystone-next/fields@8.0.0
- @keystone-next/types@17.0.1
- @keystone-next/adapter-prisma-legacy@6.0.1
@keystone-next/fields-document@5.0.1
Patch Changes
- Updated dependencies [
b7aeb232d,b7aeb232d,f7d4c9b9f,7e81b52b0,fddeacf79,fdebf79cc,dbc62ff7c,8577eb3ba,05d4883ee,a0c5aa307,9fd7cc62a,3e33cd3ff,49dd46843,74fed41e2]:- @keystone-next/admin-ui@14.1.0
- @keystone-next/fields@8.0.0
- @keystone-next/types@17.0.1
- @keystone-next/adapter-prisma-legacy@6.0.1
@keystone-next/types@17.0.1
Patch Changes
-
#5509
7e81b52b0Thanks @mitchellhamilton! - Fixed incorrect types which said that field level delete access control exists when it does not -
#5518
fddeacf79Thanks @timleslie! - Updated the list item and db item APIs to include an empty default for.findMany()and.count(). -
#5575
fdebf79ccThanks @timleslie! - Removed unuseddescriptionfield fromFieldConfig.uitype. -
#5525
9fd7cc62aThanks @timleslie! - Moved field-related types into their own internal module. -
Updated dependencies [
b7aeb232d,f7d4c9b9f,8577eb3ba,05d4883ee,a0c5aa307,3e33cd3ff,49dd46843]:- @keystone-next/fields@8.0.0
- @keystone-next/adapter-prisma-legacy@6.0.1
@keystone-next/access-control-legacy@10.0.1
Patch Changes
@keystone-next/adapter-prisma-legacy@6.0.1
Patch Changes
-
#5571
05d4883eeThanks @timleslie! - Added abeforeExithandler to explicitly terminate the prisma child process to avoid zombie processes when the server crashes. -
#5552
a0c5aa307Thanks @timleslie! - Improved handling of null filter inputs. -
Updated dependencies [
b7aeb232d,f7d4c9b9f,7e81b52b0,fddeacf79,fdebf79cc,8577eb3ba,9fd7cc62a,3e33cd3ff,b7aeb232d,49dd46843,49dd46843]:- @keystone-next/fields@8.0.0
- @keystone-next/types@17.0.1
- @keystone-next/utils-legacy@10.0.0
@keystone-next/test-utils-legacy@17.0.1
Patch Changes
- Updated dependencies [
18ae28bde,fddeacf79,fbf5f77c5,8577eb3ba,05d4883ee,91e603d7a,a6cdf3da8,a0c5aa307,a0c5aa307,ddf51724a,d216fd04c,2df2fa021,49dd46843,f76938ac2]:- @keystone-next/keystone@17.0.0
- @keystone-next/adapter-prisma-legacy@6.0.1
@keystone-next/api-tests-legacy@10.1.0
Minor Changes
- #5529
b7aeb232dThanks @gwyneplaine! - Added beforeEach and afterEach hooks to test suite, added file config defaults.
Patch Changes
-
#5530
74fed41e2Thanks @timleslie! - Updated code to use the new DB items API. -
Updated dependencies [
7e81b52b0,fddeacf79,fdebf79cc,9fd7cc62a,b7aeb232d,49dd46843]:- @keystone-next/types@17.0.1
- @keystone-next/utils-legacy@10.0.0
- @keystone-next/test-utils-legacy@17.0.1
@keystone-next/website@2.0.1
Patch Changes
-
#5544
b49befd9cThanks @raveling! - copy changes to document-fields guide -
Updated dependencies []:
- @keystone-next/fields-document@5.0.1
@keystone-next/example-auth@3.0.1
Patch Changes
- Updated dependencies [
b7aeb232d,b7aeb232d,18ae28bde,f7d4c9b9f,fddeacf79,fbf5f77c5,dbc62ff7c,8577eb3ba,91e603d7a,a6cdf3da8,a0c5aa307,ddf51724a,d216fd04c,3e33cd3ff,2df2fa021,49dd46843,f76938ac2,74fed41e2]:- @keystone-next/admin-ui@14.1.0
- @keystone-next/fields@8.0.0
- @keystone-next/keystone@17.0.0
- @keystone-next/auth@22.0.0
@keystone-next/app-basic@3.0.1
Patch Changes
- Updated dependencies [
b7aeb232d,b7aeb232d,18ae28bde,f7d4c9b9f,7e81b52b0,fddeacf79,fbf5f77c5,fdebf79cc,dbc62ff7c,8577eb3ba,91e603d7a,a6cdf3da8,a0c5aa307,ddf51724a,9fd7cc62a,d216fd04c,3e33cd3ff,2df2fa021,49dd46843,f76938ac2,74fed41e2]:- @keystone-next/admin-ui@14.1.0
- @keystone-next/fields@8.0.0
- @keystone-next/keystone@17.0.0
- @keystone-next/types@17.0.1
- @keystone-next/auth@22.0.0
- @keystone-next/fields-document@5.0.1
@keystone-next/example-ecommerce@3.0.1
Patch Changes
-
#5530
74fed41e2Thanks @timleslie! - Updated code to use the new DB items API. -
#5546
fd26a03eeThanks @timleslie! - Remove unused dependency@keystone-next/server-side-graphql-client-legacy. -
Updated dependencies [
b7aeb232d,b7aeb232d,18ae28bde,f7d4c9b9f,7e81b52b0,fddeacf79,fbf5f77c5,fdebf79cc,dbc62ff7c,8577eb3ba,91e603d7a,a6cdf3da8,a0c5aa307,ddf51724a,9fd7cc62a,d216fd04c,3e33cd3ff,2df2fa021,49dd46843,f76938ac2,74fed41e2]:- @keystone-next/admin-ui@14.1.0
- @keystone-next/fields@8.0.0
- @keystone-next/keystone@17.0.0
- @keystone-next/types@17.0.1
- @keystone-next/auth@22.0.0
- @keystone-next/cloudinary@4.0.1
keystone-next-app@0.0.7
Patch Changes
- Updated dependencies [
b7aeb232d,18ae28bde,f7d4c9b9f,fddeacf79,fbf5f77c5,8577eb3ba,91e603d7a,a6cdf3da8,a0c5aa307,ddf51724a,d216fd04c,3e33cd3ff,2df2fa021,49dd46843,f76938ac2,74fed41e2]:- @keystone-next/fields@8.0.0
- @keystone-next/keystone@17.0.0
- @keystone-next/auth@22.0.0
- @keystone-next/fields-document@5.0.1
@keystone-next/example-next-lite@2.0.1
Patch Changes
- Updated dependencies [
b7aeb232d,b7aeb232d,18ae28bde,f7d4c9b9f,fddeacf79,fbf5f77c5,dbc62ff7c,8577eb3ba,91e603d7a,a6cdf3da8,a0c5aa307,ddf51724a,d216fd04c,3e33cd3ff,2df2fa021,49dd46843,f76938ac2,74fed41e2]:- @keystone-next/admin-ui@14.1.0
- @keystone-next/fields@8.0.0
- @keystone-next/keystone@17.0.0
@keystone-next/example-roles@3.0.1
Patch Changes
- Updated dependencies [
b7aeb232d,b7aeb232d,18ae28bde,f7d4c9b9f,7e81b52b0,fddeacf79,fbf5f77c5,fdebf79cc,dbc62ff7c,8577eb3ba,91e603d7a,a6cdf3da8,a0c5aa307,ddf51724a,9fd7cc62a,d216fd04c,3e33cd3ff,2df2fa021,49dd46843,f76938ac2,74fed41e2]:- @keystone-next/admin-ui@14.1.0
- @keystone-next/fields@8.0.0
- @keystone-next/keystone@17.0.0
- @keystone-next/types@17.0.1
- @keystone-next/auth@22.0.0
@keystone-next/example-sandbox@2.0.1
Patch Changes
- Updated dependencies [
b7aeb232d,b7aeb232d,18ae28bde,f7d4c9b9f,fddeacf79,fbf5f77c5,dbc62ff7c,8577eb3ba,91e603d7a,a6cdf3da8,a0c5aa307,ddf51724a,d216fd04c,3e33cd3ff,2df2fa021,49dd46843,f76938ac2,74fed41e2]:- @keystone-next/admin-ui@14.1.0
- @keystone-next/fields@8.0.0
- @keystone-next/keystone@17.0.0
- @keystone-next/auth@22.0.0
@keystone-next/example-todo@2.0.1
Patch Changes
- Updated dependencies [
b7aeb232d,b7aeb232d,18ae28bde,f7d4c9b9f,fddeacf79,fbf5f77c5,dbc62ff7c,8577eb3ba,91e603d7a,a6cdf3da8,a0c5aa307,ddf51724a,d216fd04c,3e33cd3ff,2df2fa021,49dd46843,f76938ac2,74fed41e2]:- @keystone-next/admin-ui@14.1.0
- @keystone-next/fields@8.0.0
- @keystone-next/keystone@17.0.0
- @keystone-next/auth@22.0.0
@keystone-next/benchmarks-legacy@6.0.1
Patch Changes
-
#5546
fd26a03eeThanks @timleslie! - Remove unused dependency@keystone-next/server-side-graphql-client-legacy. -
Updated dependencies [
b7aeb232d,18ae28bde,f7d4c9b9f,fddeacf79,fbf5f77c5,8577eb3ba,91e603d7a,a6cdf3da8,a0c5aa307,ddf51724a,d216fd04c,3e33cd3ff,2df2fa021,49dd46843,f76938ac2]:- @keystone-next/fields@8.0.0
- @keystone-next/keystone@17.0.0
- @keystone-next/test-utils-legacy@17.0.1