Reader

Latest version: v3.15

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

Scan your dependencies

Page 4 of 14

2.16

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

Released 2022-07-17

* Allow using a :class:`Reader` object from multiple threads directly
(do not require it to be used as a context manager anymore).
(:issue:`206`)
* Allow :class:`Reader` objects to be reused after closing.
(:issue:`206`, :issue:`284`)
* Allow calling :meth:`~Reader.close` from any thread. (:issue:`206`)
* Allow using a :class:`Reader` object from multiple asyncio tasks.
(:issue:`206`)

2.15

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

Released 2022-07-08

* Allow using :class:`Reader` objects from threads other than the creating thread.
(:issue:`206`)
* Allow using :class:`Reader` objects as context managers.
(:issue:`206`)

2.14

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

Released 2022-06-30

* Mark *reader* as providing type information.
Previously, code importing from :mod:`reader` would fail type checking with
``error: Skipping analyzing "reader": module is installed,
but missing library stubs or py.typed marker``.
(:issue:`280`)
* Drop Python 3.7 support. (:issue:`278`)
* Support PyPy 3.9.

2.13

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

Released 2022-06-28

* Add the :ref:`twitter` experimental plugin,
which allows using a Twitter account as a feed.
(:issue:`271`)
* Skip with a warning entries that have no <guid> or <link> in an RSS feed;
only raise :exc:`ParseError` if *all* entries have a missing id.
(Note that both Atom and JSON Feed entries are required to have an id
by their respective specifications.)
Thanks to `Mirek Długosz`_ for the issue and pull request.
(:issue:`281`)
* Add :exc:`ReaderWarning`.

2.12

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

Released 2022-03-31

* Add the :mod:`~reader.plugins.readtime`
:ref:`built-in <built-in plugins>` plugin,
which stores the entry read time as a tag during feed update.
(:issue:`275`)

* Allow running arbitrary actions *once* before/after updating feeds
via :attr:`~Reader.before_feeds_update_hooks` /
:attr:`~Reader.after_feeds_update_hooks`.
* Add :meth:`Entry.get_content` and :attr:`Content.is_html`.

* In the web app, use the read time provided by the
:mod:`~reader.plugins.readtime` plugin,
instead of calculating it on each page load.
Speeds up the rendering of the entries page by 20-30%,
hopefully winning back the time lost
when the read time feature was first added in `2.6 <Version 2.6_>`_.
(:issue:`275`)
* In the web app, also show the read time for search results.

2.11

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

Released 2022-03-17

* Fix issue causing :func:`make_reader` to fail with message
``database requirement error: required SQLite compile options missing: ['ENABLE_JSON1']``
when using SQLite 3.38 or newer.
(:issue:`273`)

Page 4 of 14

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.