Releases: neo4j-php/neo4j-php-client
Releases · neo4j-php/neo4j-php-client
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
New default result formatter, smooth integration, type casting on containers
- Set the default resultformatter to SummarisedResultFormatter
- CypherMap now extends Map
- CypherList now extends ArrayList
- CypherMap, Map, CypherList & ArrayList now contain type casting methods to enforce correct typing when fetching an element (eg.
$container->getAsInt(0)
or$map->getAsNode('myNode')
Better CI, verifyConnectivity method
- created verifyConnectivity method on Client to test if a connection can be made correctly
- imporved CI and secret management
Bugfix in Path, Consitent inheritance, new method relationship
- A Path in cypher will now be correctly handled by the driver
- SessionInterface and ClientInterface both extend the Transaction interface methods with some extra optional parameters.
- Relationship now has a shorthand method
getProperty