Skip to content

Commit

Permalink
Update Changesets for Release (#7676)
Browse files Browse the repository at this point in the history
  • Loading branch information
borisno2 authored Jun 29, 2022
1 parent 8b2194b commit 60c18b0
Show file tree
Hide file tree
Showing 15 changed files with 17 additions and 20 deletions.
2 changes: 1 addition & 1 deletion .changeset/chatty-stingrays-nail.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
'@keystone-6/core': patch
---

Fixed inconsistent spacing in the Admin UI on relationships fields using the cards display mode
Fixes the inconsistent spacing in the Admin UI on relationships fields using the cards display mode
3 changes: 2 additions & 1 deletion .changeset/cool-carrots-jog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
'@keystone-6/core': minor
---

Added support for Prisma's `shadowDatabaseUrl` option with `db.shadowDatabaseUrl`. Generated Prisma schemas now always include `shadowDatabaseUrl = env("SHADOW_DATABASE_URL")` though using `db.shadowDatabaseUrl` is optional.
Adds support for Prisma's `shadowDatabaseUrl` option with `db.shadowDatabaseUrl`.
Your Prisma schemas will now always include `shadowDatabaseUrl = env("SHADOW_DATABASE_URL")`, though using `db.shadowDatabaseUrl` is optional
2 changes: 1 addition & 1 deletion .changeset/fast-coins-occur.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
'@keystone-ui/fields': minor
---

Added `FieldDescription` component
Adds a `FieldDescription` component
5 changes: 0 additions & 5 deletions .changeset/fifty-kids-pay.md

This file was deleted.

2 changes: 1 addition & 1 deletion .changeset/good-tigers-begin.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
'@keystone-6/fields-document': patch
---

Fixed layout and component block floating toolbars being shown behind other elements
Fixes the layout and component block floating toolbars from being shown behind other elements
2 changes: 1 addition & 1 deletion .changeset/honest-lamps-bow.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
'@keystone-6/auth': patch
---

Added support for BigInt autoincrement id fields with `idField: { kind: 'autoincrement', type: 'BigInt' }`
Adds support for BigInt autoincrement id fields with `idField: { kind: 'autoincrement', type: 'BigInt' }`
2 changes: 1 addition & 1 deletion .changeset/khaki-singers-sip.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
'@keystone-6/cloudinary': patch
---

Added an export for the Cloudinary image GraphQL output type for developer usage e.g. in virtual fields.
Changes the `cloudinaryImage` GraphQL output type to be exported for developer usage, for example in virtual fields
2 changes: 1 addition & 1 deletion .changeset/olive-bags-rush.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
'@keystone-6/core': minor
---

Fix `graphQLSchemaExtension` so that custom resolvers override the defaults
Fixes for `graphQLSchemaExtension`, custom resolvers, if replacing default resolvers, were previously broken
2 changes: 1 addition & 1 deletion .changeset/quiet-suits-fetch.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
'@keystone-6/core': minor
---

Added `db.nativeType` option to the `text` field to customise the database type.
Adds `db.nativeType` option to the `text` field to customise the database type
3 changes: 2 additions & 1 deletion .changeset/six-poems-appear.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
'@keystone-6/core': minor
---

Adds the ability to set ambiguous plurals - like `Firmware` or `Shrimp` - as list names without receiving an error. This builds on the existing `graphql.plural` configuration by adding the configuration options of `ui.label`, `ui.singular`, `ui.plural` and `ui.path` to change the auto-generated names of lists used in the Admin UI
Adds the ability to set ambiguous plurals - like `Firmware` or `Shrimp` - as list names without receiving an error.
This builds on the existing `graphql.plural` configuration by adding the configuration options of `ui.label`, `ui.singular`, `ui.plural` and `ui.path` to change the auto-generated names of lists used in the Admin UI
2 changes: 1 addition & 1 deletion .changeset/spicy-dragons-poke.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
'@keystone-6/fields-document': minor
---

Added `ui.description` option to fields to show a description below the label in the Admin UI
Adds `ui.description` for fields to show a description below the label in the Admin UI
2 changes: 1 addition & 1 deletion .changeset/sweet-yaks-matter.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
'@keystone-6/fields-document': patch
---

Moved remove button in component block array fields from inside a menu on the drag handle to the right of the drag handle
Moves the remove button in component block array fields from inside a menu on the drag handle to the right of the drag handle
2 changes: 1 addition & 1 deletion .changeset/ten-radios-sin.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
'@keystone-6/core': patch
---

Fixed setting `isIndexed: true` and `db.map` generating an invalid Prisma schema.
Fixes the generation of an invalid Prisma schema when `{field}.isIndexed: true` and `{field}.db.map` are set
2 changes: 1 addition & 1 deletion .changeset/unlucky-parents-wait.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
'@keystone-6/core': patch
---

Fixed inline create and edit forms on relationship fields using the cards display mode not using form elements.
Fixes the semantic-based browser input behaviour for inline create and edit forms on relationship fields when using the cards display mode
4 changes: 2 additions & 2 deletions packages/core/src/lib/core/types-for-lists.ts
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,6 @@ export function initialiseLists(config: KeystoneConfig): Record<string, Initiali
const listsConfig = config.lists;

let intermediateLists;

intermediateLists = Object.fromEntries(
Object.entries(getIsEnabled(listsConfig)).map(([key, isEnabled]) => [
key,
Expand All @@ -453,11 +452,12 @@ export function initialiseLists(config: KeystoneConfig): Record<string, Initiali
* The object will be populated at the end of this function, and the reference will be maintained
*/
const listsRef: Record<string, InitialisedList> = {};
/** Block statements to contain variables only being used within them */

{
const listGraphqlTypes = getListGraphqlTypes(listsConfig, listsRef, intermediateLists);
intermediateLists = getListsWithInitialisedFields(config, listGraphqlTypes, intermediateLists);
}

{
const resolvedDBFieldsForLists = resolveRelationships(intermediateLists);
intermediateLists = Object.fromEntries(
Expand Down

0 comments on commit 60c18b0

Please sign in to comment.