Skip to content

Commit 67e16d6

Browse files
authored
Merge pull request #237 from neo4j/changeset-release/main
Release new version - changesets
2 parents 013b6c2 + d5cf03f commit 67e16d6

File tree

3 files changed

+23
-22
lines changed

3 files changed

+23
-22
lines changed

.changeset/popular-needles-share.md

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

CHANGELOG.md

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

3+
## 1.7.3
4+
5+
### Patch Changes
6+
7+
- [#236](https://github.com/neo4j/cypher-builder/pull/236) [`34552dc`](https://github.com/neo4j/cypher-builder/commit/34552dc31339f4392afcc578ff82f011a4c21f3f) Thanks [@angrykoala](https://github.com/angrykoala)! - Support for chained `.yield`:
8+
9+
```ts
10+
const customProcedure = new Cypher.Procedure("customProcedure", []).yield("result1").yield(["result2", "aliased"]);
11+
```
12+
13+
is equivalent to:
14+
15+
```ts
16+
const customProcedure = new Cypher.Procedure("customProcedure", []).yield("result1", ["result2", "aliased"]);
17+
```
18+
19+
and results in the Cypher:
20+
21+
```cypher
22+
CALL customProcedure() YIELD result1, result2 AS aliased
23+
```
24+
325
## 1.7.2
426

527
### 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": "1.7.2",
3+
"version": "1.7.3",
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)