From 729299dfd34065a157d72a8f242123083c918481 Mon Sep 17 00:00:00 2001 From: Neo4j Team GraphQL Date: Wed, 6 Mar 2024 13:47:47 +0000 Subject: [PATCH] Version Packages --- .changeset/honest-pumpkins-roll.md | 40 ---------------- .changeset/violet-penguins-relate.md | 5 -- .changeset/wild-nails-think.md | 5 -- .../package.json | 2 +- packages/graphql-toolbox/CHANGELOG.md | 7 +++ packages/graphql-toolbox/package.json | 4 +- packages/graphql/CHANGELOG.md | 47 +++++++++++++++++++ packages/graphql/package.json | 2 +- packages/ogm/CHANGELOG.md | 7 +++ packages/ogm/package.json | 4 +- yarn.lock | 8 ++-- 11 files changed, 71 insertions(+), 60 deletions(-) delete mode 100644 .changeset/honest-pumpkins-roll.md delete mode 100644 .changeset/violet-penguins-relate.md delete mode 100644 .changeset/wild-nails-think.md diff --git a/.changeset/honest-pumpkins-roll.md b/.changeset/honest-pumpkins-roll.md deleted file mode 100644 index 9e45b0a1ba..0000000000 --- a/.changeset/honest-pumpkins-roll.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -"@neo4j/graphql": minor ---- - -Support for top-level connection query on interfaces. For example: - -_Typedefs_ - -```graphql -interface Show { - title: String! -} - -type Movie implements Show { - title: String! - cost: Float -} - -type Series implements Show { - title: String! - episodes: Int -} -``` - -_Query_ - -```graphql -query { - showsConnection(where: { title_CONTAINS: "The Matrix" }) { - edges { - node { - title - ... on Movie { - cost - } - } - } - } -} -``` diff --git a/.changeset/violet-penguins-relate.md b/.changeset/violet-penguins-relate.md deleted file mode 100644 index 070bd8e050..0000000000 --- a/.changeset/violet-penguins-relate.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@neo4j/graphql": patch ---- - -Fix user defined deprecated directives not propagated on all generated types diff --git a/.changeset/wild-nails-think.md b/.changeset/wild-nails-think.md deleted file mode 100644 index df4836c849..0000000000 --- a/.changeset/wild-nails-think.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@neo4j/graphql": patch ---- - -Fixed bug that caused authorization to not be applied on `@cypher` fields in some situations. diff --git a/packages/apollo-federation-subgraph-compatibility/package.json b/packages/apollo-federation-subgraph-compatibility/package.json index 335a2a2270..32887245b3 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": "^5.0.1", + "@neo4j/graphql": "^5.1.0", "graphql": "16.8.1", "graphql-tag": "^2.12.6", "neo4j-driver": "^5.8.0" diff --git a/packages/graphql-toolbox/CHANGELOG.md b/packages/graphql-toolbox/CHANGELOG.md index 99c3c6e92e..8d683bac7d 100644 --- a/packages/graphql-toolbox/CHANGELOG.md +++ b/packages/graphql-toolbox/CHANGELOG.md @@ -1,5 +1,12 @@ # @neo4j/graphql-toolbox +## 2.1.11 + +### Patch Changes + +- Updated dependencies [[`c198de3`](https://github.com/neo4j/graphql/commit/c198de3cfa0d17e574bb261ccca65de45d350013), [`19c2a7a`](https://github.com/neo4j/graphql/commit/19c2a7ae9a768751222a99e754130a98a0695512), [`9a660fa`](https://github.com/neo4j/graphql/commit/9a660fa67b68b325d62efc945b1e91bb353a0637)]: + - @neo4j/graphql@5.1.0 + ## 2.1.10 ### Patch Changes diff --git a/packages/graphql-toolbox/package.json b/packages/graphql-toolbox/package.json index 63945432a3..668dc661cc 100644 --- a/packages/graphql-toolbox/package.json +++ b/packages/graphql-toolbox/package.json @@ -1,7 +1,7 @@ { "name": "@neo4j/graphql-toolbox", "private": true, - "version": "2.1.10", + "version": "2.1.11", "description": "Developer UI For Neo4j GraphQL", "exports": "./dist/main.js", "main": "./dist/main.js", @@ -52,7 +52,7 @@ "@graphiql/react": "0.20.3", "@neo4j-ndl/base": "2.7.1", "@neo4j-ndl/react": "2.8.1", - "@neo4j/graphql": "5.0.1", + "@neo4j/graphql": "5.1.0", "@neo4j/introspector": "3.0.0", "classnames": "2.5.1", "cm6-graphql": "0.0.14", diff --git a/packages/graphql/CHANGELOG.md b/packages/graphql/CHANGELOG.md index 2cbbf5c5cf..ccf2125808 100644 --- a/packages/graphql/CHANGELOG.md +++ b/packages/graphql/CHANGELOG.md @@ -1,5 +1,52 @@ # @neo4j/graphql +## 5.1.0 + +### Minor Changes + +- [#4821](https://github.com/neo4j/graphql/pull/4821) [`c198de3`](https://github.com/neo4j/graphql/commit/c198de3cfa0d17e574bb261ccca65de45d350013) Thanks [@angrykoala](https://github.com/angrykoala)! - Support for top-level connection query on interfaces. For example: + + _Typedefs_ + + ```graphql + interface Show { + title: String! + } + + type Movie implements Show { + title: String! + cost: Float + } + + type Series implements Show { + title: String! + episodes: Int + } + ``` + + _Query_ + + ```graphql + query { + showsConnection(where: { title_CONTAINS: "The Matrix" }) { + edges { + node { + title + ... on Movie { + cost + } + } + } + } + } + ``` + +### Patch Changes + +- [#4797](https://github.com/neo4j/graphql/pull/4797) [`19c2a7a`](https://github.com/neo4j/graphql/commit/19c2a7ae9a768751222a99e754130a98a0695512) Thanks [@a-alle](https://github.com/a-alle)! - Fix user defined deprecated directives not propagated on all generated types + +- [#4798](https://github.com/neo4j/graphql/pull/4798) [`9a660fa`](https://github.com/neo4j/graphql/commit/9a660fa67b68b325d62efc945b1e91bb353a0637) Thanks [@MacondoExpress](https://github.com/MacondoExpress)! - Fixed bug that caused authorization to not be applied on `@cypher` fields in some situations. + ## 5.0.1 ### Patch Changes diff --git a/packages/graphql/package.json b/packages/graphql/package.json index e439a5c809..2cc30a9d01 100644 --- a/packages/graphql/package.json +++ b/packages/graphql/package.json @@ -1,6 +1,6 @@ { "name": "@neo4j/graphql", - "version": "5.0.1", + "version": "5.1.0", "description": "A GraphQL to Cypher query execution layer for Neo4j and JavaScript GraphQL implementations", "keywords": [ "neo4j", diff --git a/packages/ogm/CHANGELOG.md b/packages/ogm/CHANGELOG.md index d446fa0135..781be3ea05 100644 --- a/packages/ogm/CHANGELOG.md +++ b/packages/ogm/CHANGELOG.md @@ -1,5 +1,12 @@ # @neo4j/graphql-ogm +## 5.1.0 + +### Patch Changes + +- Updated dependencies [[`c198de3`](https://github.com/neo4j/graphql/commit/c198de3cfa0d17e574bb261ccca65de45d350013), [`19c2a7a`](https://github.com/neo4j/graphql/commit/19c2a7ae9a768751222a99e754130a98a0695512), [`9a660fa`](https://github.com/neo4j/graphql/commit/9a660fa67b68b325d62efc945b1e91bb353a0637)]: + - @neo4j/graphql@5.1.0 + ## 5.0.1 ### Patch Changes diff --git a/packages/ogm/package.json b/packages/ogm/package.json index 7a8dc4c851..ceffc32dbb 100644 --- a/packages/ogm/package.json +++ b/packages/ogm/package.json @@ -1,6 +1,6 @@ { "name": "@neo4j/graphql-ogm", - "version": "5.0.1", + "version": "5.1.0", "description": "GraphQL powered OGM for Neo4j and Javascript applications", "keywords": [ "neo4j", @@ -38,7 +38,7 @@ "@graphql-codegen/plugin-helpers": "^5.0.0", "@graphql-codegen/typescript": "^4.0.0", "@graphql-tools/merge": "^9.0.0", - "@neo4j/graphql": "^5.0.1", + "@neo4j/graphql": "^5.1.0", "prettier": "^2.7.1" }, "peerDependencies": { diff --git a/yarn.lock b/yarn.lock index e630c58c69..479569e7fb 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3669,7 +3669,7 @@ __metadata: "@graphql-codegen/plugin-helpers": "npm:^5.0.0" "@graphql-codegen/typescript": "npm:^4.0.0" "@graphql-tools/merge": "npm:^9.0.0" - "@neo4j/graphql": "npm:^5.0.1" + "@neo4j/graphql": "npm:^5.1.0" "@types/jest": "npm:29.5.12" "@types/node": "npm:20.11.24" camelcase: "npm:6.3.0" @@ -3702,7 +3702,7 @@ __metadata: "@graphiql/react": "npm:0.20.3" "@neo4j-ndl/base": "npm:2.7.1" "@neo4j-ndl/react": "npm:2.8.1" - "@neo4j/graphql": "npm:5.0.1" + "@neo4j/graphql": "npm:5.1.0" "@neo4j/introspector": "npm:3.0.0" "@playwright/test": "npm:1.42.1" "@tsconfig/create-react-app": "npm:2.0.2" @@ -3763,7 +3763,7 @@ __metadata: languageName: node linkType: soft -"@neo4j/graphql@npm:5.0.1, @neo4j/graphql@npm:^5.0.0, @neo4j/graphql@npm:^5.0.1, @neo4j/graphql@workspace:packages/graphql": +"@neo4j/graphql@npm:5.1.0, @neo4j/graphql@npm:^5.0.0, @neo4j/graphql@npm:^5.1.0, @neo4j/graphql@workspace:packages/graphql": version: 0.0.0-use.local resolution: "@neo4j/graphql@workspace:packages/graphql" dependencies: @@ -8984,7 +8984,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:^5.0.1" + "@neo4j/graphql": "npm:^5.1.0" fork-ts-checker-webpack-plugin: "npm:9.0.2" graphql: "npm:16.8.1" graphql-tag: "npm:^2.12.6"