Releases: neo4j/cypher-dsl
2022.7.3
🚀 Features
- Add
point.withinBBox
and convenience methods for cartesian points and coordinates. (#475)
🔄️ Refactorings
- Remove superfluous field.
🛠 Build
- Replace jQAssistant with easier to maintain Archunit test. (#466)
🧹 Housekeeping
- Dependency upgrades:
- Bump jackson-bom from 2.13.4 to 2.13.4.20221013 (#479)
- Bump neo4j-cypher-javacc-parser from 4.4.11 to 4.4.12 (#478)
- Bump reactor-bom from 2020.0.23 to 2020.0.24 (#477)
- Bump joda-time from 2.11.2 to 2.12.0 (#476)
- Bump archunit from 0.23.1 to 1.0.0 (#471)
- Bump neo4j-java-driver from 4.4.6 to 4.4.9 (#474)
- Bump testcontainers.version from 1.17.3 to 1.17.5 (#470)
- Bump checker-qual from 3.25.0 to 3.26.0 (#472)
- Bump asm from 9.3 to 9.4 (#468)
- Bump joda-time from 2.11.1 to 2.11.2 (#465)
- Bump spring-boot-starter-parent from 2.7.3 to 2.7.4 (#464)
- Bump junit-bom from 5.9.0 to 5.9.1 (#463)
- Bump asciidoctorj from 2.5.5 to 2.5.6 (#462)
- Bump checkstyle from 10.3.3 to 10.3.4 (#461)
- Bump native-maven-plugin from 0.9.13 to 0.9.14 (#460)
- Bump spring-data-neo4j from 6.3.2 to 6.3.3 (#459)
- Bump jqassistant.plugin.git from 1.8.0 to 1.9.0 (#458)
- Bump maven-jar-plugin from 3.2.2 to 3.3.0 (#457)
- Bump reactor-bom from 2020.0.22 to 2020.0.23 (#456)
- Bump maven-shade-plugin from 3.3.0 to 3.4.0 (#455)
- Bump maven-pmd-plugin from 3.18.0 to 3.19.0 (#454)
- Bump neo4j-cypher-javacc-parser from 4.4.10 to 4.4.11 (#452)
- Bump mockito.version from 4.7.0 to 4.8.0 (#451)
2022.7.2
No breaking changes. This adds a new module - neo4j-cypher-dsl-schema-name-support
- that contains only one class, dedicated to sanitise and quote names that are meant to be used as labels and types. We are using it internally for all our quoting needs and if you have the need in your application to create dynamic queries that deal with the modification of labels and types, you might want to have a look at that module. It is dependency free and safe to shade. The background to do label and type manipulation is this: Cypher does not support them as parameters, you need to concatenate your query for this. In all other cases, please use proper parameter, but especially for string values.
Thanks to @AzuObs @AlexNeo4J and @robsdedude for their feedback on this work and also to @harshitp-fens for their inspiration of the ON_DELETE_ITEM
parser callback.
🚀 Features
🛠 Build
- Fix the build on a restricted TeamCity instance. (#450)
🧹 Housekeeping
- Dependency upgrades:
- Bump checker-qual from 3.24.0 to 3.25.0 (#448)
- Bump japicmp-maven-plugin from 0.15.7 to 0.16.0 (#447)
- Bump jackson-bom from 2.13.3 to 2.13.4 (#446)
- Bump checkstyle from 10.3.2 to 10.3.3 (#444)
- Bump maven-checkstyle-plugin from 3.1.2 to 3.2.0 (#443)
- Bump maven-pmd-plugin from 3.17.0 to 3.18.0 (#442)
- Bump joda-time from 2.11.0 to 2.11.1 (#441)
2022.7.1
No breaking changes. This is an important bug-fix release and a safe drop-in replacement for 2022.7.0 and all 2022.6 releases. If you can life with some deprecation warnings, it can be used as a drop-in for the 2022.5 and 2022.4 series, too.
🐛 Bug Fixes
- Escape escaped Unicode 0060 (backtick) proper. (#436)
🔄️ Refactorings
- Don't double escape already escaped backticks.
🧹 Housekeeping
- Dependency upgrades:
- Bump mockito.version from 4.6.1 to 4.7.0 (#434):
- Bump reactor-bom from 2020.0.21 to 2020.0.22 (#433):
- Bump joda-time from 2.10.14 to 2.11.0 (#432):
- Bump neo4j-cypher-javacc-parser from 4.4.9 to 4.4.10 (#431):
- Bump maven-javadoc-plugin from 3.4.0 to 3.4.1 (#430):
- Bump spring-boot-starter-parent from 2.7.2 to 2.7.3 (#439)
- Bump flatten-maven-plugin from 1.2.7 to 1.3.0 (#437):
2022.7.0
No breaking changes, the minor version has been bumped due to new default methods of internal interfaces.
This release is - again - a safe drop-in replacement for the prior (2022.6.1) one.
Thanks to @AakashSorathiya and @nmervaillie for their input on this release.
🚀 Features
- Add support for
includesAll
andincludesAny
operations on expressions for list properties - Support
org.neo4j.cypher.internal.ast.factory.ASTExpressionFactory#ands
🔄️ Refactorings
- Add cause to unsupported to
UnsupportedCypherException
.
🛠 Build
- Use current JBang action to verify on JDK 8. (#421)
🧹 Housekeeping
- Dependency upgrades:
2022.6.1
🐛 Bug Fixes
- Include aliased expression in local scopes. (#420)
🧹 Housekeeping
- Dependency upgrades:
- Bump neo4j-cypher-javacc-parser from 4.4.8 to 4.4.9 (#418)
- Bump maven-install-plugin from 3.0.0-M1 to 3.0.1 (#417)
- Bump spring-boot-starter-parent from 2.7.1 to 2.7.2 (#416)
- Bump maven-deploy-plugin from 3.0.0-M2 to 3.0.0 (#415)
- Bump exec-maven-plugin from 3.0.0 to 3.1.0 (#414)
- Bump native-maven-plugin from 0.9.12 to 0.9.13 (#413)
- Bump spring-data-neo4j from 6.3.1 to 6.3.2 (#412)
- Bump reactor-bom from 2020.0.20 to 2020.0.21 (#411)
- Bump checker-qual from 3.22.2 to 3.23.0 (#410)
2022.6.0
Functions.internalId()
has been deprecated to accomodate for Neo4j 5 later this year.
We are unsure if we will do this to id()
, too (The method with the same name will be deprecated in Neo4j 5 and eventually
be replaced by elementId()
).
🚀 Features
🔄️ Refactorings
- Deprecate
internalId
in favor ofelementId
on nodes. (#408)
🧹 Housekeeping
2022.5.0
No breaking changes, the minor version has been bumped due to new default methods of internal interfaces.
This release is - again - a safe drop-in replacement for the prior (2022.4.0) one.
Thanks to @hindog, @bhspencer, @Hardu2203 and @irene221b for their input on this release.
🚀 Features
- Add explicit
set
operation toPropertyContainer
. (#394) - Support "WITH *, " by handling the 'returnAll' flag received from parser (#367)
🔄️ Refactorings
- refactor: Remove superfluous whitespaces before
MapExpression
in pretty printer. (#401)
📝 Documentation
- Add an example how to use Cypher parameters with
CypherdslStatementExecutor
. (#395) - Improve JavaDoc of
TemporalLiteral
. - Add correction method description.
🛠 Build
- Use latest Neo4j 4.4 for integration tests.
- Add a CODEOWNERS declaration.
🧹 Housekeeping
- Dependency upgrades:
- Bump jna from 5.11.0 to 5.12.0 (#399)
- Bump spring-boot-starter-parent from 2.7.0 to 2.7.1 (#398)
- Bump spring-data-neo4j from 6.3.0 to 6.3.1 (#397)
- Bump native-maven-plugin from 0.9.11 to 0.9.12 (#396)
- Bump reactor-bom from 2020.0.19 to 2020.0.20 (#392)
- Bump checker-qual from 3.22.1 to 3.22.2 (#390)
- Bump neo4j-cypher-javacc-parser from 4.4.7 to 4.4.8 (#391)
- Bump maven-enforcer-plugin from 3.0.0 to 3.1.0 (#386)
- Bump joda-time from 2.10.10 to 2.10.14 (#387)
- Bump asciidoctorj from 2.5.3 to 2.5.4 (#380)
- Bump assertj-core from 3.22.0 to 3.23.1 (#383)
- Bump checker-qual from 3.22.0 to 3.22.1 (#382)
- Bump mockito.version from 4.6.0 to 4.6.1 (#381)
- Bump neo4j-java-driver from 4.4.5 to 4.4.6 (#379)
- Bump maven-pmd-plugin from 3.16.0 to 3.17.0 (#378)
- Bump asciidoctorj-diagram from 2.2.1 to 2.2.3 (#377)
- Bump mockito.version from 4.5.1 to 4.6.0 (#376)
- Bump checkstyle from 10.2 to 10.3 (#375)
- Bump neo4j-cypher-javacc-parser from 4.4.6 to 4.4.7 (#373)
- Bump testcontainers.version from 1.17.1 to 1.17.2 (#371)
- Bump spring-data-neo4j from 6.2.4 to 6.3.0 (#368)
- Bump jackson-bom from 2.13.2.20220328 to 2.13.3 (#370)
- Bump reactor-bom from 2020.0.18 to 2020.0.19 (#369)
2022.4.0
- Added
withoutResults
to both in-statement and standalone call-builders so that one can use procedures without results
inside a pipeline. This won't break anything, as the corresponding interface is not meant to implemented by downstream
libraries - Compound conditions are now correctly immutable (as stated by the contract and its JavaDoc).
This might break things if you have them changed inflight.
Thanks to @Andy2003 for his input on this release.
🚀 Features
- Allow procedure calls without results after a match clause. (#361)
🐛 Bug Fixes
- Make
CompoundCondition
immutable obliging the interfaces contract. (#365) - Don't skip symbolic names if present and already in scope. (#363)
🛠 Build
- Update github-push-action to 0.6.0.
🧹 Housekeeping
- Dependency upgrades:
- Bump testcontainers.version from 1.16.3 to 1.17.1 (#352)
- Bump reactor-bom from 2020.0.17 to 2020.0.18 (#353)
- Bump mockito.version from 4.4.0 to 4.5.1 (#354)
- Bump checkstyle from 10.1 to 10.2 (#355)
- Bump spring-boot-starter-parent from 2.6.6 to 2.6.7 (#356)
- Bump maven-javadoc-plugin from 3.3.2 to 3.4.0 (#357)
- Bump maven-site-plugin from 3.11.0 to 3.12.0 (#358)
- Bump spring-data-neo4j from 6.2.3 to 6.2.4 (#359)
- Bump neo4j-cypher-javacc-parser from 4.4.5 to 4.4.6 (#360)
- Bump checker-qual from 3.21.4 to 3.22.0 (#364)
2022.3.0
No breaking changes. The minor version has been incremented due to the following changes:
- Changes in the
ExposesSubqueryCall
(new methods to exposecallInTransactions
, but that interface is not meant for
external implementations anyway) - Added a new type
Dialect
and a new default methodenterWithResult
on theVisitor
interface (have a look at the JavaDoc
for the rationale behind it).
🚀 Features
- Add support for dialects.
- Add support for toString(Expression). (#344)
- Support
CALL {} IN TRANSACTIONS
. - Add parameter callbacks to the parser. (#336)
🐛 Bug Fixes
- Prevent
ClassCastException
when usingString
arguments to import variables into a subquery. - Make generated static model usable with self referential associations. (#337, Thanks to @ChristophB for his input on #335).
- Fix tag of CypherParser entry point. (docs)
📝 Documentation
- Add information about GraalVM 21.3.0 and
org.graalvm.buildtools:native-maven-plugin
to CONTRIBUTING.adoc.
🛠 Build
- Fix publish_docs workflow.
- Add support for registering
allDeclaredConstructors
. (#342) - Add
RegisterForReflection
and processor replacing static reflection-config.json. (#341)
🧹 Housekeeping
- Dependency upgrades:
- Bump jackson-bom from 2.13.2 to 2.13.2.20220328 (#346)
- Bump asm from 9.2 to 9.3 (#347)
- Bump jacoco-maven-plugin from 0.8.7 to 0.8.8 (#345)
- Update managed version of error_prone_annotations to 2.12.1, avoiding compilation issues in IDEA.
- Bump spring-boot-starter-parent from 2.6.5 to 2.6.6 (#340)
- Bump checker-qual from 3.21.3 to 3.21.4 (#339)
- Bump maven-shade-plugin from 3.2.4 to 3.3.0 (#338)
2022.2.1
No breaking changes.
🚀 Features
- Add randomUUID to predefined functions.
- Support additional mutate expression types. (#312)
🐛 Bug Fixes
- Don't create empty
WITH
clause without renames. (#320) - Fix rendering of nested FOREACH statements. (#318)
- Check for field type too when computing internalId usage.
📝 Documentation
- Add example how to merge-find things via Springs
CypherdslStatementExecutor
.
🧹 Housekeeping
- Remove Awaitility test-dependency.
- Dependency upgrades:
- Bump spring-data-neo4j from 6.2.2 to 6.2.3 (#332)
- Bump neo4j-cypher-javacc-parser from 4.4.4 to 4.4.5 (#330)
- Bump checkstyle from 10.0 to 10.1 (#329)
- Bump jna from 5.10.0 to 5.11.0 (#331)
- Bump spring-boot-starter-parent from 2.6.4 to 2.6.5 (#333)
- Bump native-maven-plugin from 0.9.10 to 0.9.11 (#334)
- Bump neo4j-java-driver from 4.4.3 to 4.4.5 (#328)
- Bump reactor-bom from 2020.0.16 to 2020.0.17 (#327)
- Bump mockito.version from 4.3.1 to 4.4.0 (#325)
- Bump checkstyle from 9.3 to 10.0 (#323)
- Bump guava from 31.0.1-jre to 31.1-jre (#324)
- Bump checker-qual from 3.21.2 to 3.21.3 (#322)
- Bump awaitility from 4.1.1 to 4.2.0 (#321)
- Bump japicmp-maven-plugin from 0.15.6 to 0.15.7 (#313)
- Bump spring-boot-starter-parent from 2.6.3 to 2.6.4 (#314)