Zyte-common-items

Latest version: v0.26.2

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

Scan your dependencies

Page 1 of 5

0.26.2

===================

* | Fixed the package build missing all nested packages:
| ``zyte_common_items.components``
| ``zyte_common_items.items``
| ``zyte_common_items.pages``

0.26.1

===================

.. note:: This version was yanked, see :ref:`0.26.2`.

* Migrated from ``setup.py`` to ``pyproject.toml``.

* Fixed :meth:`Serp.from_dict <.Serp.from_dict>` returning an instance where
:attr:`~.Serp.organicResults` list items were :class:`dict` instead of
instances of :class:`~.SerpOrganicResult`.

0.26.0

===================

* Added :class:`~.ForumThread` and related classes.

0.25.0

===================

* Removed Python 3.8 support, added Python 3.13 support.

* **Backward-incompatible change:**
:class:`~zyte_common_items.SearchRequestTemplatePage` now subclasses
:class:`~zyte_common_items.Page`, adding a dependency on
:class:`~web_poet.page_inputs.http.HttpResponse`. A new
:class:`~zyte_common_items.BaseSearchRequestTemplatePage` that subclasses
:class:`~zyte_common_items.BasePage` has been added as well.

.. tip:: Where a dependency on
:class:`~web_poet.page_inputs.http.HttpResponse` is not needed,
:class:`~zyte_common_items.BaseSearchRequestTemplatePage` is a better
replacement for the :class:`~zyte_common_items.SearchRequestTemplatePage`
class from zyte-common-items 0.24.0 and lower, as it only depends on
:class:`~web_poet.page_inputs.http.RequestUrl`.

* The ``keyword`` parameter of :meth:`SearchRequestTemplate.request()
<zyte_common_items.SearchRequestTemplate.request>` has been deprecated in
favor of ``query``. As a result, Jinja templates in
:class:`~zyte_common_items.SearchRequestTemplate` field values should now use
the ``query`` variable (e.g. ``{{ query|quote_plus }}``) instead of the
``keyword`` variable.

* Unexpected variables in Jinja templates of
:class:`~zyte_common_items.SearchRequestTemplate` field values (e.g.
``{{ foo }}``), which used to be silently removed, will now trigger an
:exc:`~jinja2.exceptions.UndefinedError` exception when calling
:meth:`SearchRequestTemplate.request()
<zyte_common_items.SearchRequestTemplate.request>`.

* Fixed coverage data generation during tests.

0.24.0

===================

* Added :class:`~.JobPostingNavigation` and related classes.

0.23.0

===================

* Added :class:`~.CustomAttributes` and related classes.

Page 1 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.