unstale

npm / dashjs

dashjs

What changed in dashjs 5, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-28.

1 breaking10 new APIs and options2 performance5 behavior and defaults21 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli 0.2.9 on npm

dashjs 539 changes

Breaking changes 1

  • Scrub-bar and timeline behavior changes for VoD when the MPD transitions from dynamic to static.

    5.2.1release notes

New APIs and options 10

  • Adds support for an external certificate URL for FairPlay.

    5.2.1release notes

  • Adds a setting for switching between Bola and Throughput rules.

    5.2.1release notes

  • Adds the ability to filter initial tracks by codec string.

    5.2.1release notes

  • Adds DRM support for Apple FairPlay Streaming.

    5.2.0release notes

  • Adds a setting that expires blacklisted service locations.

    5.2.0release notes

  • Adds support for the Certurl element.

    5.2.0release notes

  • Adds comprehensive support for CMCD Version 2, expanding media analytics and client-side data reporting.

    5.2.0release notes

  • Adds a method for applications to get all Representations regardless of filter settings.

    5.2.0release notes

  • Adds a setting to prevent limiting bitrate too much based on the portal minimum.

    5.2.0release notes

  • An offset can be configured in settings and applied when doing gap jumps.

    5.1.1release notes

Performance 2

  • Reuses the top-bitrate representation list within a request.

    5.2.1release notes

  • Quality switching is faster when limitBitrateByPortal is enabled.

    5.1.1release notes

Behavior and default changes 5

  • Adds the current timestamp to the controlbar progress bar.

    5.2.1release notes

  • Updates the 608 library to support H.265/H.266 payloads.

    5.2.0release notes

  • Adds a warning when an AdaptationSet is filtered because of unsupported EssentialProperties.

    5.2.0release notes

  • Enhancement codecs can be re-tested in Capabilities.js when settings change.

    5.1.1release notes

  • Scalable buffering behavior is improved.

    5.1.1release notes

Fixes and other changes 21

  • Fixes the blacklist controller not being active after reset.

    5.2.1release notes

  • The capability event now includes the remaining AdaptationSets in the manifest.

    5.2.1release notes

  • Fixes multiple memory leaks involving Cta608Parser and ResizeObserver.

    5.2.1release notes

  • Fixes the published ESM import entry so it no longer contains CommonJS/global wrapper semantics or triggers modern bundler warnings.

    5.2.1release notes

  • Maps an event duration of 0xFFFFFFFF to NaN so events do not stay in the state described by the notes.

    5.2.1release notes

  • Fixes quality switching for L3D-DASH streams that use AdaptationSets.

    5.2.1release notes

  • Prevents exceptions when a manifest has no Periods.

    5.2.1release notes

  • Fixes a multi-period regression.

    5.2.1release notes

  • Fixes subtitles in multi-period content.

    5.2.1release notes

  • Prevents reusing previous-period SourceBuffers when changeType is unavailable.

    5.2.1release notes

  • Handles completion of VOD tail buffering.

    5.2.1release notes

  • Maps Supplemental and Essential Properties from AdaptationSet to all Representations, excluding those needed for URLQueryParams according to Annex I.

    5.2.0release notes

  • Fixes an issue that caused an exponential increase in concurrent segment requests.

    5.2.0release notes

  • Makes MediaPlayerFactory SSR-safe to prevent a 'window is not defined' error.

    5.2.0release notes

  • Allows preload to work even when cacheInitSegments is false.

    5.2.0release notes

  • Reads the request timeout dynamically when settings are updated during runtime.

    5.2.0release notes

  • Aborts retrieveManifest requests after reset.

    5.2.0release notes

  • Capabilities are filtered based on the number of audio channels.

    5.1.1release notes

  • Parsing uses the correct text for binary MPD inline events.

    5.1.1release notes

  • Current content steering information from the manifest is saved and used if it is removed by an MPD update.

    5.1.1release notes

  • Inline events are re-added after a seek.

    5.1.1release notes