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: README.md
+4-2Lines changed: 4 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -10,15 +10,17 @@ Resources to get you started:
10
10
11
11
## What's New
12
12
13
-
- Introduces a brand new reactive API (built on top of RxJS) available with 4.0 version server, which includes reactive protocol improvements.
13
+
- Upcoming version is now named as `4.0.0` instead of `2.0.0` to better align with server versions.
14
+
- Reactive API (built on top of RxJS) is now available with 4.0 version server, which includes reactive protocol improvements.
14
15
- Session instances can now be acquired against a specific database against a multi-database server, which is available with 4.0 version server.
15
16
- A new `driver.verifyConnectivity()` method is introduced for connectivity verification purposes.
17
+
- Driver default configuration for `encrypted` is now `false` (meaning that driver will only attempt clear text connections by default), and when encryption is explicitly enabled the default trust mode is TRUST_SYSTEM_CA_SIGNED_CERTIFICATES which relies upon underlying system's certificate trust settings.
16
18
17
19
## Breaking Changes
18
20
19
21
- Driver API is moved from `neo4j.v1` to `neo4j` namespace.
20
22
-`driver#session()` method now makes use of object destructuring rather than positional arguments (see [Acquiring a Session](#acquiring-a-session) for examples).
21
-
-`session#close()`now returns a `Promise` and no more accepts a callback function argument.
23
+
-`session#close()`and `driver#close()` both now return `Promise`s and no more accept callback function arguments.
22
24
-`driver.onError` and `driver.onCompleted` callbacks are completely removed. Errors should be monitored on related code paths (i.e. through `Promise#catch`, etc.).
23
25
-`bolt+routing` scheme is now renamed to `neo4j`. `neo4j` scheme is designed to work work with all possible 4.0 server deployments, but `bolt` scheme is still available for explicit single instance connections.
0 commit comments