koalaman/shellcheck (koalaman/shellcheck)
### [`v0.10.0`](https://togithub.com/koalaman/shellcheck/blob/HEAD/CHANGELOG.md#v0100---2024-03-07)
[Compare Source](https://togithub.com/koalaman/shellcheck/compare/v0.9.0...v0.10.0)
##### Added
- Precompiled binaries for macOS ARM64 (darwin.aarch64)
- Added support for busybox sh
- Added flag --rcfile to specify an rc file by name.
- Added `extended-analysis=true` directive to enable/disable dataflow analysis
(with a corresponding --extended-analysis flag).
- SC2324: Warn when x+=1 appends instead of increments
- SC2325: Warn about multiple `!`s in dash/sh.
- SC2326: Warn about `foo | ! bar` in bash/dash/sh.
- SC3012: Warn about lexicographic-compare bashism in test like in \[ ]
- SC3013: Warn bashism `test _ -op/-nt/-ef _` like in \[ ]
- SC3014: Warn bashism `test _ == _` like in \[ ]
- SC3015: Warn bashism `test _ =~ _` like in \[ ]
- SC3016: Warn bashism `test -v _` like in \[ ]
- SC3017: Warn bashism `test -a _` like in \[ ]
##### Fixed
- source statements with here docs now work correctly
- "(Array.!): undefined array element" error should no longer occur
### [`v0.9.0`](https://togithub.com/koalaman/shellcheck/blob/HEAD/CHANGELOG.md#v090---2022-12-12)
[Compare Source](https://togithub.com/koalaman/shellcheck/compare/v0.8.0...v0.9.0)
##### Added
- SC2316: Warn about 'local readonly foo' and similar (thanks, patrickxia!)
- SC2317: Warn about unreachable commands
- SC2318: Warn about backreferences in 'declare x=1 y=$x'
- SC2319/SC2320: Warn when $? refers to echo/printf/\[ ]/\[\[ ]]/test
- SC2321: Suggest removing $((..)) in array\[$((idx))]=val
- SC2322: Suggest collapsing double parentheses in arithmetic contexts
- SC2323: Suggest removing wrapping parentheses in a\[(x+1)]=val
##### Fixed
- SC2086: Now uses DFA to make more accurate predictions about values
- SC2086: No longer warns about values declared as integer with declare -i
##### Changed
- ShellCheck now has a Data Flow Analysis engine to make smarter decisions
based on control flow rather than just syntax. Existing checks will
gradually start using it, which may cause them to trigger differently
(but more accurately).
- Values in directives/shellcheckrc can now be quoted with '' or ""
sharkdp/bat (sharkdp/bat)
### [`v0.24.0`](https://togithub.com/sharkdp/bat/blob/HEAD/CHANGELOG.md#v0240)
[Compare Source](https://togithub.com/sharkdp/bat/compare/v0.23.0...v0.24.0)
#### Features
- Add environment variable `BAT_PAGING`, see [#2629](https://togithub.com/sharkdp/bat/issues/2629) ([@einfachIrgendwer0815](https://togithub.com/einfachIrgendwer0815))
- Add opt-in (`--features lessopen`) support for `LESSOPEN` and `LESSCLOSE`. See [#1597](https://togithub.com/sharkdp/bat/issues/1597), [#1739](https://togithub.com/sharkdp/bat/issues/1739), [#2444](https://togithub.com/sharkdp/bat/issues/2444), [#2602](https://togithub.com/sharkdp/bat/issues/2602), and [#2662](https://togithub.com/sharkdp/bat/issues/2662) ([@Anomalocaridid](https://togithub.com/Anomalocaridid))
#### Bugfixes
- Fix `more` not being found on Windows when provided via `BAT_PAGER`, see [#2570](https://togithub.com/sharkdp/bat/issues/2570), [#2580](https://togithub.com/sharkdp/bat/issues/2580), and [#2651](https://togithub.com/sharkdp/bat/issues/2651) ([@mataha](https://togithub.com/mataha))
- Switched default behavior of `--map-syntax` to be case insensitive [#2520](https://togithub.com/sharkdp/bat/issues/2520)
- Updated version of `serde_yaml` to `0.9`. See [#2627](https://togithub.com/sharkdp/bat/issues/2627) ([@Raghav-Bell](https://togithub.com/Raghav-Bell))
- Fix arithmetic overflow in `LineRange::from` and `LineRange::parse_range`, see [#2674](https://togithub.com/sharkdp/bat/issues/2674), [#2698](https://togithub.com/sharkdp/bat/issues/2698) ([@skoriop](https://togithub.com/skoriop))
- Fix paging not happening when stdout is interactive but stdin is not, see [#2574](https://togithub.com/sharkdp/bat/issues/2574) ([@Nigecat](https://togithub.com/Nigecat))
- Make `-pp` override `--paging` and vice versa when passed as a later argument, see [#2660](https://togithub.com/sharkdp/bat/issues/2660) ([@J-Kappes](https://togithub.com/J-Kappes))
#### Other
- Output directory for generated assets (completion, manual) can be customized, see [#2515](https://togithub.com/sharkdp/bat/issues/2515) ([@tranzystorek-io](https://togithub.com/tranzystorek-io))
- Use the `is-terminal` crate instead of `atty`, see [#2530](https://togithub.com/sharkdp/bat/issues/2530) ([@nickelc](https://togithub.com/nickelc))
- Add Winget Releaser workflow, see [#2519](https://togithub.com/sharkdp/bat/issues/2519) ([@sitiom](https://togithub.com/sitiom))
- Bump MSRV to 1.70, see [#2651](https://togithub.com/sharkdp/bat/issues/2651) ([@mataha](https://togithub.com/mataha))
#### Syntaxes
- Associate `os-release` with `bash` syntax, see [#2587](https://togithub.com/sharkdp/bat/issues/2587) ([@cyqsimon](https://togithub.com/cyqsimon))
- Associate `Containerfile` with `Dockerfile` syntax, see [#2606](https://togithub.com/sharkdp/bat/issues/2606) ([@einfachIrgendwer0815](https://togithub.com/einfachIrgendwer0815))
- Replaced quotes with double quotes so fzf integration example script works on windows and linux. see [#2095](https://togithub.com/sharkdp/bat/issues/2095) ([@johnmatthiggins](https://togithub.com/johnmatthiggins))
- Associate `ksh` files with `bash` syntax, see [#2633](https://togithub.com/sharkdp/bat/issues/2633) ([@johnmatthiggins](https://togithub.com/johnmatthiggins))
- Associate `sarif` files with `JSON` syntax, see [#2695](https://togithub.com/sharkdp/bat/issues/2695) ([@rhysd](https://togithub.com/rhysd))
- Associate `ron` files with `rust` syntax, see [#2427](https://togithub.com/sharkdp/bat/issues/2427) ([@YeungOnion](https://togithub.com/YeungOnion))
- Add support for [WebGPU Shader Language](https://www.w3.org/TR/WGSL/), see [#2692](https://togithub.com/sharkdp/bat/issues/2692) ([@rhysd](https://togithub.com/rhysd))
- Add `.dpkg-new` and `.dpkg-tmp` to ignored suffixe, see [#2595](https://togithub.com/sharkdp/bat/issues/2595) ([@scop](https://togithub.com/scop))
- fix: Add syntax mapping `*.jsonl` => `json`, see [#2539](https://togithub.com/sharkdp/bat/issues/2539) ([@WinterCore](https://togithub.com/WinterCore))
- Update `Julia` syntax, see [#2553](https://togithub.com/sharkdp/bat/issues/2553) ([@dependabot](https://togithub.com/dependabot))
- add `NSIS` support, see [#2577](https://togithub.com/sharkdp/bat/issues/2577) ([@idleberg](https://togithub.com/idleberg))
- Update `ssh-config`, see [#2697](https://togithub.com/sharkdp/bat/issues/2697) ([@mrmeszaros](https://togithub.com/mrmeszaros))
#### `bat` as a library
- Add optional output_buffer arg to `Controller::run()` and `Controller::run_with_error_handler()`, see [#2618](https://togithub.com/sharkdp/bat/issues/2618) ([@Piturnah](https://togithub.com/Piturnah))
### [`v0.23.0`](https://togithub.com/sharkdp/bat/blob/HEAD/CHANGELOG.md#v0230)
[Compare Source](https://togithub.com/sharkdp/bat/compare/v0.22.1...v0.23.0)
#### Features
- Implemented `-S` and `--chop-long-lines` flags as aliases for `--wrap=never`. See [#2309](https://togithub.com/sharkdp/bat/issues/2309) ([@johnmatthiggins](https://togithub.com/johnmatthiggins))
- Breaking change: Environment variables can now override config file settings (but command-line arguments still have the highest precedence), see [#1152](https://togithub.com/sharkdp/bat/issues/1152), [#1281](https://togithub.com/sharkdp/bat/issues/1281), and [#2381](https://togithub.com/sharkdp/bat/issues/2381) ([@aaronkollasch](https://togithub.com/aaronkollasch))
- Implemented `--nonprintable-notation=caret` to support showing non-printable characters using caret notation. See [#2429](https://togithub.com/sharkdp/bat/issues/2429) ([@einfachIrgendwer0815](https://togithub.com/einfachIrgendwer0815))
#### Bugfixes
- Fix `bat cache --clear` not clearing the `--target` dir if specified. See [#2393](https://togithub.com/sharkdp/bat/issues/2393) ([@miles170](https://togithub.com/miles170))
#### Other
- Various bash completion improvements, see [#2310](https://togithub.com/sharkdp/bat/issues/2310) ([@scop](https://togithub.com/scop))
- Disable completion of `cache` subcommand, see [#2399](https://togithub.com/sharkdp/bat/issues/2399) ([@cyqsimon](https://togithub.com/cyqsimon))
- Signifigantly improve startup performance on macOS, see [#2442](https://togithub.com/sharkdp/bat/issues/2442) ([@BlackHoleFox](https://togithub.com/BlackHoleFox))
- Bump MSRV to 1.62, see [#2496](https://togithub.com/sharkdp/bat/issues/2496) ([@Enselic](https://togithub.com/Enselic))
#### Syntaxes
- Added support for Ada, see [#1300](https://togithub.com/sharkdp/bat/issues/1300) and [#2316](https://togithub.com/sharkdp/bat/issues/2316) ([@dkm](https://togithub.com/dkm))
- Added `todo.txt` syntax, see [#2375](https://togithub.com/sharkdp/bat/issues/2375) ([@BANOnotIT](https://togithub.com/BANOnotIT))
- Improve Manpage.sublime-syntax. See [#2364](https://togithub.com/sharkdp/bat/issues/2364) ([@Freed-Wu](https://togithub.com/Freed-Wu)) and [#2461](https://togithub.com/sharkdp/bat/issues/2461) ([@keith-hall](https://togithub.com/keith-hall))
- Added a new `requirements.txt` syntax, see [#2361](https://togithub.com/sharkdp/bat/issues/2361) ([@Freed-Wu](https://togithub.com/Freed-Wu))
- Added a new VimHelp syntax, see [#2366](https://togithub.com/sharkdp/bat/issues/2366) ([@Freed-Wu](https://togithub.com/Freed-Wu))
- Associate `pdm.lock` with `TOML` syntax, see [#2410](https://togithub.com/sharkdp/bat/issues/2410)
- `Todo.txt`: Fix highlighting of contexts and projects at beginning of done.txt, see [#2411](https://togithub.com/sharkdp/bat/issues/2411)
- `cmd-help`: overhaul scope names (colors) to improve theme support; misc syntax improvements. See [#2419](https://togithub.com/sharkdp/bat/issues/2419) ([@victor-gp](https://togithub.com/victor-gp))
- Added support for Crontab, see [#2509](https://togithub.com/sharkdp/bat/issues/2509) ([@keith-hall](https://togithub.com/keith-hall))
#### Themes
#### `bat` as a library
- `PrettyPrinter::header` correctly displays a header with the filename, see [#2378](https://togithub.com/sharkdp/bat/issues/2378) and [#2406](https://togithub.com/sharkdp/bat/issues/2406) ([@cstyles](https://togithub.com/cstyles))
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
[ ] If you want to rebase/retry this PR, check this box
This PR contains the following updates:
0.8.0
->0.10.0
0.22.1
->0.24.0
Release Notes
koalaman/shellcheck (koalaman/shellcheck)
### [`v0.10.0`](https://togithub.com/koalaman/shellcheck/blob/HEAD/CHANGELOG.md#v0100---2024-03-07) [Compare Source](https://togithub.com/koalaman/shellcheck/compare/v0.9.0...v0.10.0) ##### Added - Precompiled binaries for macOS ARM64 (darwin.aarch64) - Added support for busybox sh - Added flag --rcfile to specify an rc file by name. - Added `extended-analysis=true` directive to enable/disable dataflow analysis (with a corresponding --extended-analysis flag). - SC2324: Warn when x+=1 appends instead of increments - SC2325: Warn about multiple `!`s in dash/sh. - SC2326: Warn about `foo | ! bar` in bash/dash/sh. - SC3012: Warn about lexicographic-compare bashism in test like in \[ ] - SC3013: Warn bashism `test _ -op/-nt/-ef _` like in \[ ] - SC3014: Warn bashism `test _ == _` like in \[ ] - SC3015: Warn bashism `test _ =~ _` like in \[ ] - SC3016: Warn bashism `test -v _` like in \[ ] - SC3017: Warn bashism `test -a _` like in \[ ] ##### Fixed - source statements with here docs now work correctly - "(Array.!): undefined array element" error should no longer occur ### [`v0.9.0`](https://togithub.com/koalaman/shellcheck/blob/HEAD/CHANGELOG.md#v090---2022-12-12) [Compare Source](https://togithub.com/koalaman/shellcheck/compare/v0.8.0...v0.9.0) ##### Added - SC2316: Warn about 'local readonly foo' and similar (thanks, patrickxia!) - SC2317: Warn about unreachable commands - SC2318: Warn about backreferences in 'declare x=1 y=$x' - SC2319/SC2320: Warn when $? refers to echo/printf/\[ ]/\[\[ ]]/test - SC2321: Suggest removing $((..)) in array\[$((idx))]=val - SC2322: Suggest collapsing double parentheses in arithmetic contexts - SC2323: Suggest removing wrapping parentheses in a\[(x+1)]=val ##### Fixed - SC2086: Now uses DFA to make more accurate predictions about values - SC2086: No longer warns about values declared as integer with declare -i ##### Changed - ShellCheck now has a Data Flow Analysis engine to make smarter decisions based on control flow rather than just syntax. Existing checks will gradually start using it, which may cause them to trigger differently (but more accurately). - Values in directives/shellcheckrc can now be quoted with '' or ""sharkdp/bat (sharkdp/bat)
### [`v0.24.0`](https://togithub.com/sharkdp/bat/blob/HEAD/CHANGELOG.md#v0240) [Compare Source](https://togithub.com/sharkdp/bat/compare/v0.23.0...v0.24.0) #### Features - Add environment variable `BAT_PAGING`, see [#2629](https://togithub.com/sharkdp/bat/issues/2629) ([@einfachIrgendwer0815](https://togithub.com/einfachIrgendwer0815)) - Add opt-in (`--features lessopen`) support for `LESSOPEN` and `LESSCLOSE`. See [#1597](https://togithub.com/sharkdp/bat/issues/1597), [#1739](https://togithub.com/sharkdp/bat/issues/1739), [#2444](https://togithub.com/sharkdp/bat/issues/2444), [#2602](https://togithub.com/sharkdp/bat/issues/2602), and [#2662](https://togithub.com/sharkdp/bat/issues/2662) ([@Anomalocaridid](https://togithub.com/Anomalocaridid)) #### Bugfixes - Fix `more` not being found on Windows when provided via `BAT_PAGER`, see [#2570](https://togithub.com/sharkdp/bat/issues/2570), [#2580](https://togithub.com/sharkdp/bat/issues/2580), and [#2651](https://togithub.com/sharkdp/bat/issues/2651) ([@mataha](https://togithub.com/mataha)) - Switched default behavior of `--map-syntax` to be case insensitive [#2520](https://togithub.com/sharkdp/bat/issues/2520) - Updated version of `serde_yaml` to `0.9`. See [#2627](https://togithub.com/sharkdp/bat/issues/2627) ([@Raghav-Bell](https://togithub.com/Raghav-Bell)) - Fix arithmetic overflow in `LineRange::from` and `LineRange::parse_range`, see [#2674](https://togithub.com/sharkdp/bat/issues/2674), [#2698](https://togithub.com/sharkdp/bat/issues/2698) ([@skoriop](https://togithub.com/skoriop)) - Fix paging not happening when stdout is interactive but stdin is not, see [#2574](https://togithub.com/sharkdp/bat/issues/2574) ([@Nigecat](https://togithub.com/Nigecat)) - Make `-pp` override `--paging` and vice versa when passed as a later argument, see [#2660](https://togithub.com/sharkdp/bat/issues/2660) ([@J-Kappes](https://togithub.com/J-Kappes)) #### Other - Output directory for generated assets (completion, manual) can be customized, see [#2515](https://togithub.com/sharkdp/bat/issues/2515) ([@tranzystorek-io](https://togithub.com/tranzystorek-io)) - Use the `is-terminal` crate instead of `atty`, see [#2530](https://togithub.com/sharkdp/bat/issues/2530) ([@nickelc](https://togithub.com/nickelc)) - Add Winget Releaser workflow, see [#2519](https://togithub.com/sharkdp/bat/issues/2519) ([@sitiom](https://togithub.com/sitiom)) - Bump MSRV to 1.70, see [#2651](https://togithub.com/sharkdp/bat/issues/2651) ([@mataha](https://togithub.com/mataha)) #### Syntaxes - Associate `os-release` with `bash` syntax, see [#2587](https://togithub.com/sharkdp/bat/issues/2587) ([@cyqsimon](https://togithub.com/cyqsimon)) - Associate `Containerfile` with `Dockerfile` syntax, see [#2606](https://togithub.com/sharkdp/bat/issues/2606) ([@einfachIrgendwer0815](https://togithub.com/einfachIrgendwer0815)) - Replaced quotes with double quotes so fzf integration example script works on windows and linux. see [#2095](https://togithub.com/sharkdp/bat/issues/2095) ([@johnmatthiggins](https://togithub.com/johnmatthiggins)) - Associate `ksh` files with `bash` syntax, see [#2633](https://togithub.com/sharkdp/bat/issues/2633) ([@johnmatthiggins](https://togithub.com/johnmatthiggins)) - Associate `sarif` files with `JSON` syntax, see [#2695](https://togithub.com/sharkdp/bat/issues/2695) ([@rhysd](https://togithub.com/rhysd)) - Associate `ron` files with `rust` syntax, see [#2427](https://togithub.com/sharkdp/bat/issues/2427) ([@YeungOnion](https://togithub.com/YeungOnion)) - Add support for [WebGPU Shader Language](https://www.w3.org/TR/WGSL/), see [#2692](https://togithub.com/sharkdp/bat/issues/2692) ([@rhysd](https://togithub.com/rhysd)) - Add `.dpkg-new` and `.dpkg-tmp` to ignored suffixe, see [#2595](https://togithub.com/sharkdp/bat/issues/2595) ([@scop](https://togithub.com/scop)) - fix: Add syntax mapping `*.jsonl` => `json`, see [#2539](https://togithub.com/sharkdp/bat/issues/2539) ([@WinterCore](https://togithub.com/WinterCore)) - Update `Julia` syntax, see [#2553](https://togithub.com/sharkdp/bat/issues/2553) ([@dependabot](https://togithub.com/dependabot)) - add `NSIS` support, see [#2577](https://togithub.com/sharkdp/bat/issues/2577) ([@idleberg](https://togithub.com/idleberg)) - Update `ssh-config`, see [#2697](https://togithub.com/sharkdp/bat/issues/2697) ([@mrmeszaros](https://togithub.com/mrmeszaros)) #### `bat` as a library - Add optional output_buffer arg to `Controller::run()` and `Controller::run_with_error_handler()`, see [#2618](https://togithub.com/sharkdp/bat/issues/2618) ([@Piturnah](https://togithub.com/Piturnah)) ### [`v0.23.0`](https://togithub.com/sharkdp/bat/blob/HEAD/CHANGELOG.md#v0230) [Compare Source](https://togithub.com/sharkdp/bat/compare/v0.22.1...v0.23.0) #### Features - Implemented `-S` and `--chop-long-lines` flags as aliases for `--wrap=never`. See [#2309](https://togithub.com/sharkdp/bat/issues/2309) ([@johnmatthiggins](https://togithub.com/johnmatthiggins)) - Breaking change: Environment variables can now override config file settings (but command-line arguments still have the highest precedence), see [#1152](https://togithub.com/sharkdp/bat/issues/1152), [#1281](https://togithub.com/sharkdp/bat/issues/1281), and [#2381](https://togithub.com/sharkdp/bat/issues/2381) ([@aaronkollasch](https://togithub.com/aaronkollasch)) - Implemented `--nonprintable-notation=caret` to support showing non-printable characters using caret notation. See [#2429](https://togithub.com/sharkdp/bat/issues/2429) ([@einfachIrgendwer0815](https://togithub.com/einfachIrgendwer0815)) #### Bugfixes - Fix `bat cache --clear` not clearing the `--target` dir if specified. See [#2393](https://togithub.com/sharkdp/bat/issues/2393) ([@miles170](https://togithub.com/miles170)) #### Other - Various bash completion improvements, see [#2310](https://togithub.com/sharkdp/bat/issues/2310) ([@scop](https://togithub.com/scop)) - Disable completion of `cache` subcommand, see [#2399](https://togithub.com/sharkdp/bat/issues/2399) ([@cyqsimon](https://togithub.com/cyqsimon)) - Signifigantly improve startup performance on macOS, see [#2442](https://togithub.com/sharkdp/bat/issues/2442) ([@BlackHoleFox](https://togithub.com/BlackHoleFox)) - Bump MSRV to 1.62, see [#2496](https://togithub.com/sharkdp/bat/issues/2496) ([@Enselic](https://togithub.com/Enselic)) #### Syntaxes - Added support for Ada, see [#1300](https://togithub.com/sharkdp/bat/issues/1300) and [#2316](https://togithub.com/sharkdp/bat/issues/2316) ([@dkm](https://togithub.com/dkm)) - Added `todo.txt` syntax, see [#2375](https://togithub.com/sharkdp/bat/issues/2375) ([@BANOnotIT](https://togithub.com/BANOnotIT)) - Improve Manpage.sublime-syntax. See [#2364](https://togithub.com/sharkdp/bat/issues/2364) ([@Freed-Wu](https://togithub.com/Freed-Wu)) and [#2461](https://togithub.com/sharkdp/bat/issues/2461) ([@keith-hall](https://togithub.com/keith-hall)) - Added a new `requirements.txt` syntax, see [#2361](https://togithub.com/sharkdp/bat/issues/2361) ([@Freed-Wu](https://togithub.com/Freed-Wu)) - Added a new VimHelp syntax, see [#2366](https://togithub.com/sharkdp/bat/issues/2366) ([@Freed-Wu](https://togithub.com/Freed-Wu)) - Associate `pdm.lock` with `TOML` syntax, see [#2410](https://togithub.com/sharkdp/bat/issues/2410) - `Todo.txt`: Fix highlighting of contexts and projects at beginning of done.txt, see [#2411](https://togithub.com/sharkdp/bat/issues/2411) - `cmd-help`: overhaul scope names (colors) to improve theme support; misc syntax improvements. See [#2419](https://togithub.com/sharkdp/bat/issues/2419) ([@victor-gp](https://togithub.com/victor-gp)) - Added support for Crontab, see [#2509](https://togithub.com/sharkdp/bat/issues/2509) ([@keith-hall](https://togithub.com/keith-hall)) #### Themes #### `bat` as a library - `PrettyPrinter::header` correctly displays a header with the filename, see [#2378](https://togithub.com/sharkdp/bat/issues/2378) and [#2406](https://togithub.com/sharkdp/bat/issues/2406) ([@cstyles](https://togithub.com/cstyles))Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by Renovate Bot.