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
f7d4c9b9f
Thanks @mitchellhamilton! - Replacedmode
field onImageFieldOutput
GraphQL type with makingImageFieldOutput
an interface and having aLocalImageFieldOutput
type that implementsImageFieldOutput
. -
#5582
49dd46843
Thanks @gwyneplaine! - Changed image ref to now be${mode}:image:${id}
.
Minor Changes
- #5529
b7aeb232d
Thanks @gwyneplaine! - Added file field type.
Patch Changes
-
#5514
8577eb3ba
Thanks @timleslie! - The field hooks API has deprecated theaddFieldValidationError
argument. It has been replaced with the argumentaddValidationError
, and will be removed in a future release. -
#5587
3e33cd3ff
Thanks @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
49dd46843
Thanks @gwyneplaine! - Changed image ref to now be${mode}:image:${id}
.
Minor Changes
- #5570
2df2fa021
Thanks @gwyneplaine! - AddedmaxFileSize
property to keystone config.
Patch Changes
-
#5547
18ae28bde
Thanks @timleslie! - Consolidate the code from the@keystone-next/server-side-graphql-client-legacy
package into the main package. -
#5518
fddeacf79
Thanks @timleslie! - Updated the list item and db item APIs to include an empty default for.findMany()
and.count()
. -
#5522
fbf5f77c5
Thanks @timleslie! - Moved the call tocreateImagesContext
intomakeCreateContext()
. -
#5514
8577eb3ba
Thanks @timleslie! - The field hooks API has deprecated theaddFieldValidationError
argument. It has been replaced with the argumentaddValidationError
, and will be removed in a future release. -
#5523
91e603d7a
Thanks @timleslie! - Moved internal code into subdirectories for easier navigation. -
#5517
a6cdf3da8
Thanks @timleslie! - Fixed a bug using the items API to create/updateimage
field items. -
#5552
a0c5aa307
Thanks @timleslie! - Updatecontext.lists.<list>.count()
to use the GraphQL API rather than directly calling the resolver. -
#5524
ddf51724a
Thanks @timleslie! - Removed un-implemented exportsingleton
fromschema/
. -
#5569
d216fd04c
Thanks @mitchellhamilton! - Refactored implementation of db lists API -
#5515
f76938ac2
Thanks @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
49dd46843
Thanks @gwyneplaine! - Updated parseImageRef and getRef to accept a different signature for the image ref.
Minor Changes
- #5529
b7aeb232d
Thanks @gwyneplaine! - AddedgetFileRef
andparseFileRef
to exported utilities.
Patch Changes
@keystone-next/admin-ui@14.1.0
Minor Changes
- #5529
b7aeb232d
Thanks @gwyneplaine! - Added symlink logic for file storage.
Patch Changes
-
#5586
dbc62ff7c
Thanks @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
74fed41e2
Thanks @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
74fed41e2
Thanks @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
7e81b52b0
Thanks @mitchellhamilton! - Fixed incorrect types which said that field level delete access control exists when it does not -
#5518
fddeacf79
Thanks @timleslie! - Updated the list item and db item APIs to include an empty default for.findMany()
and.count()
. -
#5575
fdebf79cc
Thanks @timleslie! - Removed unuseddescription
field fromFieldConfig.ui
type. -
#5525
9fd7cc62a
Thanks @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
05d4883ee
Thanks @timleslie! - Added abeforeExit
handler to explicitly terminate the prisma child process to avoid zombie processes when the server crashes. -
#5552
a0c5aa307
Thanks @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
b7aeb232d
Thanks @gwyneplaine! - Added beforeEach and afterEach hooks to test suite, added file config defaults.
Patch Changes
-
#5530
74fed41e2
Thanks @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
b49befd9c
Thanks @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
74fed41e2
Thanks @timleslie! - Updated code to use the new DB items API. -
#5546
fd26a03ee
Thanks @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
fd26a03ee
Thanks @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