diff --git a/README.md b/README.md index 64aae91..f8bb1bf 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/docs/source/conf.py b/docs/source/conf.py index 59a389b..bab4d8b 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -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 diff --git a/docs/source/release-history.rst b/docs/source/release-history.rst index b8f8128..05462d4 100644 --- a/docs/source/release-history.rst +++ b/docs/source/release-history.rst @@ -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`)