Skip to content

v4.0.0

Compare
Choose a tag to compare
@fent fent released this 25 Oct 23:33
· 148 commits to master since this release

Bug Fixes

  • request, response events are now forwarded from playlist formats (868213a), closes #671
  • fix isLive check for some formats (f3af856)
  • fix fps for format 278 (d4b7542)
  • show more detailed error when trying to download future livestreams (fa80752)
  • sort formats that are playlist or have contentLength higher (0d27df3), closes #163 #705
  • types: add a couple more format properties (d58ce69)

Code Refactoring

  • fully remove callback support (c483650)
  • fully remove deprecated properties (241f73d)

Features

  • include adaptive formats that would be overwritten by playlist formats (d2d7f94), closes #671

BREAKING CHANGES

  • some formats, particularly in livestreams, may appear twice with the
    same itag, but different urls.
  • support for callbacks in getInfo and getBasicInfo has been
    removed, use promises or async/await
  • deprecated properties that gave a deprecated warning have been
    removed, these properties were moved into info.videoDetails
  • default format sorting has changed. with no options, you may no
    longer get one that has both audio and video on some videos.