Skip to content

v2.1.0

Compare
Choose a tag to compare
@SeoulSKY SeoulSKY released this 02 Sep 11:31
· 18 commits to main since this release

Changes

  • From now on, YouTubeNotifier extends AsyncYouTubeNotifier and AsyncYouTubeNotifier extends object. BaseYouTubeNotifier was removed.
  • Added (Async)YouTubeNotifier.run_in_background(). It works like the run() method but immediately returns when the notifier starts running.
  • Added (Async) YouTubeNotifier.unsubscribe(). It unsubscribes the subscribed channel IDs
  • From now on, (Async)YouTubeNotifier.subscribe() immediately raises ValueError when the given channel IDs are invalid. It didn't raise an error in the past until the notifier started running.
  • Improved the speed of verifying channel IDs

Deprecations

The following methods are deprecated and will be removed in version 3.0.0

  • AsyncYouTubeNotifier.serve() -> use AsyncYouTubeNotifier.run()
  • (Async)YouTubeNotifier.add_listener() -> use either add_any_listener(), add_upload_listener(), or add_edit_listener()

The following decorators are deprecated and will be removed in version 3.0.0

  • (Async)YouTubeNotifier.listener() -> use either any, upload or edit

Full Changelog: v2.0.1...v2.1.0