Skip to content

Remove unused conda data-fetcher function and therefore remove DuckDB dependency.#106

Merged
samcunliffe merged 8 commits intomainfrom
sc/update-duckdb-async-to-duckdb-node-api
Feb 1, 2026
Merged

Remove unused conda data-fetcher function and therefore remove DuckDB dependency.#106
samcunliffe merged 8 commits intomainfrom
sc/update-duckdb-async-to-duckdb-node-api

Conversation

@samcunliffe
Copy link
Member

@samcunliffe samcunliffe commented Jan 26, 2026

DuckDB depends on a very old and vulnerable version of tar. DuckDB devs have deprecated the thing we were using (so not updating either it or its dependencies)...

The original DuckDB <> Node.js bindings in https://github.com/duckdb/duckdb-node are deprecated in favour of the new and shiny @duckdb/node-api package. Currently, the plan is to release duckdb-node as well as duckdb-async for the last time for the DuckDB 1.4.x (~Fall 2025) series but not for the DuckDB 1.5.x series (~Early 2026) any more.

But it turns out we're not actually using the conda-data-fetcher function. So rather than update DuckDB's node API (the branch name of this PR) we can just remove it completely... 🎉 Less code is less code.

I didn't notice this ages ago, because I'm not a very good JavaScript developer.

@samcunliffe samcunliffe requested a review from a team as a code owner January 26, 2026 16:20
@samcunliffe samcunliffe force-pushed the sc/update-duckdb-async-to-duckdb-node-api branch from 64c7915 to 5f1bacb Compare January 26, 2026 16:21
@samcunliffe samcunliffe requested a review from Copilot January 26, 2026 16:22

This comment was marked as outdated.

@samcunliffe samcunliffe changed the title Swap out duckdb-async for @duckdb/node-api. Remove unused conda data-fetcher function and therefore removed duckdb dependency completely. Feb 1, 2026
@samcunliffe samcunliffe changed the title Remove unused conda data-fetcher function and therefore removed duckdb dependency completely. Remove unused conda data-fetcher function and therefore remove DuckDB dependency. Feb 1, 2026
@samcunliffe samcunliffe self-assigned this Feb 1, 2026
@samcunliffe samcunliffe added enhancement New feature or request dependencies Pull requests that update a dependency file labels Feb 1, 2026
@samcunliffe samcunliffe requested a review from Copilot February 1, 2026 10:48

This comment was marked as resolved.

@samcunliffe samcunliffe requested a review from giordano February 1, 2026 13:19
@samcunliffe samcunliffe merged commit a597199 into main Feb 1, 2026
8 checks passed
@samcunliffe samcunliffe deleted the sc/update-duckdb-async-to-duckdb-node-api branch February 1, 2026 13:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants