From 68edaeee99e6682440b2a9b6e97c956acbba0001 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 16 Sep 2022 21:06:16 +0000 Subject: [PATCH 1/3] chore(deps): bump graphql-java from 11.0 to 17.4 Bumps [graphql-java](https://github.com/graphql-java/graphql-java) from 11.0 to 17.4. - [Release notes](https://github.com/graphql-java/graphql-java/releases) - [Commits](https://github.com/graphql-java/graphql-java/compare/v11.0...v17.4) --- updated-dependencies: - dependency-name: com.graphql-java:graphql-java dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index fa11a3762..81a531f2d 100644 --- a/pom.xml +++ b/pom.xml @@ -331,7 +331,7 @@ com.graphql-java graphql-java - 11.0 + 17.4 From dc9cd50155da215a392b325bf11e153c03d5011c Mon Sep 17 00:00:00 2001 From: Robin Beer Date: Mon, 21 Aug 2023 11:31:46 +0100 Subject: [PATCH 2/3] refactor(Newer version of java graphql): Newer version breaks existing code, code updated to address --- .../java/com/conveyal/gtfs/graphql/GraphQLGtfsSchema.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/conveyal/gtfs/graphql/GraphQLGtfsSchema.java b/src/main/java/com/conveyal/gtfs/graphql/GraphQLGtfsSchema.java index acd077d3d..27785e448 100644 --- a/src/main/java/com/conveyal/gtfs/graphql/GraphQLGtfsSchema.java +++ b/src/main/java/com/conveyal/gtfs/graphql/GraphQLGtfsSchema.java @@ -90,7 +90,12 @@ public class GraphQLGtfsSchema { .field(MapFetcher.field("description")) .build(); - private static final GraphQLScalarType stringList = new GraphQLScalarType("StringList", "List of Strings", new StringCoercing()); + private static final GraphQLScalarType stringList = GraphQLScalarType + .newScalar() + .name("StringList") + .description("List of Strings") + .coercing(new StringCoercing()) + .build(); // Represents GTFS Editor service exceptions. public static final GraphQLObjectType scheduleExceptionType = newObject().name("scheduleException") From 9ff75ccf133dded270c813d1549f901ff8259146 Mon Sep 17 00:00:00 2001 From: Robin Beer Date: Mon, 21 Aug 2023 11:41:56 +0100 Subject: [PATCH 3/3] refactor(maven.yml): Bumped node version to 18 --- .github/workflows/maven.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 9cdc9e195..628c051d4 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -29,11 +29,11 @@ jobs: uses: actions/setup-java@v1 with: java-version: 1.8 - # Install node 14+ for running maven-semantic-release. - - name: Use Node.js 14.x + # Install node 18+ for running maven-semantic-release. + - name: Use Node.js 18.x uses: actions/setup-node@v1 with: - node-version: 14.x + node-version: 18.x - name: Install maven-semantic-release # FIXME: Enable cache for node packages (add package.json?) run: |