Skip to content

Releases

Duckle v0.9.2

Choose a tag to compare

@github-actions github-actions released this 02 Dec 17:36

Multi-server mode: one switch splits what DuckDB servers can run of a
pipeline across Quack servers. And DuckDB Scales through Amazon Athena.
Read
Before you upgrade first.

14 commits since v0.9.1.

Before you upgrade

  • A NULL in an upsert key now matches the same NULL (#414). An upsert into
    SQL Server, Oracle, Snowflake or Databricks, and the merge mode of the
    DuckDB, SQLite, MotherDuck and DuckLake sinks, inserted a row whose key held
    a NULL again on every run. Rows that earlier runs inserted twice stay in the
    table and the next run updates every copy, so delete the extras once by
    hand.
  • The merge mode refuses two input rows with one NULL key, like any other
    pair, and the error names the key (id=NULL). Both used to be inserted.
    Deduplicate before the sink.
  • The Python Expression node computes int() and % the way Python does
    (#411).
    int(3.7) is 3, not 4, and -7 % 3 is 2, not -1, so a pipeline
    that relied on the old numbers writes different ones. Thanks to
    @jayhemnani9910.

Multi-server mode

  • A switch for the run: Single server (optimised), the default, or
    Multi-server, in Settings, duckle-runner --execution multi --quack-servers w1:9494,w2:9494, MCP run_pipeline (execution,
    quackServers) or DUCKLE_EXECUTION. The token comes from
    DUCKLE_QUACK_TOKEN, and Settings keeps it encrypted.
  • In Multi-server, every source DuckDB servers can read is split across them:
    Parquet, CSV and JSON files on disk or in S3, GCS, Azure, MinIO, R2 or B2 by
    file, and Postgres, CockroachDB, MySQL, MariaDB and SQLite tables by ranges
    of a new Split column field. The row-by-row steps after the source run there
    too, then an aggregate that combines from partials (count, sum, min, max,
    avg) or a Parquet, CSV or JSON sink each server writes its own part of.
  • Joins, sorts, windows, distinct and limits, and the API, streaming, SaaS and
    warehouse connectors, run here. The run's log says which is which, and a
    source the servers cannot read (they do not see this machine's files, or
    cannot open the database) is read here instead.
  • No credential is sent: Quack keeps what a client sets for every later
    client, so each server uses its own (an S3 secret in its --init,
    PGPASSWORD, MYSQL_PWD, ~/.pgpass).
  • A server-written sink's path becomes a folder of part-0, part-1 and so
    on, one per server. Overwrite replaces them by name, and a run that would
    leave older parts behind fails and names them, since Duckle cannot delete in
    object storage. Append adds parts named by the run.
  • Each run pays about half a second for checking the servers and listing the
    files, so a pipeline one machine finishes in a second or two is faster on
    Single server. Delta, Iceberg and DuckLake tables are not split yet.

One scan over many machines

  • A new source, Scale-out Scan (src.scaleout), splits a scan of Parquet,
    CSV or JSON files across several DuckDB servers over the Quack protocol.
    Each server filters its share and pre-aggregates it (sum, count, min, max,
    avg), the run combines the shares, and a share whose server fails moves to
    the next server. An aggregate that does not combine from partial results is
    refused when the pipeline compiles.
  • Measured on one 20-core machine with three local servers of 4 threads each:
    120M rows of Parquet aggregated in 0.63 s against 0.88 s on one 4-thread
    DuckDB, and 60M rows of CSV in 1.34 s against 2.18 s. It pays when the
    servers shrink the data. A run costs about half a second more, so a scan
    one machine finishes in a second or two stays faster there.
  • duckle-runner quack-serve starts a server on this Duckle's own DuckDB,
    so the release lines match, and stops with the runner. It takes its token
    from DUCKLE_QUACK_TOKEN, runs --init SQL first (a CREATE SECRET for the
    bucket, say) and stops if that fails, and serves other machines only once
    you choose --no-tls or --tls-cert/--tls-key. On Linux with an NVIDIA
    GPU it loads Sirius the way a run does.

DuckDB Scales, through Amazon Athena

  • DuckDB Scales runs one DuckDB query over many machines. Today it runs inside
    Amazon Athena's DuckDB engine, an AWS preview.
  • The Amazon Athena (DuckDB) source (src.athena) sends a query in
    DuckDB's SQL there and reads the result once per run, as Athena bills each
    query. Run in Athena (snk.athena.execute) runs one statement there, an
    INSERT or CREATE TABLE AS between Iceberg tables, say, so the data stays
    in AWS.
  • Both use AWS's athena DuckDB extension, which Duckle installs from AWS's
    extension repository on first use, and sign in with access keys or the
    run's AWS identity. A workspace's allowed domains hold them to
    athena.<region>.amazonaws.com. The AWS account has to be enabled for
    Athena's DuckDB engine, and the workgroup has to keep query results.
  • Checked as far as an account allows: the extension loads and the request
    reaches Athena, which refused the test keys.

Fixes

  • REST page-number paging stops on the last page when a Total-pages JSON
    pointer gives the count, where it asked for one page past it (#412). With
    nothing else to stop on, a page that comes back the same as the one before
    fails there, naming the page parameter. Read only the first N pages
    keeps the first pages on purpose, on any paging style.
  • curve25519-dalek 5.1.0 (RUSTSEC-2026-0620).

Duckle v0.9.1

Choose a tag to compare

@github-actions github-actions released this 25 Nov 14:18

Swarm mode, DuckDB 2.0.1, and GPU acceleration through NVIDIA Sirius on Linux.
Read Before you upgrade first.

27 commits since v0.9.0.

Before you upgrade

  • Desktop: DuckDB is upgraded before the app opens. From v0.8.0 the app
    offered an installed engine no upgrade: it took its own DuckDB for one you
    had chosen yourself, so an install kept the DuckDB it first downloaded, 1.5
    included, and loaded that version's extensions (#410). Now an older DuckDB
    has to be upgraded to 2.0.1 before the app opens. Offline, put the 2.0.1
    archive in DUCKLE_ARTIFACT_DIR first; a DuckDB you chose through
    DUCKLE_DUCKDB_BIN is left as it is.
  • DuckDB 2.0.1. Duckle now runs DuckDB 2.0.1, and so does the pip
    package, which had stayed on 1.5.5. Its macOS wheels need macOS 12 or newer.
  • Merge refuses two input rows for one key, new keys included. DuckDB
    2.0.1 stopped refusing a MERGE whose input has two rows for a key already
    in the table, and which row's values landed was not defined; a new key was
    always inserted twice. Duckle now refuses both and names the key. A MERGE
    or UPDATE ... FROM in your own SQL changed the same way in 2.0.1, so
    deduplicate its source.
  • GPU acceleration is on by default where it can be. On Linux with an
    NVIDIA driver, the first run downloads Sirius's GPU backend (0.7 to 1.2 GB),
    and each DuckDB process a run starts takes about 1.2 s longer. Set it to Off
    in Settings, with --gpu off, or with DUCKLE_GPU=off to skip both.

Swarm mode

  • Give it a mission, and a crew of agents builds the pipeline on the canvas
    in front of you, in six stages: Discover reads the data, Design plans the
    pipeline and the quality gates that will prove it, Build writes it, Test
    runs it and checks every gate, Repair fixes what failed, and Review reports
    back.
  • The crew has no fixed size: add any number of agents to any stage, by hand
    or from six ready specialists. Discover and Review run their agents side by
    side.
  • Any model that can call tools: Claude through your Anthropic account or an
    API key, Hugging Face, OpenAI, OpenRouter, any OpenAI-compatible endpoint,
    or a local model through Ollama or LM Studio.
  • A model that stalls cannot hang a run. An agent whose turn comes back with
    nothing in it is asked again, in smaller steps, and two such turns in a row
    end its part; a turn of an OpenAI-compatible model is capped at 16,384
    tokens, and three cut off in a row fail the agent. How far a local model
    gets depends on the model and the machine: qwen3 8B on a 6 GB laptop GPU
    read the data every time, built the pipeline in one run of four, and
    finished none.
  • Every step is a call to Duckle's own MCP tools, and the swarm writes only a
    new pipeline of its own. Desktop and web editor; the Docker image now ships
    duckle-mcp beside the runner. MCP gains list_workspace_files and
    inspect_source.

GPU acceleration (NVIDIA Sirius)

  • DuckDB 2.0.1 ships Sirius, NVIDIA's GPU engine for DuckDB. On Linux (x86-64
    or arm64) with an NVIDIA GPU, a run can load it: Auto wherever it starts, On
    fails a run that cannot use the GPU, Off never.
  • It is in Settings (Power mode), duckle-runner --gpu, MCP run_pipeline
    and DUCKLE_GPU. duckle-runner gpu shows what a run would find, and
    downloads the backend ahead of the first run.
  • DuckDB builds no Sirius for Windows or macOS, where runs use the CPU and
    Settings says why. On Windows, a Linux build of Duckle in WSL2 or Docker can
    load it.
  • Today it runs nothing on the GPU through the DuckDB CLI. Measured on an
    RTX 4050 with DuckDB 2.0.1, NVIDIA's getting-started steps included: Sirius
    loads, then declines every scan, and each query falls back to the CPU with
    the same results. The run log and Settings say so until an update fixes it.

Fixes

  • A run that wrote its output but could not save its position no longer
    leaves the next run to read those rows again and an appending sink to hold
    them twice (#406).
  • An API that takes its page in the POST body is paged there: {offset},
    {page} or {page_size} in Request body (#407). A missing more-pages flag
    names the page, the request and what came back, and a records pointer that
    finds no list says what it found (#405).
  • Opening a routine or a document no longer blanks the app (#408).
  • A SQL node loads DuckDB 2.0.1's new core extensions (glue,
    legacy_parser, sirius) from the core repository.
  • url 2.5.9 (RUSTSEC-2026-0592) and cookie 0.18.3 (RUSTSEC-2026-0594).

Duckle v0.9.0

Choose a tag to compare

@github-actions github-actions released this 20 Nov 15:02

38 more components run today, change data capture from MySQL, SQL Server
and MongoDB among them, and a pipeline can be one step of others.

Read Before you upgrade first.

82 commits since v0.8.0.

Before you upgrade

  • The desktop scheduler catches up what it missed. It now follows each
    cron schedule's misfire policy, as duckle serve does: opened after being
    closed, or woken from sleep, it runs what latest or all says it missed,
    and records what skip passed over.
  • network.allowedDomains covers database hosts. A policy's domain
    allowlist now holds a database's host to the list as well, so a pipeline
    whose database is not on it is refused when it is planned.
  • Every download is pinned. Every file the desktop downloads (the DuckDB
    CLI, uv, dbt Fusion, the Duckie models) is pinned to a SHA-256, and one
    without a pin is refused instead of installed with a warning.
    DUCKLE_ARTIFACT_DIR installs from a folder, offline.
  • A TSV sink writes with the quote character its form shows, so one saved
    with None writes its values unquoted.

New connectors

  • Change data capture from MySQL and MariaDB (the binary log), SQL Server (its
    CDC tables) and MongoDB (change streams).
  • MQTT, Azure Service Bus, Amazon SQS and Pulsar, read and write; Azure Event
    Hubs; every partition of a Kafka topic and every shard of a Kinesis stream,
    and a Kinesis sink.
  • LDAP and Active Directory.
  • InfluxDB (SQL or InfluxQL in, line protocol out), Trino, Starburst and
    Presto, and Apache Druid (#23).
  • Google Sheets read and write, Excel Online, Chroma, Pinecone, gRPC through
    the server's reflection, and IMAP signed in with OAuth2.
  • ORC and Arrow IPC / Feather files read and write, and EDI interchanges (X12
    and EDIFACT) read.
  • The Delta sink upserts, updates and deletes by key, on object storage too
    (#390).
  • A WebSocket server sink broadcasts the rows of a follow loop (#292).

Raw text and SQL of your own

  • A Raw text sink writes one column as plain lines, each value as it is.
  • A SQL statements sink runs your own statements on the upstream rows, named
    input: a COPY ... TO in any format DuckDB writes, an INSERT into an
    attached database. A SQL query source reads what a query returns.
  • CSV and TSV sinks take a quote character (double, single or None) and an
    escape character.
  • Load extensions installs a community extension (h3, a5, opendal) from the
    community repository, and a COPY or an INSTALL in Inline SQL is answered
    with what to use instead.

Sub-flows

  • A Sub-flow node runs another pipeline in place, its rows passing through it,
    the way a Talend joblet does. Sub-flow input and output nodes name its
    ports, and the run panel names its steps.

The editor

  • Group steps into named frames that move and collapse together.
  • After a run, click a link to see the rows that went down it, and stop an
    editor run at a breakpoint.
  • A GEOMETRY column draws on a map, over tiles from a server you name (#372).
  • Deleting a pipeline, folder or connection moves it to a recycle bin, its
    secrets still encrypted.
  • All 59 interface languages are complete (#378).

Scheduling

  • A schedule says what becomes of an occurrence that comes due while its last
    run is still going: skip (the default, and what every schedule did), queue,
    replace or allow, on duckle serve and the desktop alike.
  • The console's Run button takes the run lock a scheduled run takes.

HTTP sources

  • A 429 or a 503 is sent again after the wait the server asks for, and requests
    can be paced and keep cookies.
  • An API's own more-pages flag is followed (#399), and a redirect never drops a
    request body (#398).
  • The GraphQL sources read a paged connection to the end.

Security

  • The SQLite behind the serve console's accounts, sessions and API keys moves
    to 3.54.1 (RUSTSEC-2026-0459), on Linux too, where a build flag had linked
    the system's older SQLite in its place.
  • lettre moves past six SMTP advisories (RUSTSEC-2026-0560 to -0565) for the
    email sink.
  • A credential typed into a header or another key-value field is treated as
    one: refused on deploy, scrubbed from logs, masked by MCP.
  • duckle-runner policy check checks every pipeline against the effective
    policy, and a policy denying code.sql denies the SQL source and sink too.

Also fixed

  • Typing in a Settings field keeps going (#400).
  • A source's preview shows its run columns once its schema is out of date
    (#364).
  • The console keeps a Schedules row's unsaved edits through its refresh.
  • The canvas's steps no longer show through the other tabs.
  • xf.cdc.diff's deletes reach the sinks and count in the Diff Summary.
  • The Data Generator's columns no longer move in lockstep.
  • Druid arrays and nested columns arrive as their own types.
  • MQTT on macOS names the rows a broker left unacknowledged.

Duckle v0.8.0

Choose a tag to compare

@github-actions github-actions released this 09 Nov 13:17

DuckDB 2.0 runs underneath now, and interval schedules run on the clock.
Read Before you upgrade first.

111 commits since v0.7.4.

Before you upgrade

  • Interval schedules run on the clock, in UTC. Every 15 minutes means :00,
    :15, :30 and :45, and every 24 hours means midnight, so every interval
    schedule fires at a new time, on one server as much as on several.

  • DuckDB moves to 2.0.0. A .duckdb file Duckle creates still opens in
    DuckDB 1.5. What you may notice, each measured against 1.5.5:

    • your own SQL: x -> x + 1 lambdas are refused (write lambda x: x + 1),
      ~ matches anywhere in the string, and division by zero raises an error;
    • a merge sink fails on two source rows for one key instead of keeping the
      first;
    • the first write to a DuckLake whose catalog is a DuckDB file upgrades the
      catalog past what DuckDB 1.x can attach;
    • a Quack server still on DuckDB 1.5 cannot be reached.

    The README's Moving to DuckDB 2.0 section lists every difference.

Several servers on one workspace

  • Each schedule occurrence is claimed before it runs, by serve and by the
    desktop scheduler alike, so it runs once however many are looking.
  • A run accepted by one server can be followed and cancelled through another.
  • What a dead replica was running is marked interrupted within about a minute,
    instead of reading as running until a server restarts.
  • The servers have to share one host for now.

Test a pipeline where you build it

  • Data Generator (src.generate) makes believable fake rows: names,
    emails, addresses, companies, phone numbers, network values, numbers and
    dates. The same seed gives the same rows, so a pipeline can run without what
    it connects to.
  • Tests tab, in the desktop app and the web editor: write test cases from
    any node and run them through the same harness as duckle test.
  • qa.assert states a condition the rows must meet.

The canvas

  • After a run, each node shows the rows it produced.
  • Right-click the canvas for a note kept beside the nodes.
  • Align selected nodes, and snap them to a grid.
  • Double-click a node to open its editor, or the visual mapper for a Map.
  • Generate documentation saves a pipeline as one self-contained HTML page,
    with nothing secret in it.
  • Undo right after opening no longer writes the starter pipeline over your
    file.

New nodes and options

  • Kev on Classify. Kev, a Jev-like decision model you run on your own
    machine, is a third engine on Classify: no API key for a local server, an
    answer that is always one of your labels, and its probability beside it.
  • Nearest Join, DuckDB 2.0's NEAREST as a node, and cast to VARIANT.
  • Delta: time travel on the source (asOfVersion / asOfTimestamp) and
    partitioned tables from the sink.
  • CSV, TSV and JSON Lines sinks append (#367).
  • A REST source reads server-sent events (#365).
  • A CSV source can detect whether its first row is a header.
  • src.changed chooses what a first run does with files already there,
    filters by glob and modification time, takes a capped listing oldest first,
    and no longer strands everything past maxEntries on S3 (#324).
  • Run parameters bind to a schedule and to each pipeline in a plan step, and
    editor runs check them like every other surface (#317).
  • A connection can be tested from its editor.

Green runs that were wrong

When two ran at once in one process:

  • an FTP, FTPS or SFTP upload could send the other run's rows under a green
    status;
  • two upserts with one upstream node id could corrupt each other's staging
    table;
  • two runs of one Access read or dbt node shared temp files.

Each now has its own. And a .gz or .zst file sink published plain text
under the compressed name, a regression in 0.7.4.

Security

  • Backfill and batch ids in the serve console are confined to their store
    folders.
  • A run parameter an operator supplies can no longer carry SQL expression
    syntax.
  • connString and a password written into a URL are treated as credentials
    everywhere. MCP's read_pipeline shows a typed secret as *** and refuses
    to write *** back.
  • Dependency advisories fixed in russh, hickory, quinn-proto, rustls, zip,
    pageant, zstd and others.

Also fixed

  • Delete removes the item's file (#371).
  • SQL Server autodetect works in the desktop app (#375).
  • The first-run screen honours DUCKLE_DUCKDB_BIN (#373).
  • ClickHouse strings through ADBC arrive as text (#364).
  • A ctl.die message names the offending row's columns (#366).
  • A zoned timestamp and a saved watermark no longer depend on the host's time
    zone (#359).
  • A DuckDB found on PATH starts.
  • duckle-runner --version reports the release.

Duckle v0.7.4

Choose a tag to compare

@github-actions github-actions released this 25 Sep 09:01

It carries the fix for a published advisory, which affects 0.7.3 and earlier.
Upgrade before running a console whose pipeline files someone else can name.

152 commits since v0.7.3.

The advisory patched here

Severity
GHSA-6xvv-58mg-4gxx Medium The serve console built its buttons' click handlers with HTML escaping alone, and the browser decodes that before the handler runs, so a pipeline id containing a quote ran as script when its row was clicked. Every inline handler now encodes for JavaScript first, then HTML.

A passphrase typed on a node (the SSH key passphrase on SFTP, FTP and the
artifact nodes) is also redacted from a duckle-runner build bundle now. The
bundler kept its own copy of the list of credential names, and the copy had
lost that one, so the bundle shipped it as typed.

New connectors

  • Microsoft Access as a source and a sink: ODBC on Windows, read-only
    through mdbtools on Linux and macOS.
  • SharePoint Server lists and document libraries as a source and a sink,
    signing in with NTLM.
  • PostgreSQL change data capture, log-based, through PostgreSQL's built-in
    pgoutput plugin. Nothing to install on the server.
  • Delta Lake sink that appends to a local table and creates it on first use.
  • Iceberg REST catalogs. The Iceberg source and sink attach Polaris,
    Lakekeeper, Nessie or Gravitino by URI and warehouse.

New ways to build and run

  • Paste a SELECT and get a pipeline, one step per CTE.
  • duckle-runner nightly.json --param name=value supplies a pipeline's typed
    parameters from the command line, through the same check as every other
    surface.
  • A child job can take its caller's rows as well as hand rows back, so a child
    pipeline is a reusable rows-in, rows-out block.
  • maxRunSeconds stops a hung run and reports it as a failure.
  • duckle-runner test --update-golden records what a node produced as its new
    expected rows.
  • S3 and Azure can read with the identity the run already has, no key
    (cloudAuth: environment).

Operations

  • A PagerDuty alert rule triggers an incident on a failure and resolves the same
    incident on the all-clear.
  • /readyz and /metrics report a stalled scheduler, which used to look exactly
    like a night with nothing due.
  • Run history records each node's duration and rows.
  • Every error-type reject carries a machine-readable envelope naming the node
    and the reason, and a quality check says how many rows it rejected even when
    its reject port is not wired.
  • duckle-runner review speaks json, junit and sarif like the other gates.

Green runs that lost data

  • A truncate-mode database sink emptied its target when nothing arrived, and a
    MongoDB replace dropped the collection and its indexes. An empty input now
    leaves the target alone.
  • A single-file sink publishes by rename, so a glob downstream no longer reads a
    killed run's half-written staging file (measured at 10.5M rows where 8M
    existed, on a run that reported success).
  • Two runs of one pipeline finishing together could replace its whole history
    with one record. The append is locked now.

SQL Server

  • Date and time columns keep the type SQL Server reports (#362).
  • A saved connection reaches every surface, Plan and Autodetect included (#363).
  • An upsert goes through MERGE instead of failing with "requires a table with a
    primary key" on the default bulk path.

Also fixed

  • ClickHouse through ADBC shows dates, UUIDs, enums and wide integers as what
    they are rather than numbers and bytes (#364).
  • The desktop window opens on Wayland without XWayland (#361).
  • DuckDB moves to 1.5.5, which fixes an intermittent "Overflow in timestamp
    subtraction" on HTTP sources.
  • "Log row count" does what it says.
  • In the web editor, Stop, Schedules, History, Backfill and the Data Catalog
    work against the server.

Duckle v0.7.3

Choose a tag to compare

@github-actions github-actions released this 16 Sep 10:23

A security release. It carries the fixes for six published advisories, one of
them critical, and every one of them affects 0.7.2. Upgrade before running a
console anywhere but loopback, and before extracting an archive from a source
you do not control.

61 commits since v0.7.2.

The six advisories, all patched here

Severity
GHSA-x7pg-4h32-8r25 Critical An official-container console could be claimed by whoever asked first. Claiming now needs the code it printed.
GHSA-58g9-237h-ch2g High A self-extracting artifact trusted a predictable cache path. It is per user now, and reuse is checked.
GHSA-j8hp-j6gh-659p High A ZIP member could escape the destination on Windows: a backslash is a separator there, and the filter only split on /.
GHSA-6756-rxf2-f9xr Medium A run parameter was pasted into SQL unescaped. It is a value now, in SQL and in a shell alike.
GHSA-c3jh-48x5-mhpw Medium The console's rebinding guard covered writes and not reads, so GET /api walked past it.
GHSA-cxv5-9v92-ccq6 Medium A secret was redacted by where it landed rather than where it came from, so a context secret reached authenticated viewers.

The DuckDB boundary closes two more routes

A dot-command is not SQL - the CLI runs .shell, .read and .output itself,
so nothing a policy says about components reaches them - and is now refused
outright. An INSTALL in a batched pure-SQL body downloaded an extension under
an enforcing policy; both execution paths are guarded now, not just one.
Credentials no longer travel in the per-stage executor's argv. rustls moves to
0.23.45 for RUSTSEC-2026-0285.

Stores that lost writes when two things wrote at once

Accepting an XSD contract, recording a delivery, and running a backfill each
read a file, changed it and wrote it back with nothing holding it still.
Measured at eight concurrent writers: seven acceptances reported success and one
survived; six deliveries were recorded and one was in the ledger. The backfill
was worse than a lost update - the executor never re-read the plan, so
cancelling a running backfill did nothing, silently, which is the only time
anyone cancels one. All three take the workspace store lock now.

A prune says what it did, and the recovery cannot undo it

The ledger prune reported what it had PLANNED, so a prune that wrote nothing
still said "removed N" and audited it - and with --json, the mode a cron
reads, the prune's own result never reached the operator at all. Separately, the
reconciler that rebuilds a publication event whose append failed had no caller,
so the warning naming it promised a recovery that never came; it runs at startup
now, bounded by how far a prune has swept, so it restores a real gap without
putting back what retention deliberately removed. Deciding what to prune is also
about 9x faster.

New connectors and transforms

Manticore Search as a source and a sink. Explode and Flatten expand nested
objects. The Geospatial sink can sort spatially and offers Parquet in its file
dialog. duckle-runner xsd accept records an audited acceptance of a changed
schema contract, and a full snapshot opens a new epoch so an ordered chain
recovers from a permanently broken delta.

Correctness

A run that panics still reports an outcome; the scheduler tick stays responsive
and clears its busy marks on a panic; drift reads the real source rather than a
placeholder; the Visual Mapper casts each output to the type it declares;
${workspace} resolves for a run started over MCP; a backfill slice resolves
env, vault and saved connection references; duckle test resolves a pipeline
the way a run does; a retry refuses to repeat a file operation or a shell
command; and a schema path containing a space no longer stops fail mode
refusing anything.

Full notes: What's new in v0.7.3

Duckle v0.7.2

Choose a tag to compare

@github-actions github-actions released this 07 Sep 17:06

185 commits.

  • Settings the engine honoured, that the form never offered. CSV offers the malformed-row handling and a typable
    delimiter of any length plus the full encoding list; Excel reads every sheet
    or a named set and honours the cell range; cloud sources expose the read
    options they already applied; GraphQL takes its query; Synapse draws the
    connection it actually makes; sort takes more than one column. A REST source
    with no upstream is no longer reported as broken.
  • Options that ran and did something else. A quality gate set to "keep the
    row" dropped it; onFail: fail did not fail the run; the four set operations
    ignored their column-match setting; a join family advertised a reject port
    nothing filled; INITCAP does not exist in DuckDB; date arithmetic offered
    units it could not add; the IP parser offered fields DuckDB cannot compute.
    Each was found by running the option, not by reading it.
  • A node that is not configured says so. A quality gate with no columns
    evaluated to TRUE and passed every row while reporting success. A SQLite
    source with no table asked DuckDB for a table named "" and got an internal
    assertion (#335); the DuckDB source returned a placeholder and wrote a file
    whose only column was named placeholder; the file list globbed the
    filesystem root. All four now refuse, and duckle-runner validate catches
    them before anything is opened.
  • Scheduling that can be held to account. A schedule records every
    occurrence it was due for, catches up what it missed by policy, and honours
    its zone and exclusion calendar at fire time. A retry replays the parameters
    the run was given and reuses a verified durable output instead of re-running
    upstream. Operational ledgers prune without losing what is kept.
  • Publications, subscriptions and ordered chains. A durable log of every
    successful publication, a pipeline that runs when the data it reads is
    published, a failed delivery that is visible and retryable, and a
    subscription that refuses to close a trigger loop. An ordered delta chain
    blocks a slice whose predecessor has not landed.
  • One capability registry, and the engine answers it. Which components run
    a process, which advance durable state, which do incremental reads - reported
    from the registry rather than asserted in a document, reachable over MCP, and
    the connector matrices are generated from it.
  • Security, ending in checks rather than prose. The console enforces MFA by
    requiring the acr and amr claims back, and a missing claim is refused
    rather than waived. ${VAULT:NAME} stopped being offered as a run parameter,
    which had made the editor prompt the author for the credential and then
    substitute it client-side, so the vault was never consulted. tokenUrl
    matched the token needle and was treated as a secret, which blocked deploy
    and rewrote a public OAuth endpoint to ${ENV:TOKENURL} in built bundles. A
    src.git revision could carry a - and be read as a git option. Credential
    inputs are masked centrally rather than on 46 declarations, one of which had
    the flag.
  • Supply chain. Dependency scanning on every push and weekly, a CycloneDX
    SBOM, and keyless build provenance over every release artifact - so a
    download can be bound to the commit and workflow that produced it, which a
    checksum cannot do. Every accepted advisory carries a reachability analysis
    and a review date.
  • New checks that fail the build. A field gated on a value its dropdown
    cannot produce; a credential shown in the clear; the capability matrix, the
    component catalog and the site index out of step with the manifests.
  • Arch Linux packaging, built and linted in a real Arch container on every
    change, including a clean-install test that runs a pipeline - which is how
    the runner package was found to install cleanly and be unable to run
    anything.

Install. Pick the binary for your OS from the assets below, or
pip install duckle for the Python API and MCP server.

Verify what you downloaded. Every artifact now carries build provenance
signed through Sigstore, so it can be bound to the commit and workflow that
produced it - which a checksum cannot do:

gh attestation verify Duckle-linux-x64 --repo slothflowlabs/duckle

SHA256SUMS.txt and a CycloneDX SBOM (duckle-sbom.cdx.json) are attached as
well.

Duckle v0.7.1

Choose a tag to compare

@github-actions github-actions released this 30 Aug 18:03

Ten days and 220 commits since v0.7.0. The bulk of it is a legacy job importer that turns an existing Talend estate into Duckle pipelines, a REST fan-out that survives millions of parent rows and resumes where it died, and a set of boundaries that hold where the act happens rather than where it was planned.

Highlights

  • A legacy Talend estate imports and runs, not just parses: 57 commits of expression translation, mapper semantics, loop bodies, sub-jobs and context resolution.
  • A REST fan-out that survives two million parents, streams them instead of holding them, resumes from row 900,001 after a crash, and never buys the same row twice.
  • A ceiling on the AI bill, plus a run that says out loud when it did not finish rather than reporting a partial dataset as complete.
  • A reuse cache: a stage whose inputs did not change does not run again.
  • DuckDB is now inside the network policy, and vault-held credentials resolve on every execution surface including MCP.

Legacy job import (Talend)

The importer went from "translates the shape of a job" to "translates the job". 57 commits, and most of them are a specific reading that turned a working step into a broken one.

Expression translation. Mapper expressions that read one way, the character helpers, numeric literals and sign-changing arithmetic, arithmetic written with signs, asking what a string contains, dates, counters, a value wrapped for its type, conditions and the shipped routines, a choice, a comparison. A string helper can take a count that is itself computed. A comma inside a literal is no longer treated as an argument separator.

Mapper semantics. A mapper's own named values and the ordinary string operations. Outputs are kept apart from each other. The condition deciding which rows reach a mapper output is preserved. A lookup is joined rather than dropped, travels with the loop it feeds, and stays qualified where the mapper looks something up. An output column with nothing to compute is still a column. A join key that is an expression counts as one key. A mapper written as name-to-expression is applied instead of passed through. Output types come from the declared schema, including exact decimals read by their type.

Job structure. A loop's body becomes a pipeline the loop can name. A reusable body is spliced into the job that calls it, keeping its boundary ports and the name of a named output port. Sub-flows are called, children and joblets resolve to the files they became, and work that waits for a subjob waits for all of it. Ordering links order the run without becoming data edges, never close a loop, and stay out of loop bodies. The order unlinked subjobs run in is kept.

Context and run variables. A context reference resolves from the job's own context and wherever else it appears. A Java body that only sets context values is carried over to nodes. A new component sets a run variable, and a run variable is carried into the jobs a pipeline runs. Context values are quoted where they stand for a value and kept out of the column namespace.

Refusing to guess. An untranslated Java body does not compile rather than silently doing nothing, and the report says which Java bodies carry no rules. A table written by more than one step is not mirrored. A query carrying a statement terminator is collapsed, and SQL that writes is reported.

Delimited files. Column names come from the declared schema, the quote setting is named the one the reader looks for, quoting off is stated rather than left to the reader's default, and whether a delimited writer emits column names is read from the job.

REST, at scale

  • One request per row of an upstream table, with the response stamped onto the rows it produced.
  • A fan-out that survives two million parents, and then streams the parent rows instead of holding them all in memory.
  • Resume: a fan-out that died at row 900,001 continues from there. Each successful parent is recorded in the checkpoint store as it completes and replayed on rerun without reissuing the request. Never buy the same row twice.
  • The incremental cursor reaches the request, so a fan-out asks for what changed. The cursor does not advance past a parent that failed under skip or reject, because advancing past rows that were never fetched loses them permanently.
  • Keep the original response, named by its own content, and archive the raw response to object storage.
  • Survives a rate limit, and sends requests in parallel.

AI nodes

  • A ceiling on the bill. maxRequests, token and cost budgets, enforced with a compare-and-swap so the ceiling is exact under concurrency. A stop is not counted as a purchase.
  • A run that says it did not finish. Hitting a budget marks the run incomplete rather than reporting a truncated dataset as a clean success, and that marker now reaches the run history, not just the CLI.
  • Ask for a shape, and check the reply is that shape (structured output), with a pre-flight that refuses a schema field colliding with an upstream column, and expansion that refuses to overwrite the caller's own column.
  • Checkpoint classify and embed, not only llm.

Reuse cache

  • A stage whose inputs did not change does not run again. Opt-in, keyed on the stage config, its input fingerprint and the engine version.
  • An engine upgrade invalidates the cache, because the same inputs can produce different output from a different engine.
  • See, drop and distrust the cache from the CLI.

Python

  • Use the workspace's own virtual environment rather than whatever interpreter was on PATH.
  • Refuse a run whose .venv is not the environment uv.lock describes. A target that declares a locked environment and has nothing installed is refused rather than run against the wrong packages.
  • Hand a script the whole table, through Parquet, and stream a table through code.python instead of materializing it.

Documents and artifacts

  • Read the schema the feed already published: point src.xml at an XSD and the columns are derived from it, with the exact schema bytes recorded in the signed run manifest.
  • A corpus from an upstream relation, not one configured path, for XML, HTML and PDF.
  • HTML: read rows out of a page by CSS selector, and follow the pagination a server rendered. A walk cut short by a failed page now reports as incomplete rather than as a clean run.
  • PDF: one row per page.
  • Archives: unpack an archive into artifacts; a skipped member keeps the identity it was written with.
  • Artifacts describe files as rows a pipeline can reason about, carry business keys through a parser, and copy the bytes while recording where they came from.
  • Bounded intermediates for XML, and a bounded corpus list rather than only bounded documents.

Streaming and continuous runs

  • follow, a continuous mode for pipelines that track their position.
  • listen + src.spool, so a push source stops losing what arrives.
  • src.changed: poll a remote source, including S3 and S3-compatible stores, without downloading it. A source that found nothing reports as unchanged rather than a plain ok, and unchanged is persisted and exposed as its own metric.
  • xf.tumble, event-time tumbling windows that survive between runs.
  • Kafka: resume where the last successful run stopped, decode Confluent-framed Avro, and apply the security settings the form has always offered.

Quality and testing

  • duckle test: assert what a pipeline produces from a fixed input. Row count, uniqueness, not-null, a SQL predicate, numeric tolerance, column types rather than only rendered values, DECIMAL precision when the expectation spells it out, and deterministic ordering for a case that never promised one. A fixture lives beside the test file.
  • A baseline: let an operator say this is the new normal.
  • Propose only the record pairs worth comparing.
  • A quality gate told to fail the run now actually fails it.
  • run_tests over MCP, so an agent can run the suite without a shell.

Security, policy and secrets

  • The policy boundary is enforced where the act happens, not only where it is planned, so a URL built at run time or a redirect hop meets the same refusal.
  • DuckDB is inside the network policy. Under mode: enforce with a network.allowedDomains list, a run starts with DuckDB's remote filesystems disabled, community extensions refused and extension autoinstall off. Two of those settings are one-way in DuckDB, so generated SQL cannot lift them.
  • Fetch a credential from an external vault at run time with ${VAULT:NAME}, and, as of this release, on every execution surface: the MCP server previously ran pipelines without resolving it, so a vaulted credential arrived at the connector as literal text.
  • SFTP remembers host keys, so an unpinned connection notices a change.
  • A run that cannot record its state no longer reports ok.

Connectors and sinks

  • Neo4j, Turso/libSQL and IBM DB2.
  • GeoParquet from the Geospatial sink.
  • Snowflake: a writeMode that replaces the table instead of adding to it.
  • DuckLake: maintain a lake through the same pipelines that fill it, and publish several tables as one snapshot or refuse.
  • A typed file operation, a listing that answers "is it there", rows written in place, and a folder listing.
  • Set a proxy, timeouts and a User-Agent once, in one place.

Server, backfill and the console

  • Accept a run, answer for it later, and cancel it.
  • Headless backfill across the console API, MCP and the web editor, and a backfill set can no longer destroy other state. A run's flush no longer overwrites an edit made during it.
  • A resource budget, so one job cannot take the machine down.
  • Bound how long a queued item is retried.

Correctness fixes worth calling out

Several of these are the silent-data class, wh...

Read more

Duckle v0.7.0

Choose a tag to compare

@github-actions github-actions released this 20 Aug 14:10

A server anyone can set up in a browser, an ordered plan of pipelines, a
catalog of the whole workspace, and a run that stopped reading the source
three times to answer one question.

  • Set a server up without a terminal. The console used to assume whoever deployed it would also configure it over SSH. It now answers a first visit with a setup page: pick where the server runs, claim it, and the administrator token is shown once. Claiming is the whole setup. A liveness probe at /healthz means an orchestrator can tell a starting server from a wedged one, and a schedule that stops working now says so instead of failing quietly.
  • Sign-in, roles and an audit log. Accounts and machine credentials live in SQLite rather than a file two processes could erase for each other. People are managed from a People tab instead of a deployment task, machines get their own API keys, and sessions survive a restart, expire, and travel marked. Roles are enforced in one place per surface, so a route cannot be reached by forgetting to check it at the call site. The audit log records who did what, including refusals, and can be read back from the console.
  • Plans: several pipelines, in an order somebody chose. A plan is a list of pipelines that run in sequence. Plans are authored in the desktop app and in the console, share one plans.json, and can be scheduled like a single pipeline. A plan whose pipelines failed no longer reports that it worked.
  • A Data Catalog across pipelines, not inside one. The workspace graph now spans pipelines: which asset feeds which, what is orphaned, who owns it, and how fresh it is, because every run records what it touched. Columns, descriptions, tags and a glossary are editable in a Data Catalog screen, exposed to the console and to agents through MCP, and a saved graph can tell you when the pipelines have moved on.
  • Queued work, and a worker that claims it. A ForEach can dispatch its items as a batch rather than running them here. A worker claims queued items, the console shows what is queued and lets you retry what failed, and the queue says whether items can safely run at once. Each sub-pipeline runs under its own name and keeps its own watermark.
  • Runs stopped scanning the source three times. Every node's row count was a separate SELECT COUNT(*), and since nodes are views, each one re-ran the whole chain. A source to filter to sink pipeline read a 96M-row Postgres table three times to do one pass of work. Each relation is now counted once, and a sink takes its count from the Parquet footer of the file it just wrote, which is a metadata read: 0.06s against 16.7s for the equivalent count over the source. Measured on that pipeline, baseline against this release, interleaved on one machine: 56.3s to 18.8s, and 288,159,946 tuples scanned down to 96,011,803. That puts it level with a hand-written DuckDB COPY doing the same work, at 1.02x. A remote XML stream over SFTP was reading 8 KiB per round trip and now reads 256 KiB: 75 MB and 700,000 rows went from 17.0s to 10.0s.
  • Security fixes, two of them serious. The streaming run route accepted work without authentication, and the in-app updater pointed at a GitHub organisation nobody had registered, so whoever claimed the name could have served the next update. Both are closed. Beyond those: connection secrets are bound to the field and connection they belong to, so a ciphertext cannot be moved between fields; bundle keys are derived with Argon2id and a per-bundle salt instead of an unsalted hash; downloaded engines and models are verified against a pinned checksum; run parameters can no longer redefine builtins or inject shell syntax; sidecars stage in a private directory instead of shared temp; decrypted connection secrets stay out of browser storage; a cached git token is re-encrypted and never written world-readable; and a deploy refuses to send a pipeline carrying a credential in plain text.
  • Saved connections are a reference, not a copy. Picking a saved connection used to copy its values onto the node, so the credential was duplicated into the pipeline file and a later edit to the connection did not reach it. The node now stores only the reference and resolves it at run time. The editor shows what the connection will supply rather than the manifest's default, so a node pointing at a connection on a non-standard port stops displaying the standard one, and a secret says only that it is covered.
  • Home is a launcher, and the tour goes first. The app opens on three tiles rather than dropping you into a canvas, modules are one level in, and a first run walks every capability once instead of showing the tour and Home at the same time. Settings can ask again.
  • Deploying is documented, including the uncomfortable parts. A deployment guide for AWS, Azure and Google Cloud, the client and server architecture, promoting from CI, driving Duckle from another orchestrator, and a walkthrough of the whole server flow. The docs now say plainly that a failed run still answers 200, before somebody trusts it.

Install

Pick the binary for your OS below. Verify it against SHA256SUMS.txt before running it.

Binaries are not code signed on any platform, and the checksum file is served from
this release rather than signed separately. See SECURITY.md for what that means and
what else is stated plainly there.

Full notes: What's new in v0.7.0

Duckle v0.6.1

Choose a tag to compare

@github-actions github-actions released this 10 Aug 12:04

Talend jobs import straight into the canvas, and credentials are masked more carefully in exported SQL.

Talend job importer

  • Import a Talend job from the editor. A Talend button sits in the project sidebar next to New Pipeline and New Folder, and the same action is in the editor's ⋯ menu as Import Talend job.... Either one picks a .item job, translates it, and opens it as a new pipeline tab, laid out on the canvas at the coordinates the job was drawn with. Measured on a real 44-job corpus: all 44 parse and 211 of 216 nodes map, the only refusal being a site-specific custom component. Nothing is written to your workspace until you save, so a job that translates badly costs a closed tab.

  • The import report says what still needs a person. A node count on its own would suggest a working pipeline, so the report leads with how many components actually translated, then lists everything unresolved:

    • Encrypted Studio passwords arrive as ${ENV:...} placeholders instead of guesses.
    • Connections stored outside the job file are named, so you can fill them in or point the node at a saved connection.
    • tMap outputs computed by Java are listed column by column with the expression to rewrite as SQL.
    • A component with no Duckle equivalent is imported as a labelled placeholder, so the shape of the job survives rather than quietly losing a step.

    A file that cannot be parsed, and a file that holds no components at all, are both reported as such rather than as a successful import.

Correctness

  • Credentials are masked on token boundaries in exported SQL. Redaction replaced a credential value wherever it appeared, so a password that was also a substring of an ordinary identifier corrupted the statement around it: a password of prod rewrote production_report.parquet as ${DUCKLE_PASSWORD}uction_report.parquet. The secret itself was always protected; the damage was to everything else, and it mattered most when reading the Plan or SQL view to debug. Matching is now delimiter-aware, so LOAD postgres is left intact while a one-character password is still masked in password=p'. Deliberately no minimum length: a short password is still a password.

Notes

The importer is desktop only. The translator lives in the engine and duckle serve exposes no endpoint for it, so the entry points are absent in the web editor rather than present and broken.