diff --git a/.changeset/pre.json b/.changeset/pre.json index 8c29540ec5..3414e9013e 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -9,13 +9,17 @@ "@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", + "good-sheep-refuse", "green-jobs-jam", "healthy-swans-shave", "khaki-roses-raise", @@ -34,6 +38,7 @@ "strong-jobs-eat", "tame-melons-confess", "ten-starfishes-attend", + "thick-dogs-provide", "unlucky-spoons-trade" ] } diff --git a/packages/apollo-federation-subgraph-compatibility/package.json b/packages/apollo-federation-subgraph-compatibility/package.json index 5624fe42f5..597384b544 100644 --- a/packages/apollo-federation-subgraph-compatibility/package.json +++ b/packages/apollo-federation-subgraph-compatibility/package.json @@ -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" diff --git a/packages/graphql/CHANGELOG.md b/packages/graphql/CHANGELOG.md index ba8100b8c8..5e2c407407 100644 --- a/packages/graphql/CHANGELOG.md +++ b/packages/graphql/CHANGELOG.md @@ -1,5 +1,41 @@ # @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 } }, + }); + ``` + ## 7.0.0-alpha.1 ### Major Changes diff --git a/packages/graphql/package.json b/packages/graphql/package.json index 0ef98e9858..7a4a62550a 100644 --- a/packages/graphql/package.json +++ b/packages/graphql/package.json @@ -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", diff --git a/yarn.lock b/yarn.lock index 691349dfaa..91edbca15e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -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: @@ -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"