The following packages have been updated
@keystone-6/auth@7.0.2
@keystone-6/cloudinary@7.0.1
@keystone-6/core@5.4.0
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.