Yt v0.33.0 Release Notes

Release Date: 2020-04-10 // about 4 years ago
  • If your code calls reports methods such as views, likes, or reports, do not include by: :week option since 7DayTotals dimension will no longer be ๐Ÿ‘Œ supported by YouTube API as of April 15, 2020.

    ๐Ÿ‘‰ Use by: :day option instead and add up the numbers from each day.

    If you keep using by: :week option after this change it will raise an error โฌ†๏ธ (before the gem upgrade) or it will run with day dimension instead (after โฌ†๏ธ the gem upgrade, like any other random input).

    • ๐Ÿšš [REMOVAL] Remove by: :week option for reports.
    • [FEATURE] Add back the option of initializing a resource by its URL.
    • ๐Ÿ›  [BUGFIX] Limit retries on refreshing tokens

    ๐Ÿ’ฅ Breaking change

    ๐Ÿšš If your code is using constant Yt::URL::CHANNEL_PATTERNS etc then it's moved to Yt::Resource::CHANNEL_PATTERNS, Yt::Resource::VIDEO_PATTERNS, and Yt::Resource::PLAYLIST_PATTERNS.