Skip to content

Commit

Permalink
Merge pull request #446 from neo4j/changeset-release/main
Browse files Browse the repository at this point in the history
Release new version - changesets
  • Loading branch information
angrykoala authored Nov 5, 2024
2 parents cc0b644 + 87b26be commit 9ce6d0c
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 30 deletions.
24 changes: 0 additions & 24 deletions .changeset/shiny-pots-pretend.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/sour-jars-wonder.md

This file was deleted.

27 changes: 27 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,32 @@
# @neo4j/cypher-builder

## 1.22.3

### Patch Changes

- [#444](https://github.com/neo4j/cypher-builder/pull/444) [`be3c49e`](https://github.com/neo4j/cypher-builder/commit/be3c49ed060cd5cd06226d0eb01c4d123d4bdb20) Thanks [@angrykoala](https://github.com/angrykoala)! - Deprecate `assignToPath` in clauses in favor of `assignTo` in Pattern

Before:

```js
new Cypher.Match(pattern).assignToPath(path).return(path);
```

Now:

```js
new Cypher.Match(pattern.assignTo(path)).return(path);
```

Generates the Cypher:

```cypher
MATCH p = ()-[]-()
RETURN p
```

- [#444](https://github.com/neo4j/cypher-builder/pull/444) [`0a5bf6c`](https://github.com/neo4j/cypher-builder/commit/0a5bf6c5cbb7e0c3ebd9773c58398994f14858b3) Thanks [@angrykoala](https://github.com/angrykoala)! - Deprecate `Cypher.Path` and `Cypher.NamedPath` in favor of `Cypher.PathVariable` and `Cypher.NamedPathVariable` respectively

## 1.22.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@neo4j/cypher-builder",
"version": "1.22.2",
"version": "1.22.3",
"description": "A programmatic API for building Cypher queries for Neo4j",
"exports": "./dist/index.js",
"main": "./dist/index.js",
Expand Down

0 comments on commit 9ce6d0c

Please sign in to comment.