Releases: neo4j/cypher-dsl
2023.9.1
🐛 Bug Fixes
- for #840 add missing casts in constructor super calls for relations with generic start or / and end node (#866)
🔄️ Refactorings
- Officially allow label value to be accessed.
🧹 Housekeeping
- Dependency upgrades:
- Bump neo4j.version from 5.14.0 to 5.15.0 (#880)
- Bump org.checkerframework:checker-qual (#883)
- Bump io.projectreactor:reactor-bom (#882)
- Bump org.springframework.data:spring-data-neo4j (#881)
- Bump org.apache.maven.plugins:maven-surefire-plugin (#879)
- Bump org.apache.maven.plugins:maven-failsafe-plugin (#878)
- Bump com.puppycrawl.tools:checkstyle (#876)
- Bump net.java.dev.jna:jna from 5.13.0 to 5.14.0 (#877)
- Bump org.checkerframework:checker-qual (#875)
- Bump org.apache.maven.plugins:maven-javadoc-plugin (#874)
- Bump org.neo4j.driver:neo4j-java-driver (#873)
- Bump com.tngtech.archunit:archunit from 1.2.0 to 1.2.1 (#872)
- Bump mockito.version from 5.7.0 to 5.8.0 (#871)
- Bump neo4j.version from 5.13.0 to 5.14.0 (#868)
- Bump testcontainers.version from 1.19.2 to 1.19.3 (#867)
2023.9.0
2023.9 contains several new features: It brings support for parsing and rendering Quantified Path Patterns (QPP), shifts to a single, easy to find main entry point to the DSL via just Cypher
and makes the static code generator a bit more powerful.
While QPP are a powerful feature (have a look at "Getting From Denmark Hill to Gatwick Airport With Quantified Path Patterns" to see what you can do with them), I find them a bit hard to read, with all the parentheses and I did not expect them to really fit in well with our builder. However, it turned out that the elements we need to provide in our own AST to render what we parsed do work well: If you decide to build QPP with Cypher-DSL, you can now quantify relationship patterns as a whole or only the relationship, making up already for many uses cases.
The single entry point to our API makes the whole system a lot more discoverable.
@lukaseder did create a ticket for that in the beginning of 2023 and if someone knows the importance of that, he is that someone as the creator of jOOQ.
Thank you, Lukas and of course earlier this week, @Andy2003 for actually doing the work of adding all those methods to Cypher
.
If you don't care about deprecation warnings, 2023.9.0 will be a drop-in replacement.
The existing entry points won't go away until the next major release, in which they will be made package private.
Until then, they are deprecated.
It my sound like a broken record by now, but again: Thank you, @zakjan and @ikwattro for your input on QPP, now we are waiting for your bug-reports.
🚀 Features
- Provide a single DSL API entry point. (#862)
- Allow parsing of
collect
expression. (#861) - Add support for quantified path patterns. (#860)
- Add support for predicates inside pattern elements. (#859)
- Add ability to add additional factory methods for relationship models to a node in the static model (#840)
📖 Documentation
- Add example how to access properties of a list element.
🧹 Housekeeping
- Dependency upgrades:
- Bump spring-boot-starter-parent from 3.1.5 to 3.2.0
- Bump auto-common to 1.2.2
- Bump errorprone from 2.12.1 to 2.23.0
- Bump sortpom from 2.15.0 to 3.3.0
- Bump com.opencsv:opencsv from 5.8 to 5.9
- Bump testcontainers.version from 1.19.2 to 1.19.3
- Bump testcontainers.version from 1.19.1 to 1.19.2 (#857)
- Bump org.codehaus.mojo:exec-maven-plugin (#856)
- Bump io.projectreactor:reactor-bom (#855)
- Bump com.puppycrawl.tools:checkstyle (#854)
- Bump com.fasterxml.jackson:jackson-bom (#853)
- Bump org.jetbrains:annotations from 24.0.1 to 24.1.0 (#852)
- Bump org.springframework.data:spring-data-neo4j (#851)
- Bump org.apache.maven.plugins:maven-surefire-plugin (#850)
- Bump org.apache.maven.plugins:maven-failsafe-plugin (#849)
- Bump org.apache.maven.plugins:maven-javadoc-plugin (#848)
2023.8.1
🐛 Bug Fixes
- Including aliasing in scoping strategy, too. (#839)
🧹 Housekeeping
- Dependency upgrades:
- Bump org.moditect:moditect-maven-plugin (#843)
- Bump com.github.siom79.japicmp:japicmp-maven-plugin (#845)
- Bump com.tngtech.archunit:archunit from 1.1.0 to 1.2.0 (#846)
- Bump org.checkerframework:checker-qual (#844)
- Bump mockito.version from 5.6.0 to 5.7.0 (#842)
- Bump org.junit:junit-bom from 5.10.0 to 5.10.1 (#841)
2023.8.0
This minor release is drop-in compatible with 2023.7, but it adds support for using COLLECT {}
sub-queries, which required enhancing some interfaces (that only we should implement, but still, it's a minor upgrade then).
The price for finding the most bugs in the scoping strategy applied for sub-queries in this release goes to @Andy2003, thank you!
🚀 Features
🐛 Bug Fixes
- Make sure local scope is cleared after leaving subquery expressions. (#837)
- Recognize entities defined in sub-queries correctly. (#827)
🧹 Housekeeping
- Dependency upgrades:
- Bump org.apache.maven.plugins:maven-surefire-plugin (#836)
- Bump org.apache.maven.plugins:maven-failsafe-plugin (#835)
- Bump org.apache.maven.plugins:maven-checkstyle-plugin (#834)
- Bump org.neo4j.driver:neo4j-java-driver (#833)
- Bump org.neo4j:neo4j-cypher-javacc-parser from 5.12.0 to 5.13.0 (#821)
- Bump com.github.siom79.japicmp:japicmp-maven-plugin (#823)
- Bump org.graalvm.buildtools:native-maven-plugin (#824)
- Bump org.jacoco:jacoco-maven-plugin from 0.8.10 to 0.8.11 (#822)
- Bump org.springframework.boot:spring-boot-starter-parent (#820)
🛠 Build
- Remove explicit management of bytebuddy. (#828)
2023.7.1
Thanks to @jrsperry for a great bug-report and the fix for includesAll
and includesAny
.
🐛 Bug Fixes
- Apply the correct includesAll and includesAny semantics (#819)
🧹 Housekeeping
- Dependency upgrades:
- Bump mockito.version from 5.5.0 to 5.6.0 (#812)
- Bump org.springframework.data:spring-data-neo4j (#817)
- Bump com.google.guava:guava (#816)
- Bump org.checkerframework:checker-qual (#809)
- Bump net.bytebuddy:byte-buddy-parent from 1.14.8 to 1.14.9 (#818)
- Bump io.projectreactor:reactor-bom (#815)
- Bump com.fasterxml.jackson:jackson-bom (#814)
- Bump org.neo4j.driver:neo4j-java-driver (#811)
- Bump testcontainers.version from 1.19.0 to 1.19.1 (#810)
- Bump com.puppycrawl.tools:checkstyle (#807)
- Bump com.github.siom79.japicmp:japicmp-maven-plugin (#808)
- Bump org.ow2.asm:asm from 9.5 to 9.6 (#806)
- Bump com.mycila:license-maven-plugin from 4.2.rc2 to 4.3 (#805)
- Bump org.springframework.boot:spring-boot-starter-parent (#804)
- Bump org.apache.maven.plugins:maven-shade-plugin (#803)
- Bump com.github.siom79.japicmp:japicmp-maven-plugin (#802)
- Bump org.graalvm.buildtools:native-maven-plugin (#800)
- Bump io.projectreactor:reactor-bom (#799)
- Bump org.neo4j:neo4j-cypher-javacc-parser (#798)
- Bump org.springframework.data:spring-data-neo4j (#797)
- Bump org.sonarsource.scanner.maven:sonar-maven-plugin (#796)
- Bump org.asciidoctor:asciidoctorj-diagram (#795)
- Bump org.apache.maven.plugins:maven-javadoc-plugin (#794)
- Bump com.opencsv:opencsv from 5.7.1 to 5.8 (#793)
- Bump org.apache.maven.plugins:maven-enforcer-plugin (#792)
- Bump org.graalvm.buildtools:native-maven-plugin (#791)
🛠 Build
- Upgrade Maven wrapper to ASF wrapper 3.2.0 and Maven 3.9.4
- Build and release with Java 21 targeting Java 17. (#801)
2023.0.5
2022.9.1
2023.7.0
🚀 Features
- Add basic schema enforcement when rendering statements (experimental).
- Add basic support for parsing negated types.
- Add basic support for parenthesized path patterns.
2023.6.1
🚀 Features
- Add
isEmpty()
. (#784)
🐛 Bug Fixes
- Use unmodifiable maps instead of copyOf to allow
null
parameters. (#789)
🔄️ Refactorings
- Add tests demonstrating prevention of function calls.
🧹 Housekeeping
- Dependency upgrades:
- Bump com.github.siom79.japicmp:japicmp-maven-plugin (#788)
- Bump org.neo4j.driver:neo4j-java-driver (#787)
- Bump org.checkerframework:checker-qual (#786)
- Bump org.springframework.boot:spring-boot-starter-parent (#783)
- Bump com.puppycrawl.tools:checkstyle (#782)
- Bump mockito.version from 5.4.0 to 5.5.0 (#781)
- Bump org.graalvm.buildtools:native-maven-plugin (#780)
- Bump testcontainers.version from 1.18.3 to 1.19.0 (#779)
- Bump org.apache.maven.plugins:maven-enforcer-plugin (#778)
- Bump org.springframework.data:spring-data-neo4j (#775)
- Bump org.neo4j:neo4j-cypher-javacc-parser (#774)
- Bump io.projectreactor:reactor-bom (#773)
- Bump com.tngtech.archunit:archunit from 1.0.1 to 1.1.0 (#772)
- Bump org.asciidoctor:asciidoctorj-diagram (#771)
- Bump org.graalvm.buildtools:native-maven-plugin (#770)
Thanks to @zakjan for a great bug-report again and ofc @ikwattro for your ongoing support and feedback.
2023.6.0
🚀 Features
- Add callbacks for function and procedure invocations. (#764, #758, also backported as 2022.9.0, thanks to @ClemDoum for your input here)
🔄️ Refactorings
- Make TreeNode pretty printing prettier.
🧹 Housekeeping
- Dependency upgrades:
- Bump com.google.guava:guava (#769)
- Bump org.checkerframework:checker-qual (#768)
- Bump com.puppycrawl.tools:checkstyle (#767)
- Bump org.asciidoctor:asciidoctorj-diagram (#766)
- Bump org.neo4j.driver:neo4j-java-driver (#765)
- Bump org.neo4j:neo4j-cypher-javacc-parser from 5.9.0 to 5.10.0 (#761)
- Bump checker-qual from 3.35.0 to 3.36.0 (#757)
- Bump spring-data-neo4j from 7.1.1 to 7.1.2 (#759)
- Bump reactor-bom from 2022.0.8 to 2022.0.9 (#760)
- Bump org.junit:junit-bom from 5.9.3 to 5.10.0 (#762)
- Bump org.springframework.boot:spring-boot-starter-parent (#763)