From 883276f1d1490efdf3e24009b158a11e17fd8ccd Mon Sep 17 00:00:00 2001 From: Skuirrels Date: Tue, 6 Oct 2026 19:33:35 +0100 Subject: [PATCH] Upgrade bundled DuckDB to 1.5.6 Bump DuckDbNativeVersion to 1.5.6 and update the benchmark engine guard, package smoke test and fork READMEs to match. The 1.5.6 C API exports the same symbols, enum values and struct layouts as 1.5.5. --- Directory.Build.props | 2 +- DuckDB.NET.Benchmarks/PreparedCommandWorkload.cs | 2 +- README-FORK.md | 6 +++--- README.md | 2 +- scripts/validate-fork-packages.sh | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Directory.Build.props b/Directory.Build.props index 14058716..093d642b 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -21,7 +21,7 @@ true Skuirrels. - 1.5.5 + 1.5.6 DuckDB.NET.$(MSBuildProjectName) $(ForkPackagePrefix)DuckDB.NET.$(MSBuildProjectName) DuckDB;ADO.NET;Database;Olap;Embedded diff --git a/DuckDB.NET.Benchmarks/PreparedCommandWorkload.cs b/DuckDB.NET.Benchmarks/PreparedCommandWorkload.cs index 1c7aaa1e..59099124 100644 --- a/DuckDB.NET.Benchmarks/PreparedCommandWorkload.cs +++ b/DuckDB.NET.Benchmarks/PreparedCommandWorkload.cs @@ -9,7 +9,7 @@ internal static class PreparedCommandWorkload #if DUCKDB_NET_BASELINE_1_5_3 private const string ExpectedEngineVersion = "v1.5.3"; #else - private const string ExpectedEngineVersion = "v1.5.5"; + private const string ExpectedEngineVersion = "v1.5.6"; #endif public static DuckDBConnection OpenVerifiedConnection() diff --git a/README-FORK.md b/README-FORK.md index c4f1e67a..2bbd8f47 100644 --- a/README-FORK.md +++ b/README-FORK.md @@ -2,13 +2,13 @@ This is an unofficial stable build from the [`skuirrels/DuckDB.NET`](https://github.com/skuirrels/DuckDB.NET) fork. It -packages the consolidated performance work for DuckDB v1.5.5 under distinct +packages the consolidated performance work for DuckDB v1.5.6 under distinct `Skuirrels.DuckDB.NET.*` package IDs. Install the bundled provider explicitly: ```shell -dotnet add package Skuirrels.DuckDB.NET.Data.Full --version 1.5.5.2 +dotnet add package Skuirrels.DuckDB.NET.Data.Full --version 1.5.6 ``` NuGet packages: @@ -21,7 +21,7 @@ so application source code does not need to change. Do not reference this fork package and the official `DuckDB.NET.Data.Full` package in the same dependency graph because they contain assemblies with the same identities. -This release bundles DuckDB v1.5.5 and includes the consolidated appender, +This release bundles DuckDB v1.5.6 and includes the consolidated appender, parameter binding, prepared-command, result materialisation, and scoped-writer optimisations from the fork. When equivalent upstream changes are released, move back to the official `DuckDB.NET.Data.Full` package. diff --git a/README.md b/README.md index aec80431..4c641303 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ the corresponding upstream pull requests are reviewed and released. ## Usage ```sh -dotnet add package Skuirrels.DuckDB.NET.Data.Full --version 1.5.5.2 +dotnet add package Skuirrels.DuckDB.NET.Data.Full --version 1.5.6 ``` The fork packages retain the official `DuckDB.NET.Data` namespaces and assembly diff --git a/scripts/validate-fork-packages.sh b/scripts/validate-fork-packages.sh index 019f8afb..0afabf00 100755 --- a/scripts/validate-fork-packages.sh +++ b/scripts/validate-fork-packages.sh @@ -109,7 +109,7 @@ using (var appender = connection.CreateAppender("fork_package_smoke")) using var verification = connection.CreateCommand(); verification.CommandText = "SELECT version(), sum(value) FROM fork_package_smoke"; using var reader = verification.ExecuteReader(); -if (!reader.Read() || !reader.GetString(0).Contains("v1.5.5", StringComparison.Ordinal) || reader.GetInt64(1) != 42) +if (!reader.Read() || !reader.GetString(0).Contains("v1.5.6", StringComparison.Ordinal) || reader.GetInt64(1) != 42) { throw new InvalidOperationException("Fork package smoke test failed."); }