Skip to content

Commit 478a4f5

Browse files
authored
Merge pull request #550 from neo4j/changeset-release/main
Release new version - changesets
2 parents b60ec0a + 30718f7 commit 478a4f5

File tree

3 files changed

+7
-40
lines changed

3 files changed

+7
-40
lines changed

.changeset/petite-taxis-burn.md

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

CHANGELOG.md

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

3+
## 2.7.1
4+
5+
### Patch Changes
6+
7+
- [#549](https://github.com/neo4j/cypher-builder/pull/549) [`7b5b625`](https://github.com/neo4j/cypher-builder/commit/7b5b6259aa01a062247f50faee61f6592908e990) Thanks [@angrykoala](https://github.com/angrykoala)! - Makes value of `Cypher.Param` writable so it can be overwritten before the query is built
8+
39
## 2.7.0
410

511
### Minor Changes
@@ -101,7 +107,6 @@
101107
Using this method as part of query building can lead to incorrect behaviour and it is generally a bad practice.
102108

103109
- [#518](https://github.com/neo4j/cypher-builder/pull/518) [`a48f9ed`](https://github.com/neo4j/cypher-builder/commit/a48f9ed65cc4778f2906318ed01908af86091920) Thanks [@angrykoala](https://github.com/angrykoala)! - Explicitly exports some types that were used or returned by public functions and methods:
104-
105110
- `CallInTransactionOptions`
106111
- `ForeachClauses`
107112
- `PartialPattern`
@@ -162,7 +167,6 @@
162167
### Patch Changes
163168

164169
- [#505](https://github.com/neo4j/cypher-builder/pull/505) [`dd5acb5`](https://github.com/neo4j/cypher-builder/commit/dd5acb54d872053973fc289c09364f037dfc2d6b) Thanks [@angrykoala](https://github.com/angrykoala)! - New options to disable automatic escaping of labels and relationship types have been added to the `.build` method on clauses, inside the new object `unsafeEscapeOptions`:
165-
166170
- `disableLabelEscaping` (defaults to `false`): If set to true, node labels will not be escaped if unsafe.
167171
- `disableRelationshipTypeEscaping` (defaults to `false`): If set to true, relationship types will not be escaped if unsafe
168172

@@ -318,7 +322,6 @@
318322
### Patch Changes
319323
320324
- [#476](https://github.com/neo4j/cypher-builder/pull/476) [`79e1e87`](https://github.com/neo4j/cypher-builder/commit/79e1e8732b9a37d9143147b55ebb7219095ebc5a) Thanks [@angrykoala](https://github.com/angrykoala)! - Escapes variables using the following reserved words (case insensitive):
321-
322325
- `where`
323326
- `is`
324327
- `contains`
@@ -386,7 +389,6 @@
386389
### Patch Changes
387390
388391
- [#457](https://github.com/neo4j/cypher-builder/pull/457) [`85aa393`](https://github.com/neo4j/cypher-builder/commit/85aa39378525f7c4d87363bad39310a94ceb9b00) Thanks [@angrykoala](https://github.com/angrykoala)! - Fix types in `Unwind` to reflect its behaviour in Cypher:
389-
390392
- Unwind without alias is not supported in Cypher.
391393
- Unwind does not support `*`
392394
- Unwind does not support multiple columns
@@ -448,7 +450,6 @@
448450
- [#447](https://github.com/neo4j/cypher-builder/pull/447) [`b82be57`](https://github.com/neo4j/cypher-builder/commit/b82be57dc5440e63aa5c7b4dc95edc5a778338f3) Thanks [@angrykoala](https://github.com/angrykoala)! - Remove `Path` and `NamedPath` in favor of `PathVariable` and `NamedPathVariable`
449451
450452
- [#389](https://github.com/neo4j/cypher-builder/pull/389) [`f5135f5`](https://github.com/neo4j/cypher-builder/commit/f5135f5396c7f86051282b214cf14b9e843cd3e8) Thanks [@angrykoala](https://github.com/angrykoala)! - Removes the following deprecated features:
451-
452453
- `pointDistance`
453454
- `utils.compileCypher`
454455
- `RawCypher`
@@ -486,7 +487,6 @@
486487
- [#410](https://github.com/neo4j/cypher-builder/pull/410) [`961933f`](https://github.com/neo4j/cypher-builder/commit/961933f051d2359184f6dcc9d3407f1092feec83) Thanks [@angrykoala](https://github.com/angrykoala)! - Removes `previous` argument from `Pattern` constructor. This argument was never meant to be used externally and now it is not accessible
487488
488489
- [#391](https://github.com/neo4j/cypher-builder/pull/391) [`d416ee6`](https://github.com/neo4j/cypher-builder/commit/d416ee6a623a9cbc8c573e11e1e155d799f19abf) Thanks [@angrykoala](https://github.com/angrykoala)! - Fix TypeScript typings for boolean operators when using array spread:
489-
490490
- `Cypher.and`
491491
- `Cypher.or`
492492
- `Cypher.xor`
@@ -508,7 +508,6 @@
508508
Passing parameters without spread will still return a defined type
509509
510510
- [#447](https://github.com/neo4j/cypher-builder/pull/447) [`b82be57`](https://github.com/neo4j/cypher-builder/commit/b82be57dc5440e63aa5c7b4dc95edc5a778338f3) Thanks [@angrykoala](https://github.com/angrykoala)! - Remove `assignToPath` method from clauses, in favor of `assignTo` in Patterns for the following clauses:
511-
512511
- `Match`
513512
- `Merge`
514513
- `Create`
@@ -638,7 +637,6 @@
638637
```
639638
640639
- [#425](https://github.com/neo4j/cypher-builder/pull/425) [`e899ceb`](https://github.com/neo4j/cypher-builder/commit/e899cebd0c12bdf80051f84c0574293329f74855) Thanks [@angrykoala](https://github.com/angrykoala)! - Add support for order by, skip and limit chaining after the following clauses:
641-
642640
- Call
643641
- Merge
644642
- Create
@@ -651,7 +649,6 @@
651649
### Minor Changes
652650
653651
- [#413](https://github.com/neo4j/cypher-builder/pull/413) [`0f2dfe6`](https://github.com/neo4j/cypher-builder/commit/0f2dfe67a2d4386e6a565791f6a952c0e51c6b8b) Thanks [@angrykoala](https://github.com/angrykoala)! - Add support for SHORTEST keyword in match and its variations:
654-
655652
- `.shortest(k)`
656653
- `.shortestGroups(k)`
657654
- `.allShortest`
@@ -728,7 +725,6 @@
728725
```
729726
730727
- [#396](https://github.com/neo4j/cypher-builder/pull/396) [`f39056f`](https://github.com/neo4j/cypher-builder/commit/f39056f11a68b384df763470b39909efe56da20f) Thanks [@angrykoala](https://github.com/angrykoala)! - Add support for GQL type aliases introduced in Neo4j 5.23:
731-
732728
- `Cypher.TYPE.TIMESTAMP_WITHOUT_TIME_ZONE`
733729
- `Cypher.TYPE.TIME_WITHOUT_TIME_ZONE`
734730
- `Cypher.TYPE.TIMESTAMP_WITH_TIME_ZONE`
@@ -790,7 +786,6 @@
790786
### Patch Changes
791787
792788
- [#371](https://github.com/neo4j/cypher-builder/pull/371) [`6d1b0c4`](https://github.com/neo4j/cypher-builder/commit/6d1b0c44d0c7d8862dbbcf7e1c29897cb2e17c5c) Thanks [@angrykoala](https://github.com/angrykoala)! - Add `LOAD CSV` related functions:
793-
794789
- `file()`
795790
- `linenumber()`
796791
@@ -828,19 +823,16 @@
828823
### Patch Changes
829824
830825
- [#357](https://github.com/neo4j/cypher-builder/pull/357) [`22f87f3`](https://github.com/neo4j/cypher-builder/commit/22f87f370508ebbad3ad6effc09756105cb61b55) Thanks [@angrykoala](https://github.com/angrykoala)! - Support for procedures in the tx namespace:
831-
832826
- `tx.getMetaData`
833827
- `tx.setMetaData`
834828
835829
- [#363](https://github.com/neo4j/cypher-builder/pull/363) [`47ee1ef`](https://github.com/neo4j/cypher-builder/commit/47ee1ef9b3f687e789eae307486d1e320f183329) Thanks [@angrykoala](https://github.com/angrykoala)! - Add functions `lower` and `upper`
836830
837831
- [#361](https://github.com/neo4j/cypher-builder/pull/361) [`e769f61`](https://github.com/neo4j/cypher-builder/commit/e769f612f1f3e904467209e7c477b23a1d086b0c) Thanks [@angrykoala](https://github.com/angrykoala)! - Add support for missing fulltext procedures:
838-
839832
- `db.index.fulltext.awaitEventuallyConsistentIndexRefresh`
840833
- `db.index.fulltext.listAvailableAnalyzers`
841834
842835
- [#361](https://github.com/neo4j/cypher-builder/pull/361) [`e769f61`](https://github.com/neo4j/cypher-builder/commit/e769f612f1f3e904467209e7c477b23a1d086b0c) Thanks [@angrykoala](https://github.com/angrykoala)! - Add support for missing db procedures:
843-
844836
- `db.ping`
845837
- `db.propertyKeys`
846838
- `db.relationshipTypes`
@@ -852,7 +844,6 @@
852844
### Patch Changes
853845
854846
- [#355](https://github.com/neo4j/cypher-builder/pull/355) [`acddbc3`](https://github.com/neo4j/cypher-builder/commit/acddbc365d50390d152e180a8f0f6a04827ce7e1) Thanks [@angrykoala](https://github.com/angrykoala)! - Add the following procedures:
855-
856847
- `db.nameFromElementId`
857848
- `db.info`
858849
- `db.createLabel`
@@ -908,7 +899,6 @@
908899
### Patch Changes
909900
910901
- [#310](https://github.com/neo4j/cypher-builder/pull/310) [`13fd317`](https://github.com/neo4j/cypher-builder/commit/13fd31777c6873f615d2f333cbbaabb90f7aaba5) Thanks [@angrykoala](https://github.com/angrykoala)! - The following methods in `Pattern` class and chains are deprecated:
911-
912902
- `withoutLabels`
913903
- `withoutVariable`
914904
- `withProperties`
@@ -979,7 +969,6 @@
979969
### Patch Changes
980970
981971
- [#315](https://github.com/neo4j/cypher-builder/pull/315) [`e3a7505`](https://github.com/neo4j/cypher-builder/commit/e3a750521adb3af6a5653eb8093a3d69bd1d29b0) Thanks [@angrykoala](https://github.com/angrykoala)! - Deprecate `Cypher.cdc` Procedures in favor of `Cypher.db.cdc`:
982-
983972
- `Cypher.cdc.current` in favor of `Cypher.db.cdc.current`
984973
- `Cypher.cdc.earliest` in favor of `Cypher.db.cdc.earliest`
985974
- `Cypher.cdc.query` in favor of `Cypher.db.cdc.query`
@@ -1144,7 +1133,6 @@
11441133
### Minor Changes
11451134
11461135
- [#269](https://github.com/neo4j/cypher-builder/pull/269) [`6d9d3e2`](https://github.com/neo4j/cypher-builder/commit/6d9d3e226ecc72252b3609dd22f367ae909b1dca) Thanks [@angrykoala](https://github.com/angrykoala)! - Add chained clauses to Procedures after YIELD:
1147-
11481136
- `.unwind`
11491137
- `.match`
11501138
- `.optionalMatch`
@@ -1298,13 +1286,11 @@
12981286
### Minor Changes
12991287
13001288
- [#218](https://github.com/neo4j/cypher-builder/pull/218) [`81dc823`](https://github.com/neo4j/cypher-builder/commit/81dc82377cc93a50d373cf05824ab8ef45efa93a) Thanks [@angrykoala](https://github.com/angrykoala)! - Add support for CDC procedures:
1301-
13021289
- `cdc.current`
13031290
- `cdc.earliest`
13041291
- `cdc.query`
13051292
13061293
- [#224](https://github.com/neo4j/cypher-builder/pull/224) [`c872abd`](https://github.com/neo4j/cypher-builder/commit/c872abd611e22db3ae1fd3b6c8162f44f7e47eb6) Thanks [@angrykoala](https://github.com/angrykoala)! - Implement functions from Cypher 5.13:
1307-
13081294
- `valueType`
13091295
- `char_length`
13101296
- `character_length`
@@ -1318,18 +1304,15 @@
13181304
### Minor Changes
13191305
13201306
- [#211](https://github.com/neo4j/cypher-builder/pull/211) [`2e76445`](https://github.com/neo4j/cypher-builder/commit/2e76445174843dcb77fcd68633f22a4cc427a508) Thanks [@angrykoala](https://github.com/angrykoala)! - Add chained clauses in unwind:
1321-
13221307
- `Unwind.return`
13231308
- `Unwind.remove`
13241309
- `Unwind.set`
13251310
13261311
- [`fa3d246`](https://github.com/neo4j/cypher-builder/commit/fa3d24612c7094ec947b036bf7bd00f660916e33) Thanks [@angrykoala](https://github.com/angrykoala)! - Add chained methods in Merge:
1327-
13281312
- `Merge.remove`
13291313
- `Merge.with`
13301314
13311315
- [#213](https://github.com/neo4j/cypher-builder/pull/213) [`64edcdd`](https://github.com/neo4j/cypher-builder/commit/64edcdd580fb72cf8e859edf4f6331ffee65c189) Thanks [@angrykoala](https://github.com/angrykoala)! - Add methods for chained Merge:
1332-
13331316
- `Match.merge`
13341317
- `Create.merge`
13351318
- `Call.merge`
@@ -1339,7 +1322,6 @@
13391322
- `With.merge`
13401323
13411324
- [#206](https://github.com/neo4j/cypher-builder/pull/206) [`1ef6244`](https://github.com/neo4j/cypher-builder/commit/1ef6244df80dd1f48e69623b0f3ea0cdb62b6376) Thanks [@angrykoala](https://github.com/angrykoala)! - Add methods for chained match clauses:
1342-
13431325
- `With.match`
13441326
- `With.optionalMatch`
13451327
- `Unwind.match`
@@ -1348,14 +1330,12 @@
13481330
- `Call.optionalMatch`
13491331
13501332
- [#204](https://github.com/neo4j/cypher-builder/pull/204) [`8227ade`](https://github.com/neo4j/cypher-builder/commit/8227ade6f7174d6c61bf5d2475fea04912e9a2c8) Thanks [@angrykoala](https://github.com/angrykoala)! - Add chained clauses in CALL clause:
1351-
13521333
- `Call.remove`
13531334
- `Call.set`
13541335
- `Call.delete`
13551336
- `Call.detachDelete`
13561337
13571338
- [#212](https://github.com/neo4j/cypher-builder/pull/212) [`33ceb71`](https://github.com/neo4j/cypher-builder/commit/33ceb71a5eeea0af2f46d52417015643a0a9f2fb) Thanks [@angrykoala](https://github.com/angrykoala)! - Add methods for chained Create method:
1358-
13591339
- `Match.create`
13601340
- `Call.create`
13611341
- `Foreach.create`
@@ -1364,26 +1344,22 @@
13641344
- `With.create`
13651345
13661346
- [#200](https://github.com/neo4j/cypher-builder/pull/200) [`d582e1a`](https://github.com/neo4j/cypher-builder/commit/d582e1ace8665de5ea3ed2abcfc9ad6c571fdfbf) Thanks [@angrykoala](https://github.com/angrykoala)! - Add support nested match clauses #90:
1367-
13681347
- `Match.match()`
13691348
- `Match.optionalMatch()`
13701349
13711350
- [#210](https://github.com/neo4j/cypher-builder/pull/210) [`9388048`](https://github.com/neo4j/cypher-builder/commit/9388048f65f1850d9eee6c0fa666328da27d46ea) Thanks [@angrykoala](https://github.com/angrykoala)! - Add chained subclauses for foreach:
1372-
13731351
- `Foreach.return`
13741352
- `Foreach.remove`
13751353
- `Foreach.set`
13761354
- `Foreach.delete`
13771355
- `Foreach.detachDelete`
13781356
13791357
- [#201](https://github.com/neo4j/cypher-builder/pull/201) [`70c60b1`](https://github.com/neo4j/cypher-builder/commit/70c60b1edbb672c32d4394401d37c60a85d45633) Thanks [@angrykoala](https://github.com/angrykoala)! - Support for chained unwind:
1380-
13811358
- `Unwind.unwind`
13821359
- `Match.unwind`
13831360
- `With.unwind`
13841361
13851362
- [#203](https://github.com/neo4j/cypher-builder/pull/203) [`d7d0d2f`](https://github.com/neo4j/cypher-builder/commit/d7d0d2f8d2262d854deea49faf611d2581cb3392) Thanks [@angrykoala](https://github.com/angrykoala)! - Add support for chained methods on Create clause:
1386-
13871363
- `Create.remove`
13881364
- `Create.delete`
13891365
- `Create.detachDelete`
@@ -1506,15 +1482,13 @@
15061482
### Minor Changes
15071483
15081484
- [#106](https://github.com/neo4j/cypher-builder/pull/106) [`7474e62`](https://github.com/neo4j/cypher-builder/commit/7474e62ef8336b394d43021d459686096f0cae4c) Thanks [@angrykoala](https://github.com/angrykoala)! - Add instant temporal functions:
1509-
15101485
- time
15111486
- localtime
15121487
- localdatetime
15131488
- datetime
15141489
- date
15151490
15161491
As well as the related nested functions:
1517-
15181492
- \*.realtime
15191493
- \*.statement
15201494
- \*.transaction
@@ -1540,7 +1514,6 @@
15401514
### Minor Changes
15411515
15421516
- [#96](https://github.com/neo4j/cypher-builder/pull/96) [`7cb59d1`](https://github.com/neo4j/cypher-builder/commit/7cb59d1f44d479b878dca435c0ad8d56a380bd19) Thanks [@angrykoala](https://github.com/angrykoala)! - Add missing spatial functions:
1543-
15441517
- withinBBox
15451518
15461519
- [#91](https://github.com/neo4j/cypher-builder/pull/91) [`0940e2b`](https://github.com/neo4j/cypher-builder/commit/0940e2b88ed229510b431d0db4c9fb53c1c74cab) Thanks [@angrykoala](https://github.com/angrykoala)! - Add missing aggregation functions:
@@ -1620,7 +1593,6 @@
16201593
### Patch Changes
16211594
16221595
- [#50](https://github.com/neo4j/cypher-builder/pull/50) [`91ee39c`](https://github.com/neo4j/cypher-builder/commit/91ee39c9e38ea1e7ba6bfe142c604694355ddca9) Thanks [@angrykoala](https://github.com/angrykoala)! - Updates escape logic so names with numbers are not escaped unless they begin with a number:
1623-
16241596
- `this0` OK
16251597
- `0this` Should be escaped
16261598

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.0",
3+
"version": "2.7.1",
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)