Yt v0.19.0 Release Notes
Release Date: 2015-04-28 // about 9 years ago-
⬆️ How to upgrade
If your code never calls
partnered_channels.includes(:viewer_percentages)
on a Yt::ContentOwner, then you are good to go.If it does, then be aware that viewer percentage is not eager-loaded anymore, so the call above is equivalent to
partenered_channels
. The reason is that viewer percentage requires a time-range, and using a default range of the last 3 months can generate more confusion than added value.🗄 Also if your code still uses the deprecated:
.viewer_percentages
method, replace with.viewer_percentage
.- ⚡️
policy.time_updated
method, replace withpolicy.updated_at
. video.uploaded?
method, replace withvideo.uploading?
.[REMOVAL] Remove
.includes(:viewer_percentages)
oncontent_owner.partnered_channels
.[REMOVAL] Remove deprecated
viewer_percentages
(useviewer_percentage
instead)⚡️ [REMOVAL] Remove deprecated
policy.time_updated
(useupdated_at
instead)🚚 [REMOVAL] Remove deprecated
video.uploaded?
(useuploading?
instead)