Skip to content

Releases: LuanRT/YouTube.js

v13.0.0

20 Jan 19:52
0802cb8
Compare
Choose a tag to compare

13.0.0 (2025-01-20)

⚠ BREAKING CHANGES

Features

  • ContentMetadataView: Parse enableTruncation (#863) (0a3104b)
  • getSearchSuggestions: Add optional pq param for better suggestions (c61db19)
  • Innertube: Add getAttestationChallenge (#869) (33c27dd)
  • Innertube: Add ability to get individual community posts and community post comments (#861) (360b29e)
  • LiveChatPaidMessage: Parse headerOverlayImage and lowerBumper (#851) (ef37aa0)
  • Music: Add continuation support for "Up next" tab in TrackInfo (#770) (2913d5f)
  • PageHeaderView: Parse heroImage (a602a31)
  • Parser: Add AvatarStackView (c631022)
  • Parser: Add HowThisWasMadeSectionView node (5da8a66)
  • parser: Add ReplaceLiveChatAction (#847) (342fdd1)
  • Parser: Implement utility class to parse rendererContext (3a11b99)
  • parser: Parse OpenPopupAction in onResponseReceivedEndpoints arrays (45b7342)
  • Parser: Parse YpcTrailer in VideoInfo (#842) (c0043d0)
  • parser: Update Button (#857) (5f899fc)
  • parser: Update LiveChatPaidMessage (#846) (73362c6)
  • parser: Update LiveChatPaidSticker (#849) (3c28c0d)
  • parser: Update LiveChatTextMessage (#864) (9025122)
  • parser: Update LiveChatTickerPaidMessageItem (#845) (29e8d30)
  • parser: Update LiveChatTickerPaidStickerItem (#848) (5f83a74)
  • parser: Update LiveChatViewerEngagementMessage (#856) (b4a947a)
  • Playlists: Implement addToLibrary and removeFromLibrary (#844) (48460e4)
  • RichGrid: Parse targetId (e571ee2)
  • Session: Allow using a fixed user agent for InnerTube requests (#876) (4d36655)
  • SubscribeButton: Add unsubscribe_text (75b8964)
  • ToggleButtonView: Add is_toggled (88af6d8)

Bug Fixes

  • ButtonCardView: Correct typo (#855) (6536801)
  • DescriptionPreviewView: Parsing errors when certain fields are missing (c2dd803)
  • getSearchSuggestions: Allow empty queries (523700b)
  • LiveChatTextMessage: Make some fields optional (#877) (a035b71)
  • sendMessage: Handle RunAttestationCommand in response actions (#859) (826a954)
  • Text#fromAttributed: Fix StyleRun assuming that the startIndex and length always exist (#862) (732a30c)
  • Text#toHTML: Return empty string if the text is undefined (f3c777b)
  • TextRun: Add img element only if an URL is available (913dcc7)
  • toDash: Fix default audio stream for dubbed movie trailers (#858) (0054690)

Performance Improvements

  • constants: Move the client name IDs into their own CLIENT_NAME_IDS object (#875) (06887e9)
  • Optimise DASH manifest generation (#870) (1a3d663)

Code Refactoring

v12.2.0

12 Dec 13:32
3ec1609
Compare
Choose a tag to compare

12.2.0 (2024-12-12)

Features

  • Actions: Allow auth check to be skipped (67f13ff)
  • add VideoMetadataCarouselView (#839) (9a9bb76)
  • parser: Add ActiveAccountHeader (5f233ae)
  • parser: Add ButtonCardView (#834) (eeaae62)
  • parser: Add ClientSideToggleMenuItem (#835) (0b2b0da)
  • parser: Add PlaylistThumbnailOverlay (c8173c8)
  • parser: Update LiveChatBanner (#840) (69d42b2)
  • parser: Update LiveChatMembershipItem (#836) (0c319aa)

Bug Fixes

  • Player: Fix signature algorithm extraction again (#837) (13e7961)

v12.1.0

10 Dec 13:11
8e97bbc
Compare
Choose a tag to compare

12.1.0 (2024-12-10)

Features

Bug Fixes

  • Player: Bump cache version (283172f)
  • Player: Fix signature algorithm extraction (#832) (ce4996c)

v12.0.0

05 Dec 23:50
eaf6d1a
Compare
Choose a tag to compare

12.0.0 (2024-12-05)

⚠ BREAKING CHANGES

  • parser: Remove old comment node
  • Log: Convert Log class to module (#814)
  • parser: Remove getters that have been deprecated for a long time (#815)
  • parser: Implement endpoint/command parsers (#812)

Features

  • account: Add missing property channel_handle (#789) (677e1f0)
  • Add getCourses (#798) (cfb48fa)
  • EngagementPanelTitleHeader: Add contextual_info and menu (af3a916)
  • Log: Convert Log class to module (#814) (fc55716)
  • NavigationEndpoint: Add name property (bdebb9f)
  • parser: Add AddToPlaylist node (2940f7b)
  • parser: Add animated_image to PageHeaderView (#819) (8e50ebd)
  • parser: Add ChangeEngagementPanelVisibilityAction (c2b2d7a)
  • parser: Add ChangeEngagementPanelVisibilityEndpoint (2824900)
  • parser: Add LiveChatBannerChatSummary node, update TextRun node (#809) (7fb00fa)
  • parser: Add LiveChatBannerRedirect node (#799) (ad302b8)
  • parser: add LiveChatModeChangeMessage node (#811) (7156a58)
  • parser: Add LiveChatSponsorshipsGiftPurchaseAnnouncement and LiveChatSponsorshipsHeader nodes (#793) (4e9c2a5)
  • parser: Add LiveChatSponsorshipsGiftRedemptionAnnouncement node (#795) (20f7971)
  • parser: Add MenuFlexibleItem (bc9a0ed)
  • parser: Add NotificationAction node (d36ddb8)
  • parser: Add PlayerOverlayVideoDetails node (dc2ed04)
  • parser: Add RunAttestationCommand (4729016)
  • parser: Add ShowEngagementPanelEndpoint (ec85b0f)
  • parser: Add SignalAction node (feeb21b)
  • parser: Add UnifiedSharePanel (4a1397f)
  • parser: Add UpdateSubscribeButtonAction (fdb7540)
  • parser: Add VideoViewCount node (ad448f8)
  • parser: Add optional image property to LockupMetadataView (#806) (0914299)
  • Parser: add support for parsing subtitle for RichShelf (#805) (038efff)
  • Parser: Add support for parsing subtitle for Shelf (#792) (34ae38c)
  • SubscribeButton: Parse more endpoints (8bf9eb7)
  • VideoViewCount: Add extra_short_view_count field (d10fe68)

Bug Fixes

  • ExpandableVideoDescriptionBody: Parse attributed description (360580e)
  • parser: The AvatarView.image_processor property is optional (#807) (4b178e4)
  • parser: Update list of possible content_type in LockupView (#808) (680da9f)
  • Player: Add more ways to find the nsig algo (acfb0c5)
  • PlaylistAddToOption: Use correct type for contains_selected_videos (53d1c75)
  • ReelPlayerOverlay: Update subscribe_button_renderer type to include SubscribeButton (daa5a29)
  • SignalAction: Rename action to signal (8ab760e)
  • SubscribeButton: Parse endpoints using NavigationEndpoint (126a66f)
  • UnifiedSharePanel: Check if thirdPartyNetworkSection exists (d3f6af0)
  • VideoAttributeView: Parse secondarySubtitle only if exists (0a99342)
  • VideoCard: fix parsing author, view count and published date (#791) (a4394db)
  • VideoSecondaryInfo: Parse show_more_text and show_less_text correctly (790f817)

Miscellaneous Chores

  • parser: Remove getters that have been deprecated for a long time (#815) (9cf0d3f)

Code Refactoring

  • parser: Implement endpoint/command parsers (#812) (7397aa3)
  • parser: Remove old comment node (2f087d4)

v11.0.1

28 Oct 19:09
4ec4be6
Compare
Choose a tag to compare

11.0.1 (2024-10-28)

Bug Fixes

  • VideoInfo: Fix like count being undefined (#787) (182bf42)

v11.0.0

28 Oct 17:03
31d1caf
Compare
Choose a tag to compare

11.0.0 (2024-10-28)

⚠ BREAKING CHANGES

  • Deprecate account#getAnalytics, account#getTimeWatched and account#getBasicAnalytics

Features

  • Add TVHTML5 InnerTube client (b45609a)
  • Add WEB_CREATOR client (#757) (dd7f5cf)
  • history: Add ability to remove videos from watch history (#706) (22dd71d)
  • ProtoUtils: Add support for creating NextParams (#762) (910c979)
  • Support auto-dubbed audio tracks (#786) (a4ef224)

Bug Fixes

  • fix deno usage of protobuf and jintr (#776) (02513b7)
  • Include jinter in the cjs build (305a398)
  • InteractionManager: Use WEB for all actions (d9ac99d)
  • LiveChat#sendMessage: Switch to WEB client (bb3f114)
  • package: Use jsr:@luanrt/jintr on Deno (d9ec23c)
  • parser: Fix ShortsLockupView assuming that the primary text always exists (#775) (43cef9e)
  • toDash: Fix dash.js 4.x compatibility (#765) (5ff30e1)

Code Refactoring

  • Deprecate account#getAnalytics, account#getTimeWatched and account#getBasicAnalytics (0081e11)

v10.5.0

19 Sep 13:15
00dd409
Compare
Choose a tag to compare

10.5.0 (2024-09-19)

Features

  • Add WEB_EMBEDDED client (#756) (eaf218f)
  • extend music getInfo to allow MusicResponsiveListItem and Nav Endpoints (#751) (5db449c)
  • parser: Add ShortsLockupView and BadgeView nodes (#746) (e1e76ee)

Bug Fixes

  • ItemSection: FeedFilterChipBar parse error (#741) (bf6cc00)
  • parser: The icon_name property does not always exist in ThumbnailBadgeView (#745) (094a96f)
  • Session: Set default values for hl and gl in context builder (7a39326)

v10.4.0

27 Aug 02:41
4fca6c3
Compare
Choose a tag to compare

10.4.0 (2024-08-27)

Features

  • parser: Add VideoAttributesSectionView node (#732) (4b60b97)
  • Player: Add support for Proof of Origin tokens (#708) (c9f0ddd)
  • Utils: Add UMP parser (261f2ac)

Bug Fixes

  • examples: Use BgUtils to generate pot [skip ci] (d89909a)
  • FormatOptions: client missing some values (fcd00b0)
  • PlayerEndpoint: Don't set undefined fields (0e91a08)
  • Search: Fix it occasionally returning only a small number of results (#720) (2c0bb23)
  • Session: PoToken not being set correctly (#729) (bb6e647)
  • Session: Fix remote visitor data not gettting used (#731) (7afc3da)
  • Session: Visitor data not being used properly (f1973c1)
  • ThumbnailOverlayResumePlayback: Update percent_duration_watched type (#737) (f9ccba4)

v10.3.0

01 Aug 09:21
4f5635a
Compare
Choose a tag to compare

10.3.0 (2024-08-01)

Features

  • parser: Add EomSettingsDisclaimer node (#703) (a9bf225)
  • PlaylistManager: Add ability to remove videos by set ID (#715) (d85fbc5)

Bug Fixes

  • Player: Generate and parse player script's AST (#713)
  • HTTPClient: Adjust more context fields for the iOS client (#705) (3153375)

v10.2.0

25 Jul 13:53
1e29019
Compare
Choose a tag to compare

10.2.0 (2024-07-25)

Features

  • Format: Add is_secondary for detecting secondary audio tracks (#697) (a352dde)
  • parser: add classdata to unhandled parse errors (#691) (090539b)
  • proto: Add comment_id to commentSectionParams (#693) (a5f6209)

Bug Fixes

  • parser: ignore MiniGameCardView node (#692) (6d0bc89)
  • parser: ThumbnailView background color (#686) (0f8f92a)
  • Player: Bump cache version (#702) (6765f4e)
  • Player: Fix extracting the n-token decipher algorithm again (#701) (3048f70)