Skip to content

Commit 8ebe5da

Browse files
authored
Merge pull request #856 from wader/release-0.10.0
fq: Release 0.10.0
2 parents 7ca701d + 15ed161 commit 8ebe5da

File tree

2 files changed

+140
-1
lines changed

2 files changed

+140
-1
lines changed

CHANGES.md

Lines changed: 139 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,142 @@
1+
# 0.10.0
2+
3+
Adds support for various LevelDB formats (thanks @mikez) and Garmin Flexible and Interoperable Data Transfer format (FIT) (thanks @mlofjard).
4+
5+
And as usual some small fixes and dependency updates.
6+
7+
## Changes
8+
9+
- On macOS fq now reads init script from `~/.config/fq` in addition to `~/Library/Application Support/fq`. #871
10+
- Switch readline module from own fork to https://github.com/ergochat/readline #854
11+
- Updated gojq fork. Notable changes from upstream below. #844
12+
- Fix pre-defined variables to be available in initial modules
13+
- Fix object construction with duplicate keys
14+
15+
## Format changes
16+
17+
- `aac_frame` Decode instance tag and common window flag. #859
18+
- `fit` Add support for Garmin Flexible and Interoperable Data Transfer decoder. Thanks @mlofjard #874
19+
- This format is used by various GPS tracking devices to record location, speed etc.
20+
- Example of converting position information to KML:
21+
```jq
22+
# to_kml.jq
23+
# convert locations in a fit structure to KML
24+
def to_kml:
25+
( [ .data_records[].data_message as {position_lat: $lat, position_long: $long}
26+
| select($lat and $long)
27+
| [$long, $lat, 0]
28+
| join(",")
29+
]
30+
| join(". ")
31+
| { kml: {"@xmlns":"http://earth.google.com/kml/2.0"
32+
, Document: {Placemark: {LineString: {coordinates: .}}}}
33+
}
34+
| to_xml({indent:2})
35+
);
36+
```
37+
Usage:
38+
```sh
39+
# -L to add current directory to library path
40+
# -r for raw string output
41+
# 'include "to_ml";' to include to_kml.jq
42+
# to_kml calls to_kml function
43+
$ fq -L . -r 'include "to_kml"; to_kml' file.fit > file.kml
44+
```
45+
46+
47+
- `hevc_sps` Fix some incorrect profile_tier_level decoding. #829
48+
- `html` Fix issue parsing elements including SOLIDUS "/". #870
49+
- Upstream issue https://github.com/golang/go/issues/63402
50+
- `mpeg_es` Support ES_ID_Inc and decode descriptors for IOD tags
51+
- `leveldb_descriptor`, `leveldb_log`, `leveldb_table` Add support for LevelDB. Thanks @mikez #824
52+
- This format is used by many database backends and applications like Google chrome.
53+
- `pcapng` Decode all section headers instead of just the first. #860
54+
- `png` Fix incorrect decoding of type flags. #847
55+
- `hevc_sps` Fix incorrect decoding of profile_tier_level. #829
56+
- `tls` Fix field name typos. #839
57+
- `mp4`
58+
- Don't try decode samples for a track that has an external reference. #834
59+
- Use box structure instead of track id to keep track for sample table data. #833
60+
- `ctts` box v0 sample offset seems to be signed in practice but not in spec. #832
61+
- `webp` Decode width, height and flags for lossless WebP. #857
62+
63+
## Changelog
64+
65+
* 6c3914aa Add DFDL acronym to README.md
66+
* 43c76937 Update docker-golang to 1.21.5 from 1.21.4
67+
* 836af78a Update docker-golang to 1.21.6 from 1.21.5
68+
* f9e1e759 Update docker-golang to 1.22.0 from 1.21.6
69+
* 54da5efc Update ergochat-readline to 81f0f2329ad3 from cca60bf24c9f
70+
* bed912c3 Update github-go-version to 1.21.5 from 1.21.4
71+
* 3f48e3be Update github-go-version to 1.21.6 from 1.21.5
72+
* 5bfb2bb1 Update github-go-version to 1.22.0 from 1.21.6
73+
* 888b0be0 Update github-golangci-lint to 1.56.0 from 1.55.2
74+
* 283380ba Update github-golangci-lint to 1.56.1 from 1.56.0
75+
* be79c193 Update gomod-golang-x-crypto to 0.16.0 from 0.15.0
76+
* 6aba928f Update gomod-golang-x-crypto to 0.17.0 from 0.16.0
77+
* 561fed97 Update gomod-golang-x-crypto to 0.18.0 from 0.17.0
78+
* b5388eaa Update gomod-golang-x-crypto to 0.19.0 from 0.18.0
79+
* 0200a4ee Update gomod-golang-x-net to 0.19.0 from 0.18.0
80+
* 2e22e1b8 Update gomod-golang-x-net to 0.20.0 from 0.19.0
81+
* 40bcb194 Update gomod-golang-x-net to 0.21.0 from 0.20.0
82+
* 2a1d9707 Update gomod-golang-x-term to 0.16.0 from 0.15.0
83+
* 310c78ea Update gomod-golang-x-term to 0.17.0 from 0.16.0
84+
* 536583cf Update make-golangci-lint to 1.56.0 from 1.55.2
85+
* 5369576d Update make-golangci-lint to 1.56.1 from 1.56.0
86+
* e51c746d aac_frame: CPE: Decode instance tag and common window flag
87+
* f5f8e93c bson: Fix jq style a bit
88+
* d0a1b301 bump readline to 0.1.0-rc1
89+
* b56258cf bump,readline: Add bump config and update to latest master
90+
* 0070e389 bump,readline: Skip bump until not rc
91+
* 63e0aa3c doc: Fix weird wording in README.md
92+
* e5fd1eb4 doc: Generate svgs with new ansisvg
93+
* 55470deb doc: Update docs to include fit format
94+
* c47756dc doc: Update svgs after ansisvg update
95+
* 54c6f0cd fit: Added support for "invalid" value checking.
96+
* 46dbf5b7 fit: Added support for ANT+ FIT format (used by Garmin devices)
97+
* 6219d57c fit: Added support for dynamic subfields
98+
* 33e5851d fit: Fix field casing to snake_case. Misc cleanup.
99+
* 76307e4d fit: Formatted date/time description for timestamp fields
100+
* 88622804 fit: Made long/lat present as float64
101+
* 788088f8 fit: Show crc as hex, lower case "invalid" and some style harmonization
102+
* a07ce117 fq: Relicense float80 code to MIT
103+
* 5829c6b4 gojq: Update fq fork
104+
* d155c80c gojq: Update fq fork
105+
* a793d109 goreleaser: Fix deprecated options
106+
* 919e0795 hevc_sps: Fix some incorrect profile_tier_level decoding
107+
* 69ae7659 interp: Fix crash when using line_bytes=0
108+
* 21766000 interp: Support ~/.config/fq as fallback on macOS
109+
* fb910bd4 ldb: first draft
110+
* efc59a81 ldb: uncompression support
111+
* 41f27a13 leveldb: add `torepr` for descriptor
112+
* 2df0f0fb leveldb: add log and descriptor decoders
113+
* b05aa997 leveldb: address PR comments
114+
* 2f5f1831 leveldb: decode unfragmented .log files further; fix UTF8 decoding
115+
* e826f097 leveldb: fix Errorf arguments
116+
* 42830911 leveldb: fix all.fqtest failures
117+
* 287ed366 leveldb: fix metaindex keys, refactoring, and jq syntax per PR
118+
* 8665df56 leveldb: fix table's data blocks' internal keys decoding
119+
* 08e3d2d2 leveldb: improve `stringify` by preallocating result
120+
* 3a396e15 leveldb: improve log documentation
121+
* 1ba8dec5 leveldb: in some properties, change spaces to underscores
122+
* e735cead leveldb: propagate error
123+
* 07ad9401 leveldb: rename "suffix" to "sequence_number_suffix"
124+
* 78a3e94b leveldb: rename functions and add comments
125+
* cc0d5a8b leveldb: update docs
126+
* fe1099b9 leveldb: updates per PR comments
127+
* 0d06e0a4 mp4: Don't decode samples if track has external data reference
128+
* d2c5ce55 mp4: Use box structure instead of track id to keep track for sample table data
129+
* aadf26f6 mp4: ctts v0 sample_offset seems to be signed in practice
130+
* fca55b2c mpeg_es: Support ES_ID_Inc and decode descriptors for IOD tags
131+
* e3af4670 pcapng: Decode all section headers, clenaup descriptions
132+
* 38b4412a png: Type flags were off-by-one bit
133+
* fb1c625a readline,bump: Fix version compare link
134+
* 41226f48 readline: Switch to ergochat/readline
135+
* cd572d3a readline: Update to 0.1.0 and add bump config
136+
* 7906f33d test: Support to more common -update flag
137+
* 3b7cc1f4 tls: Fix field name typos
138+
* b0421dfc webp: Decode width, height and flags for lossless webp
139+
1140
# 0.9.0
2141

3142
## 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.9.0"
9+
const version = "0.10.0"
1010

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

0 commit comments

Comments
 (0)