Releases: LuanRT/YouTube.js
Releases · LuanRT/YouTube.js
v13.0.0
13.0.0 (2025-01-20)
⚠ BREAKING CHANGES
- Remove
web.bundle.min
(e54e499)
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
andlowerBumper
(#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
inonResponseReceivedEndpoints
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
andremoveFromLibrary
(#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 thestartIndex
andlength
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
- Remove
web.bundle.min
(e54e499)
v12.2.0
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
v12.1.0
v12.0.0
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
andmenu
(af3a916) - Log: Convert Log class to module (#814) (fc55716)
- NavigationEndpoint: Add name property (bdebb9f)
- parser: Add
AddToPlaylist
node (2940f7b) - parser: Add
animated_image
toPageHeaderView
(#819) (8e50ebd) - parser: Add
ChangeEngagementPanelVisibilityAction
(c2b2d7a) - parser: Add
ChangeEngagementPanelVisibilityEndpoint
(2824900) - parser: Add
LiveChatBannerChatSummary
node, updateTextRun
node (#809) (7fb00fa) - parser: Add
LiveChatBannerRedirect
node (#799) (ad302b8) - parser: add
LiveChatModeChangeMessage
node (#811) (7156a58) - parser: Add
LiveChatSponsorshipsGiftPurchaseAnnouncement
andLiveChatSponsorshipsHeader
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
tosignal
(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
andshow_less_text
correctly (790f817)
Miscellaneous Chores
Code Refactoring
v11.0.1
v11.0.0
11.0.0 (2024-10-28)
⚠ BREAKING CHANGES
- Deprecate
account#getAnalytics
,account#getTimeWatched
andaccount#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
andaccount#getBasicAnalytics
(0081e11)
v10.5.0
v10.4.0
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)