Download Latest Version dasel_linux_386.gz (3.7 MB)
Email in envelope

Get an email when there's a new version of dasel

Home / v3.9.0
Name Modified Size InfoDownloads / Week
Parent folder
dasel_linux_arm64.gz 2026-05-13 3.5 MB
dasel_linux_386.gz 2026-05-13 3.7 MB
dasel_linux_amd64.gz 2026-05-13 3.9 MB
dasel_linux_arm64 2026-05-13 9.6 MB
dasel_linux_386 2026-05-13 9.6 MB
dasel_linux_amd64 2026-05-13 10.3 MB
dasel_windows_386.exe.gz 2026-05-13 3.8 MB
dasel_darwin_amd64.gz 2026-05-13 3.9 MB
dasel_darwin_amd64 2026-05-13 10.4 MB
dasel_windows_386.exe 2026-05-13 9.9 MB
dasel_windows_amd64.exe.gz 2026-05-13 4.0 MB
dasel_linux_arm32.gz 2026-05-13 3.7 MB
dasel_windows_amd64.exe 2026-05-13 10.5 MB
dasel_linux_arm32 2026-05-13 9.8 MB
dasel_darwin_arm64.gz 2026-05-13 3.6 MB
dasel_darwin_arm64 2026-05-13 9.7 MB
README.md 2026-05-13 1.3 kB
v3.9.0 source code.tar.gz 2026-05-13 3.2 MB
v3.9.0 source code.zip 2026-05-13 3.3 MB
Totals: 19 Items   116.4 MB 0

New Functions

  • groupBy(expr) — Group array elements by a derived key expression, producing a map of key to matching elements.

    [{"name": "Alice", "dept": "eng"}, {"name": "Bob", "dept": "eng"}, {"name": "Carol", "dept": "sales"}].groupBy(dept) // {"eng": [...], "sales": [...]}

  • reduce(expr, init, update) — Fold an array into a single value using an accumulator ($acc).

    [1, 2, 3, 4].reduce($this, 0, $acc + $this) // 10

  • mapValues(expr) — Transform all values of a map/object while preserving keys.

    {"a": 1, "b": 2, "c": 3}.mapValues($this * 2) // {"a": 2, "b": 4, "c": 6}

New Iteration Variable: $key

All iteration expressions now expose a $key variable — the current index (for arrays) or key name (for maps).

Supported in: filter, map, each, sortBy, groupBy, any, all, count, reduce, mapValues, search, and recursive descent.

[10, 20, 30].map($key)
// [0, 1, 2]

[10, 20, 30].filter($key >= 1)
// [20, 30]

{"a": 1, "b": 2}.mapValues($key)
// {"a": "a", "b": "b"}

[10, 20, 30].map($key + $this)
// [10, 21, 32]

Full Changelog: https://github.com/TomWright/dasel/compare/v3.8.1...v3.9.0

Source: README.md, updated 2026-05-13