github keystonejs/keystone 2024-04-02
02 April 2024

latest releases: 2024-11-07, create-keystone-app@10.0.3, @keystone-6/fields-document@9.1.1...
7 months ago

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, deprecates validateInput and validateDelete (throws if incompatible) (#9057) @dcousens
  • [core] Adds {list}.hooks.validate.[create|update|delete] hooks, deprecates validateInput and validateDelete (#9056) @dcousens
  • [core] Add async to extendHttpServer, to support await on startup (#9026) @dcousens

Bug Fixes

  • [auth] Fix createInitial* and send*MagicAuthLink to throw if the expected type from sessionStrategy.start is not a string (#9018) @dcousens
  • [core] Use db.idField of { kind: 'number', kind: 'Int' } internally for singletons (#9027) @dcousens
  • [core] Fixes the text field type to accept a defaultValue of null (#9057) @dcousens
  • [core] Fix image field type to use consistent sub-field ordering (#9017) @dcousens
  • [core] Fix config.server.cors type preventing value of false (#9026) @dcousens
  • [core] Fix defaultIsFilterable and defaultIsOrderable types preventing value of true (#8809) @dcousens
  • [core] Fix global locking by dropping global p-limit on context.query/context.db (#8809) @dcousens
  • [core] Deprecates extendHttpServer's graphqlSchema argument, use context.graphql.schema instead (#9028) @dcousens
  • [core] Fix static relationship resolution errors to conform to nominal error structure (#9042) @dcousens
  • [core] Fixes createExpressApp to use context.graphql.schema, not the GraphQLSchema argument (#9029) @dcousens
  • [core] Deprecates ExtendGraphQLSchema 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.

Don't miss a new keystone release

NewReleases is sending notifications on new releases.