Skip to content

Commit 90a92f9

Browse files
committed
tool, CHANGELOG.md: bump version
1 parent 55753d6 commit 90a92f9

File tree

3 files changed

+81
-2
lines changed

3 files changed

+81
-2
lines changed

CHANGELOG.md

Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,84 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
66

77
Also, at the bottom of this file there is a [TODO list](#todo) with planned future changes.
88

9+
## [tool-v0.21.0] - 2024-12-29: Bugfixes, incremental improvements
10+
11+
### Fixed
12+
13+
- `serve`:
14+
15+
- When remapping URLs, hash/fragment parts will be preserved now.
16+
17+
- When replaying, `HTTP` status codes will be preserved now.
18+
19+
- From now on, by default, `serve` will replay archived `HTTP` headers over `HTTP`, instead of inlining them into rendered `HTML` documents (see below).
20+
21+
- When both archiving and replaying, newly dumped reqres that fail given input filters will no longer be indexed and made available for replay.
22+
23+
- `mirror`, `serve`:
24+
25+
- Reqres containing redirects (e.g. `302 Found`) are handled properly now.
26+
27+
- From now on, implicit favicons will be mirrored and replayed properly (see below).
28+
29+
- `*`:
30+
31+
- Fixed `--*grep*` filtering of headers with multiple values.
32+
33+
### Added
34+
35+
- `scrub`, `mirror`, `serve`:
36+
37+
- Added `inline_headers` option, making inlining of headers as `meta http-equiv` tags optional.
38+
39+
- Implemented `inline_fallback_icon` option.
40+
41+
When enabled, this option adds a fallback `<link rel=icon href="/favicon.ico">` to the result when the input declares no icons and that URL remaps to something useful.
42+
43+
This option is then enabled by default, thus fixing replay of implicit favicons.
44+
45+
- `serve`:
46+
47+
- Implemented `--web` and `--mirror` options which control how headers should be replayed.
48+
49+
With `--web` enabled, `serve` will evoke `scrub` with `-inline_headers` and will replay those headers over `HTTP` instead.
50+
51+
With `--mirror` it will continue to use `scrub` with `+inline_headers`, like `mirror` does.
52+
53+
From now on, `--web` is the default.
54+
55+
- Implemented `--oldest` and `--nearest` options, similar to those of `mirror`.
56+
57+
- Added more namespaces other than `/web/` and made `serve` use them for different kinds of targets when remapping.
58+
59+
So that, e.g., links pointing to unavailable URLs get remapped to `/unavailable/<date>/<url>` and links pointing to redirects get remapped to `/redirect/<date>/<url>`.
60+
61+
This makes links much more informative when hovering other them or when looking at the log output of `serve`.
62+
63+
For replay, however, all those namespaces are equivalent and can be used interchangeably.
64+
65+
### Changed
66+
67+
- `serve`, `mirror`:
68+
69+
- Renamed `--ignore-bad-inputs` -\> `--ignore-some-inputs`.
70+
71+
- Changed default input filters to allow reqres containing redirects.
72+
73+
- `mirror`:
74+
75+
- Added a default value for the root filters, which is `--root-status-re ".[23]00C"` to prevent redirects being added as roots.
76+
77+
- Added `--queue-all-indexed` option to make the previous item optional.
78+
79+
- Changed (simplified) semantics of the `--boring` option.
80+
81+
From now on, making a path `--boring` simply disables queuing of its reqres as roots.
82+
83+
This allows for more interesting uses.
84+
85+
- Improved documentation.
86+
987
## [extension-v1.19.0] - 2024-12-21: Reworked popup UI, better replay integration
1088

1189
### Changed (1)
@@ -2025,6 +2103,7 @@ All planned features are complete now.
20252103
20262104
- Initial public release.
20272105
2106+
[tool-v0.21.0]: https://github.com/Own-Data-Privateer/hoardy-web/compare/tool-v0.20.0...tool-v0.21.0
20282107
[extension-v1.19.0]: https://github.com/Own-Data-Privateer/hoardy-web/compare/extension-v1.18.0...extension-v1.19.0
20292108
[extension-v1.18.0]: https://github.com/Own-Data-Privateer/hoardy-web/compare/extension-v1.17.2...extension-v1.18.0
20302109
[tool-v0.20.0]: https://github.com/Own-Data-Privateer/hoardy-web/compare/tool-v0.19.0...tool-v0.20.0

tool/default.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ with pkgs.python3Packages;
1313

1414
buildPythonApplication (rec {
1515
pname = "hoardy-web";
16-
version = "0.20.0";
16+
version = "0.21.0";
1717
format = "pyproject";
1818

1919
inherit (source) src unpackPhase;

tool/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta"
55
packages = ["hoardy_web"]
66
[project]
77
name = "hoardy-web"
8-
version = "0.20.0"
8+
version = "0.21.0"
99
authors = [{ name = "Jan Malakhovski", email = "oxij@oxij.org" }]
1010
description = "Inspect, search, organize, programmatically extract values and generate static website mirrors from, archive, view, and replay `HTTP` archives/dumps in `WRR` (\"Web Request+Response\", produced by the `Hoardy-Web` Web Extension browser add-on) and `mitmproxy` (`mitmdump`) file formats."
1111
readme = "README.md"

0 commit comments

Comments
 (0)