Releases: b5i/YouTubeKit
Releases · b5i/YouTubeKit
2.0.0 Release Candidate 2
YouTubeKit's V2 version is finally here!
Fixed:
New:
- Added request log filtering by type
- Gave more properties to GenericRequestLog.
- Added support for HistoryResponse's continuation.
Full Changelog: v.2.0.0-rc...v.2.0.0-rc2
2.0.0 Release Candidate
YouTubeKit's V2 version is finally here!
New:
- A new validators system for the data of the requests
- A new logger system to allow active debugging at runtime
Changed:
- Instead of tuples, YouTubeKit is now using the Result and async/throws APIs
- Errors are now clearer
- Switched to MIT licence.
Full Changelog: v1.3.0...v.2.0.0-rc
1.3.0
New:
- Made most of
MoreVideoInfosResponse
conform to codable by @Mcrich23 - Added public init to
VideoInfosResponse
by @Mcrich23 - Made
YTPrivacy
,YTLittleChannelInfos
,YTThumbnail
,YTSearchResult
andYTSearchResultType
hashable by @Mcrich23 - Added handle to
YTChannel
by @Mcrich23 - Improved scrapping reliability of
YTVideo
, channel scrapping also forYTVideo
by @Mcrich23 - Made videosAndTime in
HistoryResponse
iterable by @Mcrich23 and @b5i - Added more precise documentation for headers. by @b5i
- Added disclaimer by @b5i
Fixed:
- Fixed scrapping of history title by @b5i
- Fixed tests not working for playlist actions by @b5i
- Fixed handle scrapping by @Mcrich23
- Fixed userInteractions scrapping of
PlaylistInfosResponse
by @Mcrich23
Full Changelog: v1.2.0...v1.3.0
1.2.1
Fixes:
- Fixed like informations not extracted in
MoreVideoInfosResponse
. - Fixed test of
MoreVideoInfosResponse
not working.
Full Changelog: v1.2.0...v1.2.1
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