Skip to content

Releases: neo4j/cypher-dsl

2024.0.2

09 Jul 13:40
302457e
Compare
Choose a tag to compare

🎉 The big party release! 🎉

With this release we move the repository from github.com/neo4j-contrib to github.com/neo4j with Neo4j adding Cypher-DSL to the list of supported modules.
What we have now on our todo list is to incorporate our documentation into the official Neo4j docs, but apart from that, little will change immediate. Even our Maven coordinates will stay the same. You can however rely on the fact that Cypher-DSL is not going anywhere anytime soon.

Thanks to @stumoore for supporting this!

🐛 Bug Fixes

  • Don’t introduce new names in pattern expressions. (#1017)

🧹 Housekeeping

  • Dependency upgrades
    • Bump io.projectreactor:reactor-bom (#1025)
    • Bump org.checkerframework:checker-qual (#1024)
    • Bump com.fasterxml.jackson:jackson-bom (#1023)
    • Bump org.moditect:moditect-maven-plugin (#1019)
    • Bump org.asciidoctor:asciidoctorj-diagram (#1021)
    • Bump org.junit:junit-bom from 5.10.2 to 5.10.3 (#1020)
    • Bump org.neo4j.driver:neo4j-java-driver (#1018)
    • Bump org.springframework.boot:spring-boot-starter-parent (#1016)
    • Bump org.apache.maven.plugins:maven-jar-plugin (#1015)

🛠 Build

  • Change license for examples that depend on the parser to Apache 2.0, too.

2023.9.8

25 Jun 04:57
a4b3d95
Compare
Choose a tag to compare

🐛 Bug Fixes

  • Don’t introduce new names in pattern expressions. (#1017)

2024.0.1

17 Jun 14:21
98b725c
Compare
Choose a tag to compare

This is a pure bug-fix release. Thanks to @Andy2003 for spotting yet another scoping issue.

🐛 Bug Fixes

  • Include implicit new variables in seed for name generator. (#999)

🧹 Housekeeping

  • Dependency upgrades:
    • Bump io.projectreactor:reactor-bom (#1013)
    • Bump org.springframework.data:spring-data-neo4j (#1012)
    • Bump org.apache.maven.plugins:maven-failsafe-plugin (#1011)
    • Bump org.apache.maven.plugins:maven-surefire-plugin (#1010)

2024.0.0

10 Jun 08:24
2e89b9c
Compare
Choose a tag to compare

We're finally going 2024 with this release.
The biggest new feature in this release is that we now allow chaining statements that end with a YIELD clause, which lets you compose complex queries in a nicer way.

We also removed all deprecated constructs and methods we accumulated until now. If you ignored the warnings until now, you cannot do any longer. The latest SDN release is prepared for this Cypher-DSL release already, as we did the necessary changes over there already (See this spring-projects/spring-data-neo4j@2861e771333d8b9443026669763ddccd5be7659d[commit] for the necessary changes for example).

🚀 Features

  • Allow chaining statements to yielding calls. (#964)
  • Allow chainable foreach. (#988)

🐛 Bug Fixes

  • Actually make sortOrderDefaultExpression test what it is supposed to test.

🧹 Housekeeping

  • Dependency upgrades:
    • Bump org.apache.maven.plugins:maven-shade-plugin (#1006)
    • Bump org.neo4j.driver:neo4j-java-driver (#1005)
    • Bump org.sonarsource.scanner.maven:sonar-maven-plugin (#1004)
    • Bump com.google.guava:guava (#1003)
    • Bump org.apache.maven.plugins:maven-enforcer-plugin (#1002)
    • Bump org.apache.maven.plugins:maven-javadoc-plugin (#1001)
    • Bump com.github.ekryd.sortpom:sortpom-maven-plugin (#992)
    • Bump org.assertj:assertj-core from 3.25.3 to 3.26.0 (#998)
    • Bump org.springframework.boot:spring-boot-starter-parent (#997)
    • Bump com.puppycrawl.tools:checkstyle (#996)
    • Bump org.codehaus.mojo:exec-maven-plugin (#995)
    • Bump org.asciidoctor:asciidoctorj from 2.5.12 to 2.5.13 (#993)
    • Bump org.springframework.data:spring-data-neo4j (#991)
    • Bump io.projectreactor:reactor-bom (#990)
    • Bump org.graalvm.buildtools:native-maven-plugin (#989)
    • Bump com.mycila:license-maven-plugin from 4.3 to 4.5 (#987)
    • Bump mockito.version from 5.11.0 to 5.12.0 (#986)
    • Bump testcontainers.version from 1.19.7 to 1.19.8 (#985)
    • Bump com.google.guava:guava (#982)
    • Bump org.checkerframework:checker-qual (#984)
    • Bump org.apache.maven.plugins:maven-install-plugin (#983)
    • Bump com.github.siom79.japicmp:japicmp-maven-plugin (#981)
    • Bump com.fasterxml.jackson:jackson-bom (#980)
    • Bump org.apache.maven.plugins:maven-deploy-plugin (#979)

2023.9.7

29 Apr 08:23
611e6d7
Compare
Choose a tag to compare

Not everything goes as planned ;) Another 2023.9 release, enjoy.

🐛 Bug Fixes

  • Use proper generics when generating extensible models. (#974)
  • Treat the asterisk correctly in an importing with. (#973)

🧹 Housekeeping

  • Dependency upgrades:
    • Bump org.neo4j.driver:neo4j-java-driver (#978)
    • Bump org.apache.maven.plugins:maven-shade-plugin (#977)
    • Bump com.github.siom79.japicmp:japicmp-maven-plugin (#976)
    • Bump com.puppycrawl.tools:checkstyle (#975)
    • Bump neo4j.version from 5.18.1 to 5.19.0 (#965)
    • Bump com.tngtech.archunit:archunit from 1.2.1 to 1.3.0 (#966)
    • Bump org.springframework.data:spring-data-neo4j (#967)
    • Bump io.projectreactor:reactor-bom (#968)
    • Bump org.springframework.boot:spring-boot-starter-parent (#971)
    • Bump org.apache.maven.plugins:maven-jar-plugin (#972)

2023.9.6

12 Apr 13:51
5be9d0c
Compare
Choose a tag to compare

Heads up this is the last planned release in the 2023.x series.
The next release will be 2024.0.0, in which all deprecations apart from internalId on nodes and relationships will be removed.
With that change, the Cypher-DSL will have one single entry point for all operations: org.neo4j.cypherdsl.core.Cypher.

Nothing will change in terms of JDK compatibility.
Cypher-DSL 2024 will still require JDK 17, and will run just fine on JDK 21 and higher.

🚀 Features

  • Allow calling of raw Cypher strings in sub queries. (#961)

🧹 Housekeeping

  • Dependency upgrades:
    • Bump org.jacoco:jacoco-maven-plugin from 0.8.11 to 0.8.12 (#960)
    • Bump org.neo4j.driver:neo4j-java-driver (#959)
    • Bump org.apache.maven.plugins:maven-source-plugin (#958)
    • Bump com.puppycrawl.tools:checkstyle (#957)
    • Bump org.moditect:moditect-maven-plugin (#956)
    • Bump neo4j.version from 5.18.0 to 5.18.1 (#955)
    • Bump org.ow2.asm:asm from 9.6 to 9.7 (#954)
    • Bump org.springframework.boot:spring-boot-starter-parent (#953)

2022.9.2

10 Apr 10:41
3100aac
Compare
Choose a tag to compare

🚀 Features

  • Allow calling of raw Cypher strings in sub queries. (Backport from 2023.x)

🐛 Bug Fixes

  • Driving symbolic names for list predicate function must not be scoped. (#905)

🔄️ Refactorings

  • Allow unit-subqueries (Backport from 2023.x)

🧰 Tasks

  • Extend license header to 2024.

🧹 Housekeeping

  • Dependency upgrades:
    • Bump spring-boot-starter-parent from 2.7.5 to 2.7.18
    • Update Spring Data Neo4j from 6.3.14 to 6.3.18
    • Bump reactor-bom from 2022.0.2 to 2022.0.15
    • Update Neo4j from 4.4.23 to 4.4.29
    • Update Neo4j Java Driver from 4.4.12 to 4.4.13
    • Update Neo4j Java Driver from 4.4.13 to 4.4.15
    • Bump testcontainers.version from 1.17.6 to 1.19.7

2023.9.5

18 Mar 14:18
9cc42ca
Compare
Choose a tag to compare

🚀 Features

  • Add a bom project

🧹 Housekeeping

  • Dependency upgrades:
    • Bump org.springframework.data:spring-data-neo4j
    • Bump neo4j.version from 5.17.0 to 5.18.0 (#944)
    • Bump com.google.guava:guava (#952)
    • Bump io.projectreactor:reactor-bom (#951)
    • Bump org.asciidoctor:asciidoctorj from 2.5.11 to 2.5.12 (#950)
    • Bump com.fasterxml.jackson:jackson-bom (#949)
    • Bump org.sonarsource.scanner.maven:sonar-maven-plugin (#947)
    • Bump org.moditect:moditect-maven-plugin (#946)
    • Bump com.puppycrawl.tools:checkstyle (#945)
    • Bump testcontainers.version from 1.19.6 to 1.19.7 (#942)
    • Bump com.github.siom79.japicmp:japicmp-maven-plugin (#941)
    • Bump com.fasterxml.jackson:jackson-bom (#940)
    • Bump com.github.siom79.japicmp:japicmp-maven-plugin (#938)
    • Bump org.neo4j.driver:neo4j-java-driver (#937)
    • Bump com.puppycrawl.tools:checkstyle (#936)
    • Bump mockito.version from 5.10.0 to 5.11.0 (#935)

2023.9.4

26 Feb 12:43
15b1fcf
Compare
Choose a tag to compare

Change parser license to The Apache Software License, Version 2.0 (same as the Neo4j JavaCC based parser, which we use under the hoods).

Thanks a lot @hindog, @fbiville and @Andy2003 for agreeing to relicense your contributions, too.

📖 Documentation

  • Use compile scope in Gradle dependencies.

🧹 Housekeeping

  • Dependency upgrades:
    • Bump neo4j.version from 5.16.0 to 5.17.0 (#933)
    • Bump testcontainers.version from 1.19.5 to 1.19.6 (#934)
    • Bump org.apache.maven.plugins:maven-shade-plugin (#932)
    • Bump org.springframework.boot:spring-boot-starter-parent (#931)
    • Bump org.graalvm.buildtools:native-maven-plugin (#930)
    • Bump org.codehaus.mojo:exec-maven-plugin (#929)
    • Bump org.asciidoctor:asciidoctor-maven-plugin (#927)
    • Bump com.github.siom79.japicmp:japicmp-maven-plugin (#928)
    • Bump org.springframework.data:spring-data-neo4j (#926)
    • Bump io.projectreactor:reactor-bom (#925)
    • Bump org.asciidoctor:asciidoctorj-diagram (#924)
    • Bump org.graalvm.buildtools:native-maven-plugin (#919)
    • Bump org.assertj:assertj-core from 3.25.2 to 3.25.3 (#918)
    • Bump org.asciidoctor:asciidoctorj-diagram (#916)
    • Bump org.junit:junit-bom from 5.10.1 to 5.10.2 (#915)
    • Bump testcontainers.version from 1.19.4 to 1.19.5 (#923)
    • Bump org.asciidoctor:asciidoctor-maven-plugin (#922)
    • Bump org.neo4j.driver:neo4j-java-driver (#920)
    • Bump joda-time:joda-time from 2.12.6 to 2.12.7 (#917)

2023.9.3

29 Jan 10:01
353ee85
Compare
Choose a tag to compare

🚀 Features

  • Add a parser option to unify the direction of relationships. (#906)

🐛 Bug Fixes

  • Driving symbolic names for list predicate function must not be scoped. (#905)

🧹 Housekeeping

  • Dependency upgrades:
    • Bump neo4j.version from 5.15.0 to 5.16.0 (#910)
    • Bump org.assertj:assertj-core from 3.25.1 to 3.25.2 (#914)
    • Bump com.querydsl:querydsl-core from 5.0.0 to 5.1.0 (#913)
    • Bump mockito.version from 5.9.0 to 5.10.0 (#912)
    • Bump com.puppycrawl.tools:checkstyle (#911)
    • Bump testcontainers.version from 1.19.3 to 1.19.4 (#909)
    • Bump org.springframework.boot:spring-boot-starter-parent (#904)