From d43eadb54320bef18503cb481c38494fc0f6e27a Mon Sep 17 00:00:00 2001 From: Neo4j Team GraphQL Date: Tue, 12 Aug 2025 12:02:06 +0000 Subject: [PATCH] Version Packages --- .changeset/chatty-cobras-guess.md | 19 ------------ .changeset/red-years-shine.md | 13 -------- .../package.json | 2 +- packages/graphql/CHANGELOG.md | 30 +++++++++++++++++++ packages/graphql/package.json | 2 +- yarn.lock | 4 +-- 6 files changed, 34 insertions(+), 36 deletions(-) delete mode 100644 .changeset/chatty-cobras-guess.md delete mode 100644 .changeset/red-years-shine.md diff --git a/.changeset/chatty-cobras-guess.md b/.changeset/chatty-cobras-guess.md deleted file mode 100644 index 8c0cf77922..0000000000 --- a/.changeset/chatty-cobras-guess.md +++ /dev/null @@ -1,19 +0,0 @@ ---- -"@neo4j/graphql": patch ---- - -Optimize connection queries without `totalCount` or `pageInfo` such as: - -```graphql -query { - moviesConnection(first: 20, sort: [{ title: ASC }]) { - edges { - node { - title - } - } - } -} -``` - -Will no longer calculate `totalCount` in the generated Cypher diff --git a/.changeset/red-years-shine.md b/.changeset/red-years-shine.md deleted file mode 100644 index 0c43bebc2b..0000000000 --- a/.changeset/red-years-shine.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -"@neo4j/graphql": patch ---- - -Improved performance for Connection queries for cases when only `totalCount` is requested. - -```graphql -query { - moviesConnection(where: { title: { eq: "Forrest Gump" } }) { - totalCount - } -} -``` diff --git a/packages/apollo-federation-subgraph-compatibility/package.json b/packages/apollo-federation-subgraph-compatibility/package.json index 15f02a05aa..6b7d1e34dc 100644 --- a/packages/apollo-federation-subgraph-compatibility/package.json +++ b/packages/apollo-federation-subgraph-compatibility/package.json @@ -10,7 +10,7 @@ "dependencies": { "@apollo/server": "^4.7.0", "@graphql-tools/wrap": "^10.0.0", - "@neo4j/graphql": "^7.2.6", + "@neo4j/graphql": "^7.2.7", "graphql": "16.11.0", "graphql-tag": "^2.12.6", "neo4j-driver": "^5.8.0" diff --git a/packages/graphql/CHANGELOG.md b/packages/graphql/CHANGELOG.md index 5027f5d22d..a4f178c47d 100644 --- a/packages/graphql/CHANGELOG.md +++ b/packages/graphql/CHANGELOG.md @@ -1,5 +1,35 @@ # @neo4j/graphql +## 7.2.7 + +### Patch Changes + +- [#6555](https://github.com/neo4j/graphql/pull/6555) [`95fe716`](https://github.com/neo4j/graphql/commit/95fe716c982a936aec379f1b2a937e84a74c2219) Thanks [@angrykoala](https://github.com/angrykoala)! - Optimize connection queries without `totalCount` or `pageInfo` such as: + + ```graphql + query { + moviesConnection(first: 20, sort: [{ title: ASC }]) { + edges { + node { + title + } + } + } + } + ``` + + Will no longer calculate `totalCount` in the generated Cypher + +- [#6554](https://github.com/neo4j/graphql/pull/6554) [`d3b7b59`](https://github.com/neo4j/graphql/commit/d3b7b599a31ffa0ceeacb86ab34a6a2a1967d256) Thanks [@angrykoala](https://github.com/angrykoala)! - Improved performance for Connection queries for cases when only `totalCount` is requested. + + ```graphql + query { + moviesConnection(where: { title: { eq: "Forrest Gump" } }) { + totalCount + } + } + ``` + ## 7.2.6 ### Patch Changes diff --git a/packages/graphql/package.json b/packages/graphql/package.json index f2636266bb..180cea0042 100644 --- a/packages/graphql/package.json +++ b/packages/graphql/package.json @@ -1,6 +1,6 @@ { "name": "@neo4j/graphql", - "version": "7.2.6", + "version": "7.2.7", "description": "A GraphQL to Cypher query execution layer for Neo4j and JavaScript GraphQL implementations", "keywords": [ "neo4j", diff --git a/yarn.lock b/yarn.lock index 7bce729410..aa90ba46e9 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2626,7 +2626,7 @@ __metadata: languageName: node linkType: soft -"@neo4j/graphql@npm:^7.0.0, @neo4j/graphql@npm:^7.2.6, @neo4j/graphql@workspace:packages/graphql": +"@neo4j/graphql@npm:^7.0.0, @neo4j/graphql@npm:^7.2.7, @neo4j/graphql@workspace:packages/graphql": version: 0.0.0-use.local resolution: "@neo4j/graphql@workspace:packages/graphql" dependencies: @@ -4597,7 +4597,7 @@ __metadata: "@apollo/federation-subgraph-compatibility": "npm:2.2.1" "@apollo/server": "npm:^4.7.0" "@graphql-tools/wrap": "npm:^10.0.0" - "@neo4j/graphql": "npm:^7.2.6" + "@neo4j/graphql": "npm:^7.2.7" fork-ts-checker-webpack-plugin: "npm:9.1.0" graphql: "npm:16.11.0" graphql-tag: "npm:^2.12.6"