Skip to Page NavigationSkip to Page NavigationSkip to Content
Keystone 6 is in Community Preview! For Keystone 5 docs visit v5.keystonejs.com

Release: 29th July 2021

What's New

Custom navigation, pages and logo in this big Admin UI themed release! ๐ŸŽ›๏ธ

"@keystone-next/admin-ui-utils": "5.0.5",
"@keystone-next/auth": "30.0.0",
"@keystone-next/cloudinary": "6.0.5",
"@keystone-next/fields": "13.0.0",
"@keystone-next/fields-document": "7.0.3",
"@keystone-next/keystone": "23.0.2",
"@keystone-next/testing": "1.1.0",
"@keystone-next/types": "23.0.0",
"@keystone-next/utils": "1.0.3",

Custom Admin UI Navigation ๐Ÿš

You can now create your own custom navigation component with custom routes to be rendered in the Admin UI.

Check out our detailed Custom Admin UI Navigation guide for all the details!

Custom navigation screenshot

Custom Admin UI Pages ๐Ÿ“ƒ

Take things a step further with custom pages. As the Admin UI is built on top of Next.js, it exposes the same /pages directory for adding custom pages.

โ„น๏ธ In the near future you'll be able to directly embed pages within the Keystone Admin UI itself, stay tuned!

Read our new Custom Admin UI Pages guide for more details.

Custom page screenshot

Wait, there's more. You can also replace the default Admin UI logo with your own brand assets. โœจ

Dive into our Custom Admin UI Logo guide to find out how.

Animated logo screenshot

Health Check ๐Ÿ’™

We've added an optional /_healthcheck endpoint to Keystone's express server. You can use this endpoint to ensure your Keystone instance is up and running using website monitoring solutions.

Enable it by setting config.server.healthCheck: true, by default it will respond with { status: 'pass', timestamp: Date.now() }.

You can also specify a custom path and JSON data:

config({
server: {
healthCheck: {
path: '/my-health-check',
data: { status: 'healthy' },
},
},
});

Or use a function for the data config to return real-time information:

config({
server: {
healthCheck: {
path: '/my-health-check',
data: () => ({
status: 'healthy',
timestamp: Date.now(),
uptime: process.uptime(),
}),
},
},
});

Prisma Update โฌ†๏ธ

Updated Prisma dependencies to 2.27.0, check out the Prisma releases page for more details.

Credits ๐Ÿ’ซ

  • Fixed virtual field rendering of false & 0 values thanks to @ChuckJonas!

  • Added / to list.path on HomePage ListCard to better allow custom basePath thanks to @borisno2!

  • Changed symlink generation to use relative path instead of absolute which solves running project in docker when mapping volume, thanks to @gautamsi!

You can also view the verbose release notes on GitHub.