Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and publish to npm yourself or setup this action to publish automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to master, this PR will be updated.
Releases
@keystonejs/[email protected]
Major Changes
af5171563
#3283 Thanks @timleslie! - RemovedBaseListAdapter.findFieldAdapterForQuerySegment()
andMongoRelationshipInterface.supportsRelationshipQuery()
.7da9d67d7
#3284 Thanks @timleslie! - RemovedMongoRelationshipInterface.getRefListAdapter()
andKnexRelationshipInterface.getRefListAdapter()
.c3883e01c
#3261 Thanks @timleslie! -many
relationships now have a GraphQL type of[Item!]!
, rather than[Item]
.The old type of
[Item]
implied that the relationship field could returnnull
, or that some of the items it returned could benull
. In practice, neither of these things ever happened. The new type better reflects this reality.The filter argument
{path}_is_null
has also been removed formany
relationships, as it does not apply to a non-null array type.Patch Changes
086b6baec
#3299 Thanks @timleslie! - Fixed a bug onMongooseAdapter
whereDateTime
fields did not respect theisUnique
flag.086b6baec
#3299 Thanks @timleslie! - Added more robust checks for support of theisUnique
flag config. Added tests for this flag.fd2b8d1cf
#3290 Thanks @timleslie! - Refactored relationship internals. No functional changes.Updated dependencies [
d7e011319
,b53b6fe5a
,5a3849806
,086b6baec
,5332988e3
,2e10b1083
]:@keystonejs/[email protected]
Major Changes
af5171563
#3283 Thanks @timleslie! - RemovedBaseListAdapter.findFieldAdapterForQuerySegment()
andMongoRelationshipInterface.supportsRelationshipQuery()
.271f1a40b
#3289 Thanks @timleslie! - Removedkeystone.createHTTPContext()
.22b4a5c1a
#3302 Thanks @MadeByMike! - Removed thekeystone.createItems
andkeystone.createItem
methods. These have been replaced with the corresponding functionscreateItems
andcreateItem
in@keystonejs/server-side-graphql-client
.If you have examples like:
You will need to change this to:
e07c42d4e
#3288 Thanks @timleslie! - Removedkeystone.registerSchema()
.Minor Changes
afe661e60
#3274 Thanks @jordanoverbye! - Added the ability for static cache hints to be added to custom queries generated usingkeystone.extendGraphQLSchema()
5a3849806
#3262 Thanks @MadeByMike! - Added a new private internal schema that will allow a better method of bypassing access control on theexecuteGraphQL
function.The schema name
internal
is now a reserved name and if you have a schema with this name you will need to change it with this update.Note: You cannot change access control on the
internal
schema.Patch Changes
04f9be03d
#3319 Thanks @timleslie! - Fixed invalid GraphQL schema when usingaccess: { update: false, auth: true }
on a list configured with anAuthStrategy
.ef7074977
#3282 Thanks @timleslie! - UpdatedBaseKeystoneAdapter
to passrels
to._connect()
.Updated dependencies [
af5171563
,086b6baec
,7da9d67d7
,5a3849806
,086b6baec
,5332988e3
,c3883e01c
,fd2b8d1cf
,2e10b1083
]:@keystonejs/[email protected]
Major Changes
24af20b38
#3300 Thanks @MadeByMike! - This is the initial release of@keystonejs/server-side-graphql-client,
a library for running server-side graphQL queries and mutations in Keystone.It is intended to replace the
keystone.createItems
method with a set of utility functions to generate and execute graphQL queries.Note: In a future change we will remove the
keystone.createItems
method. You will need to update code that usedcreateItems
.If you have examples like:
You will need to change this to:
Patch Changes
acaf19cd9
#3301 Thanks @MadeByMike! - No functional changes. Update all internal usages ofkeystone.createItems
to the newcreateItems
function.2e10b1083
#3309 Thanks @timleslie! - Simplified tests using the updatedtest-utils
API.Updated dependencies [
af5171563
,086b6baec
,7da9d67d7
,086b6baec
,5332988e3
,c3883e01c
,fd2b8d1cf
,2e10b1083
]:@keystonejs/[email protected]
Minor Changes
5a3849806
#3262 Thanks @MadeByMike! - Added a new private internal schema that will allow a better method of bypassing access control on theexecuteGraphQL
function.The schema name
internal
is now a reserved name and if you have a schema with this name you will need to change it with this update.Note: You cannot change access control on the
internal
schema.@keystonejs/[email protected]
Minor Changes
5a3849806
#3262 Thanks @MadeByMike! - Added a new private internal schema that will allow a better method of bypassing access control on theexecuteGraphQL
function.The schema name
internal
is now a reserved name and if you have a schema with this name you will need to change it with this update.Note: You cannot change access control on the
internal
schema.Patch Changes
b53b6fe5a
#3293 Thanks @MadeByMike! - Fixed a bug where dev features would show in development even if ENABLE_DEV_FEATURES was explicitly set to false.Updated dependencies [
d7e011319
,af5171563
,086b6baec
,7da9d67d7
,086b6baec
,c3883e01c
,fd2b8d1cf
]:@keystonejs/[email protected]
Minor Changes
5a3849806
#3262 Thanks @MadeByMike! - Added a new private internal schema that will allow a better method of bypassing access control on theexecuteGraphQL
function.The schema name
internal
is now a reserved name and if you have a schema with this name you will need to change it with this update.Note: You cannot change access control on the
internal
schema.@keystonejs/[email protected]
Patch Changes
af5171563
,271f1a40b
,22b4a5c1a
,afe661e60
,04f9be03d
,ef7074977
,e07c42d4e
,5a3849806
,086b6baec
]:@keystonejs/[email protected]
Patch Changes
af5171563
,271f1a40b
,22b4a5c1a
,7da9d67d7
,afe661e60
,04f9be03d
,ef7074977
,e07c42d4e
,5a3849806
,086b6baec
]:@keystonejs/[email protected]
Patch Changes
16730291d
#3315 Thanks @gautamsi! - Updated Next.js to 9.5.1 which make revalidate prop a stable api.@keystonejs/[email protected]
Patch Changes
af5171563
,086b6baec
,7da9d67d7
,086b6baec
,c3883e01c
,fd2b8d1cf
]:@keystonejs/[email protected]
Patch Changes
af5171563
,086b6baec
,7da9d67d7
,086b6baec
,c3883e01c
,fd2b8d1cf
]:@keystonejs/[email protected]
Patch Changes
d7e011319
#3277 Thanks @timleslie! - Upgraded Jest to v26.@keystonejs/[email protected]
Patch Changes
086b6baec
#3299 Thanks @timleslie! - Added more robust checks for support of theisUnique
flag config. Added tests for this flag.Updated dependencies [
d7e011319
,af5171563
,086b6baec
,7da9d67d7
,086b6baec
,c3883e01c
,fd2b8d1cf
]:@keystonejs/[email protected]
Patch Changes
086b6baec
#3299 Thanks @timleslie! - Added more robust checks for support of theisUnique
flag config. Added tests for this flag.Updated dependencies [
af5171563
,086b6baec
,7da9d67d7
,086b6baec
,c3883e01c
,fd2b8d1cf
]:@keystonejs/[email protected]
Patch Changes
086b6baec
#3299 Thanks @timleslie! - Added more robust checks for support of theisUnique
flag config. Added tests for this flag.Updated dependencies [
af5171563
,086b6baec
,7da9d67d7
,086b6baec
,c3883e01c
,fd2b8d1cf
]:@keystonejs/[email protected]
Patch Changes
086b6baec
#3299 Thanks @timleslie! - Added more robust checks for support of theisUnique
flag config. Added tests for this flag.Updated dependencies [
af5171563
,086b6baec
,7da9d67d7
,086b6baec
,c3883e01c
,fd2b8d1cf
]:@keystonejs/[email protected]
Patch Changes
086b6baec
#3299 Thanks @timleslie! - Added more robust checks for support of theisUnique
flag config. Added tests for this flag.Updated dependencies [
d7e011319
,af5171563
,086b6baec
,7da9d67d7
,086b6baec
,c3883e01c
,fd2b8d1cf
]:@keystonejs/[email protected]
Patch Changes
086b6baec
#3299 Thanks @timleslie! - Added more robust checks for support of theisUnique
flag config. Added tests for this flag.Updated dependencies [
d7e011319
,af5171563
,086b6baec
,7da9d67d7
,086b6baec
,c3883e01c
,fd2b8d1cf
]:@keystonejs/[email protected]
Patch Changes
086b6baec
#3299 Thanks @timleslie! - Added more robust checks for support of theisUnique
flag config. Added tests for this flag.Updated dependencies [
d7e011319
,af5171563
,086b6baec
,7da9d67d7
,086b6baec
,c3883e01c
,fd2b8d1cf
]:@keystonejs/[email protected]
Patch Changes
af5171563
,086b6baec
,7da9d67d7
,086b6baec
,c3883e01c
,fd2b8d1cf
]:@keystonejs/[email protected]
Patch Changes
af5171563
#3283 Thanks @timleslie! - RemovedBaseListAdapter.findFieldAdapterForQuerySegment()
andMongoRelationshipInterface.supportsRelationshipQuery()
.7da9d67d7
#3284 Thanks @timleslie! - RemovedMongoRelationshipInterface.getRefListAdapter()
andKnexRelationshipInterface.getRefListAdapter()
.@keystonejs/[email protected]
Patch Changes
5332988e3
#3278 Thanks @timleslie! - Replaced use of "p-finally" library with native Node code.2e10b1083
#3309 Thanks @timleslie! - Simplified tests using the updatedtest-utils
API.Updated dependencies [
af5171563
,271f1a40b
,22b4a5c1a
,afe661e60
,04f9be03d
,ef7074977
,e07c42d4e
,5a3849806
]:@keystonejs/[email protected]
Major Changes
2e10b1083
#3309 Thanks @timleslie! - Changed the defaultschemaName
insetupServer()
from"testing"
to"public"
.Patch Changes
acaf19cd9
#3301 Thanks @MadeByMike! - No functional changes. Update all internal usages ofkeystone.createItems
to the newcreateItems
function.afe661e60
#3274 Thanks @jordanoverbye! - Added the ability for static cache hints to be added to custom queries generated usingkeystone.extendGraphQLSchema()
04f9be03d
#3319 Thanks @timleslie! - Fixed invalid GraphQL schema when usingaccess: { update: false, auth: true }
on a list configured with anAuthStrategy
.50d33ddf9
#3281 Thanks @timleslie! - Updated tests to not depend on resolver order.cefbca4f8
#3310 Thanks @timleslie! - UseauthedGraphqlRequest
rather thannetworkedGraphqlRequest
where appropriate.70fbbac0b
#3312 Thanks @timleslie! - Usekeystone.executeGraphQL
in place ofauthedGraphqlRequest
, as they are equivalent.086b6baec
#3299 Thanks @timleslie! - Added more robust checks for support of theisUnique
flag config. Added tests for this flag.eb70800f7
#3311 Thanks @timleslie! - Useserver-side-graphql-client
functions rather thanfindById
andfindOne
.Updated dependencies [
af5171563
,086b6baec
,271f1a40b
,acaf19cd9
,22b4a5c1a
,7da9d67d7
,afe661e60
,04f9be03d
,ef7074977
,e07c42d4e
,5a3849806
,086b6baec
,24af20b38
,5332988e3
,c3883e01c
,fd2b8d1cf
,2e10b1083
]:@keystonejs/[email protected]
Patch Changes
af5171563
,086b6baec
,271f1a40b
,22b4a5c1a
,7da9d67d7
,afe661e60
,04f9be03d
,ef7074977
,e07c42d4e
,5a3849806
,086b6baec
,5332988e3
,c3883e01c
,fd2b8d1cf
,2e10b1083
]:@keystonejs/[email protected]
Patch Changes
acaf19cd9
#3301 Thanks @MadeByMike! - No functional changes. Update all internal usages ofkeystone.createItems
to the newcreateItems
function.16730291d
#3315 Thanks @gautamsi! - Updated Next.js to 9.5.1 which make revalidate prop a stable api.Updated dependencies [
af5171563
,086b6baec
,271f1a40b
,acaf19cd9
,22b4a5c1a
,7da9d67d7
,afe661e60
,16730291d
,04f9be03d
,ef7074977
,b53b6fe5a
,e07c42d4e
,5a3849806
,086b6baec
,24af20b38
,c3883e01c
,fd2b8d1cf
,2e10b1083
]:@keystonejs/[email protected]
Patch Changes
af5171563
,086b6baec
,271f1a40b
,22b4a5c1a
,7da9d67d7
,afe661e60
,04f9be03d
,ef7074977
,b53b6fe5a
,e07c42d4e
,5a3849806
,086b6baec
,c3883e01c
,fd2b8d1cf
]:@keystonejs/[email protected]
Patch Changes
acaf19cd9
#3301 Thanks @MadeByMike! - No functional changes. Update all internal usages ofkeystone.createItems
to the newcreateItems
function.16730291d
#3315 Thanks @gautamsi! - Updated Next.js to 9.5.1 which make revalidate prop a stable api.Updated dependencies [
af5171563
,086b6baec
,271f1a40b
,acaf19cd9
,22b4a5c1a
,7da9d67d7
,afe661e60
,16730291d
,04f9be03d
,ef7074977
,b53b6fe5a
,e07c42d4e
,5a3849806
,086b6baec
,24af20b38
,c3883e01c
,fd2b8d1cf
,2e10b1083
]:@keystonejs/[email protected]
Patch Changes
af5171563
,086b6baec
,271f1a40b
,22b4a5c1a
,7da9d67d7
,afe661e60
,04f9be03d
,ef7074977
,b53b6fe5a
,e07c42d4e
,5a3849806
,086b6baec
,c3883e01c
,fd2b8d1cf
]:@keystonejs/[email protected]
Patch Changes
af5171563
,271f1a40b
,22b4a5c1a
,afe661e60
,04f9be03d
,ef7074977
,b53b6fe5a
,e07c42d4e
,5a3849806
]:@keystonejs/[email protected]
Patch Changes
af5171563
,086b6baec
,271f1a40b
,22b4a5c1a
,7da9d67d7
,afe661e60
,04f9be03d
,ef7074977
,b53b6fe5a
,e07c42d4e
,5a3849806
,086b6baec
,c3883e01c
,fd2b8d1cf
]:@keystonejs/[email protected]
Patch Changes
af5171563
,086b6baec
,271f1a40b
,22b4a5c1a
,7da9d67d7
,afe661e60
,04f9be03d
,ef7074977
,b53b6fe5a
,e07c42d4e
,5a3849806
,086b6baec
,c3883e01c
,fd2b8d1cf
]:@keystonejs/[email protected]
Patch Changes
af5171563
,086b6baec
,271f1a40b
,22b4a5c1a
,7da9d67d7
,afe661e60
,04f9be03d
,ef7074977
,b53b6fe5a
,e07c42d4e
,5a3849806
,086b6baec
,c3883e01c
,fd2b8d1cf
]:@keystonejs/[email protected]
Patch Changes
acaf19cd9
#3301 Thanks @MadeByMike! - No functional changes. Update all internal usages ofkeystone.createItems
to the newcreateItems
function.Updated dependencies [
af5171563
,086b6baec
,271f1a40b
,acaf19cd9
,22b4a5c1a
,7da9d67d7
,afe661e60
,04f9be03d
,ef7074977
,b53b6fe5a
,e07c42d4e
,5a3849806
,086b6baec
,24af20b38
,c3883e01c
,fd2b8d1cf
,2e10b1083
]:@keystonejs/[email protected]
Patch Changes
acaf19cd9
#3301 Thanks @MadeByMike! - No functional changes. Update all internal usages ofkeystone.createItems
to the newcreateItems
function.Updated dependencies [
af5171563
,086b6baec
,271f1a40b
,acaf19cd9
,22b4a5c1a
,7da9d67d7
,afe661e60
,04f9be03d
,ef7074977
,b53b6fe5a
,e07c42d4e
,5a3849806
,086b6baec
,24af20b38
,c3883e01c
,fd2b8d1cf
,2e10b1083
]:@keystonejs/[email protected]
Patch Changes
acaf19cd9
#3301 Thanks @MadeByMike! - No functional changes. Update all internal usages ofkeystone.createItems
to the newcreateItems
function.Updated dependencies [
af5171563
,086b6baec
,271f1a40b
,acaf19cd9
,22b4a5c1a
,7da9d67d7
,afe661e60
,04f9be03d
,ef7074977
,b53b6fe5a
,e07c42d4e
,5a3849806
,086b6baec
,24af20b38
,c3883e01c
,fd2b8d1cf
,2e10b1083
]:@keystonejs/[email protected]
Patch Changes
acaf19cd9
#3301 Thanks @MadeByMike! - No functional changes. Update all internal usages ofkeystone.createItems
to the newcreateItems
function.Updated dependencies [
af5171563
,086b6baec
,271f1a40b
,acaf19cd9
,22b4a5c1a
,7da9d67d7
,afe661e60
,04f9be03d
,ef7074977
,b53b6fe5a
,e07c42d4e
,5a3849806
,086b6baec
,24af20b38
,c3883e01c
,fd2b8d1cf
,2e10b1083
]:@keystonejs/[email protected]
Patch Changes
acaf19cd9
#3301 Thanks @MadeByMike! - No functional changes. Update all internal usages ofkeystone.createItems
to the newcreateItems
function.Updated dependencies [
af5171563
,086b6baec
,271f1a40b
,acaf19cd9
,22b4a5c1a
,7da9d67d7
,afe661e60
,04f9be03d
,ef7074977
,b53b6fe5a
,e07c42d4e
,5a3849806
,086b6baec
,24af20b38
,c3883e01c
,fd2b8d1cf
,2e10b1083
]: