-
Notifications
You must be signed in to change notification settings - Fork 155
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
ServiceUnavailableException
instead ofClientException
when socket write fails #312 - Updated routing logic to follow specification #314
- Throw
AuthenticationException
instead ofClientException
when connection fails due to authentication error #315 - Fix
InternalRecord#hashCode()
#320
- Improved API docs #306
-
ServiceUnavailableException
if 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
finalize
fromNetworkSession
, while addedConfigBuilder#withLeakedSessionsLogging
to allow a application developer to switch to aSession
implementation that supports logging infinalize
for 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
INIT
with server. - Fixed the bug where connection pool might not be closed if driver creation fails.
- Removed read and write locks in
Driver
class so thatdriver.close
does 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#summary
to pull all unconsumed records into buffer and yield the result summary 275 - Improvements on trust mode. Introduced
TRUST_ALL_CERTIFICATES
as the default trust mode, deprecatedTRUST_ON_FIRST_USE
and removedENCRYPTION_NON_LOCAL
. AlsoTRUST_ON_FIRST_USE
is disallowed withbolt+routing
scheme #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:port
for routing cypher statements to a 3.1+ Neo4j cluster directly via the Bolt driver #227 #229 #232 - Introduced
Bookmarking
for read your own writes in a 3.1+ Neo4j cluster #223 - Added
session#reset
to stop long running statements in the current session #210, #211, #231 - Replaced
TRUST_SIGNED_CERTIFICATES
withTRUST_SYSTEM_CA_SIGNED_CERTIFICATES
and/orTRUST_CUSTOM_CA_SIGNED_CERTIFICATES
#218 - Supported for custom auth-tokens #221
- Exposed
resultAvailableAfter
andresultConsumedAfter
onResultSummary
andserver
onSession
#219 - Added new API for accessing records and mapped values with a default value #172
Bug fixes:
- Better handling of
BUFFER_OVERFLOW
on 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
Map
overiterable
inValues#value
method #208