keystone

The superpowered headless CMS for Node.js — built with GraphQL and React

MIT License

Downloads
1M
Stars
9.2K
Committers
270

Bot releases are visible (Hide)

keystone - 28 August 2024 Latest Release

Published by dcousens about 2 months ago

The following packages have been updated

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

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

  • [core] Update https://keystonejs.com/docs/reference/telemetry to show that database type is collected as part of telemetry (#9292) @dcousens
  • [core] Fixes the keystone 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 https://github.com/keystonejs/keystone/compare/2024-08-09...2024-08-28 to compare with our previous release.

keystone - 09 August 2024

Published by dcousens 2 months ago

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] 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 https://github.com/keystonejs/keystone/compare/2024-04-30...2024-08-09 to compare with our previous release.

keystone - 30 April 2024

Published by dcousens 6 months ago

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 https://github.com/keystonejs/keystone/compare/2024-04-16...2024-04-30 to compare with our previous release.

keystone - 16 April 2024

Published by dcousens 6 months ago

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 https://github.com/keystonejs/keystone/compare/2024-04-02...2024-04-16 to compare with our previous release.

keystone - 02 April 2024

Published by dcousens 7 months ago

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 https://github.com/keystonejs/keystone/compare/2024-02-07...2024-04-02 to compare with our previous release.

keystone - 07 February 2024

Published by dcousens 9 months ago

The following packages have been updated

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

Bug Fixes

  • [cloudinary] Upgrade cloudinary 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 https://github.com/keystonejs/keystone/compare/2023-12-04...2024-02-07 to compare with our previous release.

keystone - 04 December 2023

Published by dcousens 11 months ago

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.

keystone - 27 September 2023

Published by dcousens about 1 year ago

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.

keystone - 19 September 2023

Published by dcousens about 1 year ago

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.

keystone - 15 August 2023

Published by dcousens about 1 year ago

The following packages have been updated

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

Bug Fixes

  • [fields-document] Updates slate to ^0.94.1, slate-history to ^0.93.0 and slate-react to ^0.97.1 (#8753) @mmachatschek
  • [core] Fixes AdminUI overflow bug (#8754) introduced in #8702 (#8754) @lahirurane-rau
  • [core] Fixes ui.isAccessAllowed when undefined, to prevent access to the adminMeta GraphQL query, akin to the behaviour for the default AdminUI pageMiddleware (#8771) @dcousens

💙 Acknowledgements

Lastly, thanks to @borisno2 (#8763,#8752), @dcousens (#8750), @renovate (#8745,#8748) for changes not shown above, but none-the-less appreciated.

keystone - 08 August 2023

Published by dcousens about 1 year ago

The following packages have been updated

@keystone-6/[email protected]

New Features

  • [core] Add sourcemap: true to esbuild configuration to help with error debugging (#8738) @TweededBadger

Bug Fixes

  • [core] Fixes ui.isDisabled condition for keystone start (#8733) @molomby
  • [core] Fixes broken context type narrowing for virtual field resolvers (#8741) @acburdine
  • [core] Fixes session type as any when using .keystone/types Lists as your root type (#8743) @dcousens

🌱 New Contributors

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

💙 Acknowledgements

Lastly, thanks to @renovate (#8742,#8739) for changes not shown above, but none-the-less appreciated.

keystone - 01 August 2023

Published by dcousens about 1 year ago

The following packages have been updated

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

New Features

  • [core] Adds new random identifier type as db: { idField: { kind: 'random', bytes?: number, encoding?: 'hex' | 'base64url' } }, with a default of 32 bytes, encoded as base64url (#8726) @dcousens
  • [core] Changes session secret to a secure random default when not provided (#8686) @borisno2
  • [core] Adds itemValue 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 to 4.16.2 (#8644) @renovate
  • [core] Adds arbitrary string identifier support as db: { idField: { kind: 'string' } } (#8645, #8648) @dcousens, @molomby
  • [core] Adds new unique filters for querying by more than 1 unique value (#8648) @dcousens
  • [core] Changes id field behaviours to not reject invalid identifiers when used in GraphQL resolvers, allowing developers to swap idField types without breaking (#8648) @dcousens
  • [core] Adds findOne and findMany support for Singleton lists with identifiers other than the default, not recommended in typical usage (#8648) @dcousens

Bug Fixes

  • [core] Fixes field omission in createView in AdminUI when graphql.omit.read: true (#8715) @dcousens
  • [core] Fixes field omission in itemView in AdminUI when graphql.omit.update: true and ui.fieldMode: 'hidden' (#8715) @dcousens
  • [core] Fixes misleading error when db.url is undefined (#8696) @dcousens
  • [core] Deprecates config.server.healthCheck, use extendExpressApp (#8721) @dcousens
  • [core] Deprecates @keystone-6/core/system, including createSystem, createExpressServer and initConfig (#8721) @dcousens
  • [core] Fixes the field width of grouped fields in the AdminUI (#8718) @wysher
  • [auth, core] Use base64url from node:crypto for random identifiers, drop safe-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!

💙 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.

keystone - 19 June 2023

Published by dcousens over 1 year ago

The following packages have been updated

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

Bug Fixes

  • [auth, core] Adds basePath with a default of '/' to pageMiddleware to support redirects when using ui.basePath (#8641) @borisno2
  • [auth] Removes ?from redirect from /signin page to prevent open redirection. (#8626) @dcousens

💙 Acknowledgements

Lastly, thanks to @borisno2 (#8582), @dcousens (#8640), @raveling (#8632), @renovate (#8638,#8631,#8630,#8629,#8628), @Tekipeps (#8634) for changes not shown above, but none-the-less appreciated.

keystone - 08 Jun 2023

Published by dcousens over 1 year ago

The following packages have been updated

@keystone-6/[email protected]

Bug Fixes

💙 Acknowledgements

Lastly, thanks to @borisno2 (#8607), @dcousens (#8587), @raveling (#8606), @renovate (#8608,#8605,#8593,#8592,#8591) for changes not shown above, but none-the-less appreciated.

keystone - 25 May 2023

Published by dcousens over 1 year ago

The following packages have been updated

@keystone-6/[email protected]

New Features

  • [core] Adds cookieName as an option for statelessSessions (#8570) @dcousens
  • [core] Adds Session type parameter to generated TypeInfo, Lists and Context types, and propagates that type to access control and hooks (#8570) @dcousens
  • [core] Adds ui.basePath for changing the AdminUI base path, using a dynamic next.config.js (#8545) @borisno2
  • [core] Removes prompt when using CLI --frozen flag and a schema is out of date, CLI now exits (#8545) @borisno2
  • [core] Adds resolveInput.{create|update} list hooks as shorthand operation circuitry (#8551) @dcousens
  • [core] Adds new unfiltered shorthand function for an empty filter (exported from '@keystone-6/core/access') (#8552) @dcousens

Bug Fixes

  • [core] Change next experimental.appDir: false for now, until resolution found for internal React issues (#8568) @MohammadKurjieh
  • [core] Fixes type generation for lists with omit.query: true (#8527) @acburdine
  • [core] Update @prisma/* to 4.14.0 (#8562) @renovate
  • [core] Fixes graphql.isNonNull.create: true TypeScript types to be non-optional (#8551) @dcousens
  • [core] Fixes incompatible field key types when working with resolvedData (#8485) (#8551) @dcousens
  • [core] Removes SessionStrategy's type parameter of StartSessionData, removal is non-breaking as the parameter was unusable (#8552) @dcousens
  • [core] Fixes db.enableLogging with an array resulting in keystone dev exiting (#8569) @dcousens
  • [core] Deprecates @keystone-6/core/system exports (createSystem, createExpressServer, initConfig and createAdminUIMiddleware), will be removed in next breaking change (#8569) @dcousens

🌱 New Contributors

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

💙 Acknowledgements

Lastly, thanks to @borisno2 (#8510), @ChrisLaneAU (#8516), @dcousens (#8546,#8357), @renovate (#8585,#8584,#8583,#8579,#8577,#8565,#8567,#8563,#8566,#8564,#8558,#8559,#8560,#8555,#8541,#8542,#8531,#8528) for changes not shown above, but none-the-less appreciated.

keystone - 27 April 2023

Published by dcousens over 1 year ago

The following packages have been updated

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

Breaking Changes

  • [fields-document] Changes fields.array({ label: ... to fields.array({ itemLabel: ..., and adds fields.array({ label: string, aligned with other document fields (#8493) @borisno2

New Features

  • [ui] Adds newline compatibility to description text in admin ui (#8369) @DiesIrae
  • [core] Adds a new .types.path configuration option, for specifying where your Keystone types are built (#8381) @dcousens
  • [core] Adds support for Prisma Data Proxy client generation, automatically enabled for db.url's with a prisma: prefix (#8370) @borisno2
  • [core] Updates Prisma version to 4.12.0 (#8432) @renovate

Bug Fixes

  • [fields-document] Adds "use client" to Document field files that allow it to be used in the Next App Dorectory (#8403) @borisno2
  • [core] Fixes regression from #8073, .sudo now retains the context.session (#8441) @dcousens
  • [core] Fixes #8046 regression which prevented other command line arguments from being used (#8455) @borisno2
  • [core] Fixes the printed output when using keystone telemetry reset (#8400) @renovate
  • [core] Fixes the .keystone/types import paths when using db.prismaSchemaPath on Windows (#8373) @borisno2
  • [fields-document] Fixes the JSON output type values for the structure field (#8457) @borisno2
  • [core] .exitSudo is now deprecated and will be removed in the next major version (#8438) @dcousens

🌱 New Contributors

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

💙 Acknowledgements

Lastly, thanks to @borisno2 (#8471,#8508,#8371,#8456,#8454,#8447,#8439,#8440,#8360), @dcousens (#8523,#8520,#8517,#8491,#8483,#8482,#8479,#8478,#8477,#8476,#8473,#8470,#8459,#8431,#8398,#8399,#8395,#8392,#8375,#8363,#8362,#8361), @kennedybaird (#8380), @keystonejs-release-bot (#8374), @raveling (#8461), @renovate (#8512,#8507,#8495,#8494,#7802,#8489,#8444,#8474,#8422,#8463,#8464,#8450,#8451,#8448,#8449,#8433,#8425,#8423,#8426,#8421,#8424,#8428,#8429,#8427,#8229,#8379,#8378) for changes not shown above, but none-the-less appreciated.

keystone - 02 March 2023

Published by dcousens over 1 year ago

The following packages have been updated

@keystone-6/[email protected]

New Features

  • [core] Updates Prisma to v4.11.0 (#7964) @renovate

Bug Fixes

  • [core] Removes outdated Prisma prismaClient.$on('beforeExit'... work-around that blocked Prisma Data Proxy support (#8347) @borisno2
  • [core] Updates image-size to 5.0.0 to mitigate CVE-2022-36313 (#8304) @dcousens
  • [core] Fixes keystone start --with-migrations exiting after a migration (#8354) @acburdine
  • [core] Fixes Typescript types to use never for omitted types (#8355) @acburdine
  • [core] Fixes list-level graphql.omit syntax to match the field-level graphql.omit (#8352) @acburdine

🚨 Security Updates

We have identified and fixed an upstream security vulnerability

  • CVE-2022-36313 - An upstream transitive dependency file-type is vulnerable to a ReDoS. We have upgraded to a version of file-type where this is resolved.

🌱 New Contributors

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

💙 Acknowledgements

Lastly, thanks to @borisno2 (#8344), @dcousens (#8348,#8348,#8358,#8343,#8337,#8336), @renovate (#7553,#8340,#8235,#8341) for changes not shown above, but none-the-less appreciated.

keystone - 23 February 2023

Published by dcousens over 1 year ago

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 graphql.omit type from array to explicit { read: boolean, create: boolean, update: boolean } (#8283) @dcousens
  • [core] Changes graphql.*.isNonNull to graphql.isNonNull.*, and adds graphql.isNonNull.update for optimistic locking usecases (#8283) @dcousens
  • [core] Removes --reset-db from keystone dev, use keystone prisma db push --force-reset to reset your database (#8302) @dcousens
  • [auth, core] Renames isValidSession on pageMiddleware to wasAccessAllowed, which is what it actually is (#8280) @dcousens
  • [core] Upgrade Apollo Server to version 4 (#8221) @borisno2
  • [core] Remove experimental generateNextGraphqlAPI - use getContext instead (#8221) @borisno2
  • [core] Removes @keystone-6/core/next from our exports (#8315) @dcousens
  • [core] Removes assumptions about @prisma/client output location, with a new db.prismaClientPath configuration option to set where to import the Prisma client from (#8307) @borisno2
  • [core] Adds additional flags to the keystone dev, keystone build and keystone start CLI commands (#8046) @borisno2

New Features

  • [core] Removes keystone build errors for graphql.isNonNull.create and graphql.isNonNull.update when field access control is configured (#8283) @dcousens
  • [core, fields-document] Adds an experimental extendPrismaSchema configuration option for lists and fields to mutate the prisma schema (#8241) @borisno2
  • [core] Add acl option for s3 storage configuration (#8264) @jhohlfeld
  • [core] Add a cursor argument for findMany queries, enabling cursor-based pagination (see Prisma.io documentation for how this works) (#8313) @marekryb
  • [core] Extend db.enableLogging to support other Prisma log levels (#8321) @MurzNN
  • [core] Adds a sudo GraphQL extension for the GraphQLSchema passed to extendGraphqlSchema; enabling developers to determine if they are extending the sudo GraphQL schema (#8298) @dcousens

Bug Fixes

  • [core] Changes the keystone telemetry status command output to show formatted output instead of JSON (#8326) @dcousens
  • [core] Fixes the device telemetry configuration which had duplicate data under a malformed project path (#8326) @dcousens
  • [core] Fixes withRequest behavior when no session strategy is configured (#8318) @acburdine
  • [core] Fixes keystone start requiring Typescript by removing tsconfig.json from the generated AdminUI output (#8293) @borisno2
  • [core] Fixes Dataloader error when resolving relationships when access is false on related to-one item (#8216) @borisno2
  • [auth, core] Fixes pageMiddleware to be called for publicPages, returning support for public redirects (#8280) @dcousens
  • [core] Fixes creating new relationships in card view on create item page (#8177) @borisno2
  • [auth] Fixes regression in authenticatedItem query (#8278) @marekryb
  • [core] Fixes .keystone/types including invalid definitions (#8256) @dcousens
  • [core] Fixes undefined types when using omit for create or update (#8300) @dcousens
  • [core] Fixes defaultFieldMode (#8222) @emmatown
  • [cloudinary] Add telemetry field type name for cloudinaryImage field (#8259) @borisno2
  • [core] Fixes <div> cannot appear as a dependant of <p> error on List Page (#8237) @borisno2
  • [auth] Fixes GraphQL error when using autoincrement for auth list id (#8182) @borisno2
  • [auth] Fixes GraphQL error when sessionStrategy.start returns null or undefined (#8182) @borisno2
  • [core] Adds the ability to disable telemetry using environment variable KEYSTONE_TELEMETRY_DISABLED (#8159) @borisno2
  • [auth] Fixes isFilterable: false throwing an error for identity fields (#8298) @dcousens
  • [core] Export next/head for use in auth package (#8234) @borisno2
  • [auth] Fixes loading Admin Metadata and <head> cannot appear as a child of <div> errors on signin (#8234) @borisno2
  • [core] Fixes error when deleting an item that has a file or image that is no longer on the filesystem (#8239) @borisno2

🌱 New Contributors

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

💙 Acknowledgements

Lastly, thanks to @borisno2 (#8258,#8247,#8232,#8231,#8188,#8170,#8157), @dcousens (#8330,#8323,#8320,#8096,#8301,#8299,#8255,#8212), @dependabot (#8287,#8275,#8271), @flexdinesh (#8175,#8173,#8174,#8148), @Meetcpatel (#8260), @raveling (#8314,#8310), @renovate (#8328,#8327,#8249,#8273,#8267,#8142,#8152,#8141,#8236,#8133,#8172,#7939) for changes not shown above, but none-the-less appreciated.

keystone - 7 December 2022

Published by flexdinesh almost 2 years ago

The following packages have been updated

@keystone-6/[email protected]

Bug Fixes

  • [core] Resolve config.telemetry check issue (#8155) @borisno2
keystone - 6 December 2022

Published by dcousens almost 2 years ago

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] Removes createContext, createRequestContext - replace any relevant usage with context.sudo(), context.withSession() or context.withRequest() (#8073) @borisno2

New Features

  • [core, fields-document] Adds Project and Device Telemetry events to the keystone dev script (#8118) @borisno2
  • [core] Adds HOST as an environment variable for keystone dev and keystone start, with higher precedence than config.server.options.host (#8132) @fkrauthan
  • [core] Next.js 13 Upgrade (#8061) @AliceRossa
  • [fields-document] Adds a new structure field type, a composable JSON data structure with a powerful GraphQL API (#7936) @emmatown

Bug Fixes

  • [core] Fixes inline related item form submitting the parent form (#8123) @januzis
  • [auth] Fixes initFirstItem bypass when ui.isAccessAllowed is defined (#8115) @dcousens

🌱 New Contributors

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

💙 Acknowledgements

Lastly, thanks to @dcousens (#8127,#8125,#8122,#8120,#8104,#8108,#8108,#8108), @borisno2 (#8134), @flexdinesh (#8124,#8119), @renovate (#8072,#8116,#8109), @emmatown (#8099) for changes not shown above, but none-the-less appreciated.