From f104f110aef3eaa43f2f85c1937948acbff19883 Mon Sep 17 00:00:00 2001 From: Neo4j Team GraphQL Date: Wed, 12 Feb 2025 21:59:06 +0000 Subject: [PATCH] Version Packages --- .changeset/soft-socks-count.md | 22 ------------------ .../package.json | 2 +- packages/graphql/CHANGELOG.md | 23 +++++++++++++++++++ packages/graphql/package.json | 2 +- yarn.lock | 4 ++-- 5 files changed, 27 insertions(+), 26 deletions(-) delete mode 100644 .changeset/soft-socks-count.md diff --git a/.changeset/soft-socks-count.md b/.changeset/soft-socks-count.md deleted file mode 100644 index f1d8652af1..0000000000 --- a/.changeset/soft-socks-count.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -"@neo4j/graphql": patch ---- - -Add `addVersionPrefix` to `cypherQueryOptions` in context to add a Cypher version with `CYPHER` before each query: - -```js -{ - cypherQueryOptions: { - addVersionPrefix: true, - }, -} -``` - -This prepends all Cypher queries with a `CYPHER [version]` statement: - -```cypher -CYPHER 5 -MATCH (this:Movie) -WHERE this.title = $param0 -RETURN this { .title } AS this -``` diff --git a/packages/apollo-federation-subgraph-compatibility/package.json b/packages/apollo-federation-subgraph-compatibility/package.json index 760eda9882..ce33720fb6 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": "^6.3.0", + "@neo4j/graphql": "^6.3.1", "graphql": "16.10.0", "graphql-tag": "^2.12.6", "neo4j-driver": "^5.8.0" diff --git a/packages/graphql/CHANGELOG.md b/packages/graphql/CHANGELOG.md index 380cbf7861..9daefb6d26 100644 --- a/packages/graphql/CHANGELOG.md +++ b/packages/graphql/CHANGELOG.md @@ -1,5 +1,28 @@ # @neo4j/graphql +## 6.3.1 + +### Patch Changes + +- [#5952](https://github.com/neo4j/graphql/pull/5952) [`4e14680`](https://github.com/neo4j/graphql/commit/4e1468076bbd23cdd9156b039de1d03bbc68942c) Thanks [@angrykoala](https://github.com/angrykoala)! - Add `addVersionPrefix` to `cypherQueryOptions` in context to add a Cypher version with `CYPHER` before each query: + + ```js + { + cypherQueryOptions: { + addVersionPrefix: true, + }, + } + ``` + + This prepends all Cypher queries with a `CYPHER [version]` statement: + + ```cypher + CYPHER 5 + MATCH (this:Movie) + WHERE this.title = $param0 + RETURN this { .title } AS this + ``` + ## 6.3.0 ### Minor Changes diff --git a/packages/graphql/package.json b/packages/graphql/package.json index 911ae4b501..b0a63520fe 100644 --- a/packages/graphql/package.json +++ b/packages/graphql/package.json @@ -1,6 +1,6 @@ { "name": "@neo4j/graphql", - "version": "6.3.0", + "version": "6.3.1", "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 aab42881b4..3b778fdfa1 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2109,7 +2109,7 @@ __metadata: languageName: node linkType: soft -"@neo4j/graphql@npm:^6.2.2, @neo4j/graphql@npm:^6.3.0, @neo4j/graphql@workspace:packages/graphql": +"@neo4j/graphql@npm:^6.2.2, @neo4j/graphql@npm:^6.3.1, @neo4j/graphql@workspace:packages/graphql": version: 0.0.0-use.local resolution: "@neo4j/graphql@workspace:packages/graphql" dependencies: @@ -3860,7 +3860,7 @@ __metadata: "@apollo/federation-subgraph-compatibility": "npm:2.2.0" "@apollo/server": "npm:^4.7.0" "@graphql-tools/wrap": "npm:^10.0.0" - "@neo4j/graphql": "npm:^6.3.0" + "@neo4j/graphql": "npm:^6.3.1" fork-ts-checker-webpack-plugin: "npm:9.0.2" graphql: "npm:16.10.0" graphql-tag: "npm:^2.12.6"