The following packages have been updated
@keystone-6/auth@7.0.3
@keystone-6/core@5.8.0
New Features
[core]
Adds{field}.hooks.validate.[create|update|delete]
hooks, deprecatesvalidateInput
andvalidateDelete
(throws if incompatible) (#9057) @dcousens[core]
Adds{list}.hooks.validate.[create|update|delete]
hooks, deprecatesvalidateInput
andvalidateDelete
(#9056) @dcousens[core]
Addasync
toextendHttpServer
, to supportawait
on startup (#9026) @dcousens
Bug Fixes
[auth]
FixcreateInitial*
andsend*MagicAuthLink
to throw if the expected type fromsessionStrategy.start
is not a string (#9018) @dcousens[core]
Usedb.idField
of{ kind: 'number', kind: 'Int' }
internally for singletons (#9027) @dcousens[core]
Fixes thetext
field type to accept adefaultValue
ofnull
(#9057) @dcousens[core]
Fiximage
field type to use consistent sub-field ordering (#9017) @dcousens[core]
Fixconfig.server.cors
type preventing value offalse
(#9026) @dcousens[core]
FixdefaultIsFilterable
anddefaultIsOrderable
types preventing value oftrue
(#8809) @dcousens[core]
Fix global locking by dropping globalp-limit
oncontext.query
/context.db
(#8809) @dcousens[core]
DeprecatesextendHttpServer
'sgraphqlSchema
argument, usecontext.graphql.schema
instead (#9028) @dcousens[core]
Fix static relationship resolution errors to conform to nominal error structure (#9042) @dcousens[core]
FixescreateExpressApp
to usecontext.graphql.schema
, not the GraphQLSchema argument (#9029) @dcousens[core]
DeprecatesExtendGraphQLSchema
type, use type(schema: GraphQLSchema) => GraphQLSchema
instead (#9029) @dcousens
🌱 New Contributors
Thanks to the following developers for making their first contributions to the project!
💙 Acknowledgements
Lastly, thanks to @dcousens (#9071,#9071,#9071,#9071,#9068,#9055,#9053,#9048,#9043,#9034,#9033,#9032,#9015,#9016,#9012,#9011), @molomby (#9047), @renovate (#9060,#9059,#9065,#9044,#9045,#9050,#9040,#9031,#9030,#9024,#9021,#9020,#9022,#8952) for changes not shown above, but none-the-less appreciated.
👀 Review
See 2024-02-07...2024-04-02 to compare with our previous release.