Skip to content

Releases: neo4j/neo4j-dotnet-driver

1.5.0-rc1

28 Sep 08:54
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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!

1.4.0

26 Jun 12:28
Compare
Choose a tag to compare

In 1.4 releases, we introduced byte array and multiple bookmark support. Read more on the new functions available in our changelog

1.4.0-rc1

15 Jun 13:23
Compare
Choose a tag to compare
1.4.0-rc1 Pre-release
Pre-release

Release candidate for 1.4.0 .NET driver. Pls give it a try and give us valuable feedback.

1.4.0-beta01

15 Jun 09:14
Compare
Choose a tag to compare
1.4.0-beta01 Pre-release
Pre-release

First release of 1.4 series with multiple bookmarks and byte arrays support.

1.3.0

09 May 08:56
Compare
Choose a tag to compare

Here is the 1.3.0 release 🎉
The 1.3.0 driver introduces routing context for improved use of routing driver together with a Neo4j cluster of version 3.2 or above.

Driver manual
Driver API
Changelog

1.2.2

04 May 14:47
Compare
Choose a tag to compare

Adds ConnectionIdleTimeout on connections to timeout connections in pool that have been idle longer than the configured time.

Changelog