Skip to content

Commit

Permalink
Merge pull request #5980 from neo4j/changeset-release/7.x
Browse files Browse the repository at this point in the history
changesets for branch `7.x` (alpha)
  • Loading branch information
darrellwarde authored Feb 19, 2025
2 parents c7b02be + 362f87e commit 756ef0f
Show file tree
Hide file tree
Showing 5 changed files with 48 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .changeset/pre.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
},
"changesets": [
"beige-poets-move",
"calm-balloons-argue",
"chatty-plants-dress",
"clean-hairs-pretend",
"clever-tomatoes-float",
Expand All @@ -21,6 +22,7 @@
"green-jobs-jam",
"healthy-swans-shave",
"khaki-roses-raise",
"kind-clocks-tickle",
"little-lemons-fail",
"loud-phones-march",
"nine-games-clap",
Expand All @@ -37,6 +39,7 @@
"tame-melons-confess",
"ten-starfishes-attend",
"thick-dogs-provide",
"two-boxes-cheer",
"unlucky-spoons-trade"
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"dependencies": {
"@apollo/server": "^4.7.0",
"@graphql-tools/wrap": "^10.0.0",
"@neo4j/graphql": "^7.0.0-alpha.2",
"@neo4j/graphql": "^7.0.0-alpha.3",
"graphql": "16.10.0",
"graphql-tag": "^2.12.6",
"neo4j-driver": "^5.8.0"
Expand Down
41 changes: 41 additions & 0 deletions packages/graphql/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,46 @@
# @neo4j/graphql

## 7.0.0-alpha.3

### Major Changes

- [#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`

- [#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:

```cypher
CYPHER 5
MATCH(this:Movie)
```
This may be incompatible with older versions of Neo4j and can be disabled by setting `cypherQueryOption.addVersionPrefix` in the context to false:
```js
{
cypherQueryOptions: {
addVersionPrefix: true,
},
}
```
For example, for an apollo server:
```js
await startStandaloneServer(server, {
context: async ({ req }) => ({
req,
cypherQueryOptions: {
addVersionPrefix: false,
},
}),
listen: { port: 4000 },
});
```
### Patch Changes
- [#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
## 7.0.0-alpha.2
### Major Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/graphql/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@neo4j/graphql",
"version": "7.0.0-alpha.2",
"version": "7.0.0-alpha.3",
"description": "A GraphQL to Cypher query execution layer for Neo4j and JavaScript GraphQL implementations",
"keywords": [
"neo4j",
Expand Down
4 changes: 2 additions & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2136,7 +2136,7 @@ __metadata:
languageName: node
linkType: soft

"@neo4j/graphql@npm:^7.0.0-alpha.0, @neo4j/graphql@npm:^7.0.0-alpha.2, @neo4j/graphql@workspace:packages/graphql":
"@neo4j/graphql@npm:^7.0.0-alpha.0, @neo4j/graphql@npm:^7.0.0-alpha.3, @neo4j/graphql@workspace:packages/graphql":
version: 0.0.0-use.local
resolution: "@neo4j/graphql@workspace:packages/graphql"
dependencies:
Expand Down Expand Up @@ -3888,7 +3888,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:^7.0.0-alpha.2"
"@neo4j/graphql": "npm:^7.0.0-alpha.3"
fork-ts-checker-webpack-plugin: "npm:9.0.2"
graphql: "npm:16.10.0"
graphql-tag: "npm:^2.12.6"
Expand Down

0 comments on commit 756ef0f

Please sign in to comment.