Releases: neo4j-php/neo4j-php-client
Releases · neo4j-php/neo4j-php-client
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
HTTP OGM rework
The HTTP OGM has been completely reworked to correctly differentiate maps, lists, nodes, relationships and paths
JsonSerialiable summarised result
The summarized result is now completely JSON serializable
Basic driver and OIDC
- upgraded authentication to support OIDC on bolt connections with neo4j 4.4 and up. See
Laudis\Neo4j\Authentication\Authenticate::oidc
- introduced a basic driver as an alternative to clients with only a single connection. See
Laudis\Neo4j\Authentication\Driver
Better PHP 8.1 support and Neo4j 4.4
- Unsolveable deprecations are now being suppressed (
JsonSerializable::jsonSerialize()
) - Tests now also run on Neo4j 4.4
Better stream recycling, testkit ci, small fixes in method signatures
- A stream will now be correctly handled when it is reused
- Testkit is now part of the github ci
- Some inconsistent method signatures are now fixed with default parameters