Webchanges

Latest version: v3.26.0

Safety actively analyzes 688931 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 9

3.19

===================
2024-02-28

Fixed
-----
* Under certain circumstances, certain default jobs directives declared in the configuration file would not be applied
to jobs.
* Fixed automatic fallback to ``requests`` when the **required** HTTP client package ``httpx`` is missing.

Added
-----
* ``block_elements`` directive for jobs with ``use_browser: true`` is supported again and can be used to improve
speed by preventing binary and media content loading, while providing all elements required dynamic web page load
(see the advanced section of the documentation for a suggestion of elements to block). This was available under
Pypetteer and has been reintroduced for Playwright.
* ``init_script`` directive for jobs with ``use_browser: true`` to execute a JavaScript in Chrome after launching it
and before navigating to ``url``. This can be useful to e.g. unset certain default Chrome ``navigator`` properties
by calling a JavaScript function to do so.

3.18.1

===================
2024-02-20

Fixed
-----
* Fixed regression whereby configuration key ``empty-diff`` was inadvertently renamed ``empty_diff``.

3.18

===================
2024-02-19

Fixed
-----
* Fixed incorrect handling of HTTP client libraries when ``httpx`` is not installed (should graciously fallback to
``requests``). Reported by `drws <https://github.com/drws>`__ as an add-on to `issuse #66
<https://github.com/mborsetti/webchanges/issues/66>`__.

Added
-----
* Job directive ``enabled`` to allow disabling of a job without removing or commenting it in the jobs file (contributed
by `James Hewitt <https://github.com/Jamstah>`__ `upstream <https://github.com/thp/urlwatch/pull/785>`__).
* ``webhook`` reporter has a new ``rich_text`` config option for preformatted rich text for Slack (contributed
by `K̶e̶v̶i̶n̶ <https://github.com/vimagick>`__ `upstream <https://github.com/thp/urlwatch/pull/780>`__).

Changed
-------
* Command line argument ``--errors`` now uses conditional requests to improve speed. Do not use to test newly modified
jobs since websites reporting no changes from the last snapshot stored by **webchanges** are skipped; use
``--test`` instead.
* If the ``simplejson`` library is installed, it will be used instead of the built-in ``json`` module (see
https://stackoverflow.com/questions/712791).

3.17.2

===================
2023-12-11

Fixed
-----
* Exception in error handling when ``requests`` is not installed (reported by
`yubiuser <https://github.com/yubiuser>`__ in `#66 <https://github.com/mborsetti/webchanges/issues/66>`__).

3.17.1

===================
2023-12-10

Fixed
-----
* Removed dependency on ``requests`` library inadvertently left behind (reported by
`yubiuser <https://github.com/yubiuser>`__ in `#65 <https://github.com/mborsetti/webchanges/issues/65>`__).

3.17

===================
2023-12-10

Added
-----
* You can now specify a reporter name after the command line argument ``--errors`` to send the output to the reporter
specified. For example, to be notified by email of any jobs that result in an error or who, after filtering,
return no data (indicating they may no longer be monitoring resources as expected), run ``webchanges --errors
email`` (requested by `yubiuser <https://github.com/yubiuser>`__ in `#63
<https://github.com/mborsetti/webchanges/issues/63>`__).
* You can now suppress the ``footer`` in an ``html`` report using the new ``footer: false`` sub-directive in
``config.yaml`` (same as the one already existing with ``text`` and ``markdown``).

Internal
--------
* Fixed a regression on the default ``User-Agent`` header for ``url`` jobs with the ``use_browser: true`` directive.

Page 3 of 9

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.