All notable changes to this project will be documented in this file.
For more information about changelogs, check Keep a Changelog and Vandamme.
How to upgrade
If your code calls VideoAudit::InvideoProgramming
, you should remove it.
- [REMOVAL] Remove
VideoAudit::InvideoProgramming
because YouTube removed "Featured" annotations as of 12-14-2017. https://developers.google.com/youtube/v3/revision_history?id=november-27-2017
- [BUGFIX] Change
VideoAudit::InvideoProgramming
to count videos with a 'featured content' annotation, not 'branding' annotation.
- [ENHANCEMENT] Change order of audits.
- [FEATURE] Add
VideoAudit::InvideoProgramming
to count videos with a branding annotation.
- [FEATURE] Add
VideoAudit::EndScreen
to count videos with end screens. - [FEATURE] Add
VideoAudit::TagsLength
to count videos with more than 400 characters in tags. - [FEATURE] Add
VideoAudit::SubscribeEndScreen
to count videos with a subscribe link in end screens. - [FEATURE] Add
VideoAudit::VideoEndScreen
to count videos with a video link in end screens. - [FEATURE] Add
VideoAudit::PlaylistEndScreen
to count videos with a playlist link in end screens. - [FEATURE] Add
VideoAudit::WebsiteEndScreen
to count videos with a website link in end screens.
- [ENHANCEMENT] Reduce API calls to YouTube using
.count
, not.size
How to upgrade
If your code depends on the yt
gem, ensure you switch to the yt-core
gem.
- [ENHANCEMENT] Change dependency from 'yt' to the smaller 'yt-core'
How to upgrade
If your code depends on the yt
gem, ensure you use version 0.29.0 or higher.
- [ENHANCEMENT] Use new
yt-url
gem, extracted fromyt
- [ENHANCEMENT] Don't limit Yt dependency to 0.25.x
- [BUGFIX] Fix condition of Youtube Association for invalid channel urls on the description.
How to upgrade
When your code defines an Yt::Audit
object, it should be initialized with a Yt::Channel
object as channel:
argument. It used to accept channel_id
string directly but now your code should define a channel with it first.
- [ENHANCEMENT] Optionally send in
Yt::Collections::Videos
orYt::Collections::Playlists
object as arguments of anYt::Audit
, accompanied withYt::Models::Channel
object of yt. - [ENHANCEMENT] Send in brand name as an optional argument.
- [BUGFIX] Fix videos input with longer description, for Youtube Association.
- [BUGFIX] Fix condition of Info Card
- [FEATURE] Add
PlaylistAudit::Descripton
forrun
to also count playlists with a description.
How to upgrade
If your code calls any of has_end_cards?
, has_link_to_own_channel?
, has_subscribe_annotations?
, has_brand_anchoring?
, or has_info_cards?
method with a video id, they are removed. Instead, call run
method from a Yt::Audit
instance to get information of a channel.
- [FEATURE] Add
run
method to audit a channel and count how many videos have each audit subject out of its recent 10 videos. - [REMOVAL] Remove
has_end_cards?
- [REMOVAL] Remove
has_link_to_own_channel?
- [REMOVAL] Remove
has_subscribe_annotations?
- [REMOVAL] Remove
has_brand_anchoring?
- [REMOVAL] Remove
has_info_cards?
- [BUGFIX] Fix
has_end_cards?
for cases when Floatends_at
is greater than Fixnumduration
- [FEATURE] Add
has_end_cards?
- [FEATURE] Add
has_link_to_own_channel?
- [FEATURE] Add
has_subscribe_annotations?
- [ENHANCEMENT] Brand name case-insensitive in
has_brand_anchoring?
- [FEATURE] Add
has_info_cards?
- [FEATURE] Add
has_brand_anchoring?