------
Breaking Changes
~~~~~~~~~~~~~~~~
* Class ``Notification`` is removed. Instead, the class ``Video`` is passed to the listeners. ``Video`` contains a field ``channel``. Their definitions are moved from ``ytnoti.models.notification.py`` to ``ytnoti.models.video.py``
* Parameter ``cache_size`` for ``YouTubeNotifier`` is removed. Instead, it takes ``video_history`` argument and the constructor of``InMemoryVideoHistory`` takes ``cache_size``
* Parameter ``endpoint`` is removed from ``YouTubeNotifier.run()``. From now on, the endpoint is extracted from the given ``callback_url``
* ``subscribe()`` now raises ``HTTPError`` defined in this package rather than the one defined in package ``httpx``
Improvements
~~~~~~~~~~~~
* Class ``AsyncYouTubeNotifier`` is added. It's the async version of ``YouTubeNotifier`` that can be run in the existing event loop.
* Abstract class ``VideoHistory`` can be passed to the constructor of ``YouTubeNotifier``. ``InMemoryVideoHistory`` and ``FileVideoHistory`` extends the abstract class. You can also implement your own class that extends ``VideoHistory`` and pass it to the ``YouTubeNotifier``
**Full Changelog**: https://github.com/SeoulSKY/ytnoti/compare/v0.1.2...v1.0.0