Skip to content

Commit

Permalink
Merge pull request #6065 from neo4j/changeset-release/dev
Browse files Browse the repository at this point in the history
changesets for branch `dev`
  • Loading branch information
angrykoala authored Mar 10, 2025
2 parents ef081da + ade8f8d commit 5ab5a54
Show file tree
Hide file tree
Showing 8 changed files with 80 additions and 86 deletions.
32 changes: 0 additions & 32 deletions .changeset/hot-bikes-complain.md

This file was deleted.

20 changes: 0 additions & 20 deletions .changeset/hot-windows-whisper.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/sixty-steaks-reflect.md

This file was deleted.

25 changes: 0 additions & 25 deletions .changeset/thin-goats-begin.md

This file was deleted.

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": "^6.4.0",
"@neo4j/graphql": "^6.5.0",
"graphql": "16.10.0",
"graphql-tag": "^2.12.6",
"neo4j-driver": "^5.8.0"
Expand Down
76 changes: 76 additions & 0 deletions packages/graphql/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,81 @@
# @neo4j/graphql

## 6.5.0

### Minor Changes

- [#6003](https://github.com/neo4j/graphql/pull/6003) [`2952820`](https://github.com/neo4j/graphql/commit/2952820ff891c3c3405158247d191b7dedba3e9e) Thanks [@angrykoala](https://github.com/angrykoala)! - Add count fields in aggregations with support for nodes and edges count:

```graphql
query {
moviesConnection {
aggregate {
count {
nodes
}
}
}
}
```

```graphql
query {
movies {
actorsConnection {
aggregate {
count {
nodes
edges
}
}
}
}
}
```

- [#5944](https://github.com/neo4j/graphql/pull/5944) [`a6e9486`](https://github.com/neo4j/graphql/commit/a6e94867da3c7989fb4162bbb738506485859be6) Thanks [@angrykoala](https://github.com/angrykoala)! - Add aggregate field in connection:

```graphql
query {
moviesConnection {
aggregate {
node {
count
int {
longest
}
}
}
}
}
```

### Patch Changes

- [#5999](https://github.com/neo4j/graphql/pull/5999) [`47f915e`](https://github.com/neo4j/graphql/commit/47f915e6e2a93c3eba23232adad6fa165b13b8fa) Thanks [@angrykoala](https://github.com/angrykoala)! - Deprecate aggregation fields (e.g `actedInAggregate`) in favor of the field `aggregate` inside the connection (e.g `actedInConnection -> aggregate`)

- [#5944](https://github.com/neo4j/graphql/pull/5944) [`a6e9486`](https://github.com/neo4j/graphql/commit/a6e94867da3c7989fb4162bbb738506485859be6) Thanks [@angrykoala](https://github.com/angrykoala)! - Deprecate old aggregate operations:

```graphql
query {
moviesAggregate {
count
rating {
min
}
}
}
```

These fields can be completely removed from the schema with the new flag `deprecatedAggregateOperations`:

```js
const neoSchema = new Neo4jGraphQL({
typeDefs,
features: { excludeDeprecatedFields: { deprecatedAggregateOperations: true } },
});
```

## 6.4.0

### Minor 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": "6.4.0",
"version": "6.5.0",
"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 @@ -2123,7 +2123,7 @@ __metadata:
languageName: node
linkType: soft

"@neo4j/graphql@npm:^6.2.2, @neo4j/graphql@npm:^6.4.0, @neo4j/graphql@workspace:packages/graphql":
"@neo4j/graphql@npm:^6.2.2, @neo4j/graphql@npm:^6.5.0, @neo4j/graphql@workspace:packages/graphql":
version: 0.0.0-use.local
resolution: "@neo4j/graphql@workspace:packages/graphql"
dependencies:
Expand Down Expand Up @@ -3911,7 +3911,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.4.0"
"@neo4j/graphql": "npm:^6.5.0"
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 5ab5a54

Please sign in to comment.