Skip to content

Commit de44fde

Browse files
Version Packages
1 parent 6d80840 commit de44fde

File tree

4 files changed

+38
-38
lines changed

4 files changed

+38
-38
lines changed

.changeset/kind-bushes-prove.md

-23
This file was deleted.

.changeset/wide-breads-help.md

-14
This file was deleted.

CHANGELOG.md

+37
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,42 @@
11
# @neo4j/cypher-builder
22

3+
## 2.4.0
4+
5+
### Minor Changes
6+
7+
- [#508](https://github.com/neo4j/cypher-builder/pull/508) [`12a78f0`](https://github.com/neo4j/cypher-builder/commit/12a78f0b1e6e20e8b27f6dd986730918c521b05c) Thanks [@angrykoala](https://github.com/angrykoala)! - Add support for `+=` operator on `SET`
8+
9+
```js
10+
const movie = new Cypher.Node();
11+
const clause = new Cypher.Match(new Cypher.Pattern(movie)).set([
12+
movie,
13+
"+=",
14+
new Cypher.Map({
15+
title: new Cypher.Param("The Matrix"),
16+
year: new Cypher.Param(1999),
17+
}),
18+
]);
19+
```
20+
21+
```cypher
22+
MATCH (this0)
23+
SET
24+
this0 += { title: $param0, year: $param1 }
25+
```
26+
27+
### Patch Changes
28+
29+
- [#513](https://github.com/neo4j/cypher-builder/pull/513) [`d4337b9`](https://github.com/neo4j/cypher-builder/commit/d4337b9f9973e8f5583295bab848c71970586e7f) Thanks [@angrykoala](https://github.com/angrykoala)! - Rename `disableLabelEscaping` to `disableNodeLabelEscaping` in `unsafeEscapeOptions`:
30+
31+
```js
32+
const queryResult = matchQuery.build({
33+
unsafeEscapeOptions: {
34+
disableNodeLabelEscaping: true,
35+
disableRelationshipTypeEscaping: true,
36+
},
37+
});
38+
```
39+
340
## 2.3.2
441

542
### Patch Changes

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@neo4j/cypher-builder",
3-
"version": "2.3.2",
3+
"version": "2.4.0",
44
"description": "A programmatic API for building Cypher queries for Neo4j",
55
"exports": "./dist/index.js",
66
"main": "./dist/index.js",

0 commit comments

Comments
 (0)