Skip to content

Latest commit

 

History

History
618 lines (330 loc) · 43.7 KB

CHANGELOG.md

File metadata and controls

618 lines (330 loc) · 43.7 KB

Changelog

9.4.0 (2024-04-29)

Features

  • Format: Add projection_type and stereo_layout (#643) (064436c)
  • Format: Add spatial_audio_type (#647) (0ba8c54)
  • Parser: Add MusicResponsiveHeader node (ea82bea)

9.3.0 (2024-04-11)

Features

  • CommentView: Implement comment interaction methods (1c08bfe)

Bug Fixes

  • CommentThread: Replies not being parsed correctly (66e34f9)

9.2.1 (2024-04-09)

Bug Fixes

  • toDash: Add missing transfer characteristics for h264 streams (#631) (0107049)

9.2.0 (2024-03-31)

Features

  • add support of cloudflare workers (#596) (2029aec)
  • parser: Support CommentView nodes (#614) (900f557)
  • parser: Support LockupView and it's child nodes (#609) (7ca2a0c)
  • Text: Support formatting and emojis in fromAttributed (#615) (e6f1f07)

Bug Fixes

  • Cache: handle the value read from the db correctly according to its type (#620) (3170659)
  • PlayerEndpoint: Workaround for "The following content is not available on this app" (Android) (#624) (d589365)

9.1.0 (2024-02-23)

Features

  • Format: Support caption tracks in adaptive formats (#598) (bff65f8)

Bug Fixes

  • Playlist: items getter failing if a playlist contains Shorts (89fa3b2)
  • Session: Don't try to extract api version from service worker (2068dfb)

9.0.2 (2024-01-31)

Bug Fixes

  • VideoInfo: Fix error because of typo in getWatchNextContinuation (#590) (b21eb9f)

9.0.1 (2024-01-26)

Bug Fixes

  • build: Circular imports causing issues with webpack (81dd5d3)

9.0.0 (2024-01-25)

⚠ BREAKING CHANGES

  • toDash: Add support for generating manifests for Post Live DVR videos (#580)

Features

  • Channel: Support getting about with PageHeader (#581) (2e710dc)
  • Channel: Support PageHeader being used on user channels (#577) (6082b4a)
  • Format: Add max_dvr_duration_sec and target_duration_dec (#570) (586bb5f)
  • parser: Add ImageBannerView (#583) (2073aa9)
  • toDash: Add support for generating manifests for Post Live DVR videos (#580) (6dd03e1)
  • VideoDetails: Add is_live_dvr_enabled, is_low_latency_live_stream and live_chunk_readahead (#569) (254f779)
  • VideoInfo: Add live stream end_timestamp (#571) (562e6a2)

Bug Fixes

  • DecoratedAvatarView: Fix parsing and optional properties (#584) (fed3512)
  • PlayerCaptionTracklist: Fix captions_tracks[].kind type (#586) (7fbc37f)
  • proto: Fix visitor data base64url decoding (#576) (3980f97)
  • toDash: Add missing transfer characteristics for h264 streams (#573) (59f4cfb)

8.2.0 (2024-01-08)

Features

  • OAuth: Allow passing custom client identity (#566) (7ffd0fc)

Bug Fixes

8.1.0 (2023-12-27)

Features

  • generator: add support for arrays (#556) (e4f2a00)
  • generator: Add support for generating view models (#550) (f938c34)
  • MediaInfo: Parse player config (5c9c231)
  • parser: Support new like and dislike nodes (#557) (fcd3044)
  • Thumbnail: Support sources in Thumbnail.fromResponse (#552) (48a5d4e)
  • YouTube: Add FEchannels feed (#560) (14578ac)

Bug Fixes

  • Format: Extract correct audio language from captions (#553) (5c83e99)
  • generator: Output Parser.parseItem() calls with one valid type, without the array (#551) (bd487f8)
  • VideoInfo: Restore like, dislike & removeRating methods (9c503f4)

8.0.0 (2023-12-01)

⚠ BREAKING CHANGES

  • Library: Add support for the new layout and remove profile & stats info
  • Channel: YouTube removed the "Channels" tab on channels, so this pull request removes the getChannels() method and has_channels getter from the YT.Channel class, as they are no longer useful. The featured channels are now shown on the channel home tab. To get them you can use the channels getter on the home tab of the channel. Please note that some channel owners might not have added that section to their home page yet, so you won't be able to get the featured channels for those channels. The home tab is the default tab that is returned when you call InnerTube#getChannel(), you can also access that tab by calling getHome() on a YT.Channel object.

Features

Bug Fixes

  • Channel: Remove getChannels() and has_channels, as YouTube removed the tab (#542) (6a5a579)
  • Library: Add support for the new layout and remove profile & stats info (4261915)
  • StructuredDescriptionContent: Add ReelShelf to list of possible nodes (f74ed5a)
  • VideoAttributeView: Fix image and overflow_menu_on_tap props (5ae15be)

Performance Improvements

  • Use named Parser import, to allow bundlers to create direct function references (#535) (95ed602)

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