-
Notifications
You must be signed in to change notification settings - Fork 157
1.1 changelog
Konstantin Lutovich edited this page May 23, 2017
·
37 revisions
- Fixed issues with
Transaction#isOpen()that could incorrectly report transaction as being closed #374 and #375
- Throw
ServiceUnavailableExceptioninstead ofClientExceptionwhen socket write fails #312 - Updated routing logic to follow specification #314
- Throw
AuthenticationExceptioninstead ofClientExceptionwhen connection fails due to authentication error #315 - Fix
InternalRecord#hashCode()#320
- Improved API docs #306
-
ServiceUnavailableExceptionif failed to read from the server both for encrypted and unencrypted connections. #issue302 #304 - Added osgify artefact MANIFEST.MF by community contributors #284
- Always waiting for bookmark when starting a transaction #303
- Configurable test-on-borrow for pooled connections, which introduces a configurable connection liveness check timeout to ensure that the connection obtained from the connection pool is alive. issue#144 #297
- Made socket connection timeout configurable, default to 5s. #294
- Removed
finalizefromNetworkSession, while addedConfigBuilder#withLeakedSessionsLoggingto allow a application developer to switch to aSessionimplementation that supports logging infinalizefor session leak investigation in his/her application. #285 - Improved handling of concurrent driver close. #291
- Fixed the bug where the driver.close might fail to close connections that are still in use.
- Fixed the bug where the connection is not closed if fails to
INITwith server. - Fixed the bug where connection pool might not be closed if driver creation fails.
- Removed read and write locks in
Driverclass so thatdriver.closedoes not need to wait for all other threads to release read locks. #286 - Added more logging around routing table changes #287
- Fixed off-by-one error in max routing failures #288
- Close all connections on
driver.close()#252 - Move all server information accessing methods such as server version and server address into
ResultSummary#server#272 - Add
StatementResult#summaryto pull all unconsumed records into buffer and yield the result summary 275 - Improvements on trust mode. Introduced
TRUST_ALL_CERTIFICATESas the default trust mode, deprecatedTRUST_ON_FIRST_USEand removedENCRYPTION_NON_LOCAL. AlsoTRUST_ON_FIRST_USEis disallowed withbolt+routingscheme #268 - Made it configurable to retry a few times with a delay after fatal routing failures #259 #264
- Fix the bug where the tx is not rolled back if the result is not consumed. #276
- Minor code refactoring.
Bug fixes for discovery and routing:
- Fixed the bug where a server is not removed when failing on session acquisition #241
- Fixed the bug where a server is not removed when failing to write on the server #243
- Fixed the bug where the same connection would be put back in the pool twice after discovery #244
- More friendly error when user tries to WRITE in a READ session #234
New features:
- Introduced a new Bolt protocol
bolt+routing://host:portfor routing cypher statements to a 3.1+ Neo4j cluster directly via the Bolt driver #227 #229 #232 - Introduced
Bookmarkingfor read your own writes in a 3.1+ Neo4j cluster #223 - Added
session#resetto stop long running statements in the current session #210, #211, #231 - Replaced
TRUST_SIGNED_CERTIFICATESwithTRUST_SYSTEM_CA_SIGNED_CERTIFICATESand/orTRUST_CUSTOM_CA_SIGNED_CERTIFICATES#218 - Supported for custom auth-tokens #221
- Exposed
resultAvailableAfterandresultConsumedAfteronResultSummaryandserveronSession#219 - Added new API for accessing records and mapped values with a default value #172
Bug fixes:
- Better handling of
BUFFER_OVERFLOWon writes for TLS connections #177 - Reduce long time memory usage #207
- Tidied up format of log messages [#204] (https://github.com/neo4j/neo4j-java-driver/pull/204)
- Prefer
MapoveriterableinValues#valuemethod #208