Skip to content

Commit

Permalink
Merge pull request #498 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 Feb 5, 2025
2 parents 43fd812 + 480c9b9 commit b0ffc95
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 22 deletions.
21 changes: 0 additions & 21 deletions .changeset/quick-tables-begin.md

This file was deleted.

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

## 2.3.1

### Patch Changes

- [#497](https://github.com/neo4j/cypher-builder/pull/497) [`e544b91`](https://github.com/neo4j/cypher-builder/commit/e544b91e0fb18fb171b7df324d11d2626e7d00d9) Thanks [@angrykoala](https://github.com/angrykoala)! - Support for assigning maps and variables directly to variables with `.set` to override all properties of a node:

```js
new Cypher.Match(new Cypher.Pattern(movie)).set([
movie,
new Cypher.Map({
title: new Cypher.Param("The Matrix"),
year: new Cypher.Param(1999),
}),
]);
```

```cypher
MATCH (this0)
SET
this0 = { title: $param0, year: $param1 }
```

## 2.3.0

### Minor 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": "2.3.0",
"version": "2.3.1",
"description": "A programmatic API for building Cypher queries for Neo4j",
"exports": "./dist/index.js",
"main": "./dist/index.js",
Expand Down

0 comments on commit b0ffc95

Please sign in to comment.