Skip to content

Releases: neo4j-php/neo4j-php-client

Portability fixes

20 Jan 16:45
Compare
Choose a tag to compare
  • 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

16 Jan 17:24
Compare
Choose a tag to compare
  • 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

16 Jan 12:11
Compare
Choose a tag to compare
tested getResult

As pointed out by florent here: https://github.com/neo4j-examples/movies-php-client/pull/2

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