|
1 | 1 | # @neo4j/cypher-builder |
2 | 2 |
|
| 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 | + |
3 | 9 | ## 2.7.0 |
4 | 10 |
|
5 | 11 | ### Minor Changes |
|
101 | 107 | Using this method as part of query building can lead to incorrect behaviour and it is generally a bad practice. |
102 | 108 |
|
103 | 109 | - [#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 | | - |
105 | 110 | - `CallInTransactionOptions` |
106 | 111 | - `ForeachClauses` |
107 | 112 | - `PartialPattern` |
|
162 | 167 | ### Patch Changes |
163 | 168 |
|
164 | 169 | - [#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 | | - |
166 | 170 | - `disableLabelEscaping` (defaults to `false`): If set to true, node labels will not be escaped if unsafe. |
167 | 171 | - `disableRelationshipTypeEscaping` (defaults to `false`): If set to true, relationship types will not be escaped if unsafe |
168 | 172 |
|
|
318 | 322 | ### Patch Changes |
319 | 323 |
|
320 | 324 | - [#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 | | -
|
322 | 325 | - `where` |
323 | 326 | - `is` |
324 | 327 | - `contains` |
|
386 | 389 | ### Patch Changes |
387 | 390 |
|
388 | 391 | - [#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 | | -
|
390 | 392 | - Unwind without alias is not supported in Cypher. |
391 | 393 | - Unwind does not support `*` |
392 | 394 | - Unwind does not support multiple columns |
|
448 | 450 | - [#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` |
449 | 451 |
|
450 | 452 | - [#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 | | -
|
452 | 453 | - `pointDistance` |
453 | 454 | - `utils.compileCypher` |
454 | 455 | - `RawCypher` |
|
486 | 487 | - [#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 |
487 | 488 |
|
488 | 489 | - [#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 | | -
|
490 | 490 | - `Cypher.and` |
491 | 491 | - `Cypher.or` |
492 | 492 | - `Cypher.xor` |
|
508 | 508 | Passing parameters without spread will still return a defined type |
509 | 509 |
|
510 | 510 | - [#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 | | -
|
512 | 511 | - `Match` |
513 | 512 | - `Merge` |
514 | 513 | - `Create` |
|
638 | 637 | ``` |
639 | 638 |
|
640 | 639 | - [#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 | | -
|
642 | 640 | - Call |
643 | 641 | - Merge |
644 | 642 | - Create |
|
651 | 649 | ### Minor Changes |
652 | 650 |
|
653 | 651 | - [#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 | | -
|
655 | 652 | - `.shortest(k)` |
656 | 653 | - `.shortestGroups(k)` |
657 | 654 | - `.allShortest` |
|
728 | 725 | ``` |
729 | 726 |
|
730 | 727 | - [#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 | | -
|
732 | 728 | - `Cypher.TYPE.TIMESTAMP_WITHOUT_TIME_ZONE` |
733 | 729 | - `Cypher.TYPE.TIME_WITHOUT_TIME_ZONE` |
734 | 730 | - `Cypher.TYPE.TIMESTAMP_WITH_TIME_ZONE` |
|
790 | 786 | ### Patch Changes |
791 | 787 |
|
792 | 788 | - [#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 | | -
|
794 | 789 | - `file()` |
795 | 790 | - `linenumber()` |
796 | 791 |
|
|
828 | 823 | ### Patch Changes |
829 | 824 |
|
830 | 825 | - [#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 | | -
|
832 | 826 | - `tx.getMetaData` |
833 | 827 | - `tx.setMetaData` |
834 | 828 |
|
835 | 829 | - [#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` |
836 | 830 |
|
837 | 831 | - [#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 | | -
|
839 | 832 | - `db.index.fulltext.awaitEventuallyConsistentIndexRefresh` |
840 | 833 | - `db.index.fulltext.listAvailableAnalyzers` |
841 | 834 |
|
842 | 835 | - [#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 | | -
|
844 | 836 | - `db.ping` |
845 | 837 | - `db.propertyKeys` |
846 | 838 | - `db.relationshipTypes` |
|
852 | 844 | ### Patch Changes |
853 | 845 |
|
854 | 846 | - [#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 | | -
|
856 | 847 | - `db.nameFromElementId` |
857 | 848 | - `db.info` |
858 | 849 | - `db.createLabel` |
|
908 | 899 | ### Patch Changes |
909 | 900 |
|
910 | 901 | - [#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 | | -
|
912 | 902 | - `withoutLabels` |
913 | 903 | - `withoutVariable` |
914 | 904 | - `withProperties` |
|
979 | 969 | ### Patch Changes |
980 | 970 |
|
981 | 971 | - [#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 | | -
|
983 | 972 | - `Cypher.cdc.current` in favor of `Cypher.db.cdc.current` |
984 | 973 | - `Cypher.cdc.earliest` in favor of `Cypher.db.cdc.earliest` |
985 | 974 | - `Cypher.cdc.query` in favor of `Cypher.db.cdc.query` |
|
1144 | 1133 | ### Minor Changes |
1145 | 1134 |
|
1146 | 1135 | - [#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 | | -
|
1148 | 1136 | - `.unwind` |
1149 | 1137 | - `.match` |
1150 | 1138 | - `.optionalMatch` |
|
1298 | 1286 | ### Minor Changes |
1299 | 1287 |
|
1300 | 1288 | - [#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 | | -
|
1302 | 1289 | - `cdc.current` |
1303 | 1290 | - `cdc.earliest` |
1304 | 1291 | - `cdc.query` |
1305 | 1292 |
|
1306 | 1293 | - [#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 | | -
|
1308 | 1294 | - `valueType` |
1309 | 1295 | - `char_length` |
1310 | 1296 | - `character_length` |
|
1318 | 1304 | ### Minor Changes |
1319 | 1305 |
|
1320 | 1306 | - [#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 | | -
|
1322 | 1307 | - `Unwind.return` |
1323 | 1308 | - `Unwind.remove` |
1324 | 1309 | - `Unwind.set` |
1325 | 1310 |
|
1326 | 1311 | - [`fa3d246`](https://github.com/neo4j/cypher-builder/commit/fa3d24612c7094ec947b036bf7bd00f660916e33) Thanks [@angrykoala](https://github.com/angrykoala)! - Add chained methods in Merge: |
1327 | | -
|
1328 | 1312 | - `Merge.remove` |
1329 | 1313 | - `Merge.with` |
1330 | 1314 |
|
1331 | 1315 | - [#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 | | -
|
1333 | 1316 | - `Match.merge` |
1334 | 1317 | - `Create.merge` |
1335 | 1318 | - `Call.merge` |
|
1339 | 1322 | - `With.merge` |
1340 | 1323 |
|
1341 | 1324 | - [#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 | | -
|
1343 | 1325 | - `With.match` |
1344 | 1326 | - `With.optionalMatch` |
1345 | 1327 | - `Unwind.match` |
|
1348 | 1330 | - `Call.optionalMatch` |
1349 | 1331 |
|
1350 | 1332 | - [#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 | | -
|
1352 | 1333 | - `Call.remove` |
1353 | 1334 | - `Call.set` |
1354 | 1335 | - `Call.delete` |
1355 | 1336 | - `Call.detachDelete` |
1356 | 1337 |
|
1357 | 1338 | - [#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 | | -
|
1359 | 1339 | - `Match.create` |
1360 | 1340 | - `Call.create` |
1361 | 1341 | - `Foreach.create` |
|
1364 | 1344 | - `With.create` |
1365 | 1345 |
|
1366 | 1346 | - [#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 | | -
|
1368 | 1347 | - `Match.match()` |
1369 | 1348 | - `Match.optionalMatch()` |
1370 | 1349 |
|
1371 | 1350 | - [#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 | | -
|
1373 | 1351 | - `Foreach.return` |
1374 | 1352 | - `Foreach.remove` |
1375 | 1353 | - `Foreach.set` |
1376 | 1354 | - `Foreach.delete` |
1377 | 1355 | - `Foreach.detachDelete` |
1378 | 1356 |
|
1379 | 1357 | - [#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 | | -
|
1381 | 1358 | - `Unwind.unwind` |
1382 | 1359 | - `Match.unwind` |
1383 | 1360 | - `With.unwind` |
1384 | 1361 |
|
1385 | 1362 | - [#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 | | -
|
1387 | 1363 | - `Create.remove` |
1388 | 1364 | - `Create.delete` |
1389 | 1365 | - `Create.detachDelete` |
|
1506 | 1482 | ### Minor Changes |
1507 | 1483 |
|
1508 | 1484 | - [#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 | | -
|
1510 | 1485 | - time |
1511 | 1486 | - localtime |
1512 | 1487 | - localdatetime |
1513 | 1488 | - datetime |
1514 | 1489 | - date |
1515 | 1490 |
|
1516 | 1491 | As well as the related nested functions: |
1517 | | -
|
1518 | 1492 | - \*.realtime |
1519 | 1493 | - \*.statement |
1520 | 1494 | - \*.transaction |
|
1540 | 1514 | ### Minor Changes |
1541 | 1515 |
|
1542 | 1516 | - [#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 | | -
|
1544 | 1517 | - withinBBox |
1545 | 1518 |
|
1546 | 1519 | - [#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 | 1593 | ### Patch Changes |
1621 | 1594 |
|
1622 | 1595 | - [#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 | | -
|
1624 | 1596 | - `this0` OK |
1625 | 1597 | - `0this` Should be escaped |
1626 | 1598 |
|
|
0 commit comments