Skip to content

Commit 00c55ed

Browse files
committed
Remove deprecated ResultSummary.version
1 parent d34d4f1 commit 00c55ed

File tree

2 files changed

+0
-14
lines changed

2 files changed

+0
-14
lines changed

packages/core/src/result-summary.ts

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,6 @@ class Notification {
459459
*/
460460
class ServerInfo {
461461
address?: string
462-
version?: string
463462
protocolVersion?: number
464463
agent?: string
465464

@@ -478,17 +477,6 @@ class ServerInfo {
478477
* @public
479478
*/
480479
this.address = serverMeta.address
481-
/**
482-
* The server version string.
483-
*
484-
* See {@link ServerInfo#protocolVersion} and {@link ServerInfo#agent}
485-
* @type {string}
486-
* @deprecated in 4.3, please use ServerInfo#agent, ServerInfo#protocolVersion, or call the <i>dbms.components</i> procedure instead.
487-
* <b>Method might be removed in the next major release.</b>
488-
489-
* @public
490-
*/
491-
this.version = serverMeta.version
492480

493481
/**
494482
* The server user agent string

packages/core/test/result-summary.test.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ describe('ServerInfo', () => {
2626
4.3,
2727
{
2828
address: '192.168.0.1',
29-
version: 'neo4j',
3029
protocolVersion: 4.3,
3130
agent: 'neo4j'
3231
}
@@ -36,7 +35,6 @@ describe('ServerInfo', () => {
3635
undefined,
3736
{
3837
address: '192.168.0.1',
39-
version: 'neo4j',
4038
protocolVersion: undefined,
4139
agent: 'neo4j'
4240
}

0 commit comments

Comments
 (0)