Skip to content

Releases: neo4j-php/neo4j-php-client

Ssl configuration

14 Jan 14:21
2db4982
Compare
Choose a tag to compare

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

14 Jan 14:19
537bb7c
Compare
Choose a tag to compare

Fixed a bug when using the HTTP protocol in combination with neo4j version 3.5

HTTP OGM rework

13 Jan 23:06
Compare
Choose a tag to compare

The HTTP OGM has been completely reworked to correctly differentiate maps, lists, nodes, relationships and paths

JsonSerialiable summarised result

13 Jan 22:51
Compare
Choose a tag to compare

The summarized result is now completely JSON serializable

Basic driver and OIDC

13 Jan 22:50
Compare
Choose a tag to compare
  • 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

14 Dec 15:49
Compare
Choose a tag to compare
  • 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

06 Dec 10:51
Compare
Choose a tag to compare
  • 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

06 Dec 10:57
Compare
Choose a tag to compare
  • 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

06 Dec 10:54
Compare
Choose a tag to compare
  • 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

25 Oct 12:18
Compare
Choose a tag to compare
  • 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