Releases: keystonejs/keystone
04 December 2023
The following packages have been updated
@keystone-6/[email protected]
Bug Fixes
[core]
Fix ui.listView.initialSort preventing sort by "No field" (#8909) @dcousens[core]
Fix ui.inlineCreate: { ... } for relationships submitting the parent form of nested relationship fields (#8914) @dcousens[core]
Fix prisma migrate non-interactive environment error (#8898) @marekryb
🌱 New Contributors
Thanks to the following developers for making their first contributions to the project!
💙 Acknowledgements
Lastly, thanks to @dcousens (#8915,#8910,#8854,#8842), @mmachatschek (#8864), @renovate (#8942,#8939,#8937,#8938,#8935,#8933,#8934,#8932,#8931,#8927,#8923,#8924,#8922,#8925,#8926,#8921,#8911,#8902,#8901,#8900,#8903,#8899,#8885,#8886,#8890,#8891,#8892,#8893,#8894,#8895,#8896,#8877,#8878,#8873,#8868,#8867,#8866,#8845,#8870,#8869,#8865,#8799,#8850,#8851) for changes not shown above, but none-the-less appreciated.
27 September 2023
The following packages have been updated
@keystone-6/[email protected]
@keystone-6/[email protected]
New Features
[core]
Add typeFieldHooks
to@keystone-6/core/types
exports (#8837) @dcousens[core]
AddbeforeOperation.[create|update|delete]
andafterOperation.[create|update|delete]
operation routing for list hooks (#8826) @dcousens
Bug Fixes
[core]
Fixhooks.validateInput
argument types for update operations (#8819) @acburdine[core]
Remove deprecatedexperimental.appDir
flag from generated next.config (#8824) @ScottAgirs[cloudinary]
Remove runtime errors from the Cloudinary field, fall back to thecloudinary
package for Cloudinary errors (#8836) @dcousens
🌱 New Contributors
Thanks to the following developers for making their first contributions to the project!
💙 Acknowledgements
Lastly, thanks to @borisno2 (#8829), @dcousens (#8841,#8841,#8839,#8838,#8818,#8816), @dependabot (#8822), @renovate (#8835,#8514,#8840,#8834,#8833,#8832) for changes not shown above, but none-the-less appreciated.
19 September 2023
The following packages have been updated
@keystone-6/[email protected]
@keystone-6/[email protected]
New Features
[core]
Adds error messages for GraphQL errors on the List view in the AdminUI (#8810) @dcousens[core]
Addsconfig.graphql.schemaPath
(#8773) @marekryb[core]
Addsconfig.db.prismaSchemaPath
(#8773) @marekryb[core]
Removes default descrption fortimestamp
field when usingdb.updatedAt
, useui.description
instead (#8706) @wysher
Bug Fixes
[core]
FixesInput error: only a int can be passed to id filters
for AdminUI (#8810) @dcousens[core]
Fixeskeystone build
hanging with next version >13.4.12 (#8788) @borisno2[core, fields-document]
Reduce number of package dependencies (#8790) @dcousens
💙 Acknowledgements
Lastly, thanks to @dcousens (#8808,#8801,#8796,#8792,#8777), @dependabot (#8793), @renovate (#8815,#8814,#8813,#8804,#8800,#8786,#8778,#8789,#8770,#8787,#8785) for changes not shown above, but none-the-less appreciated.
15 August 2023
The following packages have been updated
@keystone-6/[email protected]
@keystone-6/[email protected]
Bug Fixes
[fields-document]
Updates slate to ^0.94.1, slate-history to ^0.93.0 and slate-react to ^0.97.1 (#8753) @mmachatschek[core]
Fixes AdminUI overflow bug (#8754) introduced in #8702 (#8754) @lahirurane-rau[core]
Fixesui.isAccessAllowed
whenundefined
, to prevent access to theadminMeta
GraphQL query, akin to the behaviour for the default AdminUIpageMiddleware
(#8771) @dcousens
💙 Acknowledgements
Lastly, thanks to @borisno2 (#8763,#8752), @dcousens (#8750), @renovate (#8745,#8748) for changes not shown above, but none-the-less appreciated.
08 August 2023
The following packages have been updated
@keystone-6/[email protected]
New Features
[core]
Addsourcemap: true
to esbuild configuration to help with error debugging (#8738) @TweededBadger
Bug Fixes
[core]
Fixesui.isDisabled
condition forkeystone start
(#8733) @molomby[core]
Fixes broken context type narrowing for virtual field resolvers (#8741) @acburdine[core]
Fixessession
type asany
when using.keystone/types
Lists
as your root type (#8743) @dcousens
🌱 New Contributors
Thanks to the following developers for making their first contributions to the project!
- @MarcelMalik (#8737)
- @TweededBadger (#8738)
💙 Acknowledgements
Lastly, thanks to @renovate (#8742,#8739) for changes not shown above, but none-the-less appreciated.
01 August 2023
The following packages have been updated
@keystone-6/[email protected]
@keystone-6/[email protected]
@keystone-6/[email protected]
New Features
[core]
Adds new random identifier type asdb: { idField: { kind: 'random', bytes?: number, encoding?: 'hex' | 'base64url' } }
, with a default of 32 bytes, encoded asbase64url
(#8726) @dcousens[core]
Changes session secret to a secure random default when not provided (#8686) @borisno2[core]
AddsitemValue
prop for custom field view components to allow value-driven field conditions (#8619) @jim-lake[core]
Adds fall back to default AWS credential provider (#7952) @ryzr[core]
Adds responsive AdminUI menu for smaller device widths (#8702) @lahirurane-rau[core]
Upgrades Prisma version to4.16.2
(#8644) @renovate[core]
Adds arbitrary string identifier support asdb: { idField: { kind: 'string' } }
(#8645, #8648) @dcousens, @molomby[core]
Adds new unique filters for querying by more than 1 unique value (#8648) @dcousens[core]
Changesid
field behaviours to not reject invalid identifiers when used in GraphQL resolvers, allowing developers to swapidField
types without breaking (#8648) @dcousens[core]
AddsfindOne
andfindMany
support for Singleton lists with identifiers other than the default, not recommended in typical usage (#8648) @dcousens
Bug Fixes
[core]
Fixes field omission increateView
in AdminUI whengraphql.omit.read: true
(#8715) @dcousens[core]
Fixes field omission initemView
in AdminUI whengraphql.omit.update: true
andui.fieldMode: 'hidden'
(#8715) @dcousens[core]
Fixes misleading error whendb.url
isundefined
(#8696) @dcousens[core]
Deprecatesconfig.server.healthCheck
, useextendExpressApp
(#8721) @dcousens[core]
Deprecates@keystone-6/core/system
, includingcreateSystem
,createExpressServer
andinitConfig
(#8721) @dcousens[core]
Fixes the field width of grouped fields in the AdminUI (#8718) @wysher[auth, core]
Usebase64url
fromnode:crypto
for random identifiers, dropsafe-uid
dependency (#8725) @dcousens[cloudinary]
Changes cloudinary identifiers to use random base64url identifiers, not cuid (#8724) @dcousens[core]
Fixes GraphQL errors revealing the exact identifier format required when an unknown identifier is provided (#8648) @dcousens
🌱 New Contributors
Thanks to the following developers for making their first contributions to the project!
- @gathanase (#8664)
- @jim-lake (#8619)
- @lahirurane-rau (#8702)
- @ryzr (#7952)
- @u-u-z (#8668)
- @wysher (#8718)
- @yashdharmal (#8719)
💙 Acknowledgements
Lastly, thanks to @dcousens (#8723,#8709,#8674), @dependabot (#8729), @mmachatschek (#8695), @renovate (#8727,#8720,#8713,#8712,#8703,#8700,#8699,#8679,#8680,#8681,#8673,#8666,#8665,#8661,#8578,#8662,#8609,#8652,#8651,#8642,#8643) for changes not shown above, but none-the-less appreciated.
19 June 2023
The following packages have been updated
@keystone-6/[email protected]
@keystone-6/[email protected]
Bug Fixes
[auth, core]
AddsbasePath
with a default of'/'
topageMiddleware
to support redirects when usingui.basePath
(#8641) @borisno2[auth]
Removes?from
redirect from/signin
page to prevent open redirection. (#8626) @dcousens
💙 Acknowledgements
Lastly, thanks to @borisno2 (#8582), @dcousens (#8640), @raveling (#8632), @renovate (#8638,#8631,#8630,#8629,#8628), @Tekipeps (#8634) for changes not shown above, but none-the-less appreciated.
08 Jun 2023
The following packages have been updated
@keystone-6/[email protected]
Bug Fixes
[core]
Fixes hanging process when multiple Prisma generators are defined (#8598) @acburdine[core]
Fixes types forallOperations
, regression from #8570 (#8617) @dcousens[core]
Fixes broken types for field groups, regression from #8570 (#8617) @dcousens[core]
Fixesdb.onConnect
, withkeystone start --with-migrations
, to run after migrations complete (#8612) @acburdine
💙 Acknowledgements
Lastly, thanks to @borisno2 (#8607), @dcousens (#8587), @raveling (#8606), @renovate (#8608,#8605,#8593,#8592,#8591) for changes not shown above, but none-the-less appreciated.
25 May 2023
The following packages have been updated
@keystone-6/[email protected]
New Features
[core]
AddscookieName
as an option forstatelessSessions
(#8570) @dcousens[core]
AddsSession
type parameter to generatedTypeInfo
,Lists
andContext
types, and propagates that type to access control and hooks (#8570) @dcousens[core]
Addsui.basePath
for changing the AdminUI base path, using a dynamicnext.config.js
(#8545) @borisno2[core]
Removes prompt when using CLI--frozen
flag and a schema is out of date, CLI now exits (#8545) @borisno2[core]
AddsresolveInput.{create|update}
list hooks as shorthand operation circuitry (#8551) @dcousens[core]
Adds newunfiltered
shorthand function for an empty filter (exported from '@keystone-6/core/access') (#8552) @dcousens
Bug Fixes
[core]
Change nextexperimental.appDir: false
for now, until resolution found for internal React issues (#8568) @MohammadKurjieh[core]
Fixes type generation for lists withomit.query: true
(#8527) @acburdine[core]
Update@prisma/*
to4.14.0
(#8562) @renovate[core]
Fixesgraphql.isNonNull.create: true
TypeScript types to be non-optional (#8551) @dcousens[core]
Fixes incompatible field key types when working withresolvedData
(#8485) (#8551) @dcousens[core]
RemovesSessionStrategy
's type parameter ofStartSessionData
, removal is non-breaking as the parameter was unusable (#8552) @dcousens[core]
Fixesdb.enableLogging
with an array resulting inkeystone dev
exiting (#8569) @dcousens[core]
Deprecates@keystone-6/core/system
exports (createSystem
,createExpressServer
,initConfig
andcreateAdminUIMiddleware
), will be removed in next breaking change (#8569) @dcousens
🌱 New Contributors
Thanks to the following developers for making their first contributions to the project!
💙 Acknowledgements
Lastly, thanks to @borisno2 (#8510), @ChrisLaneAU (#8516), @dcousens (#8546,#8357), @renovate (#8585,#8584,#8583,#8579,#8577,#8565,#8567,#8563,#8566,#8564,#8558,#8559,#8560,#8555,#8541,#8542,#8531,#8528) for changes not shown above, but none-the-less appreciated.
27 April 2023
The following packages have been updated
@keystone-6/[email protected]
@keystone-6/[email protected]
Breaking Changes
[fields-document]
Changesfields.array({ label: ...
tofields.array({ itemLabel: ...
, and addsfields.array({ label: string
, aligned with other document fields (#8493) @borisno2
New Features
[ui]
Adds newline compatibility to description text in admin ui (#8369) @DiesIrae[core]
Adds a new.types.path
configuration option, for specifying where your Keystone types are built (#8381) @dcousens[core]
Adds support for Prisma Data Proxy client generation, automatically enabled fordb.url
's with aprisma:
prefix (#8370) @borisno2[core]
Updates Prisma version to4.12.0
(#8432) @renovate
Bug Fixes
[fields-document]
Adds"use client"
to Document field files that allow it to be used in the Next App Dorectory (#8403) @borisno2[core]
Fixes regression from #8073,.sudo
now retains thecontext.session
(#8441) @dcousens[core]
Fixes #8046 regression which prevented other command line arguments from being used (#8455) @borisno2[core]
Fixes the printed output when usingkeystone telemetry reset
(#8400) @renovate[core]
Fixes the.keystone/types
import paths when usingdb.prismaSchemaPath
on Windows (#8373) @borisno2[fields-document]
Fixes the JSON output type values for the structure field (#8457) @borisno2[core]
.exitSudo
is now deprecated and will be removed in the next major version (#8438) @dcousens
🌱 New Contributors
Thanks to the following developers for making their first contributions to the project!
- @adrianbienias (#8500)
- @AlanBreck (#8391)
- @ChrisLaneAU (#8503)
- @DiesIrae (#8369)
- @DustinWoods (#8411)
- @ganobrega (#8364)
- @kporten (#8387)
- @pahaz (#8488)
- @serranoarevalo (#8515)
- @timgates42 (#8367)
💙 Acknowledgements
Lastly, thanks to @borisno2 (#8471,#8508,#8371,#8456,#8454,#8447,#8439,#8440,#8360), @dcousens (#8523,#8520,#8517,#8491,#8483,#8482,#8479,#8478,#8477,#8476,#8473,#8470,#8459,#8431,#8398,#8399,#8395,#8392,#8375,#8363,#8362,#8361), @kennedybaird (#8380), @keystonejs-release-bot (#8374), @raveling (#8461), @renovate (#8512,#8507,#8495,#8494,#7802,#8489,#8444,#8474,#8422,#8463,#8464,#8450,#8451,#8448,#8449,#8433,#8425,#8423,#8426,#8421,#8424,#8428,#8429,#8427,#8229,#8379,#8378) for changes not shown above, but none-the-less appreciated.