From 1f35d382d200e99b84031a7ec6128ac3f2d9c264 Mon Sep 17 00:00:00 2001 From: ci <61233757+MaxAake@users.noreply.github.com> Date: Mon, 27 Oct 2025 13:24:00 +0100 Subject: [PATCH 1/2] Add notice to point stringer for 7.0 update --- packages/core/src/spatial-types.ts | 1 + packages/neo4j-driver-deno/lib/core/spatial-types.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/packages/core/src/spatial-types.ts b/packages/core/src/spatial-types.ts index d042050c6..53e262598 100644 --- a/packages/core/src/spatial-types.ts +++ b/packages/core/src/spatial-types.ts @@ -65,6 +65,7 @@ export class Point { * @ignore */ toString (): string { + // Update this in 7.0 to be copy-pasteable into cypher (currently missing parenthesis) return this.z != null && !isNaN(this.z) ? `Point{srid=${formatAsFloat(this.srid)}, x=${formatAsFloat( this.x diff --git a/packages/neo4j-driver-deno/lib/core/spatial-types.ts b/packages/neo4j-driver-deno/lib/core/spatial-types.ts index 6ec14ebd3..10c1efd9c 100644 --- a/packages/neo4j-driver-deno/lib/core/spatial-types.ts +++ b/packages/neo4j-driver-deno/lib/core/spatial-types.ts @@ -65,6 +65,7 @@ export class Point { * @ignore */ toString (): string { + // Update this in 7.0 to be copy-pasteable into cypher (currently missing parenthesis) return this.z != null && !isNaN(this.z) ? `Point{srid=${formatAsFloat(this.srid)}, x=${formatAsFloat( this.x From 6e337f67158d24162cb2abdd46055f25e7e765be Mon Sep 17 00:00:00 2001 From: ci <61233757+MaxAake@users.noreply.github.com> Date: Tue, 9 Dec 2025 12:28:34 +0100 Subject: [PATCH 2/2] add todo 7.0 tag --- packages/core/src/spatial-types.ts | 2 +- packages/neo4j-driver-deno/lib/core/spatial-types.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/core/src/spatial-types.ts b/packages/core/src/spatial-types.ts index 53e262598..18c264ed0 100644 --- a/packages/core/src/spatial-types.ts +++ b/packages/core/src/spatial-types.ts @@ -65,7 +65,7 @@ export class Point { * @ignore */ toString (): string { - // Update this in 7.0 to be copy-pasteable into cypher (currently missing parenthesis) + // TODO 7.0: Update this in 7.0 to be copy-pasteable into cypher (currently missing parenthesis) return this.z != null && !isNaN(this.z) ? `Point{srid=${formatAsFloat(this.srid)}, x=${formatAsFloat( this.x diff --git a/packages/neo4j-driver-deno/lib/core/spatial-types.ts b/packages/neo4j-driver-deno/lib/core/spatial-types.ts index 10c1efd9c..5d8246df9 100644 --- a/packages/neo4j-driver-deno/lib/core/spatial-types.ts +++ b/packages/neo4j-driver-deno/lib/core/spatial-types.ts @@ -65,7 +65,7 @@ export class Point { * @ignore */ toString (): string { - // Update this in 7.0 to be copy-pasteable into cypher (currently missing parenthesis) + // TODO 7.0: Update this in 7.0 to be copy-pasteable into cypher (currently missing parenthesis) return this.z != null && !isNaN(this.z) ? `Point{srid=${formatAsFloat(this.srid)}, x=${formatAsFloat( this.x