FreeTube icon indicating copy to clipboard operation
FreeTube copied to clipboard

Bump youtubei.js from 13.4.0 to 14.0.0

Open dependabot[bot] opened this issue 9 months ago • 11 comments

Bumps youtubei.js from 13.4.0 to 14.0.0.

Closes #7437

Release notes

Sourced from youtubei.js's releases.

v14.0.0

14.0.0 (2025-06-08)

⚠ BREAKING CHANGES

  • StreamingInfoOptions: Add is_sabr option (#974)

Features

  • Add TV_SIMPLY client (8cf6581)
  • MediaInfo: Add updateWatchTime (#874) (065e9a4)
  • StreamingInfoOptions: Add is_sabr option (#974) (561e60b)
  • VideoInfo: implement MacroMarkersListEntity parser for heatmap (#973) (876e94a)

Bug Fixes

  • add missing TV_SIMPLY parts on some files (#975) (689fb0b)
  • Constants: Add TVHTML5_SIMPLY to CLIENT_NAME_IDS (b15f623)
  • getBasicInfo: Add racyCheckOk and contentCheckOk to payload (#961) (0f1fd72)
  • Handle CommandExecutorCommand in NavigationEndpoint.call (#968) (698121a)
  • Innertube: Properly encoded params in getPostComments() (#955) (92b8623)
  • Session: Initialize client version based on provided client name (#971) (bb022e8)
Changelog

Sourced from youtubei.js's changelog.

14.0.0 (2025-06-08)

⚠ BREAKING CHANGES

  • StreamingInfoOptions: Add is_sabr option (#974)

Features

  • Add TV_SIMPLY client (8cf6581)
  • MediaInfo: Add updateWatchTime (#874) (065e9a4)
  • StreamingInfoOptions: Add is_sabr option (#974) (561e60b)
  • VideoInfo: implement MacroMarkersListEntity parser for heatmap (#973) (876e94a)

Bug Fixes

  • add missing TV_SIMPLY parts on some files (#975) (689fb0b)
  • Constants: Add TVHTML5_SIMPLY to CLIENT_NAME_IDS (b15f623)
  • getBasicInfo: Add racyCheckOk and contentCheckOk to payload (#961) (0f1fd72)
  • Handle CommandExecutorCommand in NavigationEndpoint.call (#968) (698121a)
  • Innertube: Properly encoded params in getPostComments() (#955) (92b8623)
  • Session: Initialize client version based on provided client name (#971) (bb022e8)
Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

dependabot[bot] avatar Jun 09 '25 15:06 dependabot[bot]

Updated usage of API with breaking changes You can test with https://youtu.be/N0XLyzFfL4E to ensure thumbnail shows up on seek bar Video found via script from https://github.com/FreeTubeApp/FreeTube/pull/3872

Code related details you can ignore Also the new method signature is misleading - include_thumbnails should be inside options.manifest_options instead of options See my comment on that breaking change at https://github.com/LuanRT/YouTube.js/pull/974/files#r2136734435

PikachuEXE avatar Jun 10 '25 01:06 PikachuEXE

We likely also need to update the toDash call in our Invidious code.

absidue avatar Jun 10 '25 04:06 absidue

I have checked that as well but I forgot to mention FormatUtils.toDash in IV code is from DashManifest which has NOT been changed in v14

  • https://github.com/LuanRT/YouTube.js/blob/v13.4.0/src/utils/DashManifest.tsx
  • https://github.com/LuanRT/YouTube.js/blob/v14.0.0/src/utils/DashManifest.tsx

PikachuEXE avatar Jun 10 '25 05:06 PikachuEXE

Local API seems fine but cant test IV API because im receiving an error that is also present in dev branch

VirtualBoxVM_QIB1ylvXH0

Tested IV with electron 35.5.1 due to issue at https://github.com/FreeTubeApp/FreeTube/pull/7421

Slipped a fix for undefined property warning/error found during testing

PikachuEXE avatar Jun 11 '25 01:06 PikachuEXE

It all looks good to me but just to be sure i would like to test it for a few days. Could you provide me a custom build

https://github.com/FreeTubeApp/FreeTube/actions/runs/15584531924

PikachuEXE avatar Jun 11 '25 12:06 PikachuEXE

@ArthurKun21 that error is totally unrelated to this PR. Please read through the code and changelog

Still pending?

PikachuEXE avatar Jun 16 '25 07:06 PikachuEXE

There is a known bug with 14.0.0 that it will always use the hardcoded client version rather than the latest one fetched from YouTube. I'm not sure if it will cause any problems with the watch page, but considering that there are already playback issues due to Electron 36, it is probably fine to proceed with the YouTube.js update anyway.

absidue avatar Jun 16 '25 07:06 absidue

https://github.com/LuanRT/YouTube.js/pull/971#pullrequestreview-2916486689 ?

I agree it should provide an option to allow using latest version instead of hardcoded version Don't merge for now then, no point for rushing

PikachuEXE avatar Jun 16 '25 07:06 PikachuEXE

This PR is stale because it has been open 14 days with no activity. Remove stale label or comment or this will be closed in 14 days.

github-actions[bot] avatar Jul 01 '25 02:07 github-actions[bot]

A newer version of youtubei.js exists, but since this PR has been edited by someone other than Dependabot I haven't updated it. You'll get a PR for the updated version as normal once this PR is merged.

dependabot[bot] avatar Jul 18 '25 16:07 dependabot[bot]

@dependabot recreate

absidue avatar Jul 18 '25 16:07 absidue

Superseded by #7701.

dependabot[bot] avatar Jul 18 '25 16:07 dependabot[bot]