Skip to content

Commit 9d2ded9

Browse files
Version Packages
1 parent 1cbfad2 commit 9d2ded9

File tree

7 files changed

+30
-34
lines changed

7 files changed

+30
-34
lines changed

.changeset/all-deer-talk.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/chilly-grapes-rest.md

Lines changed: 0 additions & 20 deletions
This file was deleted.

.changeset/seven-points-mate.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"dependencies": {
1111
"@apollo/server": "^5.0.0",
1212
"@graphql-tools/wrap": "^11.0.0",
13-
"@neo4j/graphql": "^7.4.4",
13+
"@neo4j/graphql": "^7.5.0",
1414
"graphql": "16.13.1",
1515
"graphql-tag": "^2.12.6",
1616
"neo4j-driver": "^5.8.0"

packages/graphql/CHANGELOG.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,31 @@
11
# @neo4j/graphql
22

3+
## 7.5.0
4+
5+
### Minor Changes
6+
7+
- [#7025](https://github.com/neo4j/graphql/pull/7025) [`879b5c4`](https://github.com/neo4j/graphql/commit/879b5c4d3595c9cd4fc6a33c3172d1165efe5cbe) Thanks [@angrykoala](https://github.com/angrykoala)! - Add support for single element relationships. For example:
8+
9+
```graphql
10+
type Movie @node {
11+
title: String!
12+
actor: [Actor!]! @relationship(type: "ACTED_IN", direction: IN, properties: "ActedIn")
13+
director: Director! @relationship(type: "DIRECTED", direction: IN, properties: "Directed")
14+
}
15+
```
16+
17+
It makes possible to model and query the data of single element relationships, with the following constraints:
18+
- If multiple relationships exists, the first one will be returned. The relationship that will be returned will not be guaranteed
19+
- Connections will maintain the many-to-many API, even if it is a single relationship. This is to maintain the relay spec
20+
- Delete mutations will be available for nullable fields
21+
- Create mutations will be available for both, nullable and non-nullable
22+
23+
### Patch Changes
24+
25+
- [#7108](https://github.com/neo4j/graphql/pull/7108) [`abfc26b`](https://github.com/neo4j/graphql/commit/abfc26b2d42d8b04c3de0c138555b2cbcc847f9a) Thanks [@a-alle](https://github.com/a-alle)! - Change algorithm for query complexity calculation
26+
27+
- [#7182](https://github.com/neo4j/graphql/pull/7182) [`fd76f30`](https://github.com/neo4j/graphql/commit/fd76f30522205573363c646dd4f4c18bebd96ef1) Thanks [@angrykoala](https://github.com/angrykoala)! - Update cypher-builder dependency to avoid using module system instead of cjs
28+
329
## 7.4.4
430

531
### Patch Changes

packages/graphql/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@neo4j/graphql",
3-
"version": "7.4.4",
3+
"version": "7.5.0",
44
"description": "A GraphQL to Cypher query execution layer for Neo4j and JavaScript GraphQL implementations",
55
"keywords": [
66
"neo4j",

yarn.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2809,7 +2809,7 @@ __metadata:
28092809
languageName: node
28102810
linkType: soft
28112811

2812-
"@neo4j/graphql@npm:^7.0.0, @neo4j/graphql@npm:^7.4.4, @neo4j/graphql@workspace:packages/graphql":
2812+
"@neo4j/graphql@npm:^7.0.0, @neo4j/graphql@npm:^7.5.0, @neo4j/graphql@workspace:packages/graphql":
28132813
version: 0.0.0-use.local
28142814
resolution: "@neo4j/graphql@workspace:packages/graphql"
28152815
dependencies:
@@ -4934,7 +4934,7 @@ __metadata:
49344934
"@apollo/federation-subgraph-compatibility": "npm:2.2.2"
49354935
"@apollo/server": "npm:^5.0.0"
49364936
"@graphql-tools/wrap": "npm:^11.0.0"
4937-
"@neo4j/graphql": "npm:^7.4.4"
4937+
"@neo4j/graphql": "npm:^7.5.0"
49384938
fork-ts-checker-webpack-plugin: "npm:9.1.0"
49394939
graphql: "npm:16.13.1"
49404940
graphql-tag: "npm:^2.12.6"

0 commit comments

Comments
 (0)