Skip to content

1.1 changelog

Konstantin Lutovich edited this page May 23, 2017 · 37 revisions

1.1.3

  • Fixed issues with Transaction#isOpen() that could incorrectly report transaction as being closed #374 and #375

1.1.2

  • Throw ServiceUnavailableException instead of ClientException when socket write fails #312
  • Updated routing logic to follow specification #314
  • Throw AuthenticationException instead of ClientException when connection fails due to authentication error #315
  • Fix InternalRecord#hashCode() #320

1.1.1

  • 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 from NetworkSession, while added ConfigBuilder#withLeakedSessionsLogging to allow a application developer to switch to a Session implementation that supports logging in finalize 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.

1.1.0

  • Removed read and write locks in Driver class so that driver.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

1.1.0-M07

  • 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, deprecated TRUST_ON_FIRST_USE and removed ENCRYPTION_NON_LOCAL. Also TRUST_ON_FIRST_USE is disallowed with bolt+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

1.1.0-M06

  • Proper handling of cluster failures for transactions #250
  • Fixed expect strut but get xx bug #249

1.1.0-M05

  • Minor code refactoring.

1.1.0-M04

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

1.1.0-M03

  • More friendly error when user tries to WRITE in a READ session #234

1.1.0-M02

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 with TRUST_SYSTEM_CA_SIGNED_CERTIFICATES and/or TRUST_CUSTOM_CA_SIGNED_CERTIFICATES #218
  • Supported for custom auth-tokens #221
  • Exposed resultAvailableAfter and resultConsumedAfter on ResultSummary and server on Session #219
  • Added new API for accessing records and mapped values with a default value #172

Bug fixes:

1.1.0-M01

  • Added EncryptionLevel.REQUIRED_NON_LOCAL as default encryption level #191
  • Moved Logging and Logger class to public API #197
  • Sent INIT message eagerly #199
Clone this wiki locally