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 in version 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.