Release notes: 9 June 2022 #7613
dcousens
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Feature release.
New Features
Array Fields and Components Blocks
Changes to the underlying document-editor component block interfaces, with the addition of array fields. The breaking changes are only for defining components, no database migration is needed.
The primary breaking changes for component blocks are:
component
function from@keystone-6/fields-document/component-blocks
, the following properties have been renamedcomponent
->preview
props
->schema
.schema
(previous.props
) - you now useprops.fields.{innerFieldName}
instead ofprops.{innerFieldName}
.For example,
props.fields.title
instead ofprops.title
.For a nested example,
props.fields.someObject.fields.title
instead ofprops.someObject.title
.props.{innerFieldName}.element
instead ofprops.{innerFieldName}
.See pull request #7428 for information on how to upgrade and solutions to common problems.
If you have any other questions, please don't hesitate to open a GitHub discussion.
Images and Files
The
image
andfiles
configuration options have been removed from Keystone's configuration, and a newstorage
configuration object introduced.See pull request #7070 for information on how to upgrade and solutions to common problems.
If you have any other questions, please don't hesitate to open a GitHub discussion.
Other Improvements
Major Dependency Upgrades
If you can't upgrade your dependencies for any reason and you think Keystone might be able to help, please open a GitHub discussion so we can try and help you.
React 18.1.0
We have updated React to version 18 (pull request #7410).
Redis 4
Our
@keystone-6/session-store-redis
package has been upgraded to use@redis/client@v1.1.0
/redis@4.1.0
(pull request #7051).Configuration
Added support for
body-parser
options when configuring GraphQL #7591Admin UI
The following changes include a number of accessibility and quality of life improvements for users of the admin interface.
Could not find prisma-fmt binaries
A number of users have reported problems with the Prisma binaries not being installed properly by their package manager.
As part of pull request #7595 the Prisma binaries are now downloaded just before they're needed.
Note this should not happen in production, they should still be downloaded before as part of your deployment step.
Acknowledgements
Big shoutout to the following community members for their help in improving our documentation with their contributions:
Enjoying Keystone?
Star this repo 🌟 ☝️ or connect with Keystone on Twitter and in Slack.
Changelog
You can also view the verbose changelog in this pull request.
This discussion was created from the release 9 June 2022.
Beta Was this translation helpful? Give feedback.
All reactions