Async-retriever

Latest version: v0.19.1

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

Scan your dependencies

Page 2 of 5

0.15.2

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

Bug Fixes
~~~~~~~~~
- Fix an issue with getting all valid keywords that ``aiohttp`` accepts
by using ``aiohttp.ClientSession()._request`` directly.

0.15.0

-------------------
From release 0.15 onward, all minor versions of HyRiver packages
will be pinned. This ensures that previous minor versions of HyRiver
packages cannot be installed with later minor releases. For example,
if you have ``py3dep==0.14.x`` installed, you cannot install
``pydaymet==0.15.x``. This is to ensure that the API is
consistent across all minor versions.

Bug Fixes
~~~~~~~~~
- When ``raise_status`` is ``False``, responses for failed requests used to
return as ``None`` but their requests ID was not returned, so sorting
would have failed. Now request IDs are returned for all requests regardless
of whether they were successful or not.
- Give precedence to non-default arguments for caching related arguments
instead of directly getting them from env variables. This is to avoid
the case where the user sets the env variables but then passes different
arguments to the function. In this case, the function should use the
passed arguments instead of the env variables.

0.14.0

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

New Features
~~~~~~~~~~~~
- Add a new option to all functions called ``raise_status``. If ``False``
no exception will be raised and instead ``None`` is returned for those
requests that led to exceptions. This will allow for returning all responses
that were successful and ignoring the ones that failed. This option defaults
to ``True`` for retaining backward compatibility.
- Set the cache expiration time to one week from never expire. To ensure all
users have a smooth transition, cache files that were created before the
release of this version will be deleted, and a new cache will be created.

Internal Changes
~~~~~~~~~~~~~~~~
- Sync all minor versions of HyRiver packages to 0.14.0.

0.3.12

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

Internal Changes
~~~~~~~~~~~~~~~~
- Rewrite the private ``async_session`` function as two separate functions
called ``async_session_without_cache`` and ``async_session_with_cache``.
This makes the code more readable and easier to maintain.
- Fully migrate ``setup.cfg`` and ``setup.py`` to ``pyproject.toml``.
- Convert relative imports to absolute with ``absolufy-imports``.
- Make ``utils`` module private.
- Sync all patch versions of HyRiver packages to x.x.12.

0.3.10

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

New Features
~~~~~~~~~~~~
- Refactor the ``show_versions`` function to improve performance and
print the output in a nicer table-like format.

Bug Fixes
~~~~~~~~~
- Fix a bug in reading the ``HYRIVER_CACHE_EXPIRE`` environmental variable.
- Bump the minimum version of ``aiohttp-client-cache`` to 0.8.1 to fix a bug
in reading cache files that were created with previous versions.
(:issue_async:`41`)

Internal Changes
~~~~~~~~~~~~~~~~
- Enable ``fast_save`` in ``aiohttp-client-cache`` to speed up saving responses
to the cache file.
- Use ``pyright`` for type checking instead of ``mypy`` and fix all type errors.
- Skip 0.13.8/9 versions so the minor version of all HyRiver packages become
the same.

0.3.7

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

New Features
~~~~~~~~~~~~
- Add support for specifying the chunk size in ``stream_write``. Defaults to
``None`` which was the default behavior before, and means iterating over and
writing the responses as they are received from the server.

Internal Changes
~~~~~~~~~~~~~~~~
- Use ``pyupgrade`` package to update the type hinting annotations
to Python 3.10 style.
- Modify the codebase based on `Refurb <https://github.com/dosisod/refurb>`__
suggestions.

Page 2 of 5

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.