Hrefs

Latest version: v0.14

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

Scan your dependencies

Page 3 of 4

0.5

-----------

Date
2022-03-22

Added
* Implement ``Href.__hash__()``
* ``hypothesis`` build strategy for hyperlinks
* ``hrefs.starlette.href_context()`` for setting things other than Starlette
requests as hyperlink context

0.4

-----------

Date
2022-01-17

Added
* Support Python 3.10

Changed
* Use URL type in ``Href`` schema if using ``pydantic`` version 1.9 or later

Fixed
* Require ``pydantic`` version 1.8 or later, since 1.7 doesn't work with the
library

0.3.1

-------------

Date
2021-12-29

Added
* Updated documentation about inheritance

Fixed
* Minor documentation fixes
* Add package metadata back to PKG-INFO

0.3

-----------

Date
2021-12-27

Added
* ``tox`` for test automation
* Support for hyperlinks as model keys

Changed
* Replace ``get_key_type()`` and ``get_key_url()`` with ``parse_as_key()`` and
``parse_as_url()``, respectively

0.2

-----------

Date
2021-12-17

Added
* Implement ``Href.__modify_schema__()``
* Make it possible to configure model key by using ``hrefs.PrimaryKey``
annotation.

Changed
* Split ``Referrable.href_types()`` into ``get_key_type()`` and ``get_url_type()``,
respectively

0.1.2

-------------

Date
2021-11-20

Added
* More project metadata

Page 3 of 4

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.