1.1.0 Release Candidate
Pre-release
Pre-release
New:
- Added ListableChannelContent protocol and cookies support.
- A new
YouTubeChannel
protocol with various useful methods. - New methods for
ResultsResponse
. - New methods for
YouTubeVideo
, thegetInfos
method has been renamed tofetchStreamingInfos
, the same change applies togetInfosWithDownloadFormats
that has been renamed tofetchStreamingInfosWithDownloadFormats
. YTChannel
now conforms toYouTubeChannel
and itschannelId
property is no longer anOptional<String>
but aString
. The same change applies forYTLittleChannelInfos
.- The property
channel
inYTPlaylist
andYTVideo
is now optional instead of being empty by default. YTThumbnail.appendThumbnails
no longer requires a json object starting by["thumbnail"]["thumbnails"]
but only["thumbnails"]
.- Cookies are now enabled with
YouTubeModel
, to use them you need to define thecookies
property in your model by something else than "", note thatcookies
is no longer nil but "" by default. - Added the headers and responses for the following requests:
userAccountHeaders
usersLibraryHeaders
createPlaylistHeaders
moveVideoInPlaylistHeaders
removeVideoFromPlaylistHeaders
removeVideoByIdFromPlaylistHeaders
addVideoToPlaylistHeaders
deletePlaylistHeaders
moreVideoInfosHeaders
fetchMoreRecommendedVideosHeaders
likeVideoHeaders
dislikeVideoHeaders
removeLikeStatusFromVideoHeaders
subscribeToChannelHeaders
unsubscribeFromChannelHeaders
- Renamed the
ContentTypes
movingVideoID
tomovingVideoId
andvideoBeforeID
tovideoBeforeId
- Added the new protocol
AuthenticatedResponse
for the requests that need the authentification cookies. PlaylistInfosResponse
is now conform the protocolResultsResponse
, itsvideos
property has been renamed toresults
and the type it contains changed from[YTVideo]
to[any YTSearchResult]
. The same change has been applied to itsContinuation
.SearchResponse.Continuation
has also been made conform toResultsResponse
and thecontinuationToken
andvisitorData
properties are nowOptional<String>
.- The property
channel
ofVideoInfoResponse
is now anOptional<YTLittleChannelInfos>
instead of a simpleYTLittleChannelInfos
.
Fixed:
- Some typos in the comments have been fixed.
- Make
Header
variables public by @adrianjagielak in #3 - Added other missing
public
keywords. - Fixed parameters values being two times encoded.
Full Changelog: v1.0.2...v1.1.0-rc