summaryrefslogtreecommitdiffstats
path: root/NEWS.md
diff options
context:
space:
mode:
authorpkoppstein <pkoppstein@gmail.com>2023-07-28 16:32:08 -0400
committerNico Williams <nico@cryptonector.com>2023-07-28 17:25:41 -0500
commit70bbd10b0b58e797d03963264fc934879bb44454 (patch)
tree9aa82749d2d19e3173d89f41fd27eecea7936a72 /NEWS.md
parent28af00751812d6ef28b05374b28794b25db91d97 (diff)
NEWS.md: tweaks
correct grammar, add attributions, clarify abs
Diffstat (limited to 'NEWS.md')
-rw-r--r--NEWS.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/NEWS.md b/NEWS.md
index 6e90058d..7859b9f6 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