Skip to content

Commit 756ef0f

Browse files
authored
Merge pull request #5980 from neo4j/changeset-release/7.x
changesets for branch `7.x` (alpha)
2 parents c7b02be + 362f87e commit 756ef0f

File tree

5 files changed

+48
-4
lines changed

5 files changed

+48
-4
lines changed

.changeset/pre.json

+3
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
},
1111
"changesets": [
1212
"beige-poets-move",
13+
"calm-balloons-argue",
1314
"chatty-plants-dress",
1415
"clean-hairs-pretend",
1516
"clever-tomatoes-float",
@@ -21,6 +22,7 @@
2122
"green-jobs-jam",
2223
"healthy-swans-shave",
2324
"khaki-roses-raise",
25+
"kind-clocks-tickle",
2426
"little-lemons-fail",
2527
"loud-phones-march",
2628
"nine-games-clap",
@@ -37,6 +39,7 @@
3739
"tame-melons-confess",
3840
"ten-starfishes-attend",
3941
"thick-dogs-provide",
42+
"two-boxes-cheer",
4043
"unlucky-spoons-trade"
4144
]
4245
}

packages/apollo-federation-subgraph-compatibility/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"dependencies": {
1111
"@apollo/server": "^4.7.0",
1212
"@graphql-tools/wrap": "^10.0.0",
13-
"@neo4j/graphql": "^7.0.0-alpha.2",
13+
"@neo4j/graphql": "^7.0.0-alpha.3",
1414
"graphql": "16.10.0",
1515
"graphql-tag": "^2.12.6",
1616
"neo4j-driver": "^5.8.0"

packages/graphql/CHANGELOG.md

+41
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,46 @@
11
# @neo4j/graphql
22

3+
## 7.0.0-alpha.3
4+
5+
### Major Changes
6+
7+
- [#5997](https://github.com/neo4j/graphql/pull/5997) [`a716ef8`](https://github.com/neo4j/graphql/commit/a716ef8ec858aa8c6b51c285b3e2d899254c83fe) Thanks [@angrykoala](https://github.com/angrykoala)! - Remove `publish` method from `Neo4jGraphQLSubscriptionsEngine` interface as it is no longer used with CDC-based subscriptions. Implementing this method on custom engines will no longer have an effect, and it is no longer possible to call `publish` directly on `Neo4jGraphQLSubscriptionsCDCEngine`
8+
9+
- [#5976](https://github.com/neo4j/graphql/pull/5976) [`7ddde75`](https://github.com/neo4j/graphql/commit/7ddde75d9828c737e3849c49b6b91f4b2b9b8044) Thanks [@angrykoala](https://github.com/angrykoala)! - Sets addVersionPrefix to true by default, this will prepend the Cypher version to all queries by default, ensuring that the correct Cypher version is used in Neo4j:
10+
11+
```cypher
12+
CYPHER 5
13+
MATCH(this:Movie)
14+
```
15+
16+
This may be incompatible with older versions of Neo4j and can be disabled by setting `cypherQueryOption.addVersionPrefix` in the context to false:
17+
18+
```js
19+
{
20+
cypherQueryOptions: {
21+
addVersionPrefix: true,
22+
},
23+
}
24+
```
25+
26+
For example, for an apollo server:
27+
28+
```js
29+
await startStandaloneServer(server, {
30+
context: async ({ req }) => ({
31+
req,
32+
cypherQueryOptions: {
33+
addVersionPrefix: false,
34+
},
35+
}),
36+
listen: { port: 4000 },
37+
});
38+
```
39+
40+
### Patch Changes
41+
42+
- [#6007](https://github.com/neo4j/graphql/pull/6007) [`48aec51`](https://github.com/neo4j/graphql/commit/48aec512b4707d9b9aa74f05d382eb6980e08971) Thanks [@darrellwarde](https://github.com/darrellwarde)! - Allow `app` to be overwritten in transaction metadata
43+
344
## 7.0.0-alpha.2
445
546
### Major Changes

packages/graphql/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@neo4j/graphql",
3-
"version": "7.0.0-alpha.2",
3+
"version": "7.0.0-alpha.3",
44
"description": "A GraphQL to Cypher query execution layer for Neo4j and JavaScript GraphQL implementations",
55
"keywords": [
66
"neo4j",

yarn.lock

+2-2
Original file line numberDiff line numberDiff line change
@@ -2136,7 +2136,7 @@ __metadata:
21362136
languageName: node
21372137
linkType: soft
21382138

2139-
"@neo4j/graphql@npm:^7.0.0-alpha.0, @neo4j/graphql@npm:^7.0.0-alpha.2, @neo4j/graphql@workspace:packages/graphql":
2139+
"@neo4j/graphql@npm:^7.0.0-alpha.0, @neo4j/graphql@npm:^7.0.0-alpha.3, @neo4j/graphql@workspace:packages/graphql":
21402140
version: 0.0.0-use.local
21412141
resolution: "@neo4j/graphql@workspace:packages/graphql"
21422142
dependencies:
@@ -3888,7 +3888,7 @@ __metadata:
38883888
"@apollo/federation-subgraph-compatibility": "npm:2.2.0"
38893889
"@apollo/server": "npm:^4.7.0"
38903890
"@graphql-tools/wrap": "npm:^10.0.0"
3891-
"@neo4j/graphql": "npm:^7.0.0-alpha.2"
3891+
"@neo4j/graphql": "npm:^7.0.0-alpha.3"
38923892
fork-ts-checker-webpack-plugin: "npm:9.0.2"
38933893
graphql: "npm:16.10.0"
38943894
graphql-tag: "npm:^2.12.6"

0 commit comments

Comments
 (0)