Skip to content

Commit 35090a9

Browse files
committed
Update dependencies
resolves #243
1 parent b834bab commit 35090a9

File tree

9 files changed

+25
-21
lines changed

9 files changed

+25
-21
lines changed

.github/workflows/changelog-configuration.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,14 @@
2727
{
2828
"title": "## Tests",
2929
"labels": ["test"]
30+
},
31+
{
32+
"title": "## Updated dependencies",
33+
"labels": ["dependencies"]
3034
}
3135
],
3236
"ignore_labels": [
33-
"ignore", "dependencies"
37+
"ignore"
3438
],
3539
"label_extractor": [ ],
3640
"duplicate_filter": null,

core/pom.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
<dependency>
4343
<groupId>org.atteo</groupId>
4444
<artifactId>evo-inflector</artifactId>
45-
<version>1.2.2</version>
45+
<version>1.3</version>
4646
</dependency>
4747
<dependency>
4848
<groupId>org.slf4j</groupId>
@@ -62,24 +62,24 @@
6262
<dependency>
6363
<groupId>org.neo4j</groupId>
6464
<artifactId>neo4j-cypher-dsl</artifactId>
65-
<version>2021.0.2</version>
65+
<version>2021.3.2</version>
6666
</dependency>
6767
<dependency>
6868
<groupId>ch.qos.logback</groupId>
6969
<artifactId>logback-classic</artifactId>
70-
<version>1.2.3</version>
70+
<version>1.2.6</version>
7171
<scope>test</scope>
7272
</dependency>
7373
<dependency>
7474
<groupId>junit</groupId>
7575
<artifactId>junit</artifactId>
76-
<version>4.13.1</version>
76+
<version>4.13.2</version>
7777
<scope>test</scope>
7878
</dependency>
7979
<dependency>
8080
<groupId>org.junit.vintage</groupId>
8181
<artifactId>junit-vintage-engine</artifactId>
82-
<version>5.7.1</version>
82+
<version>5.8.1</version>
8383
<scope>test</scope>
8484
</dependency>
8585
</dependencies>

core/src/main/kotlin/org/neo4j/graphql/ExtensionFunctions.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ fun <T> Iterable<T>.joinNonEmpty(separator: CharSequence = ", ", prefix: CharSeq
99
return if (iterator().hasNext()) joinTo(StringBuilder(), separator, prefix, postfix, limit, truncated, transform).toString() else ""
1010
}
1111

12-
fun queryParameter(value: Any?, vararg parts: String?): Parameter<Any> {
12+
fun queryParameter(value: Any?, vararg parts: String?): Parameter<*> {
1313
val name = when (value) {
1414
is VariableReference -> value.name
1515
else -> normalizeName(*parts)

core/src/main/kotlin/org/neo4j/graphql/Neo4jTypes.kt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class Neo4jTemporalConverter(name: String) : Neo4jSimpleConverter(name) {
2323
return Cypher.call("toString").withArgs(variable.property(field.name)).asFunction()
2424
}
2525

26-
override fun createCondition(property: Property, parameter: Parameter<Any>, conditionCreator: (Expression, Expression) -> Condition): Condition {
26+
override fun createCondition(property: Property, parameter: Parameter<*>, conditionCreator: (Expression, Expression) -> Condition): Condition {
2727
return conditionCreator(property, toExpression(parameter))
2828
}
2929
}
@@ -33,7 +33,7 @@ class Neo4jTimeConverter(name: String) : Neo4jConverter(name) {
3333
override fun createCondition(
3434
objectField: ObjectField,
3535
field: GraphQLFieldDefinition,
36-
parameter: Parameter<Any>,
36+
parameter: Parameter<*>,
3737
conditionCreator: (Expression, Expression) -> Condition,
3838
propertyContainer: PropertyContainer
3939
): Condition = if (objectField.name == NEO4j_FORMATTED_PROPERTY_KEY) {
@@ -65,7 +65,7 @@ class Neo4jTimeConverter(name: String) : Neo4jConverter(name) {
6565

6666
class Neo4jPointConverter(name: String) : Neo4jConverter(name) {
6767

68-
fun createDistanceCondition(lhs: Expression, rhs: Parameter<Any>, conditionCreator: (Expression, Expression) -> Condition): Condition {
68+
fun createDistanceCondition(lhs: Expression, rhs: Parameter<*>, conditionCreator: (Expression, Expression) -> Condition): Condition {
6969
val point = Functions.point(rhs.property("point"))
7070
val distance = rhs.property("distance")
7171
return conditionCreator(Functions.distance(lhs, point), distance)
@@ -86,14 +86,14 @@ open class Neo4jSimpleConverter(val name: String) {
8686

8787
open fun createCondition(
8888
property: Property,
89-
parameter: Parameter<Any>,
89+
parameter: Parameter<*>,
9090
conditionCreator: (Expression, Expression) -> Condition
9191
): Condition = conditionCreator(property, parameter)
9292

9393
open fun createCondition(
9494
objectField: ObjectField,
9595
field: GraphQLFieldDefinition,
96-
parameter: Parameter<Any>,
96+
parameter: Parameter<*>,
9797
conditionCreator: (Expression, Expression) -> Condition,
9898
propertyContainer: PropertyContainer
9999
): Condition = createCondition(propertyContainer.property(field.name, objectField.name), parameter, conditionCreator)

core/src/main/kotlin/org/neo4j/graphql/handler/projection/ProjectionBase.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -510,7 +510,7 @@ open class ProjectionBase(
510510
}
511511
}
512512

513-
fun <T> format(returning: T): StatementBuilder.BuildableStatement where T : TerminalExposesSkip, T : TerminalExposesLimit {
513+
fun <T> format(returning: T): StatementBuilder.BuildableStatement<ResultStatement> where T : TerminalExposesSkip, T : TerminalExposesLimit {
514514
val result = skip?.let { returning.skip(it) } ?: returning
515515
return limit?.let { result.limit(it) } ?: result
516516
}

examples/dgs-spring-boot/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<description>Example for using neo4j-graphql-java with Spring Boot and Netflix Domain Graph Service (DGS)</description>
1616

1717
<properties>
18-
<testcontainers.version>1.15.3</testcontainers.version>
18+
<testcontainers.version>1.16.0</testcontainers.version>
1919
<spring-boot.version>2.3.10.RELEASE</spring-boot.version>
2020
</properties>
2121

@@ -35,7 +35,7 @@
3535
<dependency>
3636
<groupId>org.neo4j.driver</groupId>
3737
<artifactId>neo4j-java-driver-spring-boot-starter</artifactId>
38-
<version>4.2.4.0</version>
38+
<version>4.2.7.0</version>
3939
</dependency>
4040
<dependency>
4141
<groupId>org.neo4j</groupId>

examples/graphql-spring-boot/pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
<description>Example for using neo4j-graphql-java with Spring Boot</description>
1616

1717
<properties>
18-
<testcontainers.version>1.15.3</testcontainers.version>
19-
<graphql-kotlin.version>4.1.1</graphql-kotlin.version>
18+
<testcontainers.version>1.16.0</testcontainers.version>
19+
<graphql-kotlin.version>5.1.1</graphql-kotlin.version>
2020
<spring-boot.version>2.3.10.RELEASE</spring-boot.version>
2121
</properties>
2222

@@ -32,7 +32,7 @@
3232
<dependency>
3333
<groupId>org.neo4j.driver</groupId>
3434
<artifactId>neo4j-java-driver-spring-boot-starter</artifactId>
35-
<version>4.2.4.0</version>
35+
<version>4.2.7.0</version>
3636
</dependency>
3737
<dependency>
3838
<groupId>org.neo4j</groupId>

neo4j-graphql-augmented-schema-generator-maven-plugin/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@
2323
<dependency>
2424
<groupId>org.apache.maven</groupId>
2525
<artifactId>maven-plugin-api</artifactId>
26-
<version>3.6.3</version>
26+
<version>3.8.1</version>
2727
<scope>provided</scope>
2828
</dependency>
2929
<dependency>
3030
<groupId>org.apache.maven.plugin-tools</groupId>
3131
<artifactId>maven-plugin-annotations</artifactId>
32-
<version>3.6.0</version>
32+
<version>3.6.1</version>
3333
<scope>provided</scope>
3434
</dependency>
3535
<dependency>

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<properties>
2424
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
2525
<java.version>11</java.version>
26-
<kotlin.version>1.4.32</kotlin.version>
26+
<kotlin.version>1.5.31</kotlin.version>
2727
<kotlin.compiler.jvmTarget>${java.version}</kotlin.compiler.jvmTarget>
2828
<neo4j.version>4.2.4</neo4j.version>
2929
<neo4j-apoc.version>4.2.0.2</neo4j-apoc.version>

0 commit comments

Comments
 (0)