Debian Patches

Status for dasel/3.11.2-3

Patch Description Author Forwarded Bugs Origin Last update
0001-Support-go-toml-v2.4.3.patch Support go-toml v2.4.3
go-toml v2.4 rejects encoding a bare value as a document root, which the
TOML writer relied on when the top level value isn't a table - the result
of selecting a scalar or list out of a document. Every *_to_toml case in
the cross format tests failed with "cannot encode a X as a document
root", as reported in the Debian build.

The writer now encodes those values against a placeholder key and strips
the "<key> = " prefix back off, so go-toml still owns value formatting
and the output is unchanged. Using the inline tag option on the
placeholder also fixes a top level list of tables, which previously
emitted table headers with an empty key.

Fixes #550
Tom Wright <935867+TomWright@users.noreply.github.com> yes upstream upstream, https://github.com/TomWright/dasel/commit/70fd28f38c0e7eb35ef1a034813daf1976e90485 2026-08-01
0002-cherry-pick-update-go-yaml.patch Update go-yaml to v4.0.0-rc.7
Upgrade go-yaml from rc.3 to rc.7 and refresh its module checksums.
Update the folded scalar test to expect one trailing newline after
the upstream emitter fix removed an unnecessary blank line.

Fixes https://github.com/TomWright/dasel/issues/568

The focused folded scalar test and full race-enabled suite pass.
Ingy döt Net <ingy@ingy.net> no 2026-11-01

All known versions for source package 'dasel'

Links