pepe-http 0.40.0 → 0.42.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +148 -0
- package/man/pepe.1 +4 -1
- package/npm-shrinkwrap.json +2 -2
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,154 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
|
+
## [0.42.0](https://github.com/omarmhaimdat/pepe/compare/v0.41.0...v0.42.0) - 2026-10-13
|
|
10
|
+
|
|
11
|
+
### Added
|
|
12
|
+
|
|
13
|
+
- *(ui)* themes, and a settings page on every screen that keeps this machine's defaults ([#181](https://github.com/omarmhaimdat/pepe/pull/181))
|
|
14
|
+
|
|
15
|
+
## What
|
|
16
|
+
|
|
17
|
+
**Themes.** Seven true colour themes beside `terminal`, `light` and
|
|
18
|
+
`none`: `pepe`, `nord`, `dracula`, `gruvbox`, `tokyo-night`,
|
|
19
|
+
`catppuccin`, and `paper` for a light ground. Each is a dozen colours in
|
|
20
|
+
`src/ui/theme.rs`; the rest of its palette is mixed from those, so the
|
|
21
|
+
screens still draw in one dark palette and `adjust` repaints the frame.
|
|
22
|
+
|
|
23
|
+
**A settings page on every screen.** `F2` opens it over the setup, saved
|
|
24
|
+
tests, history, API plan, dashboard, ramp, ping and logs screens, and
|
|
25
|
+
each screen's `?` help lists it.
|
|
26
|
+
|
|
27
|
+
- The first line is the theme: `←` `→` step through them and the screen
|
|
28
|
+
repaints at once.
|
|
29
|
+
- Below it: the defaults a run starts from (requests, duration,
|
|
30
|
+
concurrency, timeout, threads, rate, warm-up, user agent, proxy,
|
|
31
|
+
keep-alive, compression, redirects, TLS verification), a ramp's steps,
|
|
32
|
+
the guardrails, and whether pepe looks for new releases.
|
|
33
|
+
- `enter` types a value, which is checked; `del` goes back to pepe's
|
|
34
|
+
own; `esc` closes. Every change is saved as it's made.
|
|
35
|
+
|
|
36
|
+
**Kept on the host.** `~/.config/pepe/settings.toml`
|
|
37
|
+
(`$XDG_CONFIG_HOME/pepe`, `%APPDATA%\pepe` on Windows, or the directory
|
|
38
|
+
`PEPE_CONFIG_DIR` names):
|
|
39
|
+
|
|
40
|
+
```toml
|
|
41
|
+
theme = "nord"
|
|
42
|
+
update-check = false
|
|
43
|
+
|
|
44
|
+
[defaults] # what a pepe.toml can say, for every run on this machine
|
|
45
|
+
concurrency = 50
|
|
46
|
+
max-rate = 500
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
## Why
|
|
50
|
+
|
|
51
|
+
The theme could only be picked with `PEPE_THEME`, between pepe's palette
|
|
52
|
+
and the terminal's, and a default could only be changed per directory in
|
|
53
|
+
a `pepe.toml`.
|
|
54
|
+
|
|
55
|
+
## For the reviewer
|
|
56
|
+
|
|
57
|
+
- **Precedence:** flags, then `pepe.toml`, then the settings'
|
|
58
|
+
`[defaults]`, then pepe's own. The defaults are read when pepe starts,
|
|
59
|
+
so only the theme changes mid-session.
|
|
60
|
+
- **Caps:** where a `pepe.toml` and the settings both set
|
|
61
|
+
`max-requests`, `max-rate` or `max-concurrency`, the lower holds, so a
|
|
62
|
+
file in a directory can't loosen a machine-wide cap. This is a choice,
|
|
63
|
+
and the place to push back if the project file should simply win.
|
|
64
|
+
- **Every mode:** the saved defaults apply with `--json` and under `pepe
|
|
65
|
+
mcp` too, as a `pepe.toml` does.
|
|
66
|
+
- **A settings file that doesn't parse** stops pepe with exit 1 and
|
|
67
|
+
names the file, rather than dropping a cap it holds.
|
|
68
|
+
- **`PEPE_THEME`** still wins over the saved theme at startup (the page
|
|
69
|
+
says so when it's set); `NO_COLOR` wins over everything. A theme name
|
|
70
|
+
this pepe doesn't know is not an error.
|
|
71
|
+
- **`update-check = false`** also stops the setup screen mentioning a
|
|
72
|
+
cached newer release.
|
|
73
|
+
- Where the page covers the mascot, the page shows: the kept pixel-art
|
|
74
|
+
area is cut around it.
|
|
75
|
+
- A saved test (`--load`, `pepe rerun`) sits over the defaults like a
|
|
76
|
+
`pepe.toml`; its mode is read from the test alone, so a `[ramp]` in the
|
|
77
|
+
settings doesn't make every test a ramp.
|
|
78
|
+
- While the page is up, the mouse is no screen's.
|
|
79
|
+
- No `--theme` flag and no `pepe settings` subcommand.
|
|
80
|
+
|
|
81
|
+
## Checked
|
|
82
|
+
|
|
83
|
+
- After merging master: `cargo test` (357 pass), `cargo clippy
|
|
84
|
+
--all-targets -- -D warnings`, `cargo fmt --check`.
|
|
85
|
+
- `UPDATE_CONTRIB=1 cargo test contrib` for the man page's environment
|
|
86
|
+
section.
|
|
87
|
+
- `python3 site/build-docs.py` **not run**: `site/` had unrelated
|
|
88
|
+
uncommitted changes locally, so the built pages are not in this PR.
|
|
89
|
+
- By hand, in tmux with `PEPE_CONFIG_DIR` pointed at a scratch
|
|
90
|
+
directory: opened the page from the setup screen and from a finished
|
|
91
|
+
dashboard (40 requests at a local `python3 -m http.server`), stepped the
|
|
92
|
+
themes and read the escape codes for the new palette, typed and cleared
|
|
93
|
+
defaults, read the file back, and confirmed with `--dry-run` that a
|
|
94
|
+
saved `concurrency` reaches a run and that `-c` wins over it.
|
|
95
|
+
- The palettes are held to contrast floors by a test; the shades
|
|
96
|
+
themselves were not judged by eye in a terminal.
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
## [0.41.0](https://github.com/omarmhaimdat/pepe/compare/v0.40.0...v0.41.0) - 2026-10-13
|
|
100
|
+
|
|
101
|
+
### Added
|
|
102
|
+
|
|
103
|
+
- *(ping)* a ping is a saved test too: --keep, --load, --record, ctrl-s and r on its screen ([#179](https://github.com/omarmhaimdat/pepe/pull/179))
|
|
104
|
+
|
|
105
|
+
## What
|
|
106
|
+
|
|
107
|
+
A ping is a saved test like the others.
|
|
108
|
+
|
|
109
|
+
- The saved-test file gains a `[ping]` section: targets, `every`,
|
|
110
|
+
`name`, `slo`, `tcp`, `port`, `cmd`, `keep-alive`, `http1`, `ipv4`,
|
|
111
|
+
`ipv6`, `all-ips`, `interface`. `pepe ping … --keep NAME` writes one;
|
|
112
|
+
`pepe --load NAME` runs it again, the file deciding the mode, and a ping
|
|
113
|
+
ends on the file's `-n` where it would otherwise run forever.
|
|
114
|
+
|
|
115
|
+
```
|
|
116
|
+
$ pepe ping https://api.example.com/health -n 30 --every 2s --slo
|
|
117
|
+
total=500 --keep prod-health --record --json
|
|
118
|
+
saved .pepe/tests/prod-health.toml · `pepe --load prod-health` runs it
|
|
119
|
+
recorded .pepe/runs/prod-health/2026-10-12T23-29-20Z.json · pepe history
|
|
120
|
+
prod-health
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
- `--record` keeps the ping's report under the test, and `pepe rerun`,
|
|
124
|
+
`pepe history NAME` and `pepe compare NAME` work on pings, phase by
|
|
125
|
+
phase, as `pepe compare` already knew how to read them.
|
|
126
|
+
- On the ping screen, `ctrl-s` saves the test (offering the first target
|
|
127
|
+
as the name) and `r` records the pings so far. The footer says where
|
|
128
|
+
they went.
|
|
129
|
+
- The library lists a ping with its targets, interval, count or "until
|
|
130
|
+
stopped", and SLO. A report's `command` renders a ping as a `pepe ping
|
|
131
|
+
…` line that parses back, several targets included.
|
|
132
|
+
- A report recorded from a screen right after the test was saved there
|
|
133
|
+
now names the test explicitly, since the settings were not loaded from
|
|
134
|
+
the file. The dashboard and the ramp had the same gap.
|
|
135
|
+
|
|
136
|
+
The ping and load-test pages document it.
|
|
137
|
+
|
|
138
|
+
## Why
|
|
139
|
+
|
|
140
|
+
A ping is the test most worth keeping over time: "prod health, every two
|
|
141
|
+
seconds, total under 500ms" is what you'd run again next month and hold
|
|
142
|
+
against today's phases. With v0.40's recorded runs in place, the pieces
|
|
143
|
+
fit the existing design without new concepts.
|
|
144
|
+
|
|
145
|
+
## Checked
|
|
146
|
+
|
|
147
|
+
- `cargo test`, `cargo clippy --all-targets -- -D warnings`, `cargo fmt
|
|
148
|
+
--check`
|
|
149
|
+
- `UPDATE_CONTRIB=1 cargo test contrib` and `python3 site/build-docs.py`
|
|
150
|
+
- Against a local HTTP server: `pepe ping … --keep --record --json`,
|
|
151
|
+
`--load` running the ping and ending on its count, `--record` twice,
|
|
152
|
+
`pepe rerun`, `pepe history NAME`, `pepe compare NAME`, the recorded
|
|
153
|
+
report's `test` and `command`, and `--load … --dry-run` showing the ping
|
|
154
|
+
as kept.
|
|
155
|
+
|
|
156
|
+
|
|
9
157
|
## [0.40.0](https://github.com/omarmhaimdat/pepe/compare/v0.39.1...v0.40.0) - 2026-10-12
|
|
10
158
|
|
|
11
159
|
### Added
|
package/man/pepe.1
CHANGED
|
@@ -332,6 +332,9 @@ A GitHub token for pepe self\-update, for forks or rate\-limited CI
|
|
|
332
332
|
Set to anything to draw without colour: reverse video and shades instead
|
|
333
333
|
.TP
|
|
334
334
|
\fBPEPE_THEME\fR
|
|
335
|
-
|
|
335
|
+
A theme by name (pepe, nord, dracula, gruvbox, tokyo\-night, catppuccin, paper, terminal, light, none); otherwise the one saved in the settings (F2 on any screen), or what the terminal suggests
|
|
336
|
+
.TP
|
|
337
|
+
\fBPEPE_CONFIG_DIR\fR
|
|
338
|
+
Where settings.toml is kept: the theme and this machine\*(Aqs defaults (~/.config/pepe otherwise)
|
|
336
339
|
.SH "SEE ALSO"
|
|
337
340
|
pepe\-ping(1), pepe\-ramp(1), pepe\-api(1), pepe\-self\-update(1), and \fBhttps://github.com/omarmhaimdat/pepe\fR
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"hasInstallScript": true,
|
|
20
20
|
"license": "MIT",
|
|
21
21
|
"name": "pepe-http",
|
|
22
|
-
"version": "0.
|
|
22
|
+
"version": "0.42.0"
|
|
23
23
|
},
|
|
24
24
|
"node_modules/detect-libc": {
|
|
25
25
|
"engines": {
|
|
@@ -48,5 +48,5 @@
|
|
|
48
48
|
}
|
|
49
49
|
},
|
|
50
50
|
"requires": true,
|
|
51
|
-
"version": "0.
|
|
51
|
+
"version": "0.42.0"
|
|
52
52
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"artifactDownloadUrls": [
|
|
3
|
-
"https://github.com/omarmhaimdat/pepe/releases/download/v0.
|
|
3
|
+
"https://github.com/omarmhaimdat/pepe/releases/download/v0.42.0"
|
|
4
4
|
],
|
|
5
5
|
"author": "Omar MHAIMDAT",
|
|
6
6
|
"bin": {
|
|
@@ -119,7 +119,7 @@
|
|
|
119
119
|
"zipExt": ".tar.xz"
|
|
120
120
|
}
|
|
121
121
|
},
|
|
122
|
-
"version": "0.
|
|
122
|
+
"version": "0.42.0",
|
|
123
123
|
"volta": {
|
|
124
124
|
"node": "18.14.1",
|
|
125
125
|
"npm": "9.5.0"
|