The NetBSD Project

CVS log for pkgsrc/textproc/dasel/Makefile

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / textproc / dasel

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.36.2.2: download - view: text, markup, annotated - select for diffs
Wed Nov 11 20:32:21 2026 UTC (4 days, 11 hours ago) by maya
Branches: pkgsrc-2026Q3
Diff to: previous 1.36.2.1: preferred, colored; branchpoint 1.36: preferred, colored; next MAIN 1.37: preferred, colored
Changes since revision 1.36.2.1: +2 -2 lines
Revbump for Go update (ticket #7379)

Revision 1.39: download - view: text, markup, annotated - select for diffs
Tue Nov 10 18:55:26 2026 UTC (5 days, 13 hours ago) by bsiegert
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +2 -2 lines
Revbump all Go packages after go127 update

Revision 1.36.2.1: download - view: text, markup, annotated - select for diffs
Wed Oct 21 20:45:50 2026 UTC (3 weeks, 4 days ago) by maya
Branches: pkgsrc-2026Q3
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +2 -2 lines
*: Revbump for go126, go127. Ticket #7311

Revision 1.38: download - view: text, markup, annotated - select for diffs
Tue Oct 20 20:28:19 2026 UTC (3 weeks, 5 days ago) by bsiegert
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +2 -2 lines
Revbump all Go packages after go127 security update

Revision 1.37: download - view: text, markup, annotated - select for diffs
Tue Oct 13 18:38:00 2026 UTC (4 weeks, 5 days ago) by bsiegert
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +2 -2 lines
Revbump all Go packages after go127 security update

Revision 1.36: download - view: text, markup, annotated - select for diffs
Sat Sep 5 19:10:03 2026 UTC (2 months, 1 week ago) by bsiegert
Branches: MAIN
CVS tags: pkgsrc-2026Q3-base
Branch point for: pkgsrc-2026Q3
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +2 -2 lines
Revbump all Go packages after go127 update

Revision 1.35: download - view: text, markup, annotated - select for diffs
Mon Aug 31 19:19:07 2026 UTC (2 months, 2 weeks ago) by bsiegert
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +2 -2 lines
Revbump all Go packages after go127 became the default

Revision 1.34: download - view: text, markup, annotated - select for diffs
Sat Aug 22 15:19:16 2026 UTC (2 months, 3 weeks ago) by bsiegert
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +2 -2 lines
Revbump all Go packages after go126 update

Revision 1.33: download - view: text, markup, annotated - select for diffs
Sat Aug 15 12:53:37 2026 UTC (3 months ago) by bsiegert
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +2 -2 lines
Revbump all Go packages after Go 1.26 update

Revision 1.29.2.1: download - view: text, markup, annotated - select for diffs
Tue Jul 14 00:36:07 2026 UTC (4 months ago) by maya
Branches: pkgsrc-2026Q2
Diff to: previous 1.29: preferred, colored; next MAIN 1.30: preferred, colored
Changes since revision 1.29: +2 -2 lines
Revbump all Go packages after go126 update

Revision 1.32: download - view: text, markup, annotated - select for diffs
Wed Jul 8 18:32:42 2026 UTC (4 months, 1 week ago) by bsiegert
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +2 -1 lines
Revbump all Go packages after go126 update

Revision 1.31: download - view: text, markup, annotated - select for diffs
Sun Jun 28 11:07:02 2026 UTC (4 months, 2 weeks ago) by drixter
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +3 -3 lines
textproc/dasel: Update to 3.11.2

## [v3.11.2] - 2026-06-27

### Security

- Fixed panic (index out of range) in the selector lexer when the input ends
with whitespace, e.g. `dasel query 'a '` ([GHSA-65gg-g7rw-6cpc]
(https://github.com/TomWright/dasel/security/advisories/GHSA-65gg-g7rw-6cpc)).
The whitespace-skip loop could advance the position to the end of input,
after which the next character access had no bounds check.

Revision 1.30: download - view: text, markup, annotated - select for diffs
Tue Jun 23 11:44:04 2026 UTC (4 months, 3 weeks ago) by wiz
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +2 -3 lines
dasel: update to 3.11.1.

## [v3.11.1] - 2026-06-20

### Security

- Fixed stack overflow (unrecoverable `fatal error`) in the JSON and XML readers when parsing deeply nested input ([GHSA-cqxr-jxr2-85pq](https://github.com/TomWright/dasel/security/advisories/GHSA-cqxr-jxr2-85pq)). Both readers now enforce a 10,000-level nesting depth limit and return a clean error (`ErrJSONMaxDepthExceeded` / `ErrXMLMaxDepthExceeded`) instead of crashing the process.

Revision 1.29: download - view: text, markup, annotated - select for diffs
Fri Jun 5 10:21:52 2026 UTC (5 months, 1 week ago) by bsiegert
Branches: MAIN
CVS tags: pkgsrc-2026Q2-base
Branch point for: pkgsrc-2026Q2
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +2 -1 lines
Revbump all Go packages after go126 security update

Revision 1.28: download - view: text, markup, annotated - select for diffs
Sun May 24 18:19:02 2026 UTC (5 months, 3 weeks ago) by wiz
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +2 -2 lines
dasel: update to 3.11.0.

## [v3.11.0] - 2026-05-19

### Added

- Support for newline-delimited JSON (NDJSON) input. Multiple JSON values in a single input are now parsed as a multi-document branch, matching the existing YAML multi-document behaviour.

### Fixed

- Strip leading "v" from version output for consistency across build methods (Docker vs Homebrew).

Revision 1.27: download - view: text, markup, annotated - select for diffs
Sun May 17 14:13:26 2026 UTC (6 months ago) by wiz
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +2 -3 lines
dasel: update to 3.10.1.

v3.10.1 - 2026-05-13

Fixed

    Fixed a non-terminating loop in the selector lexer when tokenizing unterminated regex patterns (e.g. r/abc). The tokenizer now returns an error instead of looping indefinitely.
    Fix panic when selector query contains a trailing backslash in a quoted string (GHSA-m5j3-4634-c2vq).

v3.10.0 - 2026-05-13

Added

    KDL format support (-i kdl / -o kdl) for reading and writing KDL configuration files (#504). Supports both v1 and v2 syntax with automatic version detection. Output version is configurable via --write-flag kdl-version=1 or --write-flag kdl-version=2 (default).

v3.9.0 - 2026-05-13

Added

    groupBy(expr) function to group array elements by a derived key expression, producing a map of key to matching elements.
    reduce(expr, init, update) function for folding arrays into a single value using an accumulator ($acc).
    mapValues(expr) function for transforming all values of a map/object while preserving keys.
    $key variable available in all iteration expressions (filter, map, each, sortBy, groupBy, any, all, count, reduce, mapValues, search, recursive descent). Provides the current index (for slices) or key name (for maps).

Revision 1.26: download - view: text, markup, annotated - select for diffs
Thu May 7 18:50:08 2026 UTC (6 months, 1 week ago) by bsiegert
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +2 -1 lines
Revbump all Go packages after go126 security update

Revision 1.25: download - view: text, markup, annotated - select for diffs
Thu Apr 30 21:42:59 2026 UTC (6 months, 2 weeks ago) by wiz
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +7 -6 lines
dasel: generate files during post-build, not install

Following a hint from bsiegert@

Revision 1.24: download - view: text, markup, annotated - select for diffs
Thu Apr 30 18:37:30 2026 UTC (6 months, 2 weeks ago) by wiz
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +18 -2 lines
dasel: update to 3.8.1.

install man pages and shell completion

## [v3.8.1] - 2026-04-30

- `dasel man` now generates a reproducible manpage based on [SOURCE_DATE_EPOCH](https://reproducible-builds.org/specs/source-date-epoch).

Revision 1.23: download - view: text, markup, annotated - select for diffs
Sun Apr 26 12:20:06 2026 UTC (6 months, 3 weeks ago) by wiz
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +2 -2 lines
dasel: update to 3.8.0.

v3.8.0 - 2026-04-26

Added

    dasel completion <shell> subcommand to generate shell completion scripts for bash, zsh, fish, and powershell (#497).
    dasel man subcommand to generate a man page (#497).

Fixed

    YAML string quote style (double, single, literal, folded) is now preserved on round-trip (#452).

v3.7.0 - 2026-04-25

Changed

    merge function now performs deep merge, recursively merging nested maps (#133).

v3.6.0 - 2026-04-25

Added

    --compact flag for compact output (no indentation/newlines).

Changed

    stringify function now produces compact output.

Fixed

    Compact/pretty output support for JSON, TOML, YAML, and XML writers (#457).

v3.5.0 - 2026-04-25

Added

    split function that splits a string by a separator into an array of strings.
    toLower function that converts a string to lowercase.
    toUpper function that converts a string to uppercase.
    trim function that trims whitespace from both ends of a string.
    trimPrefix function that trims a prefix from a string.
    trimSuffix function that trims a suffix from a string.
    startsWith function that checks if a string starts with a given prefix.
    endsWith function that checks if a string ends with a given suffix.
    indexOf function that returns the index of the first occurrence of a substring, or -1 if not found.
    abs function that returns the absolute value of a number.
    floor function that returns the largest integer less than or equal to the input.
    ceil function that returns the smallest integer greater than or equal to the input.
    round function that rounds a number to the nearest integer.
    avg function that returns the average of the given numbers.
    flatten function that flattens a nested array by one level.
    unique function that removes duplicate values from an array.
    first function that returns the first element of an array.
    last function that returns the last element of an array.
    values function that returns the values of a map as an array.
    entries function that converts a map into an array of {key, value} objects.
    fromEntries function that converts an array of {key, value} objects into a map.
    toBool function that converts a value to a boolean.
    any expression that returns true if any element in an array matches the predicate.
    all expression that returns true if all elements in an array match the predicate.
    count expression that counts the number of elements in an array that match the predicate.
    stringify function that serializes a structured value into a format string (inverse of parse).
    Ternary operator (condition ? then : else).

Fixed

    Fixed a bug in YAML and TOML parsers that caused them to fail when parsing non-base10 numbers (e.g. hex, binary, octal).
    Fixed a bug in the toInt function that caused it to fail when parsing non-base10 numbers (e.g. hex, binary, octal).
    XML child element ordering now has more comprehensive round-trip handling. Thanks @takeokunn.

Revision 1.20.2.1: download - view: text, markup, annotated - select for diffs
Wed Apr 22 14:32:18 2026 UTC (6 months, 3 weeks ago) by maya
Branches: pkgsrc-2026Q1
Diff to: previous 1.20: preferred, colored; next MAIN 1.21: preferred, colored
Changes since revision 1.20: +2 -1 lines
Revbump all Go packages after go126 security fix

Revision 1.22: download - view: text, markup, annotated - select for diffs
Wed Apr 15 18:51:55 2026 UTC (7 months ago) by wiz
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +2 -3 lines
dasel: update to 3.4.1.

## [v3.4.1] - 2026-03-30

### Fixed

- Escape characters in query strings now work as expected, e.g. `\n` will be treated as a newline character instead of the literal string `\n`.
- Fixed a typo in the `<=` token that could cause a display issue.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Wed Apr 8 05:45:11 2026 UTC (7 months, 1 week ago) by bsiegert
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +2 -1 lines
Revbump all Go packages after security update

Revision 1.20: download - view: text, markup, annotated - select for diffs
Mon Mar 23 13:11:38 2026 UTC (7 months, 3 weeks ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2026Q1-base
Branch point for: pkgsrc-2026Q1
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +2 -3 lines
dasel: update to 3.4.0.

Leaf package.

Add keys func by @TomWright in #533

Revision 1.19: download - view: text, markup, annotated - select for diffs
Fri Mar 6 21:08:05 2026 UTC (8 months, 1 week ago) by bsiegert
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +2 -1 lines
Revbump all Go packages after go126 update

Revision 1.18: download - view: text, markup, annotated - select for diffs
Mon Mar 2 11:38:48 2026 UTC (8 months, 2 weeks ago) by wiz
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +2 -3 lines
dasel: update to 3.3.1.

## [v3.3.1] - 2026-02-26

### Fixed

- Fixed query selector parsing issue that incorrectly parsed array accessors when they followed a `filter` or `map` call.

## [v3.3.0] - 2026-02-25

### Added
- `replace` function to replace occurrences of a substring in a string with another string. [See docs](https://daseldocs.tomwright.me/functions/replace).

## [v3.2.3] - 2026-02-23

### Added
- XML parser now preserves comments and processing instructions during round-trip (#175).

### Fixed
- Spread operator within array construction is now honoured.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Tue Feb 24 08:45:39 2026 UTC (8 months, 3 weeks ago) by bsiegert
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +2 -1 lines
Revbump all Go packages after default version bump

Revision 1.16: download - view: text, markup, annotated - select for diffs
Mon Feb 16 12:14:32 2026 UTC (8 months, 4 weeks ago) by wiz
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +2 -3 lines
dasel: update to 3.2.2.

## [v3.2.2] - 2026-02-13

### Changed
- Swapped to use goccy/go-json for improved performance. Thanks @imix
- Updated model `IsScalar` internals to improve efficiency. Thanks @imix
- General dependency updates.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Thu Jan 15 19:54:57 2026 UTC (10 months ago) by bsiegert
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +2 -1 lines
Revbump all Go packages after go125 update

Revision 1.14: download - view: text, markup, annotated - select for diffs
Mon Jan 12 21:37:52 2026 UTC (10 months ago) by wiz
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +2 -2 lines
dasel: update to 3.2.1.

## [v3.2.1] - 2026-01-05

### Fixed
- XML parser now correctly handles empty CDATA.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Sun Dec 28 21:26:02 2025 UTC (10 months, 2 weeks ago) by wiz
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +2 -2 lines
dasel: update to 3.2.0.

## [v3.2.0] - 2025-12-26

### Added
- `join` function to join array elements into a single string with a specified separator. [See docs](https://daseldocs.tomwright.me/functions/join).

Revision 1.12: download - view: text, markup, annotated - select for diffs
Sun Dec 21 14:41:57 2025 UTC (10 months, 3 weeks ago) by wiz
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +2 -10 lines
dasel: update to 3.1.4.

## [v3.1.4] - 2025-12-18

### Fixed
- `Select` func in the exposed go API now correctly maps return values to the respective types.

## [v3.1.3] - 2025-12-18

### Fixed
- XML documents no longer create redundant `root` or `item` elements.
- Dasel no longer loses value metadata when reading/writing to internal models.

## [v3.1.2] - 2025-12-17

### Fixed

- Fix XML reading/writing when XML processing instructions are present.

## [v3.1.1] - 2025-12-16

### Fixed

- Homebrew release.

## [v3.1.0] - 2025-12-16

### Added
- `sum` function to sum numeric values in an array. [See docs](https://daseldocs.tomwright.me/functions/sum).

## [v3.0.0] - 2025-12-15

### Added
- Major new version release.
- INI support.
- HCL support.
- Dasel syntax now supports variables and expressions.
- Files can now be read and parsed inside a dasel query.
- Variables can now be passed to dasel from the command line.
- Support for comments in queries.
- Dasel config file to define default file format.
- Interactive mode for dasel CLI (alpha).

### Changed
- Go module path changed to `github.com/tomwright/dasel/v3`.
- Internal changes to support new version.
- Query/selector syntax revamp. See [docs](https://daseldocs.tomwright.me) for more information.
- Majority of read/write operations will now maintain ordering.
- Migrated from Cobra to Kong for CLI parsing/processing.
- Removed `put` and `delete` commands. Instead, modify within the query and use `--root` flag.

### Fixed
- File redirect now works in the same way as piped input.
- Various other bug fixes and improvements.
- Whitespace in query syntax is now handled correctly.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Tue Dec 2 19:25:22 2025 UTC (11 months, 1 week ago) by bsiegert
Branches: MAIN
CVS tags: pkgsrc-2025Q4-base, pkgsrc-2025Q4
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +2 -2 lines
Revbump all Go packages after go125 update

Revision 1.10: download - view: text, markup, annotated - select for diffs
Thu Oct 16 18:00:03 2025 UTC (13 months ago) by bsiegert
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +2 -2 lines
Revbump all Go packages after go125 update

Revision 1.9: download - view: text, markup, annotated - select for diffs
Wed Oct 8 06:54:39 2025 UTC (13 months, 1 week ago) by bsiegert
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +2 -2 lines
Revbump all Go packages after go125 update

Revision 1.8: download - view: text, markup, annotated - select for diffs
Sat Sep 6 13:17:12 2025 UTC (14 months, 1 week ago) by bsiegert
Branches: MAIN
CVS tags: pkgsrc-2025Q3-base, pkgsrc-2025Q3
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +2 -2 lines
Revbump all Go packages after go125 security update

Revision 1.7: download - view: text, markup, annotated - select for diffs
Tue Sep 2 20:22:14 2025 UTC (14 months, 1 week ago) by wiz
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +9 -2 lines
dasel: create and install man pages

Bump PKGREVISION.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Sun Aug 31 10:03:01 2025 UTC (14 months, 2 weeks ago) by bsiegert
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +2 -2 lines
Revbump all Go packages after moving to go125

Revision 1.5: download - view: text, markup, annotated - select for diffs
Fri Jun 6 14:01:40 2025 UTC (17 months, 1 week ago) by bsiegert
Branches: MAIN
CVS tags: pkgsrc-2025Q2-base, pkgsrc-2025Q2
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +2 -2 lines
Revbump all Go packages after go124 update

Revision 1.3.2.1: download - view: text, markup, annotated - select for diffs
Sat Apr 5 20:45:14 2025 UTC (19 months, 1 week ago) by maya
Branches: pkgsrc-2025Q1
Diff to: previous 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3: +2 -2 lines
Pulup ticket #6952 - Update PKGREVISION for all Go packages.

Go had a security update to one of the builtin libraries.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Sat Apr 5 18:51:29 2025 UTC (19 months, 1 week ago) by bsiegert
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -2 lines
Belated revbump for all Go packages after go124 update

I forgot to do the revbump again, sorry for doing it so late after the
update.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Fri Mar 7 20:54:31 2025 UTC (20 months, 1 week ago) by bsiegert
Branches: MAIN
CVS tags: pkgsrc-2025Q1-base
Branch point for: pkgsrc-2025Q1
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +2 -2 lines
Revbump all Go packages after go124 update

I realize I forgot to do the revbump after updating the default Go
version to 1.24, so let's do that now.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Fri Sep 6 18:48:59 2024 UTC (2 years, 2 months ago) by bsiegert
Branches: MAIN
CVS tags: pkgsrc-2024Q4-base, pkgsrc-2024Q4, pkgsrc-2024Q3-base, pkgsrc-2024Q3
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -1 lines
Revbump all Go packages after go122 update

Revision 1.1: download - view: text, markup, annotated - select for diffs
Mon Aug 26 11:04:12 2024 UTC (2 years, 2 months ago) by wiz
Branches: MAIN
textproc/dasel: import dasel-2.8.1

Dasel (short for data-selector) allows you to query and modify data
structures using selector strings.

Comparable to jq / yq, but supports JSON, YAML, TOML, XML and CSV
with zero runtime dependencies.

Dasel uses a standard selector syntax no matter the data format.
This means that once you learn how to use dasel you immediately
have the ability to query/modify any of the supported data types
without any additional tools or effort.

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>