Skip to content

Releases: keystonejs/keystone

18 November 2022

18 Nov 05:39
b04c93e
Compare
Choose a tag to compare

The following packages have been updated

@keystone-6/core@3.1.1

Bug Fixes

  • [core] Fixes ui.displayMode in the relationship field incorrectly defaulting to count instead of select (#8099) @emmatown

17 November 2022

16 Nov 23:27
ee78151
Compare
Choose a tag to compare

The following packages have been updated

@keystone-6/auth@5.0.1
@keystone-6/cloudinary@5.0.1
@keystone-6/core@3.1.0
@keystone-6/document-renderer@1.1.2
@keystone-6/fields-document@5.0.2

New Features

  • [core] Adds a new group function for grouping fields in the Admin UI (#8088) @emmatown
  • [core] Adds ui.searchFields for the relationship field (#8074) @dcousens
  • [core] Adds fieldPosition to field ui.itemView, for moving a field to the sidebar (#8075) @borisno2
  • [core] Adds context.withRequest, a method to derive an updated context from an incoming request and response (#8013) @borisno2

Bug Fixes

  • [core] Fix the startup message to use the configured http.options host instead of assuming localhost (#8078) @u-ishii
  • [core, fields-document] Fix relationship fields not using their ui.labelField configuration (#8049) @georgekrax
  • [auth, cloudinary, core, document-renderer, fields-document] Adds exports field to package.json (#8054) @emmatown

🌱 New Contributors

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

💙 Acknowledgements

Lastly, thanks to @keystonejs-release-bot (#8064,#8064,#8064) for changes not shown above, but none-the-less appreciated.

03 November 2022

03 Nov 03:54
6fd5ded
Compare
Choose a tag to compare

The following packages have been updated

@keystone-6/core@3.0.2
@keystone-6/fields-document@5.0.1

Bug Fixes

  • [core] Improves performance of querying to-one relationships (#8000) @mitchellhamilton
  • [core] Fixes in and not_in filter views for integer, bigInt, decimal and float fields (#7930) @nya1
  • [core] Fixes issue where the custom field view controller was not being used. You should be able to override field controller when setting ui.views parameter in fields. (#8034) @gautamsi
  • [core] Fixes changes to session/ui.publicPages/ui.isValidSession/ui.pageMiddleware not being updated in live reloads (#8038) @mitchellhamilton
  • [core] Fixes platform configuration for esbuild (#8031) @mmachatschek
  • [fields-document] Fixes selection for component blocks without child fields (#8021) @mitchellhamilton

🌱 New Contributors

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

💙 Acknowledgements

Lastly, thanks to @mitchellhamilton (#8063,#8059,#8027), @renovate (#8056,#8055,#8053,#8045,#8041,#8036,#7974), @flexdinesh (#8060,#8039,#8048), @bladey (#8057), @dcousens (#8026) for changes not shown above, but none-the-less appreciated.

19 October 2022 (afternoon)

19 Oct 03:52
1b49306
Compare
Choose a tag to compare

The following packages have been updated

@keystone-6/core@3.0.1

Bug Fixes

  • [core] Fixes the inputData field type for FieldCreateItemAccessArgs (#8017) @acburdine

💙 Acknowledgements

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

19 October 2022

18 Oct 22:54
f2ca4d1
Compare
Choose a tag to compare

The following packages have been updated

@keystone-6/auth@5.0.0
@keystone-6/cloudinary@5.0.0
@keystone-6/core@3.0.0
@keystone-6/fields-document@5.0.0

Breaking Changes

  • [core] Changes access-control error messages to only show the list key and operation (#7914) @dcousens
  • [core] Replaces @keystone-6/core/testing exports with { resetDatabase }, for a context use getContext instead (#7968) @mitchellhamilton
  • [core] Removes @keystone-6/core/artifacts from our exports (#7972) @mitchellhamilton
  • [core] Removes disconnect from SessionStrategy (#7971) @mitchellhamilton
  • [core] Removes isLiveReload flag from createSystem (#7969) @mitchellhamilton
  • [core] Removes the @graphql-tools/schema wrapping functions graphQLSchemaExtension and gql. Developers should import @graphql-tools/schema themselves, or use graphql (as exported by @keystone-6/core). (#7943) @borisno2
  • [core] Removes filters export from @keystone-6/core/types (#7919) @mitchellhamilton
  • [core] Removes experimental.generateNodeAPI, use getContext instead (#7957) @dcousens
  • [core] db.onConnect is now called with an unprivileged context, not sudo. Use context.sudo() if you need to bypass access control (#7955) @dcousens
  • [core] Removes the parameters for getAdminMeta when writing field types, and the respective types AdminMetaRootVal, ListMetaRootVal and FieldMetaRootVal therein. (#7913) @mitchellhamilton
  • [core] Removes createSessionContext export from @keystone-6/core/session (#7912) @mitchellhamilton
  • [core] Changes default Apollo Server configuration to use cache: "bounded" and persistedQueries: false (#7888) @mitchellhamilton
  • [core] Changes .access control on list to required, with new allowAll and denyAll functions for easy shorthand. (#7848) @Noviny
  • [core] Upgrade to graphql@16 (#7817) @mitchellhamilton
  • [core] Changes field .views module resolution, from a path, to a module path that is resolved from where keystone start is run (#7805) @mitchellhamilton
  • [core] Changes the return type for the resolveInput hook with json fields. Previously you may have used 'DbNull' or 'JsonNull' as respective null magic values - you can now always use a Javascript null value.
    Unlike previous behaviour, a null value will now consistently map to a Prisma.DbNull. (#7671) @renovate

New Features

  • [core] Adds [list].graphql.maxTake, a list configuration option to enforce the maximum take value in findMany queries for that list (#7963) @dcousens
  • [core] Adds new getContext function (from @keystone-6/core/context) for working with a Keystone configuration directly (#7954) @dcousens
  • [core] Adds a search input field to the list view, resulting in a contains query across ui.searchFields joined with the list view filters (#7841) @Noviny
  • [core] Adds a new isSingleton property for configuring Singleton lists (#7863) @mitchellhamilton

Bug Fixes

🌱 New Contributors

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

💙 Acknowledgements

Lastly, thanks to @dcousens (#8012,#7998,#7997,#7995,#7981,#7979,#7973,#7897,#7895,#7894,#7864), @renovate (#8008,#7988,#7976,#7938,#7854,#7892,#7886,#7885,#7868), @flexdinesh (#8004,#8002,#7987,#7994,#7983,#7937,#7813), @mitchellhamilton (#7999,#7990,#7991,#7960,#7951,#7953,#7928,#7921,#7911,#7903,#7882,#7887,#7871,#7872,#7845,#7844), @Tekipeps (#7989), @Noviny (#7941) for changes not shown above, but none-the-less appreciated.

18 October, 2022

17 Oct 23:09
d5d0828
Compare
Choose a tag to compare

The following packages have been updated

@keystone-6/core@2.3.1

Security Updates

We have identified and fixed 1 security vulnerabilities

  • GHSA-6mhr-52mv-6v6f - The multiselect field is vulnerable to a field-level access-control bypass. We have patched the vulnerability in this release.

Bug Fixes

  • [core] Fixes the multiselect field type not using the provided label, access, graphql, isFilterable or isOrderable configuration options (#8007) @marekryb
  • [core] Fixes BigInt values throwing on deserialisation in the item view (#8005) @dcousens

🌱 New Contributors

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

20 September 2022

20 Sep 06:30
fbbc24c
Compare
Choose a tag to compare

The following packages have been updated

@keystone-6/fields-document@4.1.2

Bug Fixes

  • [fields-document] Fixes a broken code path for conditional component-blocks when fields are missing - this previously resulted in invalid data structures within the document editor (#7922) @mitchellhamilton

15 September 2022

15 Sep 06:36
Compare
Choose a tag to compare

The following packages have been updated

@keystone-6/core@2.3.0
@keystone-6/fields-document@4.1.1

New Features

  • [core] Fixes return types for context.graphql so that correct types are returned when using a TypedDocumentNode (#7878) @borisno2

Bug Fixes

  • [fields-document] Fixes expand/collapse button in the editor (#7926) @mitchellhamilton
  • [core] Adds contextualised types when using the graphql export for GraphQL schema extensions (#7877) @dcousens
  • [core] Fixes nullable and non-nullable calendarDay fields existing in the same schema creating a GraphQL schema with two different types with the same name (#7866) @acburdine
  • [core] Fixes types for resolvedData, and the return types for resolveInput hooks. (#7833) @Noviny

🌱 New Contributors

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

💙 Acknowledgements

Lastly, thanks to @dcousens (#7876,#7839,#7832,#7819), @mitchellhamilton (#7875,#7873,#7847,#7830,#7828,#7818,#7928), @dependabot[bot] (#7869), @renovate[bot] (#7862,#7860,#7826,#7825,#7823,#7824), @renovate (#7721,#7812) and @moselhy (#7843) for changes not shown above, but none-the-less appreciated.

19 August 2022

18 Aug 23:24
610fdbd
Compare
Choose a tag to compare

The following packages have been updated

@keystone-6/auth@4.0.1
@keystone-6/cloudinary@4.0.1
@keystone-6/core@2.2.0
@keystone-6/document-renderer@1.1.1
@keystone-6/fields-document@4.1.0
@keystone-6/session-store-redis@4.0.1

New Features

  • [core] Adds cli functions as exports to @keystone-6/core/scripts/cli, assume to be an experimental unstable export and may change in a patch release. (#5645) @gautamsi
  • [core] Adds 'graphql' schema to extendHttpServer. (#7722) @borisno2
  • [core] Adds the ability to set additional Prisma datasource fields in the schema.prisma file, for example, referentialIntegrity by adding options to db.additionalPrismaDatasourceProperties (#7747) @willemmulder
  • [core] Adds http.Server options as configuration server.options (#7324) @dcousens
  • [core] Adds a new multiselect field type (#7683) @Achisingh
  • [core] Adds calendarDay field to store a date without a time or timezone attached (#7658) @Achisingh
  • [core] Adds ui.displayMode: 'radio' as an option for the select field. (#7752) @Achisingh
  • [fields-document] Changes the editors default overflow behaviour to align with other multi-line text inputs, supporting scrolling instead of an unbounded height for the field. (#7729) @Achisingh
  • [core] Adds a new bigInt field type, an integer of width 8 bytes (64 bits), analogous with Prisma's BigInt. (#5175) @MurzNN

Bug Fixes

  • [core] Removes wrong types for resolveInput hooks until actual types are provided (#7801) @dcousens
  • [auth, cloudinary, core, document-renderer, fields-document, session-store-redis] Removes node .engines restrictions (#7804) @dcousens
  • [cloudinary, core] Updates graphql-upload to 15.0.2 (#7803) @mitchellhamilton
  • [core] Fixes environment variable PORT= precedence; PORT= now takes priority over the configured server.port (#7787) @dcousens
  • [fields-document] Fixes the document editor erroring when handling HTML in certain cases (#7764) @mitchellhamilton
  • [fields-document] Fixes long lines in code blocks in the document editor overflowing the editor (#7783) @mitchellhamilton
  • [fields-document] Fixes pasting plain text in the document editor removing markdown link definition and usages (#null) @mitchellhamilton
  • [session-store-redis] Fixes errors not being thrown by your @redis/client on connect (#7771) @Noviny
  • [fields-document] Adds support for pasting a url onto text to create a link (#7766) @mitchellhamilton
  • [core] Updates @apollo/client to 3.6.9 (#7744) @mitchellhamilton
  • [core] Updates @graphql-ts/schema to 0.5.3 (#7742) @mitchellhamilton
  • [core] Fixes return type of findOne to support null, which is returned if no item is found (#7731) @nderkim

🚨 Security Updates

We have identified and fixed 1 upstream security vulnerability

  • CVE-2022-24434 - An upstream transitive dependency dicer is vulnerable to a complete denial-of-service attack. We have upgraded to a version of graphql-upload package to a version that doesn't use dicer.

🌱 New Contributors

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

💙 Acknowledgements

Lastly, thanks to @mitchellhamilton (#7786,#7785,#7784,#7769,#7745), @renovate (#7797,#7798,#7670,#7780,#7781,#7779,#7755,#7487,#7725), @dcousens (#7713,#7743,#7739,#7730), @Noviny (#7770), @Achisingh (#7757), @dependabot (#7728) for changes not shown above, but none-the-less appreciated.

14 July 2022

14 Jul 04:12
6cadee4
Compare
Choose a tag to compare

The following packages have been updated

@keystone-6/fields-document@4.0.1

Bug Fixes

Acknowledgements 💙

Thanks to @Skulek (#7695) for their first contribution to the project.