Skip to content

Commit

Permalink
tool/*, CHANGELOG.md, default.nix: bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
oxij committed Nov 9, 2024
1 parent 8bed565 commit 96f272f
Show file tree
Hide file tree
Showing 4 changed files with 66 additions and 3 deletions.
63 changes: 63 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,68 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm

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

## [tool-v0.17.0] - 2024-11-09: Incremental improvements

### Added

- `*` except `organize` :

- All `WRR`-processing sub-commands except for `organize` can now take `WRR` bundles as inputs.

That is, you can now directly do

```bash
hoardy-web pprint ~/Downloads/Hoardy-Web-export-*.wrrb
hoardy-web export mirror --to ~/web/mirror ~/Downloads/Hoardy-Web-export-*.wrrb
# etc
```

without needing to run `hoardy-web organize` first.

Though, at the moment, `export mirror` will stop respecting `--max-memory` option for such inputs.

- `export mirror`, `scrub`:

- Implemented support for old-style `HTML` pages using `frameset` and `frame` `HTML` tags.

- Implemented support for stylesheets stored as `data:` URLs stored in `href`s of `link` tags.

Yes, this is actually allowed by the specs and the browsers.

### Changed

- `*`:

- Parsing of `MIME` types, `Content-Type`, and `Link` headers is much more forgiving towards malformed inputs now.

- `export mirror`, `scrub`:

- Links pointing to an `id` on same `HTML` page will now get emitted as `#<id>`, not `./<file>#<id>`.

- `Refresh` headers with non-`HTTP` URLs will get censored away now.

- Improved error messages in cases when an `HTTP` header failed to parse.

- Improved performance a little bit.

### Fixed

- `export mirror`, `scrub`:

- From now on, `scrub` will simply drop `HTML` tag attributes when all URLs in their values get censored away.

Previously, it produced attributes with void URLs instead.

This makes a huge difference for `src` and `srcset` attributes of `HTML` `img` tags where, before, generated pages plugged void URLs for missing sources, which sometimes confused browsers about which things should be used to display stuff, breaking things.

- `*`:

- `HTML`s with Byte Order Marks will no longer get `mimesniff`ed as `text/plain`.

- Fixed parsing of quoted `MIME` parameter values.

- Fixed various crashes when processing data generated by the extension running under Chromium.

## [extension-v1.17.2] - 2024-11-09: Documentation fixes, mostly

### Changed
Expand Down Expand Up @@ -1561,6 +1623,7 @@ All planned features are complete now.
- Initial public release.
[tool-v0.17.0]: https://github.com/Own-Data-Privateer/hoardy-web/compare/tool-v0.16.0...tool-v0.17.0
[extension-v1.17.2]: https://github.com/Own-Data-Privateer/hoardy-web/compare/extension-v1.17.1...extension-v1.17.2
[extension-v1.17.1]: https://github.com/Own-Data-Privateer/hoardy-web/compare/extension-v1.17.0...extension-v1.17.1
[extension-v1.17.0]: https://github.com/Own-Data-Privateer/hoardy-web/compare/extension-v1.16.1...extension-v1.17.0
Expand Down
2 changes: 1 addition & 1 deletion default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
let packages = import ./packages.nix { inherit pkgs debug; }; in

pkgs.buildEnv {
name = "hoardy-web-env-20240904";
name = "hoardy-web-env-20241109";
paths = with packages; [
simple_server
extension
Expand Down
2 changes: 1 addition & 1 deletion tool/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ with pkgs.python3Packages;

buildPythonApplication (rec {
pname = "hoardy-web";
version = "0.16.0";
version = "0.17.0";
format = "pyproject";

inherit (source) src unpackPhase;
Expand Down
2 changes: 1 addition & 1 deletion tool/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta"
packages = ["hoardy_web"]
[project]
name = "hoardy-web"
version = "0.16.0"
version = "0.17.0"
authors = [{ name = "Jan Malakhovski", email = "oxij@oxij.org" }]
description = "Display, search, programmatically extract values from, organize, manipulate, import, and export Web Request+Response (`WRR`) files produced by the `Hoardy-Web` Web Extension browser add-on."
readme = "README.md"
Expand Down

0 comments on commit 96f272f

Please sign in to comment.