-
Notifications
You must be signed in to change notification settings - Fork 155
1.0 changelog
Konstantin Lutovich edited this page May 22, 2017
·
37 revisions
- Fixed expect
strut
but getxx
bug #249 - Better debugging logging for messages #238
- Better error messages for reading and writing certificates #216
- Better handling of
BUFFER_OVERFLOW
on writes for TLS connections#177 - Better error message when failed to read more data from TLS socket 253
- Moved
Logging
andLogger
class to public API #197 - Sent
INIT
message eagerly #199 - Reduce long time memory usage #207
- Prefer
Map
overiterable
inValues#value
method #208
- A newly designed session pool #190. With this new pool, the maximum amount of sessions is no longer limited, instead you will get as much sessions as your APP demands. To still remain the high performance by pooling, we introduce
IdleSessionPool
to buffer the sessions that are not used currently but are available to be reused immediately.
- Better error message when trying to connect to an http-endpoint, #175.
- Session pool was not removing objects from the queue properly, #178
- Fixed bug when reading bytes across packet border [09c071] (https://github.com/neo4j/neo4j-java-driver/commit/09c071)
- Fixed a deadlock issue in TLS handling 54610a4
- Better handling of closed connections 49e3d73
- Resolve issue where pooled connections could leak if exception occurred during close e523912
- Fixed the issue where the chunk header size might be read wrongly if it is constructed from two successive bytes. c84db27
- More documentation examples
- The following methods semantics are improved in result API
StatementResult
:single
,peek
,list
,consume
. 744e9a
-
.neo4j/neo4j_known_hosts
is now.neo4j/known_hosts
. 6baf7a4 - Fix bug where transaction was closed twice, resolves #146 86af35d Handle failures after closed transaction
- Iterators can now be passed in as parameters to run. adab5d9
- Driver only throws Neo4jException from
#close
7230f48
- Improved the way to configure encryption by introducing
EncryptionLevel
andTrustStrategy
to replace the oldTlsEnabled
andTlsAuthConfig
. 9d30dcc - Introduced auth capabilities where on the creation of the driver, authentication credentials could be passed to the driver so that the server would be able to authenticate the driver user. 638415
- Change ResultCursor to Iterator
- Improved discoverability of API
- Severity level is now exposed on
Notifications
- Summary#updateStatistics renamed to Summary#counters
- StatementResult#summarize renamed to StatementResult#consume
- Added support for streaming, which means that we no longer need to wait for the whole result of a Cypher statement to fully streamed back to visit the first record in the result. Instead, we now could immediately visit the records that have already arrived without being blocked by the last record in the result to arrive! f0b0504
- Added variants of
ResultCursor#single
andResultCursor#first
for simplified access b281ef1 and added support to callfirst
andsingle
multiple times. 03d3a68 - Renamed
ConfigBuilder#withConnectionPoolSize
toConfigBuilder#withMaxSessions
. 9cc9df4
- The
#single
and#first
methods now returnRecord
341e0a1 - Driver now prints warning if
Session
is not closed properly to protect from resource leaks. 1fb7d00 - The
#value
method has been renamed#get
, and the ability to convert to any Java type directly has been culled back. 4b0052d - Driver now handles protocol violations in a more graceful way, properly closing any open resource. 791295a
- Chunking of large strings and lists had a serialization bug, which has been resolved. c36e809
- Nodes, Relationships and Paths are no longer accepted as parameter types. 9d89c21
- toString on Values no longer includes type. 620e26f
- Equality of Node, Path and Relationship types is now solely based on Identity. 1742c8e
- Upgraded Bolt protocol implementation to support new preamble in handshake #95
- Move API into
v1
package to allow future releases with multiple API versions in parallel #84 - API modifications based on M01 feedback around Values, Result and Type interfaces #96, #97
- Bug fixes:
- First ever milestone! A fully new API for Neo4j, and a client implementation of the Bolt V1 protocol.