Skip to content

Releases: keystonejs/keystone

7 November 2024

07 Nov 03:43
b8beced
Compare
Choose a tag to compare

The following packages have been updated

New Features

  • [auth] Updates the welcome page newsletter to include Thinkmill (#9335) @benderham

Bug Fixes

  • [core] Fix misleading error messages when importing .keystone/config.js (#9359) @marekryb
  • [core] Fixes serxer.maxFileSize parameter being ignored (#9348) @dcousens
  • [fields-document] Fixes URL validation bug by using encodeURI to preserve percent-encoded characters during validation. (#9326) @kidneyweakx
  • [core] Updates prisma minor version to 5.22.0 (#9391) @dcousens
  • [core] Fixes decimal field bug (#8597) by parsing to Decimal before lessThan / greaterThan checks (#9262) @kennedybaird
  • [create-keystone-app] Fix output formatting for CLI instructions (#9327) @iamandrewluca

💙 Acknowledgements

Lastly, thanks to @benderham (#9332,#9320), @dcousens (#9391,#9317,#9314), @iamandrewluca (#9361,#9327,#9328), @renovate (#9390,#9389,#9388,#9387,#9386,#9381,#9378,#9379,#9380,#9377,#9369,#9370,#9371,#9372,#9368,#9365,#9366,#9367,#9331,#9356,#9353,#9355,#9354,#9351,#9352,#9346,#9345,#9343,#9341,#9342,#9226,#9333,#9325,#9324,#9322,#9321,#9319) for changes not shown above, but none-the-less appreciated.

👀 Review

See 2024-08-28...2024-11-07 to compare with our previous release.

28 August 2024

28 Aug 11:48
12fb38b
Compare
Choose a tag to compare

The following packages have been updated

New Features

  • [core] Adds keystone telemetry inform command to show an informed consent notice (#9292) @dcousens
  • [core] Adds context.transaction passthrough for prisma $transaction options (#9280) @acburdine
  • [core] Upgrade prisma to 5.19.0 (#9310) @renovate

Bug Fixes

🌱 New Contributors

Thanks to the following developers for making their first contributions to the project!

💙 Acknowledgements

Lastly, thanks to @dcousens (#9311,#9300,#9301,#9300), @renovate (#9305,#9307,#9306,#9308,#9296,#9297,#9295,#9283,#9260,#9281,#9284,#9282,#9279), @simonswiss (#9293,#9268) for changes not shown above, but none-the-less appreciated.

👀 Review

See 2024-08-09...2024-08-28 to compare with our previous release.

09 August 2024

09 Aug 02:23
295cc73
Compare
Choose a tag to compare

The following packages have been updated

New Features

  • [core] Add support for lists with no fields in GraphQL (#9254) @dcousens
  • [core] Update esbuild to ^0.23.0 (#9264) @dcousens
  • [core] Update nextjs to version 14 (#9264) @dcousens
  • [core] Update prisma monorepo to version 5.17.0 (#9264) @dcousens
  • [fields-document] Fix @keystone-6/fields-document package breaking when compiling in SSR environments (#8717) (#9041) @marekryb
  • [core] Add exports for internal AdminUI pagination components Pagination, PaginationLabel and usePaginationParams for use in custom pages (#9152) @mikehazell
  • [core] Add support for developers to add esbuild.keystone.ts to the working directory to mutate the default esbuild configuration (#9235) @dcousens
  • [core] Add db.isNullable support for multiselect field type, defaulting to false (#9166) @acburdine
  • [core] Fix Prisma errors not showing when a Prisma migration errors internally (#9273) @dcousens
  • [create-keystone-app] Adds support for npm_config_user_agent for determining your package manager (#9102) @iamandrewluca

Bug Fixes

  • [core] Fix malformed uuid's from breaking relationship filters when using POSTGRESQL (#9155) @dcousens
  • [fields-document] Replace io-ts with zod internally (#9263) @dcousens
  • [core] Fix keystone prisma ... not returning the same error code as the Prisma engine (#9164) @renovate
  • [core] Fix list.ui.hide* defaulting to false when GraphQL is omitted (#9217) @dcousens
  • [core] Fix bigInt field type to throw if defaultValue: { kind: 'autoincrement' } and validation.isRequired is set (#9166) @acburdine
  • [core] Update built-in fields to use newer validate hook syntax (#9166) @acburdine

💙 Acknowledgements

Lastly, thanks to @dcousens (#9264,#9264,#9264,#9269,#9263,#9258,#9249,#9247,#9232,#9219,#9218,#9213,#9144), @direisc (#9170), @gautamsi (#9231,#9179), @ggpwnkthx (#9130), @iamandrewluca (#9102,#9125), @kennedybaird (#9272,#9252), @renovate (#9221,#9242,#9222,#9223,#9215,#9211,#9206,#9207,#9205,#9157,#9197,#9196,#9193,#9194,#9187,#9188,#9185,#9184,#9175,#9168,#9167,#9163,#9159,#9161,#9160,#9162,#9158,#9151,#9150,#9148,#9145,#9143,#9140,#9137,#9135,#9134,#9133), @simonswiss (#9267,#9251,#9257,#9255,#9202,#9228,#9227,#9220,#9198) for changes not shown above, but none-the-less appreciated.

👀 Review

See 2024-04-30...2024-08-09 to compare with our previous release.

30 April 2024

30 Apr 06:08
bd33f07
Compare
Choose a tag to compare

The following packages have been updated

@keystone-6/[email protected]

New Features

  • [core] Update prisma to 5.13.0 (#9112) @renovate
  • [core] Add config.db.extendPrismaClient to support extending the PrismaClient (#9114) @iamandrewluca
  • [core] Adds context.transaction for interactive transactions when using a context (#9122) @dcousens
  • [core] Adds keystone migrate create and keystone migrate apply (#9103) @dcousens

Bug Fixes

  • [core] Fix config.db.enableLogging types to align with Prisma 5 (#9100) @dcousens
  • [core] Fix keystone command help text to show where --frozen and --no-server are applicable (#9099) @dcousens

🌱 New Contributors

Thanks to the following developers for making their first contributions to the project!

💙 Acknowledgements

Lastly, thanks to @dcousens (#9117,#9097), @raveling (#9111), @renovate (#8970,#9118,#9116,#9108,#9109,#9107,#9098,#9093) for changes not shown above, but none-the-less appreciated.

👀 Review

See 2024-04-16...2024-04-30 to compare with our previous release.

16 April 2024

16 Apr 01:47
6603187
Compare
Choose a tag to compare

The following packages have been updated

@keystone-6/[email protected]
@keystone-6/[email protected]
@keystone-6/[email protected]
@keystone-6/[email protected]

Breaking Changes

  • [core] Changes file and image to use random 128-bit base64url identifiers by default, not uuid (#9079) @dcousens
  • [core] Removes AdminUIConfig, DatabaseConfig, GraphQLConfig and ServerConfig from @keystone-6/core/types, and some unused types - instead use KeystoneConfig['ui'], KeystoneConfig['db'] and so on (#9085) @dcousens
  • [core] Removes @keystone-6/core/system from exports (#9085) @dcousens
  • [core] Upgrade @prisma/* packages to 5.12.1 (#9088) @dcousens, @borisno2
  • [core] Removes unused type parameters from types ListConfig and ListAdminUIConfig (#9083) @dcousens
  • [core] Remove the deprecated type parameters from the list and group functions (#9083) @dcousens
  • [core] Removes graphqlSchema parameter from extendHttpServer, use context.graphql.schema instead (#9083) @dcousens
  • [core] Moves config.extendGraphqlSchema to config.graphql.extendGraphqlSchema, similar to db.extendPrismaSchema (#9083) @dcousens
  • [core] Remove KeystoneConfig parameter from getAdditionalFiles function type (#9083) @dcousens
  • [core] Remove the deprecated context.exitSudo from KeystoneContext (#9083) @dcousens
  • [core] Remove context.experimental.initialisedLists, use context.__internal.lists (may break in patch) (#9083) @dcousens
  • [core] Remove ExtendGraphqlSchema type alias, use (schema: GraphQLSchema) => GraphQLSchema instead (with import type { GraphQLSchema } from 'graphql'). (#9083) @dcousens, @emmatown
  • [core] Remove the deprecated (#8721) config.server.healthCheck, use extendExpressApp instead (#9083) @dcousens
  • [core] Removes ListSchemaConfig type, use KeystoneConfig['lists'] instead (#9083) @dcousens
  • [core] Remove db.additionalPrismaDatasourceProperties, use extendPrismaSchema if needed (#9083) @dcousens
  • [core] Remove db.prismaPreviewFeatures, use extendPrismaSchema if needed (#9083) @dcousens
  • [core] Remove any type parameter from SessionStore/SessionStoreFunction types (#9083) @dcousens
  • [core] Remove deprecated config.db.useMigrations, use --with-migrations process argument or keystone prisma migrate [dev|deploy] instead (#9090) @dcousens
  • [core] Change keystone prisma behaviour to first require keystone build (or keystone dev) (#8776) @dcousens, @borisno2

New Features

  • [core] KS_PRISMA_ERRORS are now logged with console.error on the server (#8776) @dcousens

Bug Fixes

  • [core] Fix --no-server being ignored by keystone start (#9090) @dcousens

💙 Acknowledgements

Lastly, thanks to @dcousens (#9087,#9094,#9087), @renovate (#9096,#9095,#9086,#9084,#9080) for changes not shown above, but none-the-less appreciated.

👀 Review

See 2024-04-02...2024-04-16 to compare with our previous release.

02 April 2024

02 Apr 01:56
0f7760f
Compare
Choose a tag to compare

The following packages have been updated

@keystone-6/[email protected]
@keystone-6/[email protected]

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.

07 February 2024

07 Feb 03:09
6084f44
Compare
Choose a tag to compare

The following packages have been updated

@keystone-6/[email protected]
@keystone-6/[email protected]

Bug Fixes

🌱 New Contributors

Thanks to the following developers for making their first contributions to the project!

💙 Acknowledgements

Lastly, thanks to @borisno2 (#8974), @renovate (#8998,#8999,#8997,#8996,#8994,#8993,#8988,#8989,#8982,#8983,#8977,#8969,#8959,#8956,#8957,#8958,#8946,#8947,#8944) for changes not shown above, but none-the-less appreciated.

👀 Review

See 2023-12-04...2024-02-07 to compare with our previous release.

04 December 2023

04 Dec 09:49
1256564
Compare
Choose a tag to compare

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

27 Sep 01:38
98c9591
Compare
Choose a tag to compare

The following packages have been updated

@keystone-6/[email protected]
@keystone-6/[email protected]

New Features

  • [core] Add type FieldHooks to @keystone-6/core/types exports (#8837) @dcousens
  • [core] Add beforeOperation.[create|update|delete] and afterOperation.[create|update|delete] operation routing for list hooks (#8826) @dcousens

Bug Fixes

  • [core] Fix hooks.validateInput argument types for update operations (#8819) @acburdine
  • [core] Remove deprecated experimental.appDir flag from generated next.config (#8824) @ScottAgirs
  • [cloudinary] Remove runtime errors from the Cloudinary field, fall back to the cloudinary 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

19 Sep 04:15
b88944b
Compare
Choose a tag to compare

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] Adds config.graphql.schemaPath (#8773) @marekryb
  • [core] Adds config.db.prismaSchemaPath (#8773) @marekryb
  • [core] Removes default descrption for timestamp field when using db.updatedAt, use ui.description instead (#8706) @wysher

Bug Fixes

  • [core] Fixes Input error: only a int can be passed to id filters for AdminUI (#8810) @dcousens
  • [core] Fixes keystone 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.