Skip to content

Bump youtubei.js from 13.4.0 to 14.0.0 #7542

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: development
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 9, 2025

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)

Bumps [youtubei.js](https://github.com/LuanRT/YouTube.js) from 13.4.0 to 14.0.0.
- [Release notes](https://github.com/LuanRT/YouTube.js/releases)
- [Changelog](https://github.com/LuanRT/YouTube.js/blob/main/CHANGELOG.md)
- [Commits](LuanRT/YouTube.js@v13.4.0...v14.0.0)

---
updated-dependencies:
- dependency-name: youtubei.js
  dependency-version: 14.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added PR: dependencies Pull requests that update a dependency file PR: waiting for review For PRs that are complete, tested, and ready for review labels Jun 9, 2025
@FreeTubeBot FreeTubeBot enabled auto-merge (squash) June 9, 2025 15:10
@PikachuEXE
Copy link
Collaborator

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 #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

@absidue
Copy link
Member

absidue commented Jun 10, 2025

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

@PikachuEXE
Copy link
Collaborator

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

@efb4f5ff-1298-471a-8973-3d47447115dc

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

VirtualBoxVM_QIB1ylvXH0

@PikachuEXE
Copy link
Collaborator

Tested IV with electron 35.5.1 due to issue at #7421

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

@efb4f5ff-1298-471a-8973-3d47447115dc

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

@PikachuEXE
Copy link
Collaborator

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

@efb4f5ff-1298-471a-8973-3d47447115dc

This comment was marked as off-topic.

Copy link
Member

@efb4f5ff-1298-471a-8973-3d47447115dc efb4f5ff-1298-471a-8973-3d47447115dc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested it for 6 hours straight and didnt see anything weird so i dont think testing a few days will come up with something new

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR: dependencies Pull requests that update a dependency file PR: waiting for review For PRs that are complete, tested, and ready for review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: Playlists not loading - TypeError: n.getApiPath is not a function
3 participants