Releases: neo4j-php/neo4j-php-client
Releases · neo4j-php/neo4j-php-client
Bugfix for Neo4J 3.5
Fixed a regression when working with Neo4J 3.5 to enforce proper result consumption
Big Performance increases, new features and bugfixes
New features:
- Added
keyby
,pluck
andtoArrayRecursive
methods on sequences - Added DateTimeZoneId
- Added automatic conversion Bolt Type Parameters to immediately be used in Cypher
Performance Increases:
- The driver now understands the fetch sizes based on session configuration
- The results of the driver are now all lazily evaluated
- The driver now utilizes the Sockets extension if it is installed.
Bugfixes
- Properly forwarded transaction timeout information to the server
- Basic documentation and housekeeping bugfixes
- Fixed a new authentication propagation bug in neo4j scheme
Bugfix Authentication
Fixed a bug in the authentication logic when working with the neo4j scheme.
Bugfix AuraDB Free
Fixed read error AuraDB Free
Bugfix auto routing SSL
Fixed bug when working with clusters with SSL and AuraDB
Portability fixes
- Removed the usage of unnecessary keywords such as
UNWIND
by the driver to improve portability between neo4j instances and configurations. - CI Regression fixes
Bugfixes, Typings, SSL, Performance optimisations, Dependencies upgrade, Exception handling
- Timeout is now correctly configurable on every transaction
- Moved to neo4j-php/bolt version 3.0
- Transactions are now aware of the state they are in (committed, rolled back, finished, open) without querying the database
- Better exception handling, recovery and transaction function management
- Performance optimizations when opening new client (saving one round trip)
- Better psalm typings in containers
- Improved exception handling if the HTTP status code is above 400
- Made SSL configurable on the driver level
Added getResult method on Summarisedresult
tested getResult As pointed out by florent here: https://github.com/neo4j-examples/movies-php-client/pull/2
Ssl configuration
Made it possible to configure some SSL parameters in the driver configuration object. examples include:
$config = DriverConfiguration::default()
->withSslConfiguration(
SslConfiguration::default()
->withVerifyPeer(false) //disables peer verification
->withMode(SslMode::FROM_URL()) // looks at the URL to determine the enabling of ssl
);
$driver = \Laudis\Neo4j\Basic\Driver::create('neo4j+s://localhost', $config);
$client = \Laudis\Neo4j\ClientBuilder::create()
->withDefaultDriverConfiguration($config)
->withDriver('default', 'neo4j+s://localhost')
->build();
Small bugfix in HTTP
Fixed a bug when using the HTTP protocol in combination with neo4j version 3.5