Reader

Latest version: v3.12

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

Scan your dependencies

Page 10 of 13

0.22

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

Released 2020-04-14

* Add the :attr:`Entry.feed_url` attribute. (:issue:`159`)
* Rename the :class:`EntrySearchResult` ``feed`` attribute to
:attr:`~EntrySearchResult.feed_url`.
Using ``feed`` will raise a deprecation warning in version 0.22,
and will be removed in the following version. (:issue:`159`)
* Use ``executemany()`` instead of ``execute()`` in the SQLite storage.
Makes updating feeds (excluding network calls) 5-10% faster. (:issue:`144`)
* In the web app, redirect to the feed's page after adding a feed. (:issue:`119`)
* In the web app, show highlighted search result snippets. (:issue:`122`)

0.21

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

Released 2020-04-04

* Minor consistency improvements to the web app search button. (:issue:`122`)
* Add support for web application plugins. (:issue:`80`)
* The enclosure tag proxy is now a plugin, and is disabled by default.
See its documentation for details. (:issue:`52`)
* In the web app, the "add feed" button shows a preview before adding the feed.
(:issue:`145`)
* In the web app, if the feed to be previewed is not actually a feed,
show a list of feeds linked from that URL. This is a plugin,
and is disabled by default. (:issue:`150`)
* reader now uses a User-Agent header like ``python-reader/0.21``
when retrieving feeds instead of the default `requests`_ one. (:issue:`154`)

0.20

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

Released 2020-03-31

* Fix bug in :meth:`~Reader.enable_search()` that caused it to fail
if search was already enabled and the reader had any entries.
* Add an ``entry`` argument to :meth:`~Reader.get_entries`,
for symmetry with :meth:`~Reader.search_entries`.
* Add a ``feed`` argument to :meth:`~Reader.get_feeds`.
* Add a ``key`` argument to :meth:`~Reader.get_feed_metadata`.
* Require at least `requests`_ 2.18 (before, the version was unspecified).
* Allow updating feeds concurrently; add a ``workers`` argument to
:meth:`~Reader.update_feeds`. (:issue:`152`)

.. _requests: https://requests.readthedocs.io

0.19

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

Released 2020-03-25

* Support PyPy 3.6.
* Allow :ref:`searching for entries <fts>`. (:issue:`122`)
* Stricter type checking for the core modules.
* Various changes to the storage internal API.

0.18

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

Released 2020-01-26

* Support Python 3.8.
* Increase the :meth:`~Reader.get_entries` recent threshold from 3 to 7 days.
(:issue:`141`)
* Enforce type checking for the core modules. (:issue:`132`)
* Use dataclasses for the data objects instead of attrs. (:issue:`137`)

0.17

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

Released 2019-10-12

* Remove the ``which`` argument of :meth:`~Reader.get_entries`. (:issue:`136`)
* :class:`Reader` objects should now be created using :func:`make_reader`.
Instantiating Reader directly will raise a deprecation warning.
* The resources associated with a reader can now be released explicitly
by calling its :meth:`~Reader.close()` method. (:issue:`139`)
* Make the database schema more strict regarding nulls. (:issue:`138`)
* Tests are now run in a random order. (:issue:`142`)

Page 10 of 13

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.