Skip to content

Releases: neo4j/neo4j-dotnet-driver

1.5.2

11 Dec 09:57
92f3817

Choose a tag to compare

This release provides a few bugs fixes. See changelog for more details.

1.5.1

23 Nov 10:49
3fdbdd4

Choose a tag to compare

This release provides a few bugs fixes we found since the first release of 1.5.0.
We also improved the stability of cluster connection pool to not kill connection with on-going transactions.

1.5.0

16 Oct 10:54

Choose a tag to compare

General availability release. See changelog for more details.

1.5.0-rc3

06 Oct 08:00

Choose a tag to compare

1.5.0-rc3 Pre-release
Pre-release

Small improvement to Config default values.
See changelog for more info.

1.5.0-rc2

29 Sep 12:41

Choose a tag to compare

1.5.0-rc2 Pre-release
Pre-release
Merge pull request #247 from zhenlineo/1.5-ForEachAsync-return-type

ForEachAsync return result summary

1.5.0-rc1

28 Sep 08:54

Choose a tag to compare

1.5.0-rc1 Pre-release
Pre-release

This release provides a few bug fixes and internal implementation improvement.
Check the changelog for more information.

1.5.0-beta01

05 Sep 13:40

Choose a tag to compare

1.5.0-beta01 Pre-release
Pre-release
Merge pull request #229 from zhenlineo/1.5-ipv6

Added tests for ipv6 address parsing for routing procedure responses

1.5.0-alpha02

25 Aug 14:03

Choose a tag to compare

1.5.0-alpha02 Pre-release
Pre-release

This release include full support of Both Sync and Async API for both Direct and Routing driver.

1.4.1

10 Aug 11:20

Choose a tag to compare

From this patch release we start to support .NET framework 4.5.2 alongside .net standard 1.3.
We have also replaced optional parameters in our public API to method overloading for better integration with C++ projects.

Read more in chagelog for more bug fixes in this release.

1.5.0-alpha01

14 Jul 12:04

Choose a tag to compare

1.5.0-alpha01 Pre-release
Pre-release

Asynchronous API is available from this release!

Async API is one of the main focuses in 1.5 .NET driver releases. In the first alpha release of this 1.5 series, we would like to represent a new asynchronous API, as well as full stack async support for direct driver, which is the driver connects to a specific server and does not support casual-cluster routing & load balancing.

The async API looks very similar to our existing synchronous API. The code bellow shows a simple example of how to code using the new async API:

public async Task PrintGreetingAsync(string message)
{
    var driver = var driver = GraphDatabase.Driver("bolt://127.0.0.1", AuthTokens.Basic(user, password), 
        new Config
        {
            EncryptionLevel = EncryptionLevel.Encrypted,
            MaxIdleConnectionPoolSize = 20,
            MaxConnectionPoolSize = 50,
            ConnectionAcquisitionTimeout = TimeSpan.FromMinutes(2)
        });

    var session = driver.Session();
    try
    {
        var greeting = await session.WriteTransactionAsync(async tx =>
        {
            var result = await tx.RunAsync("CREATE (a:Greeting) " +
                            "SET a.message = $message " +
                            "RETURN a.message + ', from node ' + id(a)", new {message});

            if (await result.ReadAsync())
            {
                return result.Current()[0].As<string>();
            }
            else
            {
                return null;
            }
        });

        Console.WriteLine(greeting);
        }
    finally
    {
        await session.CloseAsync();
    }
    driver.Close();
}

You are most welcome to try out this alpha and give us your valuable feedback (via such as gitHub issues).
The alpha artifact could be found available in Nuget and can be installed by using Install-Package Neo4j.Driver -Pre

Async support for routing driver (a.k.a. the driver for connecting to a cluster with built-in routing and load balancing) and docs are coming soon!