fix(deps): update dependency @neo4j/cypher-builder to v2 (lts) #5924
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^1.20.1
->^2.0.0
Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
neo4j/cypher-builder (@neo4j/cypher-builder)
v2.1.0
Compare Source
Minor Changes
#471
1c671f1
Thanks @angrykoala! - Add support for dynamic labels by passing an expression tonode.label
:Patch Changes
#476
79e1e87
Thanks @angrykoala! - Escapes variables using the following reserved words (case insensitive):where
is
contains
in
For example:
Generates the following Cypher
v2.0.2
Compare Source
Patch Changes
#463
57a3f9c
Thanks @angrykoala! - Fix order of set remove subclauses. The generated cypher will now maintain the order of multipleSET
andREMOVE
statements.For example:
Before
After
v2.0.1
Compare Source
Patch Changes
#457
85aa393
Thanks @angrykoala! - Fix types inUnwind
to reflect its behaviour in Cypher:*
v2.0.0
Compare Source
Major Changes
#389
88f4928
Thanks @angrykoala! - Patterns no longer create a variable by defaultBefore:
(this0)
Now:
#390
038d8b5
Thanks @angrykoala! - Clause build options are now passed as an object rather than parameters:All parameters are optional, and
build
can still be called without parameters#389
f5135f5
Thanks @angrykoala! - Remove support for adding new columns into an existing with clause with.with
, the methodaddColumns
should be used instead#408
bba9d81
Thanks @angrykoala! - Escape literal strings if they contain invalid characters:Would get translated into the following Cypher:
"Hello \"World\""
#409
adf599f
Thanks @angrykoala! - Cypher.Raw no longer exposes Cypher.Environment variable. It provides aCypherRawContext
instance with acompile
method to compile nested elements in custom cypher instead#407
88a300a
Thanks @angrykoala! - Remove methodCypher.concat
,Cypher.utils.concat
should be used instead#447
b82be57
Thanks @angrykoala! - RemovePath
andNamedPath
in favor ofPathVariable
andNamedPathVariable
#389
f5135f5
Thanks @angrykoala! - Removes the following deprecated features:pointDistance
utils.compileCypher
RawCypher
onCreate
method inMerge
clausesinnerWith
method inCall
clausesPatternComprehension
second parametercdc
namespace:cdc.current
cdc.earliest
cdc.query
rTrim
andlTrim
Pattern.withoutLabels
Pattern.withoutVariable
Pattern.withProperties
Pattern.withVariables
Pattern.related().withoutType
Pattern.related().withDirection
Pattern.related().withLength
Pattern.related().getVariables
Relationship.type
Node
andRelationship
classesNode
directly in constructor of clauses#453
f8a8120
Thanks @angrykoala! - Remove support for fine-grained prefix configurationNo longer supported:
#410
961933f
Thanks @angrykoala! - Removesprevious
argument fromPattern
constructor. This argument was never meant to be used externally and now it is not accessible#391
d416ee6
Thanks @angrykoala! - Fix TypeScript typings for boolean operators when using array spread:Cypher.and
Cypher.or
Cypher.xor
The following:
Will now return the correct type
Cypher.Predicate | undefined
. This change means that additional checks may be needed when using boolean operators:Passing parameters without spread will still return a defined type
#447
b82be57
Thanks @angrykoala! - RemoveassignToPath
method from clauses, in favor ofassignTo
in Patterns for the following clauses:Match
Merge
Create
Before:
Now:
Generates the Cypher:
Patch Changes
#389
f5135f5
Thanks @angrykoala! - Improves error message when multiple clauses are added to the same clause#389
f5135f5
Thanks @angrykoala! - Add support for passing an existing With clause toWith.with
#448
253a6df
Thanks @angrykoala! - Support forVariable | undefined
as an input for PatternsConfiguration
📅 Schedule: Branch creation - "after 10pm every weekday,before 5am every weekday,every weekend" in timezone Europe/London, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.