Commit 69baf3e
authored
chore(release): prepare v0.4.0 (#136)
## Release v0.4.0
Breaking minor release: pluggable HTTP transport abstraction (#135).
### Why 0.4.0 (not 0.3.1)
`FetchOptions` gained a public `transport` field and it is an exhaustive
pub struct — formally breaking for exhaustive struct-literal
construction. Cargo auto-upgrades within `^0.3`, so the breaking change
must move out of the 0.3.x range.
### Changelog excerpt
**Highlights**
- Pluggable HTTP transport: hosts route fetchkit HTTP through their own
egress boundary (`FetchOptions::transport` / `ToolBuilder::transport`);
fetchkit keeps URL validation, DNS pinning, redirect following, signing,
body caps. Default unchanged (`ReqwestTransport`).
- Hardening: YouTube/HackerNews API hosts DNS-pinned;
Wikipedia/registry/arXiv/HackerNews redirects per-hop validated;
specialized-fetcher JSON reads capped at `max_body_size`.
- Local file saver symlink handling hardened.
**Breaking Changes**
- `FetchOptions` new public `transport` field — add it or use
`..Default::default()`.
- `FetchOptions`/`Tool`/`ToolBuilder` Debug impls are now manual.
### Verification
- `cargo fmt --all -- --check` ✓
- `cargo clippy --workspace --all-targets -- -D warnings` ✓
- `cargo test --workspace` ✓ (all suites)
- `RUSTDOCFLAGS="-D warnings" cargo doc --workspace --no-deps` ✓
- `cargo build --workspace --exclude fetchkit-python --release` ✓
After merge, release.yml creates the GitHub Release `v0.4.0` and
dispatches publish.yml (fetchkit → fetchkit-cli, in order).1 parent 3717d95 commit 69baf3e
4 files changed
Lines changed: 25 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
13 | 29 | | |
14 | 30 | | |
15 | 31 | | |
| |||
198 | 214 | | |
199 | 215 | | |
200 | 216 | | |
201 | | - | |
| 217 | + | |
| 218 | + | |
202 | 219 | | |
203 | 220 | | |
204 | 221 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
0 commit comments