Skip to content

Commit

Permalink
Version Packages (alpha)
Browse files Browse the repository at this point in the history
  • Loading branch information
neo4j-team-graphql committed Jan 22, 2025
1 parent 398cc1c commit e4e0ecf
Show file tree
Hide file tree
Showing 5 changed files with 48 additions and 4 deletions.
6 changes: 6 additions & 0 deletions .changeset/pre.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,18 @@
"@neo4j/package-tests": "1.0.0"
},
"changesets": [
"beige-beds-push",
"beige-poets-move",
"chatty-plants-dress",
"clean-hairs-pretend",
"clever-tomatoes-float",
"cyan-grapes-laugh",
"fair-elephants-yell",
"few-sloths-battle",
"fluffy-schools-promise",
"four-insects-repeat",
"friendly-pigs-wait",
"good-sheep-refuse",
"green-jobs-jam",
"healthy-swans-shave",
"khaki-roses-raise",
Expand All @@ -34,6 +39,7 @@
"strong-jobs-eat",
"tame-melons-confess",
"ten-starfishes-attend",
"thick-dogs-provide",
"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.1",
"@neo4j/graphql": "^7.0.0-alpha.2",
"graphql": "16.9.0",
"graphql-tag": "^2.12.6",
"neo4j-driver": "^5.8.0"
Expand Down
38 changes: 38 additions & 0 deletions packages/graphql/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,43 @@
# @neo4j/graphql

## 7.0.0-alpha.2

### Major Changes

- [#5936](https://github.com/neo4j/graphql/pull/5936) [`d48ea32`](https://github.com/neo4j/graphql/commit/d48ea327db022774c73a8adfada1a8d498590c2d) Thanks [@mjfwebb](https://github.com/mjfwebb)! - Changes the result projection where there are multiple relationships between two nodes.

In the case of using the connection API then multiple relationships will still be represented, as there is the ability to select the relationship properties. In the non-connection API case, the duplicate results will only return distinct results.

- [#5931](https://github.com/neo4j/graphql/pull/5931) [`5ce7d1d`](https://github.com/neo4j/graphql/commit/5ce7d1dff5287aa9d24beaf3992f1f66c7b62d94) Thanks [@darrellwarde](https://github.com/darrellwarde)! - `DateTime` and `Time` values are now converted from strings into temporal types in the generated Cypher instead of in server code using the driver. This could result in different values when the database is in a different timezone to the GraphQL server.

- [#5933](https://github.com/neo4j/graphql/pull/5933) [`8bdcf6b`](https://github.com/neo4j/graphql/commit/8bdcf6b36fba1442f75fe8401cf170ed17339cdb) Thanks [@mjfwebb](https://github.com/mjfwebb)! - When performing a `connect` operation, new relationships are always created.

### Minor Changes

- [#5934](https://github.com/neo4j/graphql/pull/5934) [`c666adc`](https://github.com/neo4j/graphql/commit/c666adcf06e26a93687ee1732e386b84752dc5c7) Thanks [@MacondoExpress](https://github.com/MacondoExpress)! - Introduced the `typename` filter that superseded the `typename_IN` filter.
As part of the change, the flag `typename_IN` has been added to the `excludeDeprecatedFields` setting.

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

### Patch Changes

- [#5937](https://github.com/neo4j/graphql/pull/5937) [`7f1bc65`](https://github.com/neo4j/graphql/commit/7f1bc6577d7512086658e06481b4f9989381956d) Thanks [@MacondoExpress](https://github.com/MacondoExpress)! - Aggregations on ID fields are now deprecated.
As part of the change, the flag `idAggregations` has been added to the `excludeDeprecatedFields` setting.

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

- [#5943](https://github.com/neo4j/graphql/pull/5943) [`6153d68`](https://github.com/neo4j/graphql/commit/6153d686471741b9a35710ced8872ca664263dae) Thanks [@darrellwarde](https://github.com/darrellwarde)! - Fix Cypher when filtering by aggregations over different relationship properties types

## 7.0.0-alpha.1

### 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.1",
"version": "7.0.0-alpha.2",
"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 @@ -2072,7 +2072,7 @@ __metadata:
languageName: node
linkType: soft

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

0 comments on commit e4e0ecf

Please sign in to comment.