From 70bbd10b0b58e797d03963264fc934879bb44454 Mon Sep 17 00:00:00 2001 From: pkoppstein Date: Fri, 28 Jul 2023 16:32:08 -0400 Subject: [PATCH] NEWS.md: tweaks correct grammar, add attributions, clarify abs --- NEWS.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/NEWS.md b/NEWS.md index 6e90058df1..7859b9f6d0 100644 --- a/NEWS.md +++ b/NEWS.md @@ -97,7 +97,7 @@ Full commit log can be found at https://github.com/jqlang/jq/compare/jq-1.6...jq "x": null } ``` -- Adds new builtin `debug(msgs)` that works like `debug` but applies a filter on the input before writing to stderr. +- Adds new builtin `debug(msgs)` that works like `debug` but applies a filter on the input before writing to stderr. @pkoppstein #2710 ```sh $ jq -n '1 as $x | 2 | debug("Entering function foo with $x == \($x)", .) | (.+1)' ["DEBUG:","Entering function foo with $x == 1"] @@ -118,7 +118,7 @@ Full commit log can be found at https://github.com/jqlang/jq/compare/jq-1.6...jq "ab" "AB" ``` -- Adds new builtin `abs` to get absolute value. This was previously possibly using `length` or `fabs` but naming was a bit confusing. @pkoppstein #2767 +- Adds new builtin `abs` to get absolute value. This potentially allows the literal value of numbers to be preserved as `length` and `fabs` convert to float. @pkoppstein #2767 - Allow `if` without `else`-branch. When skipped the `else`-branch will be `.` (identity). @chancez @wader #1825 #2481 ```sh # convert 1 to "one" otherwise keep as is @@ -167,7 +167,7 @@ Full commit log can be found at https://github.com/jqlang/jq/compare/jq-1.6...jq $ jq -c '(.[] | select(. >= 2)) |= empty' <<< '[1,5,3,0,7]' [1,0] ``` -- Fix `stderr/0` to output raw without any decoration. @itchyny #2751 +- Fix `stderr/0` to output raw text without any decoration. @itchyny #2751 - Fix `nth/2` to emit empty on index out of range. @itchyny #2674 - Fix `implode` to not assert and instead replace invalid unicode codepoints. @wader #2646 - Simpler and faster `transpose`. @pkoppstein #2758