Performance
- Cached regexes are looked up before compiling in
regexpCompileCached: #2292 - The CSV reader skips the per-field key lookup when the header has no duplicates: #2291
- The JSON writer skips the escape loop for strings that need no escapes: #2321
Bug fixes
Input handling
- UTF-8 BOM handling is fixed for gzipped CSV input: #2278
- A leading UTF-8 BOM is now stripped for TSV and CSV-lite: #2281
Time and date functions
fsec2hmsandfsec2dhmscarry rounded fractional seconds correctly: #2282strptimeandgmt2secnow work for dates outside the int64 nanosecond range: #2285- File-backed
TZvalues are supported: #2247
String functions
strmatchxreports starts and ends as UTF-8 character positions, not byte positions: #2287
Follow-up docs and generated-file regeneration: #2288
Number formatting
fmtnumnow picks its formatter from the conversion verb, not from the end of the format string: #2295
Follow-ups: #2297fmtnumand--ofmtaccept the C verbs%i,%u,%Dand%U: #2298
Integer arithmetic
int ** intis computed exactly rather than through float64 where possible: #2296
Extra unit-test cases (5**0,MinInt64**1): #2299- Integer zero divisors no longer cause a panic in
./,madd,msub,mmulandmexp: #2300 mexpresults are reduced for exponents 0 and 1: #2301abs,ceil,floor,roundandsgnstay exact for ints above 2**53: #2309- Unary minus of the minimum int, and
roundmon large ints, are fixed: #2311
Other
arrayifyleaves its input unchanged: #2317
Same for theMlrval.Arrayifyreceiver: #2320- On Windows under Git Bash or MSYS2,
shis now found on thePATH: #2289 - The
mand.mlrmagnitude calculation is fixed: #2257
Documentation, build and release tooling
- Doubled
cdin the library-setup docs is fixed: #2276 - Prepipe commands that take flags are now quoted in help examples: #2275
LICENSE.txtis identified as BSD-2-Clause for GitHub's licensee: #2241- The releaser script uses Draft rather than Pre-release: #2261
make -C man buildfails whengroffis missing or the manpage pipeline fails: #2302
Regenerated with the newgroffversion: #2303creachis no longer used in docgen: #2313~/.mlrrcis suppressed inmake docs: #2316- Go version is now 1.26.10: #2274
- YAML dependency switched to
go.yaml.in/yaml/v3: #2319
Dependency bumps (Dependabot)
github.com/klauspost/compress1.20.0 to 1.20.4: #2258, #2269, #2304golang.org/x/term0.46.0 to 0.48.0: #2264, #2305golang.org/x/text0.42.0 to 0.44.0: #2262, #2306golang.org/x/sys0.49.0 to 0.50.0: #2294pault.ag/go/debian0.21.0 to 0.21.4: #2279, #2284, #2310github.com/lestrrat-go/strftime1.2.0 to 1.2.1: #2283goreleaser/goreleaser-action7.2.3 to 7.3.0: #2270actions/upload-artifact7.0.1 to 7.0.2: #2266actions/setup-go7.0.0 to 7.1.0: #2318- codeql-action group updates: #2259, #2265, #2272, #2280, #2290, #2293
New Contributors
- @fzlzjerry made their first contribution in #2247
- @kvnloo made their first contribution in #2241
- @dcadolph made their first contribution in #2276
- @Boulea7 made their first contribution in #2278
- @youdie006 made their first contribution in #2281
- @ChandraChaan made their first contribution in #2282
- @shaurya703 made their first contribution in #2285
- @b84330808 made their first contribution in #2287
- @ptweezy made their first contribution in #2292
- @g4lb made their first contribution in #2291
- @waw666waw666 made their first contribution in #2295
- @Kernel-Hunter made their first contribution in #2296
Full Changelog: v6.22.0...v6.23.0