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
, orreports
, do not includeby: :week
option since7DayTotals
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 withday
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 toYt::Resource::CHANNEL_PATTERNS
,Yt::Resource::VIDEO_PATTERNS
, andYt::Resource::PLAYLIST_PATTERNS
. - ๐ [REMOVAL] Remove