Repository navigation
Multi-driver failover, Aura fixes, minor result handling improvements
·
14 commits
to main
since this release
Immutable
release. Only release title and notes can be modified.
New features
- Multi-driver failover (#282): If a configured host is unreachable, the client automatically retries on alternative drivers in the pool. Useful for multi-host / HA setups.
- SummarizedResult::list() (#301): Materializes all remaining rows without rewinding the iterator (avoids duplicating rows already consumed via next()). On Bolt, uses efficient PULL n=-1 fetch-all semantics.
Bug fixes & reliability
- Aura routing & TLS (#298 / #309): Fixes Aura ROUTE handling, TLS peer name verification, and legacy Aura Free database name inference. Also optimizes connection verification.
- Disconnect & transaction timeout handling: Server disconnects and transaction timeouts are surfaced correctly instead of being swallowed. Transactions defer BEGIN until the first run/commit/rollback. Pull logic now distinguishes server errors (rethrown) from connection errors (may return partial results).
Driver / TestKit / internals
- Expanded TestKit result iteration support (ResultList, ResultPeek, ResultSingleOptional, etc.): mostly internal/TestKit-facing, but improves Neo4j driver spec compliance.
- Dependency bump: minimum stefanak-michal/bolt raised to ^7.4.0 (#308).
Psalm/static-analysis fixes (including a new stubs/sysvsem.php).
Documentation
- README cleanup: removed stale HTTP/HTTPS driver examples and outdated batching/requirements sections.
Tests added
- MultiDriverFailoverTest, ClientExceptionHandlingTest, ClientSessionExceptionHandlingTest, SummarizedResultListTest, plus TypeCaster updates.