Skip to content

Commit 9cab49b

Browse files
authored
Merge pull request #1288 from wader/release-0.17.0
fq: Release 0.17.0
2 parents 8e745c0 + 7b941c6 commit 9cab49b

File tree

2 files changed

+74
-1
lines changed

2 files changed

+74
-1
lines changed

CHANGES.md

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,76 @@
1+
# 0.17.0
2+
3+
## Changes
4+
5+
- `fromjson` now works more like jq and as one would expect for decode value. `fromjson` used to be implement as normal format decode which returns decode values which in turn when decoding from will decode the backing binary range. This result was expressions like `"123" | fromjson | fromjson` would return `123` instead of failing the second `fromjson`. #1268 Thanks @soberich for reporting
6+
- `iprint` now support strings in addition to numbers #1246
7+
```sh
8+
$ fq -cn '"fq" | iprint'
9+
{"bin":"0b1100110","dec":"102","hex":"0x66","oct":"0o146","str":"f"}
10+
{"bin":"0b1110001","dec":"113","hex":"0x71","oct":"0o161","str":"q"}
11+
```
12+
- In REPL mode `input_filename` used to always return the last filename. Now it returns `null` which is wrong but less confusing. The REPL mode needs quite a bit of refactor to fix this properly. #1251
13+
- Update gojq fork. Changes from upstream:
14+
- Fix gsub and sub when the replacement emits multiple values
15+
- Improve performance of regexp functions by caching compiled regexps
16+
- Implement splits/2 using match/2 for better jq compatibility
17+
- Fix fmax, fmin, modf functions against NaN and infinity
18+
- Fix join/1 to use add/0 implementation and handle null separator
19+
- Fix significand function against subnormal numbers
20+
- Fix confusing operator precedence in funcIsnormal
21+
- Fix arithmetic operations on the minimum integer
22+
- Fix array slice update to validate index types
23+
- Fix del and delpaths on null to emit null
24+
- Fix flatten/1 to emit error when depth is nan
25+
- Fix string repetition boundary check to match jq behavior
26+
- Fix type error messages for split and match functions
27+
- Updated Guix install instructions #1242 Thanks @Hellseher
28+
29+
## Format changes
30+
31+
- `avc_sei` Decode pic_timing and buffering_period. #1271
32+
- `bplist` Properly decode unicode strings. #1270 Thanks @soberich for reporting
33+
- `icc_profile` Decode curve type #1265
34+
35+
## Changelog
36+
37+
* 5f2c99ab avc_sei: Decode pic_timing and buffering_period
38+
* b24187f9 bplist: Unicode string size is in codepoints
39+
* 7ea80f1e gha: Update golangci-lint action and verison
40+
* 1c5041ec gojq: Update fq fork
41+
* edc14c83 gojq: Update fq fork
42+
* 6f020f06 icc_profile: Decode curve type
43+
* 4a0b51cc interp: make iprint support strings
44+
* 12ba0d6d json: Make fromjson less confusing when used with a decode_value
45+
* 905d0ce9 Mention Guix installation in README.md
46+
* 01e8edf7 mod: Update github.com/golang/snappy and github.com/gomarkdown/markdown
47+
* acc350cc repl: Make input_filename output null instead of last filename
48+
* c076b005 Update docker-golang to 1.25.6 from 1.25.5
49+
* dbff028b Update docker-golang to 1.25.7 from 1.25.6
50+
* 984f1373 Update docker-golang to 1.26.0 from 1.25.7
51+
* 7036a4f8 Update docker-golang to 1.26.1 from 1.26.0
52+
* e02207a8 update EBML link
53+
* 94c496ea Update github-go-version to 1.25.6 from 1.25.5
54+
* 89f47793 Update github-go-version to 1.25.7 from 1.25.6
55+
* 5ccf8cd9 Update github-go-version to 1.26.0 from 1.25.7
56+
* d9a77e57 Update github-go-version to 1.26.1 from 1.26.0
57+
* 34e2cd92 Update github-golangci-lint to 2.11.3 from 2.9.0
58+
* 391bcccb Update gomod-BurntSushi/toml to 1.6.0 from 1.5.0
59+
* f6775d8c Update gomod-golang-x-crypto to 0.46.0 from 0.45.0
60+
* 42d9e21c Update gomod-golang-x-net to 0.48.0 from 0.47.0
61+
* 0e4e7809 Update gomod-golang-x-net to 0.49.0 from 0.48.0
62+
* 890989dc Update gomod-golang-x-net to 0.50.0 from 0.49.0
63+
* 6766021c Update gomod-golang-x-net to 0.51.0 from 0.50.0
64+
* 45a8de78 Update gomod-golang-x-net to 0.52.0 from 0.51.0
65+
* f20017ae Update gomod-golang-x-term to 0.38.0 from 0.37.0
66+
* 44f63284 Update gomod-golang-x-term to 0.39.0 from 0.38.0
67+
* c4667bda Update gomod-golang-x-term to 0.40.0 from 0.39.0
68+
* fd826fcc Update gomod-golang/text to 0.32.0 from 0.31.0
69+
* ad4d6f52 Update gomod-golang/text to 0.33.0 from 0.32.0
70+
* 5a0ce911 Update gomod-golang/text to 0.34.0 from 0.33.0
71+
* 39f91013 Update make-golangci-lint to 2.11.3 from 2.9.0
72+
* 3cf7582f Update make-golangci-lint to 2.9.0 from 2.7.1
73+
174
# 0.16.0
275

376
## Changes

fq.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"github.com/wader/fq/pkg/interp"
77
)
88

9-
const version = "0.16.0"
9+
const version = "0.17.0"
1010

1111
func main() {
1212
cli.Main(interp.DefaultRegistry, version)

0 commit comments

Comments
 (0)