reader v2.5 Release Notes
-
๐ Released 2021-10-28
- In :meth:
~Reader.add_feed
and :meth:~Reader.change_feed_url
, validate if the current Reader configuration can handle the new feed URL; if not, raise :exc:InvalidFeedURLError
(a :exc:ValueError
subclass). (:issue:155
)
.. warning::
**This is a minor compatibility break**; previously, :exc:`ValueError` would never be raised for :class:`str` arguments. To get the previous behavior (no validation), use ``allow_invalid_url=True``.
- ๐ Allow users to add entries to an existing feed
through the new :meth:
~Reader.add_entry
method. Allow deleting user-added entries through :meth:~Reader.delete_entry
. (:issue:239
) โ Add the :attr:
~Entry.added
and :attr:~Entry.added_by
Entry attributes. (:issue:239
)โก๏ธ :attr:
Entry.updated
is now :const:None
if missing in the feed (:attr:~Entry.updated
became optional inversion 2.0
_). Use :attr:~Entry.updated_not_none
for the pre-2.5 behavior. Do not swap :attr:Entry.published
with :attr:Entry.updated
for RSS feeds where :attr:~Entry.updated
is missing. (:issue:183
)๐ Support PyPy 3.8.
๐ Fix bug causing :attr:
~Entry.read_modified
and :attr:~Entry.important_modified
to be reset to :const:None
when an entry is updated.๐ Fix bug where deleting an entry and then adding it again (with the same id) would fail if search was enabled and :meth:
~Reader.update_search
was not run before adding the new entry.
- In :meth: