Releases: b5i/YouTubeKit
Releases · b5i/YouTubeKit
1.2.0
New:
- History scrapping.
Fixes:
- Fixed
AllPossibleHostPlaylistsResponse
returning a bad playlist id. - Fixed
VideoInfosWithDownloadFormatsResponse
scrapping sometimes not working.
Full Changelog: v1.1.1...v1.2.0
1.1.1
V1.1.1 of YouTubeKit!
New:
- Added
defaultFormats
toVideoInfosWithDownloadFormatsResponse
, proposed in #5. - Added
mimeType
property to theDownloadFormat
protocol.
Bug fixes:
- Fixed
useCookies = false
being overwritten byalwaysUseCookies
. - Fixed
chapters
sometimes not detected inMoreVideoInfosResponse
. - Fixed player scrapping not saved properly in
VideoInfosWithDownloadFormatsResponse
.
Full Changelog: v1.1.0...v1.1.1
1.1.0
V1.1.0 of YouTubeKit!
New:
- Added AllPossibleHostPlaylistsResponse to get all the playlists a
video could be added to and if the video is already present inside. - Added a new
privacy
property of typeOptional<YTPrivacy>
toYTPlaylist
. - Made
YTPrivacy
conform toCodable
. - Added the
getAllPossibleHostPlaylists
method for the protocol
YouTubeVideo
- Renamed
getAllPossibleHostPlaylists
tofetchAllPossibleHostPlaylists
- Added
canReorder
property toYTPlaylist
- Added a new
FormatLocaleInfos
toAudioOnlyFormat
, used to describe
the language of the audio format. Useful when there is multiple audio
translations of a single video.
Bug fixes:
- Fixed
HomeScreenResponse
not working with cookies HomeScreenResponse
now handles an edge case and provides more results in a single request depending on the query.- Modified
HomeScreenResponse
test to accept an edge case where
YouTube does not provide videos.
1.1.0 Release Candidate
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
1.0.2
- Fixed struct initialisers not available.
Full Changelog: v.1.0.1...v1.0.2
1.0.1
1.0.0
1.0.0-beta
Added a lot of new things in this pre-release of YouTubeKit!
- Added continuation for SearchResponse!
- Added VideoInfosResponse to get video infos and a HLS streaming link to watch the video!
- Added VideoInfosWithDownloadFormatsResponse that is like VideoInfosResponse but with DownloadFormats added, it permits to download videos on basically any format you want!
- Added AutoCompletionResponse that gives you access to YouTube's search completion!
Full Changelog: https://github.com/b5i/YouTubeKit/commits/v1.0.0-beta
1.0.0-alpha
First release of YouTubeKit!
It includes:
- Search request for YouTube.
- Capability of creating custom request.
- Tests for request functions and SearchResponse request.
Full Changelog: https://github.com/b5i/YouTubeKit/commits/v1.0.0-alpha