Skip to content

Commit 131c372

Browse files
authored
Merge pull request #564 from neo4j/changeset-release/main
Release new version - changesets
2 parents 86dc741 + de289cc commit 131c372

File tree

5 files changed

+39
-42
lines changed

5 files changed

+39
-42
lines changed

.changeset/few-sides-switch.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/kind-bags-remain.md

Lines changed: 0 additions & 17 deletions
This file was deleted.

.changeset/poor-crews-rescue.md

Lines changed: 0 additions & 19 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,43 @@
11
# @neo4j/cypher-builder
22

3+
## 2.8.0
4+
5+
### Minor Changes
6+
7+
- [#559](https://github.com/neo4j/cypher-builder/pull/559) [`137a908`](https://github.com/neo4j/cypher-builder/commit/137a908c88bff2e02f9363118d36726096508d89) Thanks [@angrykoala](https://github.com/angrykoala)! - Support for dynamic labels in patterns
8+
9+
```javascript
10+
const query = new Cypher.Match(
11+
new Cypher.Pattern(new Cypher.Node(), {
12+
labels: new Cypher.Param("Movie"),
13+
})
14+
);
15+
```
16+
17+
```cypher
18+
MATCH (this0:$($param0))
19+
```
20+
21+
- [#559](https://github.com/neo4j/cypher-builder/pull/559) [`0223ca9`](https://github.com/neo4j/cypher-builder/commit/0223ca9157c1cc15ce83e3fbc8e914a6ffd5df3f) Thanks [@angrykoala](https://github.com/angrykoala)! - Add support for dynamic types in patterns
22+
23+
```javascript
24+
const query = new Cypher.Match(
25+
new Cypher.Pattern(new Cypher.Node())
26+
.related({
27+
type: new Cypher.Param("ACTED_IN"),
28+
})
29+
.to()
30+
);
31+
```
32+
33+
```cypher
34+
MATCH (this0)-[:$($param1)]->()
35+
```
36+
37+
### Patch Changes
38+
39+
- [#561](https://github.com/neo4j/cypher-builder/pull/561) [`83774e8`](https://github.com/neo4j/cypher-builder/commit/83774e8b12738bf36edb9d65f7dffd944933db20) Thanks [@angrykoala](https://github.com/angrykoala)! - Deprecates the option `labelOperator`, this option only exists for compatibility with Cypher 4 and is no longer relevant for Cypher 5 or 25
40+
341
## 2.7.2
442

543
### Patch Changes

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@neo4j/cypher-builder",
3-
"version": "2.7.2",
3+
"version": "2.8.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)