Skip to content

Releases: keystonejs/keystone

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.

15 August 2023

15 Aug 03:11
d028587
Compare
Choose a tag to compare

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.

08 August 2023

08 Aug 08:00
8e00d53
Compare
Choose a tag to compare

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.

01 August 2023

01 Aug 02:58
3f69f8d
Compare
Choose a tag to compare

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.

19 June 2023

19 Jun 02:19
a412558
Compare
Choose a tag to compare

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.

08 Jun 2023

08 Jun 06:52
95f113e
Compare
Choose a tag to compare

The following packages have been updated

@keystone-6/[email protected]

Bug Fixes

  • [core] Fixes hanging process when multiple Prisma generators are defined (#8598) @acburdine
  • [core] Fixes types for allOperations, regression from #8570 (#8617) @dcousens
  • [core] Fixes broken types for field groups, regression from #8570 (#8617) @dcousens
  • [core] Fixes db.onConnect, with keystone start --with-migrations, to run after migrations complete (#8612) @acburdine

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

25 May 2023

25 May 23:39
b5142fe
Compare
Choose a tag to compare

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.

27 April 2023

27 Apr 05:13
461d8a1
Compare
Choose a tag to compare

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.