Skip to content

Commit fa0ef11

Browse files
glennjIsaacG
andauthored
upgrade to jq 1.8.0 (#283)
* upgrade to jq 1.8.0 * update version in some docs * for jq manual URLs, remove the specific version * Update docs/INSTALLATION.md Co-authored-by: Isaac Good <[email protected]>
1 parent eee494e commit fa0ef11

File tree

9 files changed

+12
-17
lines changed

9 files changed

+12
-17
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ jobs:
1818
- name: Install software
1919
run: |
2020
sudo apt update && sudo apt -y install bats &&
21-
sudo curl -L -o /usr/bin/jq https://github.com/jqlang/jq/releases/download/jq-1.7/jq-linux-amd64 &&
21+
sudo curl -L -o /usr/bin/jq https://github.com/jqlang/jq/releases/download/jq-1.8.0/jq-linux-amd64 &&
2222
sudo chmod -v 755 /usr/bin/jq
2323
2424
- name: Run tests for all exercises
25-
run: bash bin/ci
25+
run: bash bin/validate_exercises

.github/workflows/pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: Install software
1616
run: |
1717
sudo apt update && sudo apt -y install bats &&
18-
sudo curl -L -o /usr/bin/jq https://github.com/jqlang/jq/releases/download/jq-1.7/jq-linux-amd64 &&
18+
sudo curl -L -o /usr/bin/jq https://github.com/jqlang/jq/releases/download/jq-1.8.0/jq-linux-amd64 &&
1919
sudo chmod -v 755 /usr/bin/jq
2020
2121
- name: Run tests for changed/added exercises

bin/ci

Lines changed: 0 additions & 4 deletions
This file was deleted.

docs/ABOUT.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,5 +56,5 @@ We will assume you are familiar with [JSON syntax and data types][wiki-json].
5656
[so]: https://stackoverflow.com/tags/jq/info
5757
[json]: https://www.json.org
5858
[wiki-json]: https://en.wikipedia.org/wiki/JSON#Syntax
59-
[cli-options]: https://jqlang.github.io/jq/manual/v1.7/#invoking-jq
59+
[cli-options]: https://jqlang.github.io/jq/manual/#invoking-jq
6060
[gojq]: https://github.com/itchyny/gojq#gojq

docs/DEBUGGING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,4 +55,4 @@ The second element depends on how you invoke `debug`.
5555
```
5656
5757
58-
[debug]: https://jqlang.github.io/jq/manual/v1.7/#debug
58+
[debug]: https://jqlang.github.io/jq/manual/#debug

docs/INSTALLATION.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,10 @@ Please head to [the `jq` wiki][jq-wiki-install] for the installation instruction
44

55
## Version Information
66

7-
As of October 2023, the current jq release is version 1.7.
7+
As of June 2025, the current jq release is version **1.8**.
88
This is the version used in the online jq test runner.
99

10-
Most Linux package managers will install the previous release, version 1.6.
11-
It's worth installing the newer version: there were [substantial changes in the 1.7 release][release-notes-1.7].
10+
Many Linux package managers will install an older release, version 1.6.
11+
You should install a newer version manually; there have been many beneficial changes since v1.6 was released in 2018.
1212

1313
[jq-wiki-install]: https://github.com/jqlang/jq/wiki/Installation
14-
[release-notes-1.7]: https://github.com/jqlang/jq/releases/tag/jq-1.7

docs/TESTS.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ Or, download the exercises to your computer, solve them locally and then submit
66
If you want to work locally, you'll need the [`bats`][bats] program.
77
Please refer to the [Testing on the Bash track][test-bash] page for the installation instructions.
88

9-
Your code will be tested on the Exercism jq test runner using [`jq` **version 1.7**][jq].
9+
Your code will be tested on the Exercism jq test runner using [`jq` version **1.8**][jq].
1010

1111
[bats]: https://github.com/bats-core/bats-core
1212
[test-bash]: https://exercism.org/docs/tracks/bash/tests
13-
[jq]: https://jqlang.github.io/jq/manual/v1.7/
13+
[jq]: https://jqlang.github.io/jq/manual/v1.8/

exercises/shared/.docs/debug.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@
44
Use it while you are developing your exercise solutions to inspect the data that is currently in the jq pipline.
55
See the [debugging doc][debugging] for more details.
66

7-
[debug]: https://jqlang.github.io/jq/manual/v1.7/#debug
7+
[debug]: https://jqlang.github.io/jq/manual/#debug
88
[debugging]: https://exercism.org/docs/tracks/jq/debugging

exercises/shared/.docs/tests.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,5 +76,5 @@ See the [debugging doc][debugging] for more details.
7676
[bats-assert]: https://github.com/bats-core/bats-assert
7777
[here-string]: https://www.gnu.org/software/bash/manual/bash.html#Here-Strings
7878
[so]: https://unix.stackexchange.com/a/80372/4667
79-
[debug]: https://jqlang.github.io/jq/manual/v1.7/#debug
79+
[debug]: https://jqlang.github.io/jq/manual/#debug
8080
[debugging]: https://exercism.org/docs/tracks/jq/debugging

0 commit comments

Comments
 (0)