From 87b26be12bf07d3ee170881d344a9b0676f9b625 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 5 Nov 2024 16:11:03 +0000 Subject: [PATCH] Version Packages --- .changeset/shiny-pots-pretend.md | 24 ------------------------ .changeset/sour-jars-wonder.md | 5 ----- CHANGELOG.md | 27 +++++++++++++++++++++++++++ package.json | 2 +- 4 files changed, 28 insertions(+), 30 deletions(-) delete mode 100644 .changeset/shiny-pots-pretend.md delete mode 100644 .changeset/sour-jars-wonder.md diff --git a/.changeset/shiny-pots-pretend.md b/.changeset/shiny-pots-pretend.md deleted file mode 100644 index 1d1212c7..00000000 --- a/.changeset/shiny-pots-pretend.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -"@neo4j/cypher-builder": patch ---- - -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 -``` diff --git a/.changeset/sour-jars-wonder.md b/.changeset/sour-jars-wonder.md deleted file mode 100644 index 3220cd87..00000000 --- a/.changeset/sour-jars-wonder.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@neo4j/cypher-builder": patch ---- - -Deprecate `Cypher.Path` and `Cypher.NamedPath` in favor of `Cypher.PathVariable` and `Cypher.NamedPathVariable` respectively diff --git a/CHANGELOG.md b/CHANGELOG.md index c4e10abc..8e3f5ab0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/package.json b/package.json index e2b9cfdf..400ccfc4 100644 --- a/package.json +++ b/package.json @@ -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",