mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-19 12:31:17 +00:00
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
40 KiB
40 KiB
Changelog
9.0.2 (2024-01-31)
Bug Fixes
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_secandtarget_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_streamandlive_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[].kindtype (#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
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
sourcesinThumbnail.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&removeRatingmethods (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 andhas_channelsgetter from theYT.Channelclass, as they are no longer useful. The featured channels are now shown on the channel home tab. To get them you can use thechannelsgetter 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 callInnerTube#getChannel(), you can also access that tab by callinggetHome()on aYT.Channelobject.
Features
- add
FeedNudge(#533) (e021395) - add
VideoAttributeView(#531) (ff4ab16) - Add Shorts endpoint (#512) (a32aa8c)
- Channel: Support new about popup (#537) (c66eb1f)
- parser: Add
ChannelOwnerEmptyState(#541) (b60930a) - Parser: Add
ClipSection(#532) (9007b65) - toDash: Add
contentTypeto audio and video adaption sets (#539) (4806fc6) - Use
overridesinstead of--legacy-peer-deps(#529) (db7f620)
Bug Fixes
- Channel: Remove
getChannels()andhas_channels, as YouTube removed the tab (#542) (6a5a579) - Library: Add support for the new layout and remove profile & stats info (4261915)
- StructuredDescriptionContent: Add
ReelShelfto list of possible nodes (f74ed5a) - VideoAttributeView: Fix
imageandoverflow_menu_on_tapprops (5ae15be)
Performance Improvements
7.0.0 (2023-10-28)
⚠ BREAKING CHANGES
- music#getSearchSuggestions: Return array of
SearchSuggestionsSectioninstead of a single node
Features
- Kids: Add
blockChannelcommand to easily block channels (#503) (9ab528e) - music#getSearchSuggestions: Return array of
SearchSuggestionsSectioninstead of a single node (beaa28f) - parser: Add
PlayerOverflowandPlayerControlsOverlay(a45273f) - UpdateViewerShipAction: Add
original_view_countandunlabeled_view_count_value(#527) (bc97e07)
Bug Fixes
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_buttontype 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
6.2.0 (2023-08-29)
Features
Bug Fixes
6.1.0 (2023-08-27)
Features
- parser: Add
AlertWithButton(#486) (8b69587) - parser: Add
ChannelHeaderLinksView(#484) (ed7be2a) - parser: Add
CompactMovie(#487) (2eed172)
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
IOStoClientTypeenum (22a38c0) - VideoInfo: support iOS client (#467) (46fe18b)
Bug Fixes
- Format: Extracting audio language from captions (#470) (31d27b1)
- parser: Allow any property in the
RawResponseinterface (3bc53a8) - parser: Logger logging
classdataas[Object object](bf1510b) - Playlist: Only try extracting the subtitle for the first page (#465) (e370116)
- toDash: Format grouping into AdaptationSets (#462) (1ff3e1a)
Performance Improvements
Code Refactoring
5.8.0 (2023-07-30)
Features
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
- Format: Populate audio language from captions when available (#445) (bdd98a3)
- parser: Add
CommentsSimpleboxparser (#442) (555d257) - parser: Add
HashtagTile(#440) (ae2557d) - parser: add
MacroMarkersList(#444) (708c5f7) - parser: Add
ShowMiniplayerCommand(#443) (a9cdbf7)
Bug Fixes
- package: Bump Jinter to fix bad export order (#439) (2aef678)
- StructuredDescriptionContent:
itemscan also be aHorizontalCardList(b50d1ef)
5.4.0 (2023-07-14)
Features
- Channel: Add
getPodcasts()method (f267fcd) - Channel: Add
getReleases()method (f267fcd) - parser: Add
Quiz(#437) (cffa868)
Bug Fixes
- Playlist: Parse
PlaylistCustomThumbnailforthumbnail_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
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
- Search: Speed up results parsing (#408) (1e07a18)
- toDash: Speed up format filtering (#405) (5de7b24)
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
38a83c3c2a(#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
5.0.1 (2023-04-30)
Bug Fixes
5.0.0 (2023-04-29)
⚠ BREAKING CHANGES
- overhaul core classes and remove redundant code (#388)
Features
- NavigationEndpoint: parse
contentprop (dd21f8c)
Bug Fixes
Code Refactoring
4.3.0 (2023-04-13)
Features
- GridVideo: add
upcoming,upcoming_text,is_reminder_setandbuttons(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_buttonprop (573c864)
4.0.0 (2023-03-15)
⚠ BREAKING CHANGES
- Parser: general refactoring of parsers (#344)
- The
toDashfunctions are now asynchronous, they now return aPromise<string>instead of astring, 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
GridShowandShowCustomThumbnail(8ef4b42), closes #459 - parser: add
MusicCardShelf(#358) (9b005d6) - parser: Add
play_all_buttontoShelf(#345) (427db5b) - parser: add
view_playlisttoPlaylist(#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
3.3.0 (2023-03-09)
Features
- parser: add
ConversationBarnode (b2253df) - VideoInfo: support get by endpoint + more info (#342) (0d35fe0)
Bug Fixes
- MultiMarkersPlayerBar: avoid observing undefined objects (f351770)
- SharedPost: import
Menunode directly (oops) (3e3dc35) - ytmusic: use static visitor id to avoid empty API responses (f9754f5), closes #279
3.2.0 (2023-03-08)
Features
- Add support for descriptive audio tracks (#338) (574b67a)
- export
FormatUtils' types (2d774e2) - parser: add
bannertoPlaylistHeader(#337) (95033e7) - parser: SharedPost (#332) (ce53ac1)
- VideoInfo: add
game_infoandcategory(#333) (214aa14) - YouTube/Search: add
SearchSubMenunode (#340) (a511608) - yt: add
getGuide()(#335) (2cc7b8b)
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
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
ChannelAgeGatenode (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)