Releases: keystonejs/keystone
7 November 2024
The following packages have been updated
@keystone-6/[email protected]
@keystone-6/[email protected]
@keystone-6/[email protected]
[email protected]
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]
Fixesserxer.maxFileSize
parameter being ignored (#9348) @dcousens[fields-document]
Fixes URL validation bug by usingencodeURI
to preserve percent-encoded characters during validation. (#9326) @kidneyweakx[core]
Updatesprisma
minor version to5.22.0
(#9391) @dcousens[core]
Fixesdecimal
field bug (#8597) by parsing toDecimal
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
The following packages have been updated
@keystone-6/[email protected]
[email protected]
New Features
[core]
Addskeystone 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 to5.19.0
(#9310) @renovate
Bug Fixes
[core]
Update https://keystonejs.com/docs/reference/telemetry to show thatdatabase
type is collected as part of telemetry (#9292) @dcousens[core]
Fixes thekeystone telemetry disable
command for opting out of telemetry (#9289) @DavidMulder0[create-keystone-app]
Update generated schemas (#9275) @dcousens[core]
Fix blended usage of{field}.hooks.validateInput
and{field}.validate.*
resulting in an error (#9278) @acburdine[create-keystone-app]
Fix starter script error when looking for pre-built schemas (#9314) @dcousens
🌱 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
The following packages have been updated
@keystone-6/[email protected]
@keystone-6/[email protected]
[email protected]
New Features
[core]
Add support for lists with no fields in GraphQL (#9254) @dcousens[core]
Updateesbuild
to ^0.23.0 (#9264) @dcousens[core]
Updatenextjs
to version 14 (#9264) @dcousens[core]
Updateprisma
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 componentsPagination
,PaginationLabel
andusePaginationParams
for use in custom pages (#9152) @mikehazell[core]
Add support for developers to addesbuild.keystone.ts
to the working directory to mutate the default esbuild configuration (#9235) @dcousens[core]
Adddb.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 fornpm_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]
Replaceio-ts
withzod
internally (#9263) @dcousens[core]
Fixkeystone prisma ...
not returning the same error code as the Prisma engine (#9164) @renovate[core]
Fixlist.ui.hide*
defaulting to false when GraphQL is omitted (#9217) @dcousens[core]
Fix bigInt field type to throw ifdefaultValue: { kind: 'autoincrement' }
andvalidation.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
The following packages have been updated
@keystone-6/[email protected]
New Features
[core]
Updateprisma
to5.13.0
(#9112) @renovate[core]
Addconfig.db.extendPrismaClient
to support extending thePrismaClient
(#9114) @iamandrewluca[core]
Addscontext.transaction
for interactive transactions when using acontext
(#9122) @dcousens[core]
Addskeystone migrate create
andkeystone migrate apply
(#9103) @dcousens
Bug Fixes
[core]
Fixconfig.db.enableLogging
types to align with Prisma 5 (#9100) @dcousens[core]
Fixkeystone
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
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]
Changesfile
andimage
to use random 128-bitbase64url
identifiers by default, notuuid
(#9079) @dcousens[core]
RemovesAdminUIConfig
,DatabaseConfig
,GraphQLConfig
andServerConfig
from@keystone-6/core/types
, and some unused types - instead useKeystoneConfig['ui']
,KeystoneConfig['db']
and so on (#9085) @dcousens[core]
Removes@keystone-6/core/system
from exports (#9085) @dcousens[core]
Upgrade@prisma/*
packages to5.12.1
(#9088) @dcousens, @borisno2[core]
Removes unused type parameters from typesListConfig
andListAdminUIConfig
(#9083) @dcousens[core]
Remove the deprecated type parameters from thelist
andgroup
functions (#9083) @dcousens[core]
RemovesgraphqlSchema
parameter fromextendHttpServer
, usecontext.graphql.schema
instead (#9083) @dcousens[core]
Movesconfig.extendGraphqlSchema
toconfig.graphql.extendGraphqlSchema
, similar todb.extendPrismaSchema
(#9083) @dcousens[core]
RemoveKeystoneConfig
parameter from getAdditionalFiles function type (#9083) @dcousens[core]
Remove the deprecatedcontext.exitSudo
fromKeystoneContext
(#9083) @dcousens[core]
Removecontext.experimental.initialisedLists
, usecontext.__internal.lists
(may break in patch) (#9083) @dcousens[core]
RemoveExtendGraphqlSchema
type alias, use(schema: GraphQLSchema) => GraphQLSchema
instead (withimport type { GraphQLSchema } from 'graphql'
). (#9083) @dcousens, @emmatown[core]
Remove the deprecated (#8721)config.server.healthCheck
, useextendExpressApp
instead (#9083) @dcousens[core]
RemovesListSchemaConfig
type, useKeystoneConfig['lists']
instead (#9083) @dcousens[core]
Removedb.additionalPrismaDatasourceProperties
, useextendPrismaSchema
if needed (#9083) @dcousens[core]
Removedb.prismaPreviewFeatures
, useextendPrismaSchema
if needed (#9083) @dcousens[core]
Removeany
type parameter fromSessionStore
/SessionStoreFunction
types (#9083) @dcousens[core]
Remove deprecatedconfig.db.useMigrations
, use--with-migrations
process argument orkeystone prisma migrate [dev|deploy]
instead (#9090) @dcousens[core]
Changekeystone prisma
behaviour to first requirekeystone build
(orkeystone dev
) (#8776) @dcousens, @borisno2
New Features
Bug Fixes
💙 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
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, 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.
07 February 2024
The following packages have been updated
@keystone-6/[email protected]
@keystone-6/[email protected]
Bug Fixes
[cloudinary]
Upgradecloudinary
library to version 2 (#9004) @dcousens[core]
Fix@apollo/client
using invalid data from the cache #9000 (#9003) @dcousens
🌱 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
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.