Skip to content

Prepare v0.1.3 for release #106

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Apr 19, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ Thanks to the following people for all their contributions! This project depends

## License & Copyright

Copyright (C) 2017-2020 Environmental Data and Governance Initiative (EDGI)
Copyright (C) 2017-2022 Environmental Data and Governance Initiative (EDGI)

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 3.0.

Expand Down
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
# -- Project information -----------------------------------------------------

project = 'web-monitoring-diff'
copyright = '2017-2020, Environmental Data & Governance Initiative'
copyright = '2017-2022, Environmental Data & Governance Initiative'
author = 'Environmental Data & Governance Initiative'

# The version info for the project you're documenting, acts as replacement for
Expand Down
14 changes: 9 additions & 5 deletions docs/source/release-history.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,20 @@
Release History
===============

In Development
--------------
Version 0.1.3 (2022-04-18)
--------------------------

This releases fixes some minor issues around content-type checking for HTML-related diffs (``html_diff_render`` and ``links_diff``). Both lean towards making content-type checking more lenient; our goal is to stop wasted diffing effort early *when we know it's not HTML,* not to only diff things are definitely HTML:

- Ignore invalid ``Content-Type`` headers. These happen fairly frequently in the wild — especially on HTML pages — and we now ignore them instead of treating them as implying the content is not HTML. (:issue:`76`)

- Ignore invalid `Content-Type` headers when diffing HTML. (:issue:`75`)
- Ignore the ``application/x-download`` content type. This content-type isn't really about the content, but is frequently used to make a browser download a file rather than display it inline. It no longer affects parsing or diffing. (:issue:`105`)

- Ignore `application/x-download` Content-Type when diffing HTML.
This release also adds some nice sidebar links for documentation, the changelog, issues, and source code to PyPI. (:issue:`107`)


Version 0.1.2 (2021-04-01)
-----------------------------
--------------------------

- The server uses a pool of child processes to run diffs. If the pool breaks while running a diff, it will be re-created once, and, if it fails again, the server will now crash with an exit code of ``10``. (An external process manager like Supervisor, Kubernetes, etc. can then decide how to handle the situation.) Previously, the diff would fail at this point, but server would try to re-create the process pool again the next time a diff was requested. You can opt-in to the old behavior by setting the ``RESTART_BROKEN_DIFFER`` environment variable to ``true``. (:issue:`49`)

Expand Down