-
Notifications
You must be signed in to change notification settings - Fork 155
4.0 changelog
Martin edited this page Mar 10, 2020
·
17 revisions
- Introduce 4 additional URI schemes:
bolt+s
andneo4j+s
which enables encryption and configures the trust settings to use the local system's certificate store. Andbolt+ssc
andneo4j+ssc
which configures trust to use all certificates.#685 - Refactored BasicPullResponseHandler to use an explicit state machine #661
- Allow simple/async sessions to request data as needed #662
- Improve GraalVM AoT / Native image support #663
- Update dependencies #665 #683
- Reduce logging of routing table refreshing #667 #668
- Added
Config
option to set Netty event loop threads #652 - Improved error messages for
ServiceUnavailableException
#655 - Added
Driver#supportsMultiDb
method and fixed a bug inDriver#verifyConnectivityAsync
where the method would fail if the default database in 4.0 is dropped. #657 - Improved our Java API docs #658 #659
- Changed bookmark interface by exposing internal values directly #649
- Renamed a few user facing classes:
(1)
StatementResult
is changed toResult
. (2)Statement
is renamed toQuery
. (3)ExplicitTransaction
is renamed toUnmanagedTransaction
. #651
- Add support for native compilation #634
- Make async and simple sessions to pull records in batches. #637
- Add helpful error (
ResultConsumedException
andTransactionNestingException
) when using the driver API in a wrong way #639 - Add system update statistics and missing profile statistics #640 #642 #644
- Change
RxResult#keys
to return a single list of keys #643 - Change default connection timeout to be 30s #629
- Replace
Transaction#success
andTransaction#failure
withTransaction#commit
andTransaction#rollback
. 622 - Moved
Bookmark
into public API and provided a string conversion method to convert string bookmarks toBookmark
. 630 - Fixed a NPE bug in
SessionConfig#equals
. 625 - Upgraded shaded Netty version from
4.1.22.Final
to4.1.41.Final
. 631
- Allowed passing system bookmark to driver's server discovery call, solving the discover problem for newly added databases. Changed bookmark from a string to an
Bookmark
object. #619 - Default to unencrypted connections. However enhanced security of encrypted connections by setting
TRUST_SYSTEM_CA_SIGNED_CERTIFICATES
as the default trust strategy and enforcing hostname verification by default. #620
Alpha releases are released under the version name 2.0
- Added support to use driver with a 4.0+ Neo4j cluster #587
- Fixed shading Project Reactor #607
- Changed session parameter to builder pattern and provided a syntax sugar to pass database name in session creation #611
- Made connectivity verification not part of driver creation #609
- Added database name in
ResultSummary
#591 - Added transaction with built-in retries support for
RxSession
#582 - Adjusted a few interfaces used by
RxSession
#590 - Speeded up the shut down of the driver #576
- The very first alpha release.
- This new series feature Reactive Session
RxSession
alongside normalSession
and Asynchronous SessionAsyncSession
. - A new connection schema
neo4j
is now introduced and preferred overbolt+routing
andbolt
. With the newneo4j
schema, it can connect the driver with either a cluster or a single instance. - Multi-databases support for a single instance.
** All the new features are only applicable when connecting with 4.0+ Neo4j servers.