-
Notifications
You must be signed in to change notification settings - Fork 71
4.x changelog
Florent Biville edited this page Jun 24, 2021
·
50 revisions
- Update User-Agent string from "Go Driver/4.0" to "Go Driver/4.3"
No changes were introduced.
- Fix bug when dealing with disconnected node paths (#225)
No changes were introduced.
- Deprecate
ServerInfo#Version
and introduceServerInfo#Agent
andServerInfo#ProtocolVersion
- Move Bolt logging (introduced in v4.3.0-alpha1) to session level and default to nil
Bolt message logging is now configured at the session level and is independent from the existing logging configuration - see Bolt logging configuration
- Treat expired authentication errors as fatal
The connection pool will then purge such connections
- Log Bolt messages (at DEBUG level - see logging configuration documentation)
- Enable 4.3 protocol and add support for extended handshake
Driver users can now include a range of protocol versions ranging from 3.0 to 4.3
- Add support for 4.3 ROUTE message
- Retry fetching routing table until there are readers
- Send bookmarks when fetching routing table (via ROUTE message or via procedure)
- Update User-Agent string from "Go Driver/4.0" to "Go Driver/4.2"
- Fix state transition, previously blocked by wrong stream count
- Now uses connection timeout setting when connecting to cluster members when updating routing table.
- Fixes issue with discarding big streams. Streams are discarded if they are still open after their scope ends (like a transaction or session)
- Session.Run now forces a reset before issuing the command to the server, this makes sure that the connection is still alive. Solves issues with CheckConnectivity when running in a cluster
- Fixes issue with corrupt records in some scenarios with records bigger than a transport chunk. Issue 183
- Fixes issue with node/relationship counts in summary, issue 178
- Retries retrieval of routing tables when there are no readers in routing table, same way as previously done with writers
- Aligned with Neo4j database version 4.2.
- Driver supports Neo4j databases of versions 3.5, 4.0, 4.1 and 4.2.
- Added missing temporal conversion functions that converted to native time.Time, existed in 1.8
- Discards records in pending results when session is closed
- Change in logger interface, removed Errorf function.
- Improved retry error handling
- Feature complete to level of 4.2 of other official Neo4j drivers
- Improved performance as compared to 1.8 (see benchmark tool for some of the tested cases)
- There are breaking API changes compared to 1.8 (see migration guide for details)