All Versions
Latest Version
Avg Release Cycle
67 days
Latest Release
274 days ago

Changelog History
Page 16

  • v0.6 Changes

    June 05, 2014
    • [breaking change] Rename Channel#earning to Channel#earnings_on
    • [breaking change] Account#videos shows all videos owned by account (public and private)
    • Add the .status association to every type of resource (Channel, Video, Playlist)
    • ๐Ÿ‘ Allow account.videos to be chained with .where, such as in account.videos.where(q: 'query')
    • Retry request once when YouTube times out
    • ๐Ÿ– Handle annotations with "never" as the timestamp, without text, singleton positions, of private videos
    • ๐Ÿ†• New methods for Video: hd?, stereoscopic?, captioned?, licensed?
  • v0.5 Changes

    May 16, 2014
    • ๐Ÿ‘ป More complete custom exception Yt::Error, with code, body and curl
    • Replace :ignore_not_found and :ignore_duplicates with :ignore_errors
    • ๐Ÿ‘ Allow resources to be initialized with a url, such as url: ''
    • โž• Add has_one :id to resources, to retrieve the ID of resources initialized by URL
    • Raise an error if some has_one associations are not found (id, snippet, details set, user info)
    • Don't check for the right :scope if Account is initialized with credentials
    • ๐Ÿšš Move models in Yt::Models but still auto-include them in the main namespace
    • New Authentication model to separate access_token and refresh_token from Account
    • ๐Ÿ†• New types of Errors that render more verbose errors and the failing request in cURL syntax
    • ๐Ÿ”Š Separate Error class for 500 error, so they can be easily found in app logs
    • ๐Ÿ†• New Earning collection to retrieve estimated earning for YouTube-partnered channels
    • ๐Ÿ“‡ Rename error classes so they match the corresponding Net::HTTP errors (e.g. Unauthorized)
    • Separate Error class for 403 Error
    • Retry once YouTube earning queries that return error 400 "Invalid query. Query did not conform to the expectations"
    • โšก๏ธ Update RSpec to 3.0 (only required in development/testing)
    • ๐Ÿ†• New ContentOwner subclass of Account with access to partnered channels
    • Automatically refresh the access token when it expires or becomes invalid
    • Retry once YouTube earning queries that return error 503
    • Wait 3 seconds and retry every request that returns 500, 503 or 400 with "Invalid query"
    • ๐Ÿ†• New Views collection to retrieve view count for YouTube-partnered channels
  • v0.4 Changes

    May 09, 2014
    • ๐Ÿ‘ Complete rewrite, using ActiveSupport and separating models and collections
    • ๐Ÿ†• New methods to handle annotations, details sets
    • ๐Ÿ‘Œ Supports also ActiveSupport 3 and Ruby 1.9.3 (not just AS4 + Ruby 2)
    • ๐Ÿ›  Fix parsing annotation and timestamps longer than 1 hour
    • ๐Ÿ›  Fix delegating tags from resources to snippets
    • Two options to add videos to a playlist: fail or not if a video is missing or its account terminated
    • ๐Ÿ‘ Allow to configure Yt credentials through environment variables
    • โšก๏ธ When updating a playlist, only changes the specified attributes
  • v0.3.0 Changes

    April 16, 2014
    • ๐Ÿ†• New and improved methods to handle subscriptions, playlists, playlist items
    • find_or_create_playlist_by does not yield a block anymore
    • account.subscribe_to! raises error in case of duplicate subscription, but account.subscribe_to does not
  • v0.2.1 Changes

    April 10, 2014
    • ๐Ÿšฉ account.subscribe_to! does not raise error in case of duplicate subscription
    • Accountable objects can be initialized with the OAuth access token if there's no need to get a fresh one with a refresh token
  • v0.2.0 Changes

    April 09, 2014
    • Replaced account.perform! with!, account.subscribe_to!
    • โž• Added account.add_to! to add a video to an accountโ€™s playlist
    • Added account.find_or_create_playlist_by to find or create an accountโ€™s playlist
  • v0.1.1 Changes

    April 09, 2014
    • โž• Added support for Ruby 2.0.0
  • v0.1.0 Changes

    April 08, 2014
    • ๐Ÿ‘Œ Support for authenticated resources: Youtube accounts and Google accounts
    • ๐Ÿ‘Œ Support for public Youtube resources: channels and videos
    • Available actions for authenticated Youtube accounts: like a video, subscribe to a channel