Skip to content
Myr

Update NEWS.md and AUTHORS for 1.8.0 (#3330)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by itchyny · committed by GitHub · parent d3cf5ca · Browse files · 2 files+294 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+294 added−1 removed

  • other:+294 added−1 removed

2 files+294 added−1 removed

modified:AUTHORS+52 added-1 removed
24 unmodified lines
25Alex Ozdemir <aozdemir@hmc.edu>26Alex Wilson <gpg@probablyfine.co.uk>27Alexandre Jasmin <ajasmin@transtex-llc.com>28Allan Clark <allanc@chickenandporn.com>29Andreas Heiduk <asheiduk@users.noreply.github.com>30Andrew O'Brien <obrien.andrew@gmail.com>31Andrew Rodland <andrew@cleverdomain.org>32Andrew Speed <andrew.cspeed@gmail.com>33Andy Lester <andy@petdance.com>34Ankur <ankz.kothari@gmail.com>35Anthony Shortland <anthony@dtosolutions.com>36Anthony Sottile <asottile@umich.edu>37Assaf Gordon <assafgordon@gmail.com>38Attila Fülöp <attila@fueloep.org>39Benjamin Wuethrich <benjamin@koho.ca>40Benoit de Chezelles <bew@users.noreply.github.com>41Bernard Niset <bernard.niset@gmail.com>42Bhargava Mummadireddy <kishoreinvits@gmail.com>43Bradley Skaggs <bskaggs@acm.org>44Brahm Lower <bplower@gmail.com>45Brendan Macmillan <melbourne.research@gmail.com>46Cameron Sparr <cameronsparr@gmail.com>47Chance Zibolski <czibolsk@redhat.com>48Charles Merriam <charles.merriam@gmail.com>49Chris LaRose <cjlarose@gmail.com>50Chris Moore <dooglus@gmail.com>51Christoph Anton Mitterer <calestyo@scientia.org>52Christopher Degawa <ccom@randomderp.com>53Ciaran McNamara <1372986+ciaranmcnamara@users.noreply.github.com>54Clément MATHIEU <clement@unportant.info>55Colin Leroy-Mira <colin@colino.net>56Colin von Heuring <colin@janrain.com>57Dag-Erling Smørgrav <des@des.no>58Damian Gryski <damian@gryski.com>59Dan Church <h3xx@users.noreply.github.com>60Daniel Lange <DLange@git.local>61David Biesack <David.Biesack@apiture.com>62David Fetter <david@fetter.org>63David Haguenauer <ml@kurokatta.org>64David Korczynski <david@adalogics.com>65David R. MacIver <david@drmaciver.com>66DavidKorczynski <david@adalogics.com>67Dawid Ferenczy Rogožan <ferenczy@users.noreply.github.com>68Derrick Pallas <derrick@pallas.us>69Doug Luce <doug@github.con.com>70Eiichi Sato <sato.eiichi@gmail.com>71Eli Schwartz <eschwartz@archlinux.org>72Eloy Coto <eloy.coto@gmail.com>73Eric Bréchemier <eric@egull.co>74Erik Brinkman <erik.brinkman@gmail.com>75Eugen <EugenGez@gmail.com>76Evan Zacks <zackse@gmail.com>77Fabian Dellwing <fabian.dellwing@mbconnectline.de>78Felix Wolfsteller <felix.wolfsteller@gmail.com>79Filippo Giunchedi <fgiunchedi@gmail.com>80Filippo Valsorda <filippo.valsorda@gmail.com>81Florian Weimer <fweimer@redhat.com>82Frederic Cambus <fcambus@users.sourceforge.net>83Gabriel Marin <gbrlmarn@gmail.com>84Gaelan Steele <gbs@canishe.com>85George Hopkins <george-hopkins@null.net>86Gert Van Gool <gertvangool@gmail.com>87Gijs Kunze <gwkunze@gmail.com>88Gustav <gustav@invoke.se>89HE, Tao <sighingnow@gmail.com>90Han Jiang <jhcarl0814@gmail.com>91Hanfei Shen <qqshfox@gmail.com>92Hanson Char <hanson.char@gmail.com>93Haochen Xie <haochenx@acm.org>94Helmut K. C. Tessarek <tessarek@evermeet.cx>95Henré Botha <henrebotha@gmail.com>96Ian Miell <ian.miell@gmail.com>97Ikko Ashimine <eltociear@gmail.com>98J Phani Mahesh <github@phanimahesh.me>99J. B. Rainsberger <me@jbrains.ca>100Jack Pearkes <jackpearkes@gmail.com>101Jakub Jirutka <jakub@jirutka.cz>102Jakub Wilk <jwilk@jwilk.net>103James Andariese <james.andariese@locationlabs.com>
1 unmodified line
105Jan Schulz <jasc@gmx.net>106Janne Cederberg <janne.cederberg@gmail.com>107Jason Hood <jadoxa@yahoo.com.au>108Jay Satiro <raysatiro@yahoo.com>109Jesper Rønn-Jensen <jesperrr@gmail.com>110Jingwen Owen Ou <jingweno@gmail.com>111Joe Littlejohn <joe.littlejohn@nokia.com>112Joel Nothman <joel.nothman@gmail.com>113Joel Purra <code+github@joelpurra.com>114Jonathan Chan Kwan Yin <sofe2038@gmail.com>115Jonathan Word <argoday@argoday.com>116Josh Soref <2119212+jsoref@users.noreply.github.com>117Juan Guerrero <juan.guerrero.lozano@gmail.com>118Kamontat Chantrachirathumrong <14089557+kamontat@users.noreply.github.com>119Kenny Shen <kenny.shen@zalora.com>120Kim De Mey <kim.demey@gmail.com>121Kim Toms <kim.toms@bplglobal.net>122Kirk McKelvey <kirkoman@gmail.com>123Klemens Nanni <kn@openbsd.org>124LCD 47 <lcd047@gmail.com>125Larry Aasen <larryaasen@gmail.com>126Lee Thompson <stagr.lee@gmail.com>127Loamhoof <soeren.medard@gmail.com>
2 unmodified lines
130MCApollo <34170230+MCApollo@users.noreply.github.com>131Marc Abramowitz <marc@marc-abramowitz.com>132Marc Bruggmann <marcbr@spotify.com>133Marcin Kłopotek <marcin.klopotek@gmail.com>134Marcin Serwin <marcin@serwin.dev>135Mark Feit <mfeit@internet2.edu>136Mark McKinstry <mmckinst@umich.edu>137Markus Lanthaler <mark_lanthaler@gmx.net>138Matt Clegg <m@cle.gg>139Matt Meyers <matt@mattmeyers.dev>140Matti Åstrand <mattiastr@gmail.com>141Mattias Hansson <hansson.mattias@gmail.com>142Maxime Biais <maxime.biais@gmail.com>143Maximilian Roos <5635139+max-sixty@users.noreply.github.com>144Michael Daines <michael@mdaines.com>145Michael Färber <01mf02@gmail.com>146Mike Daines <mdaines@users.noreply.github.com>147Mike Fletcher <john.m.fletcher@bankofamerica.com>148Mike McCabe <mccabe@archive.org>149Nathan Baulch <nathan.baulch@gmail.com>150Naïm Favier <n@monade.li>151Nicolas Pouillard <nicolas.pouillard@gmail.com>152Nicole Wren <nicole@wren.systems>153Paul Chvostek <paul+gitkraken@it.ca>154Paul Wise <pabs3@bonedaddy.net>155Peter van Dijk <peter@7bits.nl>156Philipp Hagemeister <phihag@phihag.de>131Rémy Léone <remy.leone@gmail.com>157Ricardo Constantino <wiiaboo@gmail.com>158Richard Groves <richard@noodlfroot.com>159Richard H Lee <richard@webdezign.co.uk>160Riley Avron <riley.avron@gmail.com>
2 unmodified lines
163Roland C. Dowdeswell <roland.dowdeswell@twosigma.com>164Roman Inflianskas <rominf@users.noreply.github.com>165Romero Malaquias <romero.malaquias@gmail.com>166Ryoichi KATO <ryo1kato@gmail.com>167Rémy Léone <remy.leone@gmail.com>168SArpnt <sarpnt@ficial.net>169Samar Sunkaria <sameesunkaria@me.com>170Santiago Lapresta <santiago.lapresta@gmail.com>171Sean Wei <me@sean.taipei>172Sebastian Freundt <freundt@ga-group.nl>173Shaun Guth <sguth@practicefusion.com>
2 unmodified lines
176Stefan <stefan.haubenthal@gmail.com>177Stefan Seemayer <stefan@seemayer.de>178Stephen Roantree <stroantree@gmail.com>179Stephen Shaw <stesh@netsoc.tcd.ie>180Steven Ihde <sihde@hamachi.us>181Steven Maude <StevenMaude@users.noreply.github.com>182Steven Penny <svnpenn@gmail.com>183Thalia Archibald <thalia@archibald.dev>184Thomas Bozeman th026106 <thomas.bozeman@digitalglobe.com>185Thomas R. Hall <trhall@trhall.org>186Thomas Sibley <tom@zulutango.org>187Tim McCormack <cortex@brainonfire.net>188Timothy John Perisho Eccleston <combinatorist@users.noreply.github.com>189Tom Wolf <github@incognitox.org>190Tomas Halman <thalman@redhat.com>191Travis Gockel <travis@gockelhut.com>192Tyler Rockwood <rockwotj@users.noreply.github.com>193Ulrich Eckhardt <ulrich.eckhardt@base-42.de>194W-Mark Kubacki <wmark@hurrikane.de>195William Chargin <wchargin@gmail.com>196Yasuhiro Matsumoto <mattn.jp@gmail.com>197Yeikel <email@yeikel.com>198Yoichi Nakayama <yoichi.nakayama@gmail.com>199Zhaohui Mei <mzh.whut@gmail.com>200Zhiming Wang <zmwangx@gmail.com>201calpeconsulting <61429736+calpeconsulting@users.noreply.github.com>202cdnbacon <mike@busbud.com>203dak180 <dak180@users.sf.net>204davkor <david@adalogics.com>205dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>206eitsupi <50911393+eitsupi@users.noreply.github.com>207fletcher gornick <fletcher@gornick.dev>208github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>209goodactive <167312449+goodactive@users.noreply.github.com>210i <isomorphisms@sdf.org>211jkleint <jkleint@gmail.com>212lectrical <14344693+lectrical@users.noreply.github.com>213liviubobocu <liviu.bobocu@uipath.com>214maflcko <6399679+maflcko@users.noreply.github.com>215mail6543210 <mail6543210@yahoo.com.tw>216mjarosie <mjarosie@users.noreply.github.com>217myaaaaaaaaa <103326468+myaaaaaaaaa@users.noreply.github.com>218nmulcahey <nmulcahey@gmail.com>219orbea <orbea@riseup.net>220polyester <paul@cleanclothes.org>221rain1 <rain1@airmail.cc>222riastradh <campbell+github@mumble.net>223sachint <32639496+sachintu47@users.noreply.github.com>224sheepster <omer531998@gmail.com>225tal@whatexit.org <tal@whatexit.org>226taoky <taoky99@outlook.com>227trantor <trantorvega@gmail.com>228wellweek <148746285+wellweek@users.noreply.github.com>229wllm-rbnt <william.robinet@conostix.com>230zstadler <zeev.stadler@gmail.com>231наб <nabijaczleweli@nabijaczleweli.xyz>
modified:NEWS.md+242 added
1# 1.8.023We are pleased to announce the release of version 1.8.0.4This release includes a number of improvements since the last version.5Note that some changes may introduce breaking changes to existing scripts,6so be sure to read the following information carefully.7Full commit log can be found at <https://github.com/jqlang/jq/compare/jq-1.7.1...jq-1.8.0>.89## Releasing1011- Change the version number pattern to `1.X.Y` (`1.8.0` instead of `1.8`). @itchyny #299912- Generate provenance attestations for release artifacts and docker image. @lectrical #32251314 ```sh15 gh attestation verify --repo jqlang/jq jq-linux-amd6416 gh attestation verify --repo jqlang/jq oci://ghcr.io/jqlang/jq:1.8.017 ```1819## Security fixes2021- CVE-2024-23337: Fix signed integer overflow in `jvp_array_write` and `jvp_object_rehash`.22 @itchyny de21386681c0df0104a99d9d09db23a9b2a78b1e23 - The fix for this issue now limits the maximum size of arrays and objects to 536870912 (`2^29`) elements.24- CVE-2024-53427: Reject NaN with payload while parsing JSON.25 @itchyny a09a4dfd55e6c24d04b35062ccfe4509748b1dd326 - The fix for this issue now drops support for NaN with payload in JSON (like `NaN123`).27 Other JSON extensions like `NaN` and `Infinity` are still supported.28- CVE-2025-48060: Fix heap buffer overflow in `jv_string_vfmt`.29 @itchyny c6e041699d8cd31b97375a2596217aff2cfca85b30- Fix use of uninitialized value in `check_literal`. @itchyny #332431- Fix segmentation fault on `strftime/1`, `strflocaltime/1`. @itchyny #327132- Fix unhandled overflow in `@base64d`. @emanuele6 #30803334## CLI changes3536- Fix `--indent 0` implicitly enabling `--compact-output`. @amarshall @gbrlmarn @itchyny #32323738 ```sh39 $ jq --indent 0 . <<< '{ "foo": ["hello", "world"] }'40 {41 "foo": [42 "hello",43 "world"44 ]45 }46 # Previously, this implied --compact-output, but now outputs with new lines.47 ```4849- Improve error messages to show problematic position in the filter. @itchyny #32925051 ```sh52 $ jq -n '1 + $foo + 2'53 jq: error: $foo is not defined at <top-level>, line 1, column 5:54 1 + $foo + 255 ^^^^56 jq: 1 compile error57 ```5859- Include column number in parser and compiler error messages. @liviubobocu #325760- Fix error message for string literal beginning with single quote. @mattmeyers #29646162 ```sh63 $ jq .foo <<< "{'foo':'bar'}"64 jq: parse error: Invalid string literal; expected ", but got ' at line 1, column 765 # Previously, the error message was Invalid numeric literal at line 1, column 7.66 ```6768- Improve `JQ_COLORS` environment variable to support larger escapes like truecolor. @SArpnt #32826970 ```sh71 JQ_COLORS="38;2;255;173;173:38;2;255;214;165:38;2;253;255;182:38;2;202;255;191:38;2;155;246;255:38;2;160;196;255:38;2;189;178;255:38;2;255;198;255" jq -nc '[null,false,true,42,{"a":"bc"}]'72 ```7374- Add `--library-path` long option for `-L`. @thaliaarchi #319475- Fix `--slurp --stream` when input has no trailing newline character. @itchyny #327976- Fix `--indent` option to error for malformed values. @thaliaarchi #319577- Fix option parsing of `--binary` on non-Windows platforms. @calestyo #313178- Fix issue with `~/.jq` on Windows where `$HOME` is not set. @kirkoman #311479- Fix broken non-Latin output in the command help on Windows. @itchyny #329980- Increase the maximum parsing depth for JSON to 10000. @itchyny #332881- Parse short options in order given. @thaliaarchi #319482- Consistently reset color formatting. @thaliaarchi #30348384## New functions8586- Add `trim/0`, `ltrim/0` and `rtrim/0` to trim leading and trailing white spaces. @wader #30568788 ```sh89 $ jq -n '" hello " | trim, ltrim, rtrim'90 "hello"91 "hello "92 " hello"93 ```9495- Add `trimstr/1` to trim string from both ends. @gbrlmarn #33199697 ```sh98 $ jq -n '"foobarfoo" | trimstr("foo")'99 "bar"100 ```101102- Add `add/1`. Generator variant of `add/0`. @myaaaaaaaaa #3144103104 ```sh105 $ jq -c '.sum = add(.xs[])' <<< '{"xs":[1,2,3]}'106 {"xs":[1,2,3],"sum":6}107 ```108109- Add `skip/2` as the counterpart to `limit/2`. @itchyny #3181110111 ```sh112 $ jq -nc '[1,2,3,4,5] | [skip(2; .[])]'113 [3,4,5]114 ```115116- Add `toboolean/0` to convert strings to booleans. @brahmlower @itchyny #2098117118 ```sh119 $ jq -n '"true", "false" | toboolean'120 true121 false122 ```123124- Add `@urid` format. Reverse of `@uri`. @fmgornick #3161125126 ```sh127 $ jq -Rr '@urid' <<< '%6a%71'128 jq129 ```130131## Changes to existing functions132133- Use code point index for `indices/1`, `index/1` and `rindex/1`. @wader #3065134 - This is a breaking change. Use `utf8bytelength/0` to get byte index.135- Improve `tonumber/0` performance and rejects numbers with leading or trailing136 white spaces. @itchyny @thaliaarchi #3055 #3195137 - This is a breaking change. Use `trim/0` to remove leading and trailing white spaces.138- Populate timezone data when formatting time. This fixes timezone name in139 `strftime/1`, `strflocaltime/1` for DST. @marcin-serwin @sihde #3203 #3264 #3323140- Preserve numerical precision on unary negation, `abs/0`, `length/0`. @itchyny #3242 #3275141- Make `last(empty)` yield no output values like `first(empty)`. @itchyny #3179142- Make `ltrimstr/1` and `rtrimstr/1` error for non-string inputs. @emanuele6 #2969143- Make `limit/2` error for negative count. @itchyny #3181144- Fix `mktime/0` overflow and allow fewer elements in date-time representation array. @emanuele6 #3070 #3162145- Fix non-matched optional capture group. @wader #3238146- Provide `strptime/1` on all systems. @george-hopkins @fdellwing #3008 #3094147- Fix `_WIN32` port of `strptime`. @emanuele6 #3071148- Improve `bsearch/1` performance by implementing in C. @eloycoto #2945149- Improve `unique/0` and `unique_by/1` performance. @itchyny @emanuele6 #3254 #3304150- Fix error messages including long string literal not to break Unicode characters. @itchyny #3249151- Remove `pow10/0` as it has been deprecated in glibc 2.27. Use `exp10/0` instead. @itchyny #3059152- Remove private (and undocumented) `_nwise` filter. @itchyny #3260153154## Language changes155156- Fix precedence of binding syntax against unary and binary operators.157 Also, allow some expressions as object values. @itchyny #3053 #3326158 - This is a breaking change that may change the output of filters with binding syntax as follows.159160 ```sh161 $ jq -nc '[-1 as $x | 1,$x]'162 [1,-1] # previously, [-1,-1]163 $ jq -nc '1 | . + 2 as $x | -$x'164 -3 # previously, -1165 $ jq -nc '{x: 1 + 2, y: false or true, z: null // 3}'166 {"x":3,"y":true,"z":3} # previously, syntax error167 ```168169- Support Tcl-style multiline comments. @emanuele6 #2989170171 ```sh172 #!/bin/sh --173 # Can be use to do shebang scripts.174 # Next line will be seen as a comment be of the trailing backslash. \175 exec jq ...176 # this jq expression will result in [1]177 [178 1,179 # \180 2181 ]182 ```183184- Fix `foreach` not to break init backtracking with `DUPN`. @kanwren #3266185186 ```sh187 $ jq -n '[1, 2] | foreach .[] as $x (0, 1; . + $x)'188 1189 3190 2191 4192 ```193194- Fix `reduce`/`foreach` state variable should not be reset each iteration. @itchyny #3205195196 ```sh197 $ jq -n 'reduce range(5) as $x (0; .+$x | select($x!=2))'198 8199 $ jq -nc '[foreach range(5) as $x (0; .+$x | select($x!=2); [$x,.])]'200 [[0,0],[1,1],[3,4],[4,8]]201 ```202203- Support CRLF line breaks in filters. @itchyny #3274204- Improve performance of repeating strings. @itchyny #3272205206## Documentation changes207208- Switch the homepage to custom domain [jqlang.org](https://jqlang.org). @itchyny @owenthereal #3243209- Make latest release instead of development version the default manual. @wader #3130210- Add opengraph meta tags. @wader #3247211- Replace jqplay.org with play.jqlang.org @owenthereal #3265212- Add missing line from decNumber's licence to `COPYING`. @emanuele6 #3106213- Various document improvements. @tsibley #3322, @itchyny #3240, @jhcarl0814 #3239,214 @01mf02 #3184, @thaliaarchi #3199, @NathanBaulch #3173, @cjlarose #3164,215 @sheepster1 #3105, #3103, @kishoreinvits #3042, @jbrains #3035, @thalman #3033,216 @SOF3 #3017, @wader #3015, @wllm-rbnt #3002217218## Build improvements219220- Fix build with GCC 15 (C23). @emanuele6 #3209221- Fix build with `-Woverlength-strings` @emanuele6 #3019222- Fix compiler warning `type-limits` in `found_string`. @itchyny #3263223- Fix compiler error in `jv_dtoa.c` and `builtin.c`. @UlrichEckhardt #3036224- Fix warning: a function definition without a prototype is deprecated. @itchyny #3259225- Define `_BSD_SOURCE` in `builtin.c` for OpenBSD support. @itchyny #3278226- Define empty `JV_{,V}PRINTF_LIKE` macros if `__GNUC__` is not defined. @emanuele6 #3160227- Avoid `ctype.h` abuse: cast `char` to `unsigned char` first. @riastradh #3152228- Remove multiple calls to free when successively calling `jq_reset`. @Sameesunkaria #3134229- Enable IBM z/OS support. @sachintu47 #3277230- Fix insecure `RUNPATH`. @orbea #3212231- Avoid zero-length `calloc`. @itchyny #3280232- Move oniguruma and decNumber to vendor directory. @itchyny #3234233234## Test improvements235236- Run tests in C locale. @emanuele6 #3039237- Improve reliability of `NO_COLOR` tests. @dag-erling #3188238- Improve `shtest` not to fail if `JQ_COLORS` and `NO_COLOR` are already set. @SArpnt #3283239- Refactor constant folding tests. @itchyny #3233240- Make tests pass when `--disable-decnum`. @nicowilliams 6d02d53f515bf1314d644eee93ba30b0d11c7d2b241- Disable Valgrind by default during testing. @itchyny #3269242243# 1.7.1244245## Security246
387 unmodified lines