Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NEWS: Initial news for next release #3163

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 43 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,46 @@
# TBD

- `trim`, `ltrim` and `rtrim` Added to trim leading and trailing white space. @wader #3056
```sh
$ jq -n '" hello " | trim'
"hello"
```
- `tonumber` Is now faster and rejects numbers with leading or trailing white space. @itchyny #3055
- `pow10` Removed as it has been deprecated in glibc. Use `exp10` instead. @itchyny #3059
- `ltrimstr` and `rtrimstr` now error for non-string inputs. @emanuele6 #2969
- Add `@urid`. Reverse of `@uri`. @fmgornick #3161
```sh
$ jq -Rr '@urid' <<< '%6a%71'
jq
```
- Add `add/1`. Generator variant of `add/0`. @myaaaaaaaaa #3144
```sh
$ jq -n 'add(1,2,3)'
6
```
- Support Tcl-style multiline comments. @emanuele6 #2989
```
#!/bin/sh --
# Can be use to do shebang scripts.
# Next line will be seen as a comment be of the trailing backslash. \
exec jq ...

# this jq expression will result in [1]
[
1,
# \
2
]
```
- Consistently reset color formatting. @thaliaarchi #3034
- Fix building with `-Woverlength-strings` and be C99 compliant. @emanuele6 #3019
- Fix issue with including `~/.jq` on Windows in some situations where `$HOME` is not set. @kirkoman #3114
- Fix `mktime/0` overflow and regression require 6 or more elements in input array. @emanuele6 #3162 #3070
- Make latest release instead of development version the default manual. @wader #3130
- Remove multiple calls to free when successively calling `jq_reset`. @Sameesunkaria #3134
- Fix option parsing of `--binary` on non-Windows platforms. @calestyo #3131
- Add `strptime` fallback not only for Windows. @fdellwing #3094

# 1.7.1

## Security
Expand Down
Loading