Skip to content

Commit 0bf6e1d

Browse files
authored
Merge pull request #2874 from carapace-sh/bridge-inspector
docs: added v1.4 release notes
2 parents 62b2bc8 + e8c8900 commit 0bf6e1d

File tree

11 files changed

+507
-139
lines changed

11 files changed

+507
-139
lines changed

docs/src/SUMMARY.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
- [carapace-generate](./development/tools/carapace-generate.md)
4141
- [Release Notes](./release_notes.md)
4242
- [v1.x](./release_notes/v1.x.md)
43+
- [v1.4](./release_notes/v1.4.md)
4344
- [v1.3](./release_notes/v1.3.md)
4445
- [v1.2](./release_notes/v1.2.md)
4546
- [v1.1](./release_notes/v1.1.md)

docs/src/bridges.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ tsh: kingpin
1616

1717
Currently available bridges:
1818
- [argcomplete](https://github.com/kislyuk/argcomplete)
19+
- [argcomplete@v1](https://github.com/kislyuk/argcomplete) (legacy)
1920
- [bash](https://www.gnu.org/software/bash/)
2021
- [carapace](https://github.com/carapace-sh/carapace)
2122
- [clap](https://github.com/clap-rs/clap) (needs [clap-rs/clap#3166](https://github.com/clap-rs/clap/issues/3166))
@@ -27,6 +28,7 @@ Currently available bridges:
2728
- [kingpin](https://github.com/alecthomas/kingpin)
2829
- [powershell](https://microsoft.com/powershell)
2930
- [urfavecli](https://github.com/urfave/cli)
31+
- [urfavecli@v1](https://github.com/urfave/cli) (legacy)
3032
- [yargs](https://github.com/yargs/yargs)
3133
- [zsh](https://www.zsh.org/)
3234

docs/src/release_notes/v1.4.md

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
# v1.4 - Bridge Inspector
2+
3+
![](./v1.4/banner.png)
4+
5+
Looking into details.
6+
7+
## Detect
8+
9+
Added `carapace --detect COMMAND` to auto-detect bridgeable frameworks.
10+
11+
![](./v1.4/detect.cast)
12+
13+
> **WARNING:** This invokes given command multiple times with various arguments.
14+
15+
## Urfavecli
16+
17+
Added support for [urfave/cli](https://github.com/urfave/cli) v3 and updated [identifiers](../bridges.md).
18+
19+
- `argcomplete`
20+
- `argcomplete@v1` (legacy)
21+
- `urfavecli`
22+
- `urfavecli@v1` (legacy)
23+
24+
Also renamed `ArgcompleteLegacy` to `ArgcompleteV1`.
25+
26+
## Termux
27+
28+
Now in official package repo [termux/termux-packages](https://github.com/termux/termux-packages).
29+
30+
```sh
31+
pkg install carapace
32+
```
33+
34+
## Alias
35+
36+
Added [variable substitution](https://github.com/drone/envsubst) to [aliases](../spec/run.html#alias).
37+
38+
```yaml
39+
name: example
40+
run: "[gh, issue, --repo, '${REPO}']"
41+
```
42+
43+
![](./v1.4/alias.cast)
44+
45+
## Lint
46+
47+
Removed `carapace-fmt` and integrated formatting into `carapace-lint`.
48+
49+
![](./v1.4/lint.cast)
50+
51+
## Hidden
52+
53+
Updated [CARAPACE_HIDDEN](../setup/environment.md#carapace_hidden) for more granular control.
54+
55+
- `0` - disabled
56+
- `1` - enabled
57+
- `2` - enabled including `_carapace`
58+
59+
![](./v1.4/hidden.cast)
664 KB
Loading

docs/src/release_notes/v1.4/hidden.cast

Lines changed: 122 additions & 0 deletions
Large diffs are not rendered by default.

docs/src/release_notes/v1.4/lint.cast

Lines changed: 200 additions & 0 deletions
Large diffs are not rendered by default.

docs/src/release_notes/v1.x.md

Lines changed: 0 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -3,40 +3,3 @@
33
![](./v1.x/banner.png)
44

55
Under development.
6-
7-
## Detect
8-
9-
Added `carapace --detect command` to auto-detect bridgeable frameworks.
10-
11-
![](./v1.x/detect.cast)
12-
13-
> **WARNING:** this invokes given command multiple times.
14-
15-
## Argcomplete
16-
17-
Renamed `ArgcompleteLegacy` to `ArgcompleteV1` (`argcomplete@v1` in `bridges.yaml`).
18-
19-
## Urfavecli
20-
21-
Added support for [urfave/cli](https://github.com/urfave/cli) v3.
22-
> The bridge `urfavecli` targets the latest version.
23-
> Use `urfavecli@v1` for commands still relying on an older version of the library.
24-
25-
## Termux
26-
27-
Now in official package repo [termux/termux-packages](https://github.com/termux/termux-packages).
28-
29-
```sh
30-
pkg install carapace
31-
```
32-
33-
## Alias
34-
35-
Added environment substitution to [aliases](../spec/run.html#alias).
36-
37-
```yaml
38-
name: example
39-
run: "[gh, issue, --repo, '${REPO}']"
40-
```
41-
42-
![](./v1.x/alias.cast)

docs/src/setup/environment.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ Whether to show hidden commands/flags.
3636

3737
- `0` - disabled
3838
- `1` - enabled
39+
- `2` - enabled including `_carapace`
3940

4041
![](./hidden.cast)
4142

0 commit comments

Comments
 (0)