Skip to content

Update minimum browser support documentation and build config#7880

Merged
robwalch merged 3 commits into
masterfrom
task/array-includes-compatibility
May 29, 2026
Merged

Update minimum browser support documentation and build config#7880
robwalch merged 3 commits into
masterfrom
task/array-includes-compatibility

Conversation

@robwalch
Copy link
Copy Markdown
Collaborator

@robwalch robwalch commented May 28, 2026

This PR will...

Updating minimum browser support to mirror ES2016 requirements (new Map(), new Set(), Array.from). Add build check for incompatible JS usage in dist output. Document usage of dist vs source with compatibility notice.

Includes a TS remux change that prevents decode errors in legacy versions of Chrome (<75).

Resolves issues:

Resolves #7876

Checklist

  • changes have been done against master branch, and PR does not conflict
  • new unit / functional tests have been added (whenever applicable)
  • API or design changes are documented in API.md

@robwalch robwalch changed the title Use Array.indexOf instead of Array.includes for legacy support Update minimum browser support documentation and build config May 28, 2026
@robwalch robwalch added this to the 1.7.0 milestone May 28, 2026
@robwalch robwalch force-pushed the task/array-includes-compatibility branch from e17fdc4 to 9e690d0 Compare May 28, 2026 23:59
…imestampOffset is applied on remuxed TS (legacy browser support)
@robwalch robwalch merged commit 819d901 into master May 29, 2026
16 checks passed
@robwalch robwalch deleted the task/array-includes-compatibility branch May 29, 2026 16:15
@github-project-automation github-project-automation Bot moved this from Top priorities to Done in HLS.js Release Planning and Backlog May 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Doesn't work in Chrome 39+ as documented because Array.includes is supported in Chrome 47+

1 participant