You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/source/breaking_changes.rst
+12-2Lines changed: 12 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,11 +4,18 @@
4
4
Breaking Changes
5
5
****************
6
6
7
+
This describes the breaking changes between Python Driver 1.7 and Python Driver 4.0
8
+
7
9
Version Scheme Changes
8
10
======================
9
11
10
12
The version number has jumped from **Python Driver 1.7** to **Python Driver 4.0** to align with the Neo4j Database version scheme.
11
13
14
+
Python Versions
15
+
===============
16
+
17
+
Python 2.7 is no longer supported.
18
+
12
19
13
20
Namespace Changes
14
21
=================
@@ -79,13 +86,16 @@ Argument Renaming Changes
79
86
* :code:`StatementResultSummary.statement_type` is now :code:`ResultSummary.query_type`
80
87
* :code:`StatementResultSummary.protocol_version` is now :code:`ResultSummary.server.protocol_version`
81
88
82
-
83
89
API Changes
84
90
=========================
85
91
86
92
* :code:`Result.summary()` has been replaced with :code:`Result.consume()`, this behaviour is to consume all remaining records in the buffer and returns the ResultSummary.
87
93
88
-
* :code:`Result.data()` has been removed. Use :code:`Record.data()` for each Record when iterating the Result object.
94
+
* :code:`Result.data(*items)` has been changed to :code:`Result.data(*keys)` for alignment with :code:`Record.data(*keys)`.
95
+
96
+
* :code:`Result.value(item=0, default=None)` has been changed to :code:`Result.value(key=0, default=None)` for alignment with :code:`Record.value(key=0, default=None)`.
97
+
98
+
* :code:`Result.values(*items)` has been changed to :code:`Result.values(*keys)` for alignment with :code:`Record.values(*keys)`.
89
99
90
100
* :code:`Transaction.sync()` has been removed. Use :code:`Result.consume()` if the behaviour is to exhaust the result object.
0 commit comments