Releases: neo4j-php/neo4j-php-client
Releases · neo4j-php/neo4j-php-client
Empty arrays as parameters
Empty arrays now represent an empty list instead of an empty map in cypher.
Small bugfix
Fixed a bug when a database name was provided which shared the same name as a built-in PHP function
Autorouting for HTTP
- Autorouting is now available for all connections.
- Improved testing
- Improved error handling over HTTP connections
Auto routing for clusters
- auto-routing is now available for clusters over a bolt connection
- documentation includes auto-routing examples
Bugfixes and testing
- Removed the superfluous step of translating hostname to IP when opening a bolt connection
- Improved test coverage
Added ssl context options
SSL context options can now be provided when using a bolt connection. An example of this can be found here:
$client = ClientBuilder::create()
->addBoltConnection('main', 'my-bolt-connection@somewhereinthecloud', BoltInjections::create()->withSslContextOptions([
'verify_peer' => true,
'allow_self_signed' => true
])
->build();
Bugfixes
- Added proper translation of neo4j relationships to result set
- Upgraded to stefanak/bolt 2.1
- Increased test coverage
Bugfixes, documentation, tests & QoL improvement
- Fixed bug during the opening transaction with the non-default database on bolt connection
- Updated documentation to provide a scheme when adding a connection
- Enforced the provided URL to contain a scheme, user, pass & host to have better error management
Minor quality of life improvements
- Better documentation
- Added and integrated parameter helper class with examples
MInor Api change
Changed the statement object to return array parameters for better interop