John Kerl
2eb41f4e5c
docs: Miller 6.18.1 Documentation site_name
2026-04-19 11:57:30 -04:00
John Kerl
22bed96346
Prepare 6.18.1 release
2026-04-19 11:41:48 -04:00
John Kerl
512db2cc0d
pkg/version/version.go
2026-04-19 11:39:21 -04:00
John Kerl
76f18fbcdf
run make fmt
2026-04-19 11:37:23 -04:00
John Kerl
655193732b
Add regexed field-selection to sort-within-records ( #1964 )
...
* BROKEN
* add a test case
* fix
* fix natural-sorting issue
* fix silent-drop issue
* test case
* doc update
2026-04-19 11:35:58 -04:00
John Kerl
45f6ecb7bf
Fix Windows CI fail on PR #1994 ( #2044 )
2026-04-19 10:58:59 -04:00
cobyfrombrooklyn-bot
f20da1953e
fix: stats1 null_count with --fr regex gives wrong results ( #1994 )
...
When using --fr (regex field selector) with stats1 -a null_count, void
(empty) field values were unconditionally skipped in
ingestWithValueFieldRegexes, causing null_count to always report 0.
The non-regex path (ingestWithoutValueFieldRegexes) already had a special
case that allows void values through for null_count accumulators. This
commit adds the same exception to the regex path.
Fixes #1639
Co-authored-by: cobyfrombrooklyn-bot <cobyfrombrooklyn-bot@users.noreply.github.com>
2026-04-19 10:52:37 -04:00
John Kerl
4c781739c0
Fix issue #1983 ( #2040 )
2026-04-19 10:44:53 -04:00
John Kerl
1a50215d3d
Add a ./tools/release.sh script ( #2043 )
...
* tools/release.sh
* Updates doc page re release script
* testing
* Prepare 6.18.0 release
2026-04-19 10:43:01 -04:00
John Kerl
3e429f5b42
Use "\n" in replace for gsub and sub ( #2042 )
...
* Fix issue 1805
* Run `make dev`
2026-04-19 10:21:51 -04:00
John Kerl
7121954ee8
Fix race condition in mlr step ( #2041 )
2026-04-19 09:39:39 -04:00
Balki
549864bf38
Fix crash on array compare containing absent values ( #2039 )
2026-04-17 09:50:34 -04:00
dependabot[bot]
917af379a5
Bump github/codeql-action from 4.35.1 to 4.35.2 ( #2038 )
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 4.35.1 to 4.35.2.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](c10b8064de...95e58e9a2c )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-version: 4.35.2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-15 08:52:33 -04:00
dependabot[bot]
a44e7266bd
Bump actions/cache from 5.0.4 to 5.0.5 ( #2037 )
...
Bumps [actions/cache](https://github.com/actions/cache ) from 5.0.4 to 5.0.5.
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](668228422a...27d5ce7f10 )
---
updated-dependencies:
- dependency-name: actions/cache
dependency-version: 5.0.5
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-14 08:55:08 -04:00
dependabot[bot]
265e173758
Bump actions/upload-artifact from 7.0.0 to 7.0.1 ( #2036 )
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 7.0.0 to 7.0.1.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](bbbca2ddaa...043fb46d1a )
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-version: 7.0.1
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-13 08:22:42 -04:00
chaoliang yan
5e8175bc6b
fix: preserve key order in YAML output ( #2034 )
...
* fix: preserve key order in YAML output
MlrmapToYAMLNative converted the ordered Mlrmap to map[string]interface{},
which loses insertion order. yaml.v3.Marshal then sorts Go map keys
alphabetically, so YAML output always had sorted keys despite other formats
(JSON, pretty-print) correctly preserving order.
Switch to building yaml.Node trees that preserve the Mlrmap's linked-list
iteration order. Use yaml.Node.Encode for scalar values to correctly handle
edge cases (NaN/Inf, non-UTF-8 strings).
Fixes #2028 .
* Update pkg/mlrval/mlrval_yaml_test.go with copilot code-review feedback
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
---------
Co-authored-by: lawrence3699 <lawrence3699@users.noreply.github.com>
Co-authored-by: John Kerl <kerl.john.r@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-04-12 09:43:09 -04:00
dependabot[bot]
5ec2a98862
Bump golang.org/x/term from 0.41.0 to 0.42.0 ( #2033 )
...
Bumps [golang.org/x/term](https://github.com/golang/term ) from 0.41.0 to 0.42.0.
- [Commits](https://github.com/golang/term/compare/v0.41.0...v0.42.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/term
dependency-version: 0.42.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-10 08:18:27 -04:00
dependabot[bot]
32db2b20bf
Bump golang.org/x/text from 0.35.0 to 0.36.0 ( #2032 )
...
Bumps [golang.org/x/text](https://github.com/golang/text ) from 0.35.0 to 0.36.0.
- [Release notes](https://github.com/golang/text/releases )
- [Commits](https://github.com/golang/text/compare/v0.35.0...v0.36.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/text
dependency-version: 0.36.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-10 07:55:09 -04:00
dependabot[bot]
734317c182
Bump golang.org/x/sys from 0.42.0 to 0.43.0 ( #2030 )
...
* Bump golang.org/x/sys from 0.42.0 to 0.43.0
Bumps [golang.org/x/sys](https://github.com/golang/sys ) from 0.42.0 to 0.43.0.
- [Commits](https://github.com/golang/sys/compare/v0.42.0...v0.43.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/sys
dependency-version: 0.43.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* go mod tidy
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: John Kerl <kerl.john.r@gmail.com>
2026-04-09 08:31:26 -04:00
dependabot[bot]
e890974dbc
Bump github.com/mattn/go-isatty from 0.0.20 to 0.0.21 ( #2031 )
...
Bumps [github.com/mattn/go-isatty](https://github.com/mattn/go-isatty ) from 0.0.20 to 0.0.21.
- [Commits](https://github.com/mattn/go-isatty/compare/v0.0.20...v0.0.21 )
---
updated-dependencies:
- dependency-name: github.com/mattn/go-isatty
dependency-version: 0.0.21
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-09 08:07:50 -04:00
John Kerl
0395cbddc6
Run make dev after PR #2026 ( #2027 )
2026-04-08 08:50:39 -04:00
Balki
c88142a9e2
Add hasvalue builtin function ( #2026 )
2026-04-08 08:33:12 -04:00
dependabot[bot]
d0dec461ab
Bump github/codeql-action from 4.34.1 to 4.35.1 ( #2023 )
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 4.34.1 to 4.35.1.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](3869755554...c10b8064de )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-version: 4.35.1
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-30 08:30:48 -04:00
dependabot[bot]
efab741d93
Bump actions/setup-go from 6.3.0 to 6.4.0 ( #2024 )
...
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 6.3.0 to 6.4.0.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](4b73464bb3...4a3601121d )
---
updated-dependencies:
- dependency-name: actions/setup-go
dependency-version: 6.4.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-30 08:17:33 -04:00
dependabot[bot]
d4266f4345
Bump github.com/klauspost/compress from 1.18.4 to 1.18.5 ( #2018 )
...
Bumps [github.com/klauspost/compress](https://github.com/klauspost/compress ) from 1.18.4 to 1.18.5.
- [Release notes](https://github.com/klauspost/compress/releases )
- [Commits](https://github.com/klauspost/compress/compare/v1.18.4...v1.18.5 )
---
updated-dependencies:
- dependency-name: github.com/klauspost/compress
dependency-version: 1.18.5
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-23 10:08:54 -04:00
dependabot[bot]
47d1a14191
Bump github/codeql-action from 4.33.0 to 4.34.1 ( #2019 )
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 4.33.0 to 4.34.1.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](b1bff81932...3869755554 )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-version: 4.34.1
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-23 10:08:40 -04:00
dependabot[bot]
a20ac24803
Bump actions/cache from 5.0.3 to 5.0.4 ( #2017 )
...
Bumps [actions/cache](https://github.com/actions/cache ) from 5.0.3 to 5.0.4.
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](cdf6c1fa76...668228422a )
---
updated-dependencies:
- dependency-name: actions/cache
dependency-version: 5.0.4
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-19 08:34:42 -04:00
dependabot[bot]
982a95420e
Bump github/codeql-action from 4.32.6 to 4.33.0 ( #2016 )
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 4.32.6 to 4.33.0.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](0d579ffd05...b1bff81932 )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-version: 4.33.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-16 07:55:15 -04:00
John Kerl
af1adf80ad
Replace GOCC parser-generator with PGPG ( #2015 )
...
* Porting
* Update some tests that depend on AST-print output
* iterating on GOCC -> PGPG
* iterating
* iterating
* iterating
* iterating
* iterating
* Modify expout files that need only AST-print-syntax updates
* iterating
* iterating
* iterating
* iterating
* iterating
* iterating
* iterating
* iterating
* iterating
* iterating
* iterating
* sync test cases from mlr-6.17.0, except AST-prints ...
* sync test cases from mlr-6.17.0, except AST-prints ...
* Fix lashed emit for $* and @*
* Fix --1 and ++1 chained unary ops
* Emit with function callsite
* test cases
* dot operator
* M_PI and M_E
* Iterating on lashed emit cases
* error-wording differences
* rm some should-fail files
* Fix issue with leading semicolon
* trailing comma in func params; most AST-print deltas
* error-wording delta
* fix unset all
* AST-print deltas
* go mod tidy: forced `go 1.25` to `go 1.25.0`
* Depend on PGPG v1.0.0
* Fix Windows CI failure
* Remove cmd/experiments/dsl_parser
* GOCC -> PGPG
* neaten
* Fix regex issue found in doc gen
2026-03-15 22:28:57 -04:00
dependabot[bot]
40f3a72de2
Bump golang.org/x/term from 0.40.0 to 0.41.0 ( #2013 )
...
Bumps [golang.org/x/term](https://github.com/golang/term ) from 0.40.0 to 0.41.0.
- [Commits](https://github.com/golang/term/compare/v0.40.0...v0.41.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/term
dependency-version: 0.41.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-12 09:56:45 -04:00
dependabot[bot]
158beaa6a2
Bump golang.org/x/text from 0.34.0 to 0.35.0 ( #2014 )
...
Bumps [golang.org/x/text](https://github.com/golang/text ) from 0.34.0 to 0.35.0.
- [Release notes](https://github.com/golang/text/releases )
- [Commits](https://github.com/golang/text/compare/v0.34.0...v0.35.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/text
dependency-version: 0.35.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-12 09:39:58 -04:00
John Kerl
4c69021dbe
Use Go 1.25 ( #2012 )
2026-03-09 10:23:15 -04:00
dependabot[bot]
32255ee00c
Bump github/codeql-action from 4.32.5 to 4.32.6 ( #2010 )
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 4.32.5 to 4.32.6.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](c793b717bc...0d579ffd05 )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-version: 4.32.6
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-06 09:55:59 -05:00
John Kerl
f26b6be555
sieve2.mlr
2026-03-05 20:50:12 -05:00
John Kerl
f8a8f29584
Experiment with mlr script ( #2009 )
2026-03-05 20:14:32 -05:00
John Kerl
d0079a9dac
Simplify positional-indexing syntax in mlr.bnf; push logic to .go source ( #2008 )
...
* Move `$[[...]]` and `$[[[...]]]` out of the grammar and into Go
* Update pkg/parsing/mlr.bnf
* Update Go source
* update test files
* Fix NPE
* .gitignore
* more
2026-03-04 21:48:09 -05:00
John Kerl
ed84aeb300
yet more staticcheck
2026-03-03 10:17:01 -05:00
John Kerl
718ec1685a
More staticcheck fixes ( #2007 )
...
* more staticcheck
* more staticcheck
2026-03-03 10:07:12 -05:00
John Kerl
761b46219c
Some fixes for staticcheck ( #2006 )
...
* Implement some staticcheck fixes
* make fmt
* more
* more staticcheck
2026-03-03 09:27:03 -05:00
John Kerl
1efadc9ea8
CLAUDE.md
2026-03-03 08:39:37 -05:00
John Kerl
ed0ae66ac2
Fix #1998 ( #2005 )
2026-03-02 23:49:31 -05:00
John Kerl
56add7d1f0
Fix #1784 : inconsistent mapexcept behavior ( #2004 )
...
* Fix #1784
* test/cases/dsl-mapsum-mapdiff-mapexcept/0033/
2026-03-02 23:41:32 -05:00
John Kerl
5f14dbc752
Add LRU-caching for split ( #2003 )
2026-03-02 23:31:44 -05:00
John Kerl
102c624cee
Add DKVPX file format ( #2002 )
...
* Initial DKVPX parser
* pkg/input/record_reader_dkvpx*go
* pkg/output/record_writer_dkvpx.go
* docs update
* make fmt
* perf note
2026-03-02 22:35:08 -05:00
dependabot[bot]
2e179e7a14
Bump github/codeql-action from 4.32.4 to 4.32.5 ( #2001 )
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 4.32.4 to 4.32.5.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](89a39a4e59...c793b717bc )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-version: 4.32.5
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-02 08:57:27 -05:00
John Kerl
b7ee4500af
Language-timings reorg ( #2000 )
...
* reorg
* naive
* optimizing
* .gitignore
* more
2026-03-01 18:13:58 -05:00
Balki
de31cb1fc8
Add fixed width support for pprint reader ( #1999 )
...
* Add fixed width support for pprint reader
* fix windows fail
* fix windows fail 2
2026-03-01 11:25:17 -05:00
dependabot[bot]
e9ec42abef
Bump actions/upload-artifact from 6.0.0 to 7.0.0 ( #1996 )
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 6.0.0 to 7.0.0.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](b7c566a772...bbbca2ddaa )
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-version: 7.0.0
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-27 09:18:56 -05:00
dependabot[bot]
61f8114a0b
Bump actions/setup-go from 6.2.0 to 6.3.0 ( #1995 )
...
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 6.2.0 to 6.3.0.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](7a3fe6cf4c...4b73464bb3 )
---
updated-dependencies:
- dependency-name: actions/setup-go
dependency-version: 6.3.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-26 10:41:22 -05:00
dependabot[bot]
be8cdfa4cc
Bump goreleaser/goreleaser-action from 6.4.0 to 7.0.0 ( #1992 )
...
Bumps [goreleaser/goreleaser-action](https://github.com/goreleaser/goreleaser-action ) from 6.4.0 to 7.0.0.
- [Release notes](https://github.com/goreleaser/goreleaser-action/releases )
- [Commits](e435ccd777...ec59f474b9 )
---
updated-dependencies:
- dependency-name: goreleaser/goreleaser-action
dependency-version: 7.0.0
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-23 08:29:29 -05:00