Yt-dlp – [Announcement] Bun support is now limited and deprecated
AIThis post was created with the assistance of artificial intelligence (AI).

TL;DR

Yt-dlp has announced that support for the Bun JavaScript runtime will be limited and deprecated. Only Bun versions 1.2.11 to 1.3.14 will be supported moving forward, citing security and compatibility issues. The change aims to mitigate risks from recent development shifts in Bun.

Yt-dlp has announced that support for the Bun JavaScript runtime will be limited and deprecated in future releases, supporting only Bun versions 1.2.11 through 1.3.14. This change reflects concerns over security vulnerabilities and compatibility issues stemming from recent development shifts in Bun, a JavaScript runtime increasingly used in various projects.

Before you orderOffer from Amazon

Get the latest gadgets delivered free with Prime

  • Fast, free delivery on millions of items
  • Prime Video, Amazon Music and more included
  • Member-only deals all year
Start your free Prime trial Free trial for eligible customers · Cancel anytime
As an affiliate, we earn on qualifying purchases.

The decision was communicated via a post on Hacker News, where the maintainers explained that support for Bun earlier than version 1.2.11 will be discontinued due to security risks associated with building the ejs package on older Bun versions. Specifically, versions earlier than 1.2.0 cause the ejs lockfile to be ignored, raising significant security concerns amid recent npm supply chain attacks.

Additionally, the support floor was raised because the ejs test suite cannot be run with Bun versions earlier than 1.2.11. The recent rewrite of Bun in Rust, using Claude, has led to development that the maintainers describe as ‘vibe-coded,’ raising alarms about future stability. The support ceiling is set at version 1.3.14, which is the last release built from the original Zig codebase. Support for Bun will be deprecated entirely if maintaining compatibility becomes too burdensome.

Why It Matters

This development is significant because it highlights ongoing security concerns and stability issues associated with Bun, a JavaScript runtime gaining popularity among developers. For users of yt-dlp, a popular video downloader, the change means they will need to ensure their Bun environment is within the supported versions to avoid disruptions. The move also underscores broader challenges in maintaining compatibility with rapidly evolving open-source projects, especially those undergoing major rewrites or architectural changes.

Products Worth Considering

Apple AirPods Pro 3 Wireless Earbuds with Active Noise Cancellation

Apple AirPods Pro 3 Wireless Earbuds with Active Noise Cancellation

Bose QuietComfort True Wireless Noise-Cancelling Earbuds, Black

Bose QuietComfort True Wireless Noise-Cancelling Earbuds, Black

As an affiliate, we earn on qualifying purchases.

Background

Bun has experienced rapid development, including a recent rewrite in Rust, which has introduced instability and compatibility challenges. Previously, Bun was based on Zig, but the shift in codebase and ongoing development approach have prompted maintainers of yt-dlp to restrict support to a narrow range of versions. The decision aligns with broader concerns about supply chain security, particularly given recent npm-related attacks that exploit vulnerabilities in package management workflows.

“Support for Bun earlier than version 1.2.11 is being discontinued due to security concerns and testing limitations.”

— Yt-dlp team

“We reserve the right to completely drop support for Bun if maintaining compatibility becomes too burdensome.”

— Yt-dlp team

What Remains Unclear

It is not yet clear how widely used Bun is within the yt-dlp community or whether alternative JavaScript runtimes might be adopted in future updates. The full impact of Bun’s recent development direction, especially its rewrite in Rust, remains to be seen, and the timeline for potential further deprecation is uncertain.

What’s Next

Next steps include the upcoming release of yt-dlp with the updated support range, after which users relying on Bun will need to verify their environment’s version. Developers and users should monitor future updates for any further changes or potential complete removal of Bun support, especially if stability issues escalate.

Key Questions

Why is yt-dlp deprecating support for Bun?

Support is being deprecated due to security vulnerabilities in older Bun versions and compatibility issues caused by recent development changes, including a rewrite in Rust.

Which Bun versions will still be supported?

Versions 1.2.11 through 1.3.14 will continue to be supported in upcoming yt-dlp releases.

What should users do if they rely on Bun for yt-dlp?

Users should ensure their Bun environment is within the supported version range and stay updated with yt-dlp releases for any further changes.

Could support for Bun be completely removed in the future?

Yes, the yt-dlp team has indicated they reserve the right to fully drop support if maintaining compatibility becomes too burdensome.

Will this affect other JavaScript runtimes supported by yt-dlp?

This change specifically impacts Bun support; other supported runtimes remain unaffected unless further updates are announced.

Source: Hacker News

You May Also Like

DLL that was not present in memory despite not being formally unloaded

A DLL was found to remain in memory after being supposedly unloaded, causing a recursive exception loop and process termination. Details are still emerging.

Where to buy a non-Apple, non-Google smartphone

Explore options for purchasing smartphones that avoid Apple and Google OSes, including de-Googled Android and Linux-based devices, with current available models.

How AI Will Enhance Your Gaming And Daily Devices In 2026

Discover how artificial intelligence will enhance gaming and everyday devices by 2026, with confirmed developments and ongoing innovations shaping user experiences.

What Are The Best Portable SSDs For AI In 2026?

Discover the top portable SSDs for AI workloads in 2026, including Samsung T9, SanDisk Extreme PRO, and more, based on speed, capacity, and durability.