pepe-http 0.41.0 → 0.42.1

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 CHANGED
@@ -6,6 +6,157 @@ 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.1](https://github.com/omarmhaimdat/pepe/compare/v0.42.0...v0.42.1) - 2026-10-15
10
+
11
+ ### Fixed
12
+
13
+ - *(deps)* bump toml from 0.9.6 to 1.1.8+spec-1.1.0 ([#183](https://github.com/omarmhaimdat/pepe/pull/183))
14
+
15
+ Bumps [toml](https://github.com/toml-rs/toml) from 0.9.6 to
16
+ 1.1.8+spec-1.1.0.
17
+ <details>
18
+ <summary>Commits</summary>
19
+ <ul>
20
+ <li><a
21
+ href="https://github.com/toml-rs/toml/commit/ceac6e4412420d5a5c19e4f7293ad005cf1a31b2"><code>ceac6e4</code></a>
22
+ chore: Release</li>
23
+ <li><a
24
+ href="https://github.com/toml-rs/toml/commit/0fe9e93d6d6299400e168681f7cdd7515c0693d2"><code>0fe9e93</code></a>
25
+ docs: Update changelog</li>
26
+ <li><a
27
+ href="https://github.com/toml-rs/toml/commit/e3a64aa201ec339abacb570417d75b327490cab4"><code>e3a64aa</code></a>
28
+ fix(display): Ensure all keys are encoded (<a
29
+ href="https://redirect.github.com/toml-rs/toml/issues/1245">#1245</a>)</li>
30
+ <li><a
31
+ href="https://github.com/toml-rs/toml/commit/76484d005a0e68e8c1876f8a3417b71a3921623f"><code>76484d0</code></a>
32
+ fix(display): Ensure all keys are encoded</li>
33
+ <li><a
34
+ href="https://github.com/toml-rs/toml/commit/711b1ba1ecb11e61df9a1609e24fa3b17d11d961"><code>711b1ba</code></a>
35
+ refactor(display): Clarify that we are working with encoded keys</li>
36
+ <li><a
37
+ href="https://github.com/toml-rs/toml/commit/4f73ebdc8bd7fdf0e6bd379baeb96dedcee6bb2b"><code>4f73ebd</code></a>
38
+ test(display): Reproduce the key bug</li>
39
+ <li><a
40
+ href="https://github.com/toml-rs/toml/commit/6c6a5cdcdc4d9beb16ff9bdf2dcbf360fc2bc84e"><code>6c6a5cd</code></a>
41
+ fix(parser): Remove risk of unsoundness with synthetic parser events and
42
+ 'uns...</li>
43
+ <li><a
44
+ href="https://github.com/toml-rs/toml/commit/9c5e95d8d67514f2191afbee137ba40e85e4f441"><code>9c5e95d</code></a>
45
+ fix(parser): Remove risk of unsoundness with synthetic parser events and
46
+ 'uns...</li>
47
+ <li><a
48
+ href="https://github.com/toml-rs/toml/commit/4d45944be2f6ee3b938dbba3d64a6d9c280bd9e9"><code>4d45944</code></a>
49
+ perf(parser): Remove no-op code (<a
50
+ href="https://redirect.github.com/toml-rs/toml/issues/1243">#1243</a>)</li>
51
+ <li><a
52
+ href="https://github.com/toml-rs/toml/commit/189c91c3d06a0f56e18f85cb00d3425534defd71"><code>189c91c</code></a>
53
+ perf(parser): Remove no-op code</li>
54
+ <li>Additional commits viewable in <a
55
+ href="https://github.com/toml-rs/toml/compare/toml-v0.9.6...toml-v1.1.8">compare
56
+ view</a></li>
57
+ </ul>
58
+ </details>
59
+ <br />
60
+
61
+
62
+ [![Dependabot compatibility
63
+ score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=toml&package-manager=cargo&previous-version=0.9.6&new-version=1.1.8+spec-1.1.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
64
+
65
+ Dependabot will resolve any conflicts with this PR as long as you don't
66
+ alter it yourself. You can also trigger a rebase manually by commenting
67
+ `@dependabot rebase`.
68
+
69
+
70
+ ## [0.42.0](https://github.com/omarmhaimdat/pepe/compare/v0.41.0...v0.42.0) - 2026-10-13
71
+
72
+ ### Added
73
+
74
+ - *(ui)* themes, and a settings page on every screen that keeps this machine's defaults ([#181](https://github.com/omarmhaimdat/pepe/pull/181))
75
+
76
+ ## What
77
+
78
+ **Themes.** Seven true colour themes beside `terminal`, `light` and
79
+ `none`: `pepe`, `nord`, `dracula`, `gruvbox`, `tokyo-night`,
80
+ `catppuccin`, and `paper` for a light ground. Each is a dozen colours in
81
+ `src/ui/theme.rs`; the rest of its palette is mixed from those, so the
82
+ screens still draw in one dark palette and `adjust` repaints the frame.
83
+
84
+ **A settings page on every screen.** `F2` opens it over the setup, saved
85
+ tests, history, API plan, dashboard, ramp, ping and logs screens, and
86
+ each screen's `?` help lists it.
87
+
88
+ - The first line is the theme: `←` `→` step through them and the screen
89
+ repaints at once.
90
+ - Below it: the defaults a run starts from (requests, duration,
91
+ concurrency, timeout, threads, rate, warm-up, user agent, proxy,
92
+ keep-alive, compression, redirects, TLS verification), a ramp's steps,
93
+ the guardrails, and whether pepe looks for new releases.
94
+ - `enter` types a value, which is checked; `del` goes back to pepe's
95
+ own; `esc` closes. Every change is saved as it's made.
96
+
97
+ **Kept on the host.** `~/.config/pepe/settings.toml`
98
+ (`$XDG_CONFIG_HOME/pepe`, `%APPDATA%\pepe` on Windows, or the directory
99
+ `PEPE_CONFIG_DIR` names):
100
+
101
+ ```toml
102
+ theme = "nord"
103
+ update-check = false
104
+
105
+ [defaults] # what a pepe.toml can say, for every run on this machine
106
+ concurrency = 50
107
+ max-rate = 500
108
+ ```
109
+
110
+ ## Why
111
+
112
+ The theme could only be picked with `PEPE_THEME`, between pepe's palette
113
+ and the terminal's, and a default could only be changed per directory in
114
+ a `pepe.toml`.
115
+
116
+ ## For the reviewer
117
+
118
+ - **Precedence:** flags, then `pepe.toml`, then the settings'
119
+ `[defaults]`, then pepe's own. The defaults are read when pepe starts,
120
+ so only the theme changes mid-session.
121
+ - **Caps:** where a `pepe.toml` and the settings both set
122
+ `max-requests`, `max-rate` or `max-concurrency`, the lower holds, so a
123
+ file in a directory can't loosen a machine-wide cap. This is a choice,
124
+ and the place to push back if the project file should simply win.
125
+ - **Every mode:** the saved defaults apply with `--json` and under `pepe
126
+ mcp` too, as a `pepe.toml` does.
127
+ - **A settings file that doesn't parse** stops pepe with exit 1 and
128
+ names the file, rather than dropping a cap it holds.
129
+ - **`PEPE_THEME`** still wins over the saved theme at startup (the page
130
+ says so when it's set); `NO_COLOR` wins over everything. A theme name
131
+ this pepe doesn't know is not an error.
132
+ - **`update-check = false`** also stops the setup screen mentioning a
133
+ cached newer release.
134
+ - Where the page covers the mascot, the page shows: the kept pixel-art
135
+ area is cut around it.
136
+ - A saved test (`--load`, `pepe rerun`) sits over the defaults like a
137
+ `pepe.toml`; its mode is read from the test alone, so a `[ramp]` in the
138
+ settings doesn't make every test a ramp.
139
+ - While the page is up, the mouse is no screen's.
140
+ - No `--theme` flag and no `pepe settings` subcommand.
141
+
142
+ ## Checked
143
+
144
+ - After merging master: `cargo test` (357 pass), `cargo clippy
145
+ --all-targets -- -D warnings`, `cargo fmt --check`.
146
+ - `UPDATE_CONTRIB=1 cargo test contrib` for the man page's environment
147
+ section.
148
+ - `python3 site/build-docs.py` **not run**: `site/` had unrelated
149
+ uncommitted changes locally, so the built pages are not in this PR.
150
+ - By hand, in tmux with `PEPE_CONFIG_DIR` pointed at a scratch
151
+ directory: opened the page from the setup screen and from a finished
152
+ dashboard (40 requests at a local `python3 -m http.server`), stepped the
153
+ themes and read the escape codes for the new palette, typed and cleared
154
+ defaults, read the file back, and confirmed with `--dry-run` that a
155
+ saved `concurrency` reaches a run and that `-c` wins over it.
156
+ - The palettes are held to contrast floors by a test; the shades
157
+ themselves were not judged by eye in a terminal.
158
+
159
+
9
160
  ## [0.41.0](https://github.com/omarmhaimdat/pepe/compare/v0.40.0...v0.41.0) - 2026-10-13
10
161
 
11
162
  ### 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
- light or dark, for the terminal\*(Aqs background; otherwise COLORFGBG decides
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
@@ -19,7 +19,7 @@
19
19
  "hasInstallScript": true,
20
20
  "license": "MIT",
21
21
  "name": "pepe-http",
22
- "version": "0.41.0"
22
+ "version": "0.42.1"
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.41.0"
51
+ "version": "0.42.1"
52
52
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "artifactDownloadUrls": [
3
- "https://github.com/omarmhaimdat/pepe/releases/download/v0.41.0"
3
+ "https://github.com/omarmhaimdat/pepe/releases/download/v0.42.1"
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.41.0",
122
+ "version": "0.42.1",
123
123
  "volta": {
124
124
  "node": "18.14.1",
125
125
  "npm": "9.5.0"