Skip to main content
Module

x/youtubei/CHANGELOG.md

A wrapper around YouTube's internal API — reverse engineering InnerTube
Extremely Popular
Go to Latest
File

Changelog

7.0.0 (2023-10-28)

⚠ BREAKING CHANGES

  • music#getSearchSuggestions: Return array of SearchSuggestionsSection instead of a single node

Features

  • Kids: Add blockChannel command to easily block channels (#503) (9ab528e)
  • music#getSearchSuggestions: Return array of SearchSuggestionsSection instead of a single node (beaa28f)
  • parser: Add PlayerOverflow and PlayerControlsOverlay (a45273f)
  • UpdateViewerShipAction: Add original_view_count and unlabeled_view_count_value (#527) (bc97e07)

Bug Fixes

  • build: Inline package.json import to avoid runtime erros (#509) (4c0de19)

6.4.1 (2023-10-02)

Bug Fixes

  • Feed: Do not throw when multiple continuations are present (8e372d5)
  • Playlist: Throw a more helpful error when parsing empty responses (987f506)

Performance Improvements

  • Cache deciphered n-params by info response (#505) (d2959b3)
  • generator: Remove duplicate checks in isMiscType (#506) (68df321)

6.4.0 (2023-09-10)

Features

  • Add support for retrieving transcripts (#500) (f94ea6c)
  • PlaylistManager: add .setName() and .setDescription() functions for editing playlists (#498) (86fb33e)

Bug Fixes

  • BackstagePost: vote_button type mismatch (fba3fc9)

6.3.0 (2023-08-31)

Features

  • ChannelMetadata: Add music_artist_name (#497) (91de6e5)
  • Session: Add on_behalf_of_user session option. (#494) (8bc2aaa)

Bug Fixes

  • CompactMovie: Add missing import and remove unnecessary console.log (#496) (c26972c)

6.2.0 (2023-08-29)

Features

  • Session: Add fallback for session data retrieval (#490) (10c15bf)

Bug Fixes

  • Format: Fix is_original always being true (#492) (0412fa0)

6.1.0 (2023-08-27)

Features

6.0.2 (2023-08-24)

Bug Fixes

6.0.1 (2023-08-22)

Bug Fixes

  • SearchSubMenu: Groups not being parsed due to a typo (90be877)

6.0.0 (2023-08-18)

⚠ BREAKING CHANGES

  • replace unnecessary classes with pure functions (#468)

Features

  • MusicResponsiveListItem: Detect non music tracks properly (815e54b)
  • parser: add MusicMultiRowListItem (494ee87)
  • Session: Add IOS to ClientType enum (22a38c0)
  • VideoInfo: support iOS client (#467) (46fe18b)

Bug Fixes

  • Format: Extracting audio language from captions (#470) (31d27b1)
  • parser: Allow any property in the RawResponse interface (3bc53a8)
  • parser: Logger logging classdata as [Object object] (bf1510b)
  • Playlist: Only try extracting the subtitle for the first page (#465) (e370116)
  • toDash: Format grouping into AdaptationSets (#462) (1ff3e1a)

Performance Improvements

  • Cleanup some unnecessary uses of YTNode#key and Maybe (#463) (0dda97e)

Code Refactoring

  • replace unnecessary classes with pure functions (#468) (87ed396)

5.8.0 (2023-07-30)

Features

  • YouTube Playlist: Add subtitle and fix author optionality (#458) (0fa5a85)

5.7.1 (2023-07-25)

Bug Fixes

  • SearchHeader: remove console.log (d91695a)

5.7.0 (2023-07-24)

Features

5.6.0 (2023-07-18)

Features

  • parser: Add IncludingResultsFor (#447) (c477b82)
  • toDash: Add option to include thumbnails in the manifest (#446) (1a03473)

5.5.0 (2023-07-16)

Features

Bug Fixes

  • package: Bump Jinter to fix bad export order (#439) (2aef678)
  • StructuredDescriptionContent: items can also be a HorizontalCardList (b50d1ef)

5.4.0 (2023-07-14)

Features

Bug Fixes

  • Playlist: Parse PlaylistCustomThumbnail for thumbnail_renderer (f267fcd)

5.3.0 (2023-07-11)

Features

Performance Improvements

  • Format: Cleanup the xtags parsing (#434) (1ca2083)
  • toDash: Hoist duplicates from Representation to AdaptationSet (#431) (5f058e6)

5.2.1 (2023-07-04)

Bug Fixes

  • incorrect node parser implementations (#428) (222dfce)

5.2.0 (2023-06-28)

Features

  • VideoDetails: Add is_post_live_dvr property (#411) (a11e596)
  • ytmusic: Add support for YouTube Music mood filters (#404) (77b39c7)

Bug Fixes

  • OAuth: client identity matching (#421) (07c1b3e)
  • PlayerEndpoint: Use different player params (#419) (519be72)
  • Playlist: Add thumbnail_renderer on Playlist when response includes it (#424) (4f9427d)
  • VideoInfo.ts: reimplement get music_tracks (#409) (e434bb2)

Performance Improvements

5.1.0 (2023-05-14)

Features

  • ReelItem: Add accessibility label (#401) (046103a)
  • toDash: Add audio track labels to the manifest when available (#402) (84b4f1e)

5.0.4 (2023-05-10)

Bug Fixes

  • bundles: Use ESM tslib build for the browser bundles (#397) (2673419)
  • Utils: Circular dependency introduced in 38a83c3c2aa814150d1d9b8ed99fca915c1d67fe (#400) (66b026b)
  • Utils: Use instanceof in deepCompare instead of the constructor name (#398) (38a83c3)

5.0.3 (2023-05-03)

Bug Fixes

  • Video: typo causing node parsing to fail (3b0498b)

5.0.2 (2023-04-30)

Bug Fixes

  • VideoInfo: Use microformat view_count when videoDetails view_count is NaN (#393) (7c0abfc)

5.0.1 (2023-04-30)

Bug Fixes

  • web: slow downloads due to visitor data (#391) (4f7ec07)

5.0.0 (2023-04-29)

⚠ BREAKING CHANGES

  • overhaul core classes and remove redundant code (#388)

Features

  • NavigationEndpoint: parse content prop (dd21f8c)

Bug Fixes

  • android: workaround streaming URLs returning 403 (#390) (75ea09d)

Code Refactoring

  • overhaul core classes and remove redundant code (#388) (95e0294)

4.3.0 (2023-04-13)

Features

  • GridVideo: add upcoming, upcoming_text, is_reminder_set and buttons (05de3ec), closes #380
  • MusicResponsiveListItem: make flex/fixed cols public (#382) (096bf36)
  • ToggleMenuServiceItem: parse default nav endpoint (a056696)
  • ytmusic: add taste builder nodes (#383) (a9cad49)

4.2.0 (2023-04-09)

Features

  • Enable importHelpers in tsconfig to reduce output size (#378) (0b301de)
  • parser: ignore PrimetimePromo node (ce9d9c5)
  • PlaylistVideo: Extract video_info and accessibility_label texts (#376) (c9135e6)

4.1.1 (2023-03-29)

Bug Fixes

  • PlayerCaptionsTracklist: parse props only if they exist in the node (470d8d9), closes #372
  • Search: Return search results even if there are ads (#373) (2c5907f)

4.1.0 (2023-03-24)

Features

  • Session: allow setting a custom visitor data token (#371) (13ebf0a)
  • ShowingResultsFor: parse all props (1d9587e)

Bug Fixes

  • http: android tv http client missing clientName (#370) (cb8fafe)
  • node: Electron apps crashing (#367) (e7eacd9)
  • parser: Make Video.is_live work on channel pages (#368) (bd35faa)
  • toDash: Generate unique Representation ids (#366) (a8b507e)
  • Utils: Properly parse timestamps with thousands separators (#363) (1c72a41)

4.0.1 (2023-03-16)

Bug Fixes

  • Channel: type mismatch in subscribe_button prop (573c864)

4.0.0 (2023-03-15)

⚠ BREAKING CHANGES

  • Parser: general refactoring of parsers (#344)
  • The toDash functions are now asynchronous, they now return a Promise<string> instead of a string, as we need to fetch the first sequence of the OTF format streams while building the manifest.

Features

  • Add support for OTF format streams (3e4d41b)
  • parser: add GridMix (#356) (a8e7e64)
  • parser: add GridShow and ShowCustomThumbnail (8ef4b42), closes #459
  • parser: add MusicCardShelf (#358) (9b005d6)
  • parser: Add play_all_button to Shelf (#345) (427db5b)
  • parser: add view_playlist to Playlist (#348) (9cb4530)
  • parser: add InfoPanelContent and InfoPanelContainer nodes (4784dfa), closes #326
  • Parser: just-in-time YTNode generation (#310) (2cee590)
  • yt: add support for movie items and trailers (#349) (9f1c31d)

Code Refactoring

  • Parser: general refactoring of parsers (#344) (b13bf6e)

3.3.0 (2023-03-09)

Features

  • parser: add ConversationBar node (b2253df)
  • VideoInfo: support get by endpoint + more info (#342) (0d35fe0)

Bug Fixes

  • MultiMarkersPlayerBar: avoid observing undefined objects (f351770)
  • SharedPost: import Menu node directly (oops) (3e3dc35)
  • ytmusic: use static visitor id to avoid empty API responses (f9754f5), closes #279

3.2.0 (2023-03-08)

Features

Bug Fixes

  • SegmentedLikeDislikeButton: like/dislike buttons can also be a simple Button (9b2738f)
  • YouTube: fix warnings when retrieving members-only content (#341) (95f1d40)
  • ytmusic: export search filters type (cf8a33c)

3.1.1 (2023-03-01)

Bug Fixes

  • Channel: getting community continuations (#329) (4c7b8a3)

3.1.0 (2023-02-26)

Features

  • Add upcoming and live info to playlist videos (#317) (a0bfe16)
  • VideoSecondaryInfo: add support for attributed descriptions (#325) (f933cb4)

Bug Fixes

  • parser: export YTNodes individually so they can be used as types (200632f), closes #321
  • PlayerMicroformat: Make the embed field optional (#320) (a0e6cef)
  • send correct UA for Android requests (f4e0f30), closes #322

3.0.0 (2023-02-17)

⚠ BREAKING CHANGES

  • cleanup platform support (#306)

Features

  • add parser support for MultiImage community posts (#298) (de61782)
  • add support for hashtag feeds (#312) (bf12740)
  • add support for YouTube Kids (#291) (2bbefef)
  • allow checking whether a channel has optional tabs (#296) (ceefbed)
  • Channel: Add getters for all optional tabs (#303) (b2900f4)
  • Channel: add support for sorting the playlist tab (#295) (50ef712)
  • extract channel error alert (0b99180)
  • FormatUtils: support multiple audio tracks in the DASH manifest (#308) (a69e43b)
  • improve support for dubbed content (#293) (d6c5a9b)
  • parse isLive in CompactVideo (#294) (2acb7da)
  • parser: add ChannelAgeGate node (1cdf701)
  • parser: Text#toHTML (#300) (e82e23d)
  • ytkids: add getChannel() (#292) (0fc29f0)

Bug Fixes

  • assign MetadataBadge’s label (#311) (e37cf62)
  • ChannelAboutFullMetadata: fix error when there are no primary links (#299) (f62c66d)
  • TopicChannelDetails: avatar and subtitle parsing (#302) (d612590)
  • VideoInfo: Gracefully handle missing watch next continuation (#288) (13ad377)

Code Refactoring