From 4c0f64f2d3c0bf520e1518a75a1de8d880cbcd5c Mon Sep 17 00:00:00 2001 From: Rob Brackett Date: Mon, 18 Apr 2022 20:00:50 -0700 Subject: [PATCH 1/4] Prepare v0.1.3 for release Updated release notes and copyright info. --- README.md | 2 +- docs/source/conf.py | 2 +- docs/source/release-history.rst | 12 +++++++----- 3 files changed, 9 insertions(+), 7 deletions(-) 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..4b529b7 100644 --- a/docs/source/release-history.rst +++ b/docs/source/release-history.rst @@ -2,16 +2,18 @@ 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 when diffing HTML. (:issue:`75`) +- 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:`75`) -- Ignore `application/x-download` Content-Type when diffing HTML. +- 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`) 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`) From 10d694c14d4f0c7c8f7982aef69f53a3f3cf6ea5 Mon Sep 17 00:00:00 2001 From: Rob Brackett Date: Mon, 18 Apr 2022 20:06:01 -0700 Subject: [PATCH 2/4] Fix RST syntax --- docs/source/release-history.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/source/release-history.rst b/docs/source/release-history.rst index 4b529b7..1114b45 100644 --- a/docs/source/release-history.rst +++ b/docs/source/release-history.rst @@ -7,9 +7,9 @@ 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:`75`) +- 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:`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 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`) Version 0.1.2 (2021-04-01) From c33d6852105fbfc683a6a8b3c8b643d3006b440e Mon Sep 17 00:00:00 2001 From: Rob Brackett Date: Mon, 18 Apr 2022 23:00:05 -0700 Subject: [PATCH 3/4] Fix PR number and note PyPI changes --- docs/source/release-history.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/source/release-history.rst b/docs/source/release-history.rst index 1114b45..6010fb6 100644 --- a/docs/source/release-history.rst +++ b/docs/source/release-history.rst @@ -7,10 +7,12 @@ 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:`75`) +- 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 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`) +This release also adds some nice sidebar links for documentation, the changelog, issues, and source code to PyPI. + Version 0.1.2 (2021-04-01) -------------------------- From 6392f63794a76c39305481cf254a2715c1519406 Mon Sep 17 00:00:00 2001 From: Rob Brackett Date: Mon, 18 Apr 2022 23:00:45 -0700 Subject: [PATCH 4/4] D'oh, fix another PR link --- docs/source/release-history.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/release-history.rst b/docs/source/release-history.rst index 6010fb6..05462d4 100644 --- a/docs/source/release-history.rst +++ b/docs/source/release-history.rst @@ -11,7 +11,7 @@ This releases fixes some minor issues around content-type checking for HTML-rela - 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`) -This release also adds some nice sidebar links for documentation, the changelog, issues, and source code to PyPI. +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)