Skip to content

Releases: b5i/YouTubeKit

2.0.0 Release Candidate 2

2.0.0 Release Candidate

07 Mar 15:06
@b5i b5i
Compare
Choose a tag to compare
Pre-release

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

1.2.1

01 Feb 10:35
@b5i b5i
Compare
Choose a tag to compare

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

25 Jan 09:52
@b5i b5i
Compare
Choose a tag to compare

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

14 Dec 17:30
@b5i b5i
Compare
Choose a tag to compare

V1.1.1 of YouTubeKit!

New:

  • Added defaultFormats to VideoInfosWithDownloadFormatsResponse, proposed in #5.
  • Added mimeType property to the DownloadFormat protocol.

Bug fixes:

  • Fixed useCookies = false being overwritten by alwaysUseCookies.
  • Fixed chapters sometimes not detected in MoreVideoInfosResponse.
  • Fixed player scrapping not saved properly in VideoInfosWithDownloadFormatsResponse .

Full Changelog: v1.1.0...v1.1.1

1.1.0

22 Oct 08:23
@b5i b5i
Compare
Choose a tag to compare

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 type Optional<YTPrivacy> to YTPlaylist.
  • Made YTPrivacy conform to Codable.
  • Added the getAllPossibleHostPlaylists method for the protocol
    YouTubeVideo
  • Renamed getAllPossibleHostPlaylists to fetchAllPossibleHostPlaylists
  • Added canReorder property to YTPlaylist
  • Added a new FormatLocaleInfos to AudioOnlyFormat, 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

17 Oct 17:29
@b5i b5i
Compare
Choose a tag to compare
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, the getInfos method has been renamed to fetchStreamingInfos, the same change applies to getInfosWithDownloadFormats that has been renamed to fetchStreamingInfosWithDownloadFormats.
  • YTChannel now conforms to YouTubeChannel and its channelId property is no longer an Optional<String> but a String. The same change applies for YTLittleChannelInfos.
  • The property channel in YTPlaylist and YTVideo 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 the cookies property in your model by something else than "", note that cookies 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 to movingVideoId and videoBeforeID to videoBeforeId
  • Added the new protocol AuthenticatedResponse for the requests that need the authentification cookies.
  • PlaylistInfosResponse is now conform the protocol ResultsResponse, its videos property has been renamed to results and the type it contains changed from [YTVideo] to [any YTSearchResult]. The same change has been applied to its Continuation.
  • SearchResponse.Continuation has also been made conform to ResultsResponse and the continuationToken and visitorData properties are now Optional<String>.
  • The property channel of VideoInfoResponse is now an Optional<YTLittleChannelInfos> instead of a simple YTLittleChannelInfos.

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

05 Sep 19:12
@b5i b5i
Compare
Choose a tag to compare
  • Fixed struct initialisers not available.

Full Changelog: v.1.0.1...v1.0.2

1.0.1