youtubei.js breaking changes
Updated December 4, 2026
On this page
Latest version 18.3.0, released October 23, 2026. Source repository
Packages on npm run on Node.js. Node.js end of life dates.
- From 17.2.0 to 18.3.0: 56 breaking changes in 4 versions.
- From 7.0.0 to 18.3.0: 569 breaking changes in 36 versions.
youtubei.js 18.3.0 breaking changes
- Signature changed
Managers.PlaylistManager.create
Was create(title: string, video_ids: string[]): Promise<{success: boolean; status_code: number; playlist_id?: string; data: any;}>; now create(title: string, video_ids: string[], privacy_status?: 'PUBLIC' | 'PRIVATE' | 'UNLISTED'... npmjs.com - Signature changed
YT.History.removeVideo
Was removeVideo(video_id: string, pages_to_load?: number): Promise<ApiResponse | undefined>; now removeVideo(video_id: string, pages_to_load?: number): Promise<boolean>. npmjs.com
youtubei.js 18.2.0 breaking changes
- Signature changed
Mixins.Feed.page_contents
Was readonly page_contents: SectionList | MusicQueue | RichGrid | ReloadContinuationItemsCommand; now readonly page_contents: Message | SectionList | MusicQueue | RichGrid | ReloadContinuationItemsCommand. npmjs.com - Signature changed
Mixins.MediaInfo.basic_info
Was basic_info: {like_count: number | undefined; is_liked: boolean | undefined; is_disliked: boolean | undefined; embed: {iframe_url: string; flash_url: string; flash_secure_url: string; width: any; height: any;} | null | undefined... npmjs.com - Signature changed
YT.History.removeVideo
Was removeVideo(video_id: string, pages_to_load?: number): Promise<boolean>; now removeVideo(video_id: string, pages_to_load?: number): Promise<ApiResponse | undefined>. npmjs.com - Signature changed
YT.History.sections
Was sections: ItemSection[]; now sections: ObservedArray<ItemSection>. npmjs.com - Signature changed
YTNodes.CompositeVideoPrimaryInfo.constructor
Was constructor(_data: RawNode); now constructor(data: RawNode). npmjs.com - Signature changed
YTNodes.ListView.items
Was items: ObservedArray<ListItemView | DownloadListItemView>; now items: ObservedArray<ListItemView | DownloadListItemView | ToggleableListItemView>. npmjs.com - Signature changed
YTNodes.LockupMetadataView.title
Was title: Text; now title?: Text. npmjs.com - Signature changed
YTNodes.LockupView.content_id
Was content_id: string; now content_id?: string. npmjs.com - Signature changed
YTNodes.LockupView.content_type
Was content_type: 'UNSPECIFIED' | 'VIDEO' | 'PLAYLIST' | 'SHORT' | 'CHANNEL' | 'ALBUM' | 'PRODUCT' | 'GAME' | 'CLIP' | 'PODCAST' | 'SOURCE' | 'SHOPPING_COLLECTION' | 'MOVIE' | 'STATION' | 'SHOW'; now content_type: LockupContentType. npmjs.com - Signature changed
YTNodes.MenuPopup.items
Was items: ObservedArray<MenuNavigationItem | MenuServiceItem>; now items: ObservedArray<MenuNavigationItem | MenuServiceItem | MenuCustomIconItem>. npmjs.com
And 2 more in this version. Sign up to see every change
youtubei.js 18.1.0 breaking changes
- Renamed
target_duration_dec
The Format field target_duration_dec was renamed to target_duration_sec. Update any code that reads the old field name. github.com - Signature changed
APIResponseTypes.IPlayerResponse
Was type IPlayerResponse = Pick<IParsedResponse, 'captions' | 'cards' | 'endscreen' | 'microformat' | 'annotations' | 'playability_status' | 'streaming_data' | 'player_config' | 'playback_tracking' | 'storyboards' | 'video_details'>; now... npmjs.com - Signature changed
APIResponseTypes.IRawResponse.playabilityStatus
Was playabilityStatus?: {status: string; reason?: string; errorScreen?: RawNode; audioOnlyPlayability?: RawNode; playableInEmbed?: boolean;}; now playabilityStatus?: {status: string; reason?: string; errorScreen?: RawNode... npmjs.com - Signature changed
APIResponseTypes.IRawResponse.playbackTracking
Was playbackTracking?: {videostatsWatchtimeUrl: {baseUrl: string;}; videostatsPlaybackUrl: {baseUrl: string;};}; now playbackTracking?: {videostatsWatchtimeUrl: {baseUrl: string;}; videostatsPlaybackUrl: {baseUrl: string;}; [key: string]... npmjs.com - Signature changed
APIResponseTypes.IRawResponse.streamingData
Was streamingData?: {expiresInSeconds: string; formats: RawNode[]; adaptiveFormats: RawNode[]; dashManifestUrl?: string; hlsManifestUrl?: string; serverAbrStreamingUrl?: string;}; now streamingData?: {expiresInSeconds: string; formats... npmjs.com - Signature changed
EventEmitter
Was class EventEmitterLike extends EventTarget; now class EventEmitterLike<Events extends Record<string, Listener>>. npmjs.com - Signature changed
EventEmitter.emit
Was emit(type: string, ...args: any[]): void; now emit<K extends keyof Events>(type: K, ...args: Parameters<Events[K]>): void. npmjs.com - Signature changed
EventEmitter.off
Was off(type: string, listener: (...args: any[]) => void): void; now off<K extends keyof Events>(type: K, listener: Events[K]): void. npmjs.com - Signature changed
EventEmitter.on
Was on(type: string, listener: (...args: any[]) => void): void; now on<K extends keyof Events>(type: K, listener: Events[K]): void. npmjs.com - Signature changed
EventEmitter.once
Was once(type: string, listener: (...args: any[]) => void): void; now once<K extends keyof Events>(type: K, listener: Events[K]): void. npmjs.com
And 16 more in this version. Sign up to see every change
youtubei.js 18.0.0 breaking changes
- Behavior changed
Comments.ts
Comment threads are now handled through a new subthread format, and the old format is not fully backward compatible. Code that reads comment threads may need to be updated. github.com - Signature changed
Constants.CLIENT_NAME_IDS
Was const CLIENT_NAME_IDS: {readonly iOS: "5"; readonly WEB: "1"; readonly MWEB: "2"; readonly WEB_KIDS: "76"; readonly WEB_REMIX: "67"; readonly ANDROID: "3"; readonly ANDROID_CREATOR: "14"; readonly ANDROID_MUSIC: "21"; readonly... npmjs.com - Signature changed
Constants.CLIENTS
Was const CLIENTS: {readonly IOS: {readonly NAME: "iOS"; readonly VERSION: "20.11.6"; readonly USER_AGENT: "com.google.ios.youtube/20.11.6 (iPhone10, 4; U; CPU iOS 16_7_7 like Mac OS X)"; readonly DEVICE_MODEL: "iPhone10, 4"; readonly... npmjs.com - Signature changed
Misc.Author.url
Was url: string; now readonly url: string | undefined. npmjs.com - Signature changed
Misc.SubscriptionButton.subscribed
Was subscribed: boolean; now subscribed?: boolean. npmjs.com - Signature changed
Misc.SubscriptionButton.text
Was text: Text; now text?: Text. npmjs.com - Signature changed
Types.InnerTubeClient
Was type InnerTubeClient = 'IOS' | 'WEB' | 'MWEB' | 'ANDROID' | 'ANDROID_VR' | 'YTMUSIC' | 'YTMUSIC_ANDROID' | 'YTSTUDIO_ANDROID' | 'TV' | 'TV_SIMPLY' | 'TV_EMBEDDED' | 'YTKIDS' | 'WEB_EMBEDDED' | 'WEB_CREATOR'; now type InnerTubeClient =... npmjs.com - Signature changed
Utils.u8ToBase64
Was function u8ToBase64(u8: Uint8Array): string; now function u8ToBase64(u8: Uint8Array, base64url?: boolean): string. npmjs.com - Signature changed
YTNodes.CommentReplies.contents
Was contents: ObservedArray<YTNode>; now contents: ObservedArray<CommentView | ContinuationItem>. npmjs.com - Signature changed
YTNodes.CommentThread.getContinuation
Was getContinuation(): Promise<CommentThread>; now getContinuation(): Promise<CommentsContinuation>. npmjs.com
And 6 more in this version. Sign up to see every change
youtubei.js 17.2.0 breaking changes
- Signature changed
Constants.CLIENTS
Was const CLIENTS: {readonly IOS: {readonly NAME: "iOS"; readonly VERSION: "20.11.6"; readonly USER_AGENT: "com.google.ios.youtube/20.11.6 (iPhone10, 4; U; CPU iOS 16_7_7 like Mac OS X)"; readonly DEVICE_MODEL: "iPhone10, 4"; readonly... npmjs.com - Signature changed
YT.Playlist.items
Was readonly items: ObservedArray<PlaylistVideo | ReelItem | ShortsLockupView>; now readonly items: ObservedArray<LockupView | PlaylistVideo | ReelItem | ShortsLockupView>. npmjs.com
youtubei.js 17.1.0 breaking changes
- Signature changed
APIResponseTypes.ISearchResponse
Was type ISearchResponse = Pick<IParsedResponse, 'header' | 'header_memo' | 'contents' | 'contents_memo' | 'on_response_received_commands' | 'continuation_contents' | 'continuation_contents_memo' | 'refinements' | 'estimated_results'>; now... npmjs.com - Signature changed
ISearchResponse
Was type ISearchResponse = Pick<IParsedResponse, 'header' | 'header_memo' | 'contents' | 'contents_memo' | 'on_response_received_commands' | 'continuation_contents' | 'continuation_contents_memo' | 'refinements' | 'estimated_results'>; now... npmjs.com - Signature changed
Mixins.Feed.getVideosFromMemo
Was static getVideosFromMemo(memo: Memo): ObservedArray<CompactVideo | GridVideo | PlaylistPanelVideo | PlaylistVideo | ReelItem | ShortsLockupView | Video | WatchCardCompactVideo>; now static getVideosFromMemo(memo: Memo)... npmjs.com - Signature changed
Mixins.Feed.videos
Was readonly videos: ObservedArray<CompactVideo | GridVideo | PlaylistPanelVideo | PlaylistVideo | ReelItem | ShortsLockupView | Video | WatchCardCompactVideo>; now readonly videos: ObservedArray<CompactVideo | GridVideo | LockupView |... npmjs.com - Signature changed
Mixins.FilterableFeed.getFilteredFeed
Was getFilteredFeed(filter: string | ChipCloudChip): Promise<Feed<T>>; now getFilteredFeed(filter: string | ChipCloudChip | ChipView | ListItemView, secondaryFilter?: string | ChipView): Promise<Feed<T>>. npmjs.com - Signature changed
YT.Channel.applyFilter
Was applyFilter(filter: string | ChipCloudChip): Promise<FilteredChannelList>; now applyFilter(primaryFilter: string | ChipView | ListItemView, secondaryFilter?: string | ChipView): Promise<FilteredChannelList>. npmjs.com - Signature changed
YT.Channel.applySort
Was applySort(sort: string): Promise<Channel>; now applySort(sortFilter: string): Promise<Channel>. npmjs.com - Signature changed
YT.FilteredChannelList.applyFilter
Was applyFilter(filter: string | ChipCloudChip): Promise<FilteredChannelList>; now applyFilter(filter: string | ChipView | ChipCloudChip | ListItemView, secondaryFilter?: string | ChipView): Promise<FilteredChannelList>. npmjs.com - Signature changed
YTNodes.ChipView.chip_entity_key
Was chip_entity_key: string; now chip_entity_key?: string. npmjs.com - Signature changed
YTNodes.ChipView.display_type
Was display_type: string; now display_type?: 'CHIP_VIEW_MODEL_DISPLAY_TYPE_UNSPECIFIED' | 'CHIP_VIEW_MODEL_DISPLAY_TYPE_DROP_DOWN' | 'CHIP_VIEW_MODEL_DISPLAY_TYPE_DROP_DOWN_WITH_CLEAR' | 'CHIP_VIEW_MODEL_DISPLAY_TYPE_FILTER' |... npmjs.com
And 5 more in this version. Sign up to see every change
Older versions
31 older versions, each with its first changes. Sign up to see every change
Show 31 older versions
youtubei.js 17.0.1 breaking changes
- Removed
Innertube.getTrending
The trending feed no longer exists on YouTube, so getTrending was removed. Code calling it must be deleted or changed. github.com - Behavior changed
Search filters were changed to match YouTube's updates, so existing filter usage may return different results or fail to apply. Review search filter usage. github.com
And 28 more in this version.
youtubei.js 17.0.0 breaking changes
- Removed
Innertube.getTrending
The trending feed no longer exists on YouTube, so getTrending was removed. Code calling it must be deleted or changed. github.com - Behavior changed
Search filters were changed to match YouTube's updates, so existing filter usage may return different results or fail to apply. Review search filter usage. github.com
youtubei.js 16.0.0 breaking changes
- Behavior changed
The player's JavaScript extraction was rewritten to use AST-based analysis. Code that depends on the previous extraction output may behave differently. github.com - Signature changed
The JavaScript evaluator was changed to async/await, so callers must await it instead of using its result synchronously. github.com
And 21 more in this version.
youtubei.js 15.1.0 breaking changes
- Signature changed
AppendContinuationItemsAction.contents
Was contents: ObservedArray<YTNode> | null; now contents: ObservedArray<YTNode>. npmjs.com - Signature changed
ItemSectionContinuation.contents
Was contents: ObservedArray<YTNode> | null; now contents: ObservedArray<YTNode>. npmjs.com
And 20 more in this version.
youtubei.js 15.0.0 breaking changes
- Configuration changed
The package no longer ships CommonJS builds. Code using require() must switch to ESM import syntax. github.com - Signature changed
Clients.Kids.getInfo
The Kids client getInfo method takes an options object as its second parameter instead of a string. npmjs.com
And 7 more in this version.
youtubei.js 14.0.0 breaking changes
- Configuration changed
StreamingInfoOptions
The release lists the new is_sabr option on StreamingInfoOptions under breaking changes. Code that builds or relies on StreamingInfoOptions should be checked against the new option. github.com - Signature changed
Constants.CLIENT_NAME_IDS
Was const CLIENT_NAME_IDS: {readonly iOS: "5"; readonly WEB: "1"; readonly MWEB: "2"; readonly WEB_KIDS: "76"; readonly WEB_REMIX: "67"; readonly ANDROID: "3"; readonly ANDROID_CREATOR: "14"; readonly ANDROID_MUSIC: "21"; readonly TVHTML5... npmjs.com
And 3 more in this version.
youtubei.js 13.4.0 breaking changes
- Signature changed
APIResponseTypes.IParsedResponse.cpn_info
Was cpn_info?: {cpn: string; cpn_source: CpnSource;}; now cpn_info?: {cpn?: string; cpn_source?: 'CPN_SOURCE_TYPE_UNKNOWN' | 'CPN_SOURCE_TYPE_CLIENT' | 'CPN_SOURCE_TYPE_WATCH_SERVER';}. npmjs.com - Signature changed
APIResponseTypes.IParsedResponse.cpn_info.cpn
Was cpn: string; now cpn?: string. npmjs.com
And 32 more in this version.
youtubei.js 13.3.0 breaking changes
- Signature changed
Player.extractNSigSourceCode
Was static extractNSigSourceCode(data: string): string | undefined; now static extractNSigSourceCode(data: string, ast?: ReturnType<typeof Jinter.parseScript>, global_variable?: ASTLookupResult): string | undefined. npmjs.com - Signature changed
Player.extractSigSourceCode
Was static extractSigSourceCode(data: string): string | undefined; now static extractSigSourceCode(data: string, global_variable?: ASTLookupResult): string | undefined. npmjs.com
And 1 more in this version.
youtubei.js 13.2.0 breaking changes
- Signature changed
Constants.CLIENTS
Was const CLIENTS: {readonly IOS: {readonly NAME: "iOS"; readonly VERSION: "18.06.35"; readonly USER_AGENT: "com.google.ios.youtube/18.06.35 (iPhone; CPU iPhone OS 14_4 like Mac OS X; en_US)"; readonly DEVICE_MODEL: "iPhone10, 6";}... npmjs.com - Signature changed
Misc.RendererContext.accessibility_context
Was accessibility_context: AccessibilityContext; now accessibility_context?: AccessibilityContext. npmjs.com
And 32 more in this version.
youtubei.js 13.1.0 breaking changes
- Signature changed
Constants.CLIENTS
Was const CLIENTS: {readonly IOS: {readonly NAME: "iOS"; readonly VERSION: "18.06.35"; readonly USER_AGENT: "com.google.ios.youtube/18.06.35 (iPhone; CPU iPhone OS 14_4 like Mac OS X; en_US)"; readonly DEVICE_MODEL: "iPhone10, 6";}... npmjs.com - Signature changed
YT.Playlist.info
Was info: {subtitle: import("../misc.js").Text | null; author: import("../misc.js").Author; thumbnails: Thumbnail[]; total_items: string; views: string; last_updated: string; can_share: boolean; can_delete: boolean; is_editable: boolean... npmjs.com
And 7 more in this version.
youtubei.js 13.0.0 breaking changes
- Removed
web.bundle.min
The minified web bundle is no longer shipped. Users who imported it must switch to the regular web bundle and minify it themselves if needed. github.com - Signature changed
APIResponseTypes.IBrowseResponse.on_response_received_actions
Was on_response_received_actions?: ObservedArray<ReloadContinuationItemsCommand | AppendContinuationItemsAction>; now on_response_received_actions?: ObservedArray<AppendContinuationItemsAction | OpenPopupAction | NavigateAction |... npmjs.com
And 51 more in this version.
youtubei.js 12.2.0 breaking changes
- Signature changed
Actions.execute
Was execute<T extends InnertubeEndpoint>(endpoint: T, args: {[key: string]: any; parse: true; protobuf?: false; serialized_data?: any;}): Promise<ParsedResponse<T>> execute<T extends InnertubeEndpoint>(endpoint: T, args?: {[key: string]... npmjs.com - Signature changed
Player.extractSigSourceCode
Was static extractSigSourceCode(data: string): string; now static extractSigSourceCode(data: string): string | undefined. npmjs.com
And 3 more in this version.
youtubei.js 12.1.0 breaking changes
- Signature changed
Constants.CLIENTS
Was const CLIENTS: Readonly<{IOS: {NAME_ID: string; NAME: string; VERSION: string; USER_AGENT: string; DEVICE_MODEL: string;}; WEB: {NAME_ID: string; NAME: string; VERSION: string; API_KEY: string; API_VERSION: string; STATIC_VISITOR_ID... npmjs.com - Signature changed
Types.InnerTubeClient
Was type InnerTubeClient = 'IOS' | 'WEB' | 'ANDROID' | 'YTMUSIC' | 'YTMUSIC_ANDROID' | 'YTSTUDIO_ANDROID' | 'TV' | 'TV_EMBEDDED' | 'YTKIDS' | 'WEB_EMBEDDED' | 'WEB_CREATOR'; now type InnerTubeClient = 'IOS' | 'WEB' | 'MWEB' | 'ANDROID' |... npmjs.com
youtubei.js 12.0.0 breaking changes
- Removed
The old comment node was removed in the parser refactor. Code that relied on it must stop using it. github.com - Removed
Long-deprecated parser getters were removed. Code that uses them must switch to their replacements. github.com
And 40 more in this version.
youtubei.js 11.0.1 breaking changes
- Signature changed
YTNodes.Menu.top_level_buttons
Was top_level_buttons: ObservedArray<Button>; now top_level_buttons: ObservedArray<Button | ButtonView | SegmentedLikeDislikeButtonView>. npmjs.com
youtubei.js 11.0.0 breaking changes
- Signature changed
Constants.CLIENTS
Was const CLIENTS: Readonly<{IOS: {NAME_ID: string; NAME: string; VERSION: string; USER_AGENT: string; DEVICE_MODEL: string;}; WEB: {NAME_ID: string; NAME: string; VERSION: string; API_KEY: string; API_VERSION: string; STATIC_VISITOR_ID... npmjs.com - Signature changed
Misc.Format.audio_track
Was audio_track?: {audio_is_default: boolean; display_name: string; id: string;}; now audio_track?: AudioTrack. npmjs.com
And 17 more in this version.
youtubei.js 10.5.0 breaking changes
- Signature changed
APIResponseTypes.IPlayerConfig.media_common_config
Was media_common_config: {dynamic_readahead_config: {max_read_ahead_media_time_ms: number; min_read_ahead_media_time_ms: number; read_ahead_growth_rate_ms: number;};}; now media_common_config: {dynamic_readahead_config... npmjs.com - Signature changed
APIResponseTypes.IRawPlayerConfig.mediaCommonConfig
Was mediaCommonConfig: {dynamicReadaheadConfig: {maxReadAheadMediaTimeMs: number; minReadAheadMediaTimeMs: number; readAheadGrowthRateMs: number;};}; now mediaCommonConfig: {dynamicReadaheadConfig?: {maxReadAheadMediaTimeMs: number... npmjs.com
And 21 more in this version.
youtubei.js 10.4.0 breaking changes
- Signature changed
Constants.CLIENTS
Was const CLIENTS: Readonly<{iOS: {NAME_ID: string; NAME: string; VERSION: string; USER_AGENT: string; DEVICE_MODEL: string;}; WEB: {NAME_ID: string; NAME: string; VERSION: string; API_KEY: string; API_VERSION: string; STATIC_VISITOR_ID... npmjs.com - Signature changed
Innertube.create
Was static create(config?: InnertubeConfig): Promise<Innertube>; now static create(config?: InnerTubeConfig): Promise<Innertube>. npmjs.com
And 15 more in this version.
youtubei.js 10.3.0 breaking changes
- Signature changed
IBrowseResponse
Was interface IBrowseResponse; now type IBrowseResponse = Pick<IParsedResponse, 'background' | 'continuation_contents' | 'continuation_contents_memo' | 'on_response_received_actions' | 'on_response_received_actions_memo' |... npmjs.com - Signature changed
IBrowseResponse.continuation_contents
Was continuation_contents?: ItemSectionContinuation | SectionListContinuation | LiveChatContinuation | MusicPlaylistShelfContinuation | MusicShelfContinuation | GridContinuation | PlaylistPanelContinuation; now continuation_contents?... npmjs.com
And 69 more in this version.
youtubei.js 10.2.0 breaking changes
- Signature changed
Proto.encodeCommentsSectionParams
Was function encodeCommentsSectionParams(video_id: string, options?: {type?: number; sort_by?: 'TOP_COMMENTS' | 'NEWEST_FIRST';}): string; now function encodeCommentsSectionParams(video_id: string, options?: {type?: number; sort_by?... npmjs.com - Signature changed
YTNodes.CollectionThumbnailView.stack_color
Was stack_color: {light_theme: number; dark_theme: number;}; now stack_color?: {light_theme: number; dark_theme: number;}. npmjs.com
And 2 more in this version.
youtubei.js 10.1.0 breaking changes
- Behavior changed
FormatUtils
FormatUtils now throws when a download request fails instead of failing silently, so code calling downloads must handle exceptions. github.com - Signature changed
Context
Was type Context = {client: {hl: string; gl: string; remoteHost?: string; screenDensityFloat?: number; screenHeightPoints?: number; screenPixelDensity?: number; screenWidthPoints?: number; visitorData?: string; clientName: string... npmjs.com
And 12 more in this version.
youtubei.js 10.0.0 breaking changes
- Behavior changed
OAuth2
The OAuth2 module was rewritten and the credential structure changed. Update existing saved credentials, or delete them and sign in again. github.com - Signature changed
Actions.session
Was readonly session: Session; now session: Session. npmjs.com
And 23 more in this version.
youtubei.js 9.4.0 breaking changes
- Signature changed
Clients.Music.getRelated
Was getRelated(video_id: string): Promise<ObservedArray<MusicCarouselShelf | MusicDescriptionShelf>>; now getRelated(video_id: string): Promise<SectionList | Message>. npmjs.com - Signature changed
Constants.CLIENTS
Was const CLIENTS: Readonly<{iOS: {NAME: string; VERSION: string; USER_AGENT: string; DEVICE_MODEL: string;}; WEB: {NAME: string; VERSION: string; API_KEY: string; API_VERSION: string; STATIC_VISITOR_ID: string;}; WEB_KIDS: {NAME: string... npmjs.com
youtubei.js 9.3.0 breaking changes
- Signature changed
YTNodes.CommentView.applyMutations
Was applyMutations(comment?: RawNode, toolbar_state?: RawNode): void; now applyMutations(comment?: RawNode, toolbar_state?: RawNode, toolbar_surface?: RawNode): void. npmjs.com
youtubei.js 9.2.0 breaking changes
- Signature changed
Constants.CLIENTS
Was const CLIENTS: Readonly<{iOS: {NAME: string; VERSION: string; USER_AGENT: string; DEVICE_MODEL: string;}; WEB: {NAME: string; VERSION: string; API_KEY: string; API_VERSION: string; STATIC_VISITOR_ID: string;}; WEB_KIDS: {NAME: string... npmjs.com - Signature changed
Context.client
Was client: {hl: string; gl: string; remoteHost?: string; screenDensityFloat: number; screenHeightPoints: number; screenPixelDensity: number; screenWidthPoints: number; visitorData: string; clientName: string; clientVersion: string... npmjs.com
And 16 more in this version.
youtubei.js 9.1.0 breaking changes
- Signature changed
YT.Playlist.items
Was readonly items: ObservedArray<PlaylistVideo>; now readonly items: ObservedArray<PlaylistVideo | ReelItem>. npmjs.com
youtubei.js 9.0.0 breaking changes
- Removed
StreamingInfo.duration
StreamingInfo.duration is gone; call the asynchronous getDuration() function instead, since fetching a Post Live DVR video's duration needs a network request. github.com - Signature changed
FormatUtils.toDash
Was function toDash(streaming_data?: IStreamingData, url_transformer?: URLTransformer, format_filter?: FormatFilter, cpn?: string, player?: Player, actions?: Actions, storyboards?: PlayerStoryboardSpec): Promise<string>; now function... npmjs.com
And 11 more in this version.
youtubei.js 8.2.0 breaking changes
- Signature changed
YTNodes.ItemSection.header
Was header: CommentsHeader | ItemSectionHeader | ItemSectionTabbedHeader | null; now header: CommentsHeader | ItemSectionHeader | ItemSectionTabbedHeader | SortFilterHeader | null. npmjs.com
youtubei.js 8.1.0 breaking changes
- Signature changed
Generator.InferenceType
Was type InferenceType = {type: 'renderer'; renderers: string[]; optional: boolean;} | {type: 'renderer_list'; renderers: string[]; optional: boolean;} | MiscInferenceType | {type: 'object'; keys: KeyInfo; optional: boolean;} | {type... npmjs.com - Signature changed
YTNodes.PageHeaderView.image
Was image: ContentPreviewImageView | null; now image: ContentPreviewImageView | DecoratedAvatarView | null. npmjs.com
And 1 more in this version.
youtubei.js 8.0.0 breaking changes
- Removed
Profile and stats info were removed in this release. Code that reads that info must stop using it. github.com - Removed
YT.Channel.getChannels
YouTube removed the Channels tab, so getChannels() is gone. Featured channels now appear on the channel home tab; use the channels getter on the home tab instead. github.com
And 8 more in this version.
youtubei.js 7.0.0 breaking changes
- Signature changed
Clients.Music.getSearchSuggestions
music#getSearchSuggestions returns an array of SearchSuggestionsSection instead of a single node. Code that reads the old single-node result must be updated to handle an array. npmjs.com
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.