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
Provenance
- Commit
d23a7b9- Tree
533ef52- Author
itchyny <itchyny@cybozu.co.jp>- Committer
GitHub <noreply@github.com>- Parent
d3cf5ca
2 files changed+294 added−1 removed
modified:AUTHORS+52 added-1 removed
24 unmodified lines25 Alex Ozdemir <aozdemir@hmc.edu>26 Alex Wilson <gpg@probablyfine.co.uk>27 Alexandre Jasmin <ajasmin@transtex-llc.com>28 Allan Clark <allanc@chickenandporn.com>29+Andreas Heiduk <asheiduk@users.noreply.github.com>30 Andrew O'Brien <obrien.andrew@gmail.com>31 Andrew Rodland <andrew@cleverdomain.org>32 Andrew Speed <andrew.cspeed@gmail.com>33+Andy Lester <andy@petdance.com>34 Ankur <ankz.kothari@gmail.com>35 Anthony Shortland <anthony@dtosolutions.com>36 Anthony Sottile <asottile@umich.edu>37 Assaf Gordon <assafgordon@gmail.com>38 Attila Fülöp <attila@fueloep.org>39 Benjamin Wuethrich <benjamin@koho.ca>40 Benoit de Chezelles <bew@users.noreply.github.com>41 Bernard Niset <bernard.niset@gmail.com>42+Bhargava Mummadireddy <kishoreinvits@gmail.com>43 Bradley Skaggs <bskaggs@acm.org>44+Brahm Lower <bplower@gmail.com>45 Brendan Macmillan <melbourne.research@gmail.com>46 Cameron Sparr <cameronsparr@gmail.com>47 Chance Zibolski <czibolsk@redhat.com>48 Charles Merriam <charles.merriam@gmail.com>49+Chris LaRose <cjlarose@gmail.com>50 Chris Moore <dooglus@gmail.com>51+Christoph Anton Mitterer <calestyo@scientia.org>52 Christopher Degawa <ccom@randomderp.com>53 Ciaran McNamara <1372986+ciaranmcnamara@users.noreply.github.com>54 Clément MATHIEU <clement@unportant.info>55+Colin Leroy-Mira <colin@colino.net>56 Colin von Heuring <colin@janrain.com>57+Dag-Erling Smørgrav <des@des.no>58 Damian Gryski <damian@gryski.com>59 Dan Church <h3xx@users.noreply.github.com>60 Daniel Lange <DLange@git.local>61 David Biesack <David.Biesack@apiture.com>62 David Fetter <david@fetter.org>63 David Haguenauer <ml@kurokatta.org>64 David Korczynski <david@adalogics.com>65 David R. MacIver <david@drmaciver.com>66+DavidKorczynski <david@adalogics.com>67 Dawid Ferenczy Rogožan <ferenczy@users.noreply.github.com>68 Derrick Pallas <derrick@pallas.us>69 Doug Luce <doug@github.con.com>70 Eiichi Sato <sato.eiichi@gmail.com>71 Eli Schwartz <eschwartz@archlinux.org>72+Eloy Coto <eloy.coto@gmail.com>73 Eric Bréchemier <eric@egull.co>74 Erik Brinkman <erik.brinkman@gmail.com>75 Eugen <EugenGez@gmail.com>76 Evan Zacks <zackse@gmail.com>77+Fabian Dellwing <fabian.dellwing@mbconnectline.de>78 Felix Wolfsteller <felix.wolfsteller@gmail.com>79 Filippo Giunchedi <fgiunchedi@gmail.com>80 Filippo Valsorda <filippo.valsorda@gmail.com>81 Florian Weimer <fweimer@redhat.com>82 Frederic Cambus <fcambus@users.sourceforge.net>83+Gabriel Marin <gbrlmarn@gmail.com>84+Gaelan Steele <gbs@canishe.com>85+George Hopkins <george-hopkins@null.net>86 Gert Van Gool <gertvangool@gmail.com>87 Gijs Kunze <gwkunze@gmail.com>88 Gustav <gustav@invoke.se>89 HE, Tao <sighingnow@gmail.com>90+Han Jiang <jhcarl0814@gmail.com>91 Hanfei Shen <qqshfox@gmail.com>92 Hanson Char <hanson.char@gmail.com>93 Haochen Xie <haochenx@acm.org>94 Helmut K. C. Tessarek <tessarek@evermeet.cx>95 Henré Botha <henrebotha@gmail.com>96 Ian Miell <ian.miell@gmail.com>97 Ikko Ashimine <eltociear@gmail.com>98 J Phani Mahesh <github@phanimahesh.me>99+J. B. Rainsberger <me@jbrains.ca>100 Jack Pearkes <jackpearkes@gmail.com>101 Jakub Jirutka <jakub@jirutka.cz>102 Jakub Wilk <jwilk@jwilk.net>103 James Andariese <james.andariese@locationlabs.com>1 unmodified line105 Jan Schulz <jasc@gmx.net>106 Janne Cederberg <janne.cederberg@gmail.com>107 Jason Hood <jadoxa@yahoo.com.au>108 Jay Satiro <raysatiro@yahoo.com>109+Jesper Rønn-Jensen <jesperrr@gmail.com>110 Jingwen Owen Ou <jingweno@gmail.com>111 Joe Littlejohn <joe.littlejohn@nokia.com>112 Joel Nothman <joel.nothman@gmail.com>113 Joel Purra <code+github@joelpurra.com>114+Jonathan Chan Kwan Yin <sofe2038@gmail.com>115 Jonathan Word <argoday@argoday.com>116 Josh Soref <2119212+jsoref@users.noreply.github.com>117 Juan Guerrero <juan.guerrero.lozano@gmail.com>118+Kamontat Chantrachirathumrong <14089557+kamontat@users.noreply.github.com>119 Kenny Shen <kenny.shen@zalora.com>120 Kim De Mey <kim.demey@gmail.com>121 Kim Toms <kim.toms@bplglobal.net>122+Kirk McKelvey <kirkoman@gmail.com>123+Klemens Nanni <kn@openbsd.org>124 LCD 47 <lcd047@gmail.com>125 Larry Aasen <larryaasen@gmail.com>126 Lee Thompson <stagr.lee@gmail.com>127 Loamhoof <soeren.medard@gmail.com>2 unmodified lines130 MCApollo <34170230+MCApollo@users.noreply.github.com>131 Marc Abramowitz <marc@marc-abramowitz.com>132 Marc Bruggmann <marcbr@spotify.com>133 Marcin Kłopotek <marcin.klopotek@gmail.com>134+Marcin Serwin <marcin@serwin.dev>135 Mark Feit <mfeit@internet2.edu>136 Mark McKinstry <mmckinst@umich.edu>137 Markus Lanthaler <mark_lanthaler@gmx.net>138 Matt Clegg <m@cle.gg>139+Matt Meyers <matt@mattmeyers.dev>140 Matti Åstrand <mattiastr@gmail.com>141 Mattias Hansson <hansson.mattias@gmail.com>142 Maxime Biais <maxime.biais@gmail.com>143 Maximilian Roos <5635139+max-sixty@users.noreply.github.com>144 Michael Daines <michael@mdaines.com>145+Michael Färber <01mf02@gmail.com>146 Mike Daines <mdaines@users.noreply.github.com>147 Mike Fletcher <john.m.fletcher@bankofamerica.com>148 Mike McCabe <mccabe@archive.org>149+Nathan Baulch <nathan.baulch@gmail.com>150 Naïm Favier <n@monade.li>151 Nicolas Pouillard <nicolas.pouillard@gmail.com>152+Nicole Wren <nicole@wren.systems>153 Paul Chvostek <paul+gitkraken@it.ca>154 Paul Wise <pabs3@bonedaddy.net>155 Peter van Dijk <peter@7bits.nl>156 Philipp Hagemeister <phihag@phihag.de>131-Rémy Léone <remy.leone@gmail.com>157 Ricardo Constantino <wiiaboo@gmail.com>158 Richard Groves <richard@noodlfroot.com>159 Richard H Lee <richard@webdezign.co.uk>160 Riley Avron <riley.avron@gmail.com>2 unmodified lines163 Roland C. Dowdeswell <roland.dowdeswell@twosigma.com>164 Roman Inflianskas <rominf@users.noreply.github.com>165 Romero Malaquias <romero.malaquias@gmail.com>166 Ryoichi KATO <ryo1kato@gmail.com>167+Rémy Léone <remy.leone@gmail.com>168+SArpnt <sarpnt@ficial.net>169+Samar Sunkaria <sameesunkaria@me.com>170 Santiago Lapresta <santiago.lapresta@gmail.com>171 Sean Wei <me@sean.taipei>172 Sebastian Freundt <freundt@ga-group.nl>173 Shaun Guth <sguth@practicefusion.com>2 unmodified lines176 Stefan <stefan.haubenthal@gmail.com>177 Stefan Seemayer <stefan@seemayer.de>178 Stephen Roantree <stroantree@gmail.com>179 Stephen Shaw <stesh@netsoc.tcd.ie>180+Steven Ihde <sihde@hamachi.us>181 Steven Maude <StevenMaude@users.noreply.github.com>182 Steven Penny <svnpenn@gmail.com>183+Thalia Archibald <thalia@archibald.dev>184+Thomas Bozeman th026106 <thomas.bozeman@digitalglobe.com>185 Thomas R. Hall <trhall@trhall.org>186+Thomas Sibley <tom@zulutango.org>187 Tim McCormack <cortex@brainonfire.net>188 Timothy John Perisho Eccleston <combinatorist@users.noreply.github.com>189 Tom Wolf <github@incognitox.org>190 Tomas Halman <thalman@redhat.com>191 Travis Gockel <travis@gockelhut.com>192+Tyler Rockwood <rockwotj@users.noreply.github.com>193+Ulrich Eckhardt <ulrich.eckhardt@base-42.de>194 W-Mark Kubacki <wmark@hurrikane.de>195 William Chargin <wchargin@gmail.com>196 Yasuhiro Matsumoto <mattn.jp@gmail.com>197+Yeikel <email@yeikel.com>198 Yoichi Nakayama <yoichi.nakayama@gmail.com>199 Zhaohui Mei <mzh.whut@gmail.com>200 Zhiming Wang <zmwangx@gmail.com>201 calpeconsulting <61429736+calpeconsulting@users.noreply.github.com>202 cdnbacon <mike@busbud.com>203 dak180 <dak180@users.sf.net>204 davkor <david@adalogics.com>205+dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>206 eitsupi <50911393+eitsupi@users.noreply.github.com>207+fletcher gornick <fletcher@gornick.dev>208+github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>209+goodactive <167312449+goodactive@users.noreply.github.com>210 i <isomorphisms@sdf.org>211 jkleint <jkleint@gmail.com>212+lectrical <14344693+lectrical@users.noreply.github.com>213+liviubobocu <liviu.bobocu@uipath.com>214+maflcko <6399679+maflcko@users.noreply.github.com>215 mail6543210 <mail6543210@yahoo.com.tw>216 mjarosie <mjarosie@users.noreply.github.com>217+myaaaaaaaaa <103326468+myaaaaaaaaa@users.noreply.github.com>218 nmulcahey <nmulcahey@gmail.com>219+orbea <orbea@riseup.net>220 polyester <paul@cleanclothes.org>221 rain1 <rain1@airmail.cc>222+riastradh <campbell+github@mumble.net>223+sachint <32639496+sachintu47@users.noreply.github.com>224+sheepster <omer531998@gmail.com>225 tal@whatexit.org <tal@whatexit.org>226+taoky <taoky99@outlook.com>227 trantor <trantorvega@gmail.com>228+wellweek <148746285+wellweek@users.noreply.github.com>229+wllm-rbnt <william.robinet@conostix.com>230 zstadler <zeev.stadler@gmail.com>231+наб <nabijaczleweli@nabijaczleweli.xyz>modified:NEWS.md+242 added
1+# 1.8.02+3+We are pleased to announce the release of version 1.8.0.4+This release includes a number of improvements since the last version.5+Note that some changes may introduce breaking changes to existing scripts,6+so be sure to read the following information carefully.7+Full commit log can be found at <https://github.com/jqlang/jq/compare/jq-1.7.1...jq-1.8.0>.8+9+## Releasing10+11+- 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 #322513+14+ ```sh15+ gh attestation verify --repo jqlang/jq jq-linux-amd6416+ gh attestation verify --repo jqlang/jq oci://ghcr.io/jqlang/jq:1.8.017+ ```18+19+## Security fixes20+21+- 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 #308033+34+## CLI changes35+36+- Fix `--indent 0` implicitly enabling `--compact-output`. @amarshall @gbrlmarn @itchyny #323237+38+ ```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+ ```48+49+- Improve error messages to show problematic position in the filter. @itchyny #329250+51+ ```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+ ```58+59+- Include column number in parser and compiler error messages. @liviubobocu #325760+- Fix error message for string literal beginning with single quote. @mattmeyers #296461+62+ ```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+ ```67+68+- Improve `JQ_COLORS` environment variable to support larger escapes like truecolor. @SArpnt #328269+70+ ```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+ ```73+74+- 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 #303483+84+## New functions85+86+- Add `trim/0`, `ltrim/0` and `rtrim/0` to trim leading and trailing white spaces. @wader #305687+88+ ```sh89+ $ jq -n '" hello " | trim, ltrim, rtrim'90+ "hello"91+ "hello "92+ " hello"93+ ```94+95+- Add `trimstr/1` to trim string from both ends. @gbrlmarn #331996+97+ ```sh98+ $ jq -n '"foobarfoo" | trimstr("foo")'99+ "bar"100+ ```101+102+- Add `add/1`. Generator variant of `add/0`. @myaaaaaaaaa #3144103+104+ ```sh105+ $ jq -c '.sum = add(.xs[])' <<< '{"xs":[1,2,3]}'106+ {"xs":[1,2,3],"sum":6}107+ ```108+109+- Add `skip/2` as the counterpart to `limit/2`. @itchyny #3181110+111+ ```sh112+ $ jq -nc '[1,2,3,4,5] | [skip(2; .[])]'113+ [3,4,5]114+ ```115+116+- Add `toboolean/0` to convert strings to booleans. @brahmlower @itchyny #2098117+118+ ```sh119+ $ jq -n '"true", "false" | toboolean'120+ true121+ false122+ ```123+124+- Add `@urid` format. Reverse of `@uri`. @fmgornick #3161125+126+ ```sh127+ $ jq -Rr '@urid' <<< '%6a%71'128+ jq129+ ```130+131+## Changes to existing functions132+133+- 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 #3260153+154+## Language changes155+156+- 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.159+160+ ```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+ ```168+169+- Support Tcl-style multiline comments. @emanuele6 #2989170+171+ ```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+ ```183+184+- Fix `foreach` not to break init backtracking with `DUPN`. @kanwren #3266185+186+ ```sh187+ $ jq -n '[1, 2] | foreach .[] as $x (0, 1; . + $x)'188+ 1189+ 3190+ 2191+ 4192+ ```193+194+- Fix `reduce`/`foreach` state variable should not be reset each iteration. @itchyny #3205195+196+ ```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+ ```202+203+- Support CRLF line breaks in filters. @itchyny #3274204+- Improve performance of repeating strings. @itchyny #3272205+206+## Documentation changes207+208+- 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 #3002217+218+## Build improvements219+220+- 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 #3234233+234+## Test improvements235+236+- 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 #3269242+243 # 1.7.1244 245 ## Security246 387 unmodified lines