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
Uh oh!
There was an error while loading. Please reload this page.
-
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:
componentfunction from@keystone-6/fields-document/component-blocks, the following properties have been renamedcomponent->previewprops->schema.schema(previous.props) - you now useprops.fields.{innerFieldName}instead ofprops.{innerFieldName}.For example,
props.fields.titleinstead ofprops.title.For a nested example,
props.fields.someObject.fields.titleinstead ofprops.someObject.title.props.{innerFieldName}.elementinstead 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
imageandfilesconfiguration options have been removed from Keystone's configuration, and a newstorageconfiguration 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-redispackage has been upgraded to use@redis/client@v1.1.0/redis@4.1.0(pull request #7051).Configuration
Added support for
body-parseroptions 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