Skip to content

Commit

Permalink
chore(main): release 4.0.0-master
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed May 26, 2022
1 parent b70938c commit 9790347
Show file tree
Hide file tree
Showing 3 changed files with 103 additions and 3 deletions.
100 changes: 100 additions & 0 deletions CHANGELOG.md
@@ -1,5 +1,105 @@
# Changelog

## [4.0.0-master](https://github.com/joeyparrish/shaka-player/compare/v3.3.2-master...v4.0.0-master) (2022-05-26)


### ⚠ BREAKING CHANGES

* Remove small/large gap config, always jump gaps (#4125)
* **config:** `manifest.dash.defaultPresentationDelay` has been replaced by `manifest.defaultPresentationDelay` (deprecated in v3.0.0)
* **config:** Configuration of factories should be plain factory functions, not constructors; these will not be invoked with `new` (deprecated in v3.1.0)
* **player:** `shaka.Player.prototype.addTextTrack()` has been replaced by `addTextTrackAsync()`, which returns a `Promise` (deprecated in v3.1.0)
* **ui:** `shaka.ui.TrackLabelFormat` has been renamed to `shaka.ui.Overlay.TrackLabelFormat` (deprecated in v3.1.0)
* **ui:** `shaka.ui.FailReasonCode` has been renamed to `shaka.ui.Overlay.FailReasonCode` (deprecated in v3.1.0)
* **offline:** `shaka.offline.Storage.prototype.store()` returns `AbortableOperation` instead of `Promise` (deprecated in v3.0.0)
* **offline:** `shaka.offline.Storage.prototype.getStoreInProgress()` has been removed; concurrent operations are supported, so callers don't need to check this (deprecated in v3.0.0)
* `shaka.util.Uint8ArrayUtils.equal` has been replaced by `shaka.util.BufferUtils.equal`, which can handle multiple types of buffers (deprecated in v3.0.0)
* **manifest:** `shaka.media.SegmentIndex.prototype.destroy()` has been replaced by `release()`, which is synchronous (deprecated in v3.0.0)
* **manifest:** `shaka.media.SegmentIterator.prototype.seek()`, which mutates the iterator, has been replaced by `shaka.media.SegmentIndex.getIteratorForTime()` (deprecated in v3.1.0)
* **manifest:** `shaka.media.SegmentIndex.prototype.merge()` has become private; use `mergeAndEvict()` instead (deprecated in v3.2.0)
* **plugin:** `AbrManager` plugins must implement the `playbackRateChanged()` method (deprecated in v3.0.0)
* **plugin:** `shaka.extern.Cue.prototype.spacer` has been replaced by the more clearly-named `lineBreak` (deprecated in v3.1.0)
* **plugin:** `IUIElement` plugins must have a `release()` method (not `destroy()`) (deprecated in v3.0.0)
* Remove deprecated features, update upgrade guides (#4089)
* Remove support for Safari 12 and iOS 12 (#4112)
* **hls:** HLS disabled in old browsers/platforms due to incompatibilities (#3964)

### Features

* `shaka.util.Uint8ArrayUtils.equal` has been replaced by `shaka.util.BufferUtils.equal`, which can handle multiple types of buffers (deprecated in v3.0.0) ([ac5acc8](https://github.com/joeyparrish/shaka-player/commit/ac5acc80cb8d2bcb58455e8f66f7e1c2d18b0a3a))
* Add Dockerfile and docker build instructions ([925de19](https://github.com/joeyparrish/shaka-player/commit/925de1995eeb22863e8d4e92d720465834619288))
* Add Id to chapters ([#4184](https://github.com/joeyparrish/shaka-player/issues/4184)) ([5ca3271](https://github.com/joeyparrish/shaka-player/commit/5ca32712e375ba875be86827ea1efaaa5e3c0035))
* add new methods to FairPlayUtils ([#4029](https://github.com/joeyparrish/shaka-player/issues/4029)) ([f1eeac1](https://github.com/joeyparrish/shaka-player/commit/f1eeac1efb618aa7202b17b67c43056714f8da2f))
* add option for segment-relative VTT timings ([#4083](https://github.com/joeyparrish/shaka-player/issues/4083)) ([f382cc7](https://github.com/joeyparrish/shaka-player/commit/f382cc702be6cc28266fe61a33e43573cb22be57))
* **cast:** Add Android receiver support ([#4183](https://github.com/joeyparrish/shaka-player/issues/4183)) ([dbba571](https://github.com/joeyparrish/shaka-player/commit/dbba571c6bb7e99a99469ffb695f59a590d44118))
* **config:** `manifest.dash.defaultPresentationDelay` has been replaced by `manifest.defaultPresentationDelay` (deprecated in v3.0.0) ([ac5acc8](https://github.com/joeyparrish/shaka-player/commit/ac5acc80cb8d2bcb58455e8f66f7e1c2d18b0a3a))
* **config:** Configuration of factories should be plain factory functions, not constructors; these will not be invoked with `new` (deprecated in v3.1.0) ([ac5acc8](https://github.com/joeyparrish/shaka-player/commit/ac5acc80cb8d2bcb58455e8f66f7e1c2d18b0a3a))
* **dash:** Construct ClearKey PSSH based on MPD ContentProtection ([#4104](https://github.com/joeyparrish/shaka-player/issues/4104)) ([b83b412](https://github.com/joeyparrish/shaka-player/commit/b83b4120f46ae94e3ce194f43b13517b7a736f07))
* **dash:** Parse ClearKey license URL in MPD ([#4066](https://github.com/joeyparrish/shaka-player/issues/4066)) ([19e24b1](https://github.com/joeyparrish/shaka-player/commit/19e24b1d741b4ba6946011748be8b759b4b71773))
* **DRM:** add drmInfo to license requests ([#4030](https://github.com/joeyparrish/shaka-player/issues/4030)) ([abe846e](https://github.com/joeyparrish/shaka-player/commit/abe846e1a3456b029822ea42eb0520dec547fda6))
* **DRM:** add initData and initDataType to license requests ([#4039](https://github.com/joeyparrish/shaka-player/issues/4039)) ([bdc5ea7](https://github.com/joeyparrish/shaka-player/commit/bdc5ea767ebe55bb0b18dd106e269ab3fecd6d00))
* **hls:** Add support for EXT-X-GAP ([#4208](https://github.com/joeyparrish/shaka-player/issues/4208)) ([14e61a7](https://github.com/joeyparrish/shaka-player/commit/14e61a7368ddbd66c4b10f3b0475840cc50512bd)), closes [#1308](https://github.com/joeyparrish/shaka-player/issues/1308)
* **hls:** HLS disabled in old browsers/platforms due to incompatibilities ([#3964](https://github.com/joeyparrish/shaka-player/issues/3964)) ([0daa00f](https://github.com/joeyparrish/shaka-player/commit/0daa00fc7f074c1c86968ed0fcd84bc30254ee6d))
* **hls:** make a head request if hls subtitles have no extension ([#4140](https://github.com/joeyparrish/shaka-player/issues/4140)) ([19e12b5](https://github.com/joeyparrish/shaka-player/commit/19e12b5e282e661a9a17a6bfbb87c565faf2bc6e))
* **hls:** parse EXT-X-GAP ([#4134](https://github.com/joeyparrish/shaka-player/issues/4134)) ([42eecc8](https://github.com/joeyparrish/shaka-player/commit/42eecc84f992ca6a680c3a5fd46d1c300fe92a72))
* **HLS:** Re-add TS support to Safari ([#4097](https://github.com/joeyparrish/shaka-player/issues/4097)) ([8a3bed7](https://github.com/joeyparrish/shaka-player/commit/8a3bed710c104c9729fec2072318e50f9fe15ab2))
* **hls:** Read EXT-X-PROGRAM-DATE-TIME ([#4034](https://github.com/joeyparrish/shaka-player/issues/4034)) ([89409ce](https://github.com/joeyparrish/shaka-player/commit/89409cee3eaeb6764dbc191b7408bf45eecdced3)), closes [#2337](https://github.com/joeyparrish/shaka-player/issues/2337)
* **manifest:** `shaka.media.SegmentIndex.prototype.destroy()` has been replaced by `release()`, which is synchronous (deprecated in v3.0.0) ([ac5acc8](https://github.com/joeyparrish/shaka-player/commit/ac5acc80cb8d2bcb58455e8f66f7e1c2d18b0a3a))
* **manifest:** `shaka.media.SegmentIndex.prototype.merge()` has become private; use `mergeAndEvict()` instead (deprecated in v3.2.0) ([ac5acc8](https://github.com/joeyparrish/shaka-player/commit/ac5acc80cb8d2bcb58455e8f66f7e1c2d18b0a3a))
* **manifest:** `shaka.media.SegmentIterator.prototype.seek()`, which mutates the iterator, has been replaced by `shaka.media.SegmentIndex.getIteratorForTime()` (deprecated in v3.1.0) ([ac5acc8](https://github.com/joeyparrish/shaka-player/commit/ac5acc80cb8d2bcb58455e8f66f7e1c2d18b0a3a))
* **offline:** `shaka.offline.Storage.prototype.getStoreInProgress()` has been removed; concurrent operations are supported, so callers don't need to check this (deprecated in v3.0.0) ([ac5acc8](https://github.com/joeyparrish/shaka-player/commit/ac5acc80cb8d2bcb58455e8f66f7e1c2d18b0a3a))
* **offline:** `shaka.offline.Storage.prototype.store()` returns `AbortableOperation` instead of `Promise` (deprecated in v3.0.0) ([ac5acc8](https://github.com/joeyparrish/shaka-player/commit/ac5acc80cb8d2bcb58455e8f66f7e1c2d18b0a3a))
* **offline:** improve the speed of offline downloads ([#4168](https://github.com/joeyparrish/shaka-player/issues/4168)) ([73f6de3](https://github.com/joeyparrish/shaka-player/commit/73f6de3e01ae4ed3b86302add7ee16c86c3b9b78))
* only polyfill MCap for non Android-based Cast devices. ([#4170](https://github.com/joeyparrish/shaka-player/issues/4170)) ([11321d8](https://github.com/joeyparrish/shaka-player/commit/11321d8f26b01412fa5173aa6efcf777186fa7a0))
* **player:** `shaka.Player.prototype.addTextTrack()` has been replaced by `addTextTrackAsync()`, which returns a `Promise` (deprecated in v3.1.0) ([ac5acc8](https://github.com/joeyparrish/shaka-player/commit/ac5acc80cb8d2bcb58455e8f66f7e1c2d18b0a3a))
* **plugin:** `AbrManager` plugins must implement the `playbackRateChanged()` method (deprecated in v3.0.0) ([ac5acc8](https://github.com/joeyparrish/shaka-player/commit/ac5acc80cb8d2bcb58455e8f66f7e1c2d18b0a3a))
* **plugin:** `IUIElement` plugins must have a `release()` method (not `destroy()`) (deprecated in v3.0.0) ([ac5acc8](https://github.com/joeyparrish/shaka-player/commit/ac5acc80cb8d2bcb58455e8f66f7e1c2d18b0a3a))
* **plugin:** `shaka.extern.Cue.prototype.spacer` has been replaced by the more clearly-named `lineBreak` (deprecated in v3.1.0) ([ac5acc8](https://github.com/joeyparrish/shaka-player/commit/ac5acc80cb8d2bcb58455e8f66f7e1c2d18b0a3a))
* Public release of Sindarin (sjn) translation easter egg ([#4033](https://github.com/joeyparrish/shaka-player/issues/4033)) ([9029d06](https://github.com/joeyparrish/shaka-player/commit/9029d0677e0e0325e0dbe939907ba60ecec74c92))
* Remove deprecated features, update upgrade guides ([#4089](https://github.com/joeyparrish/shaka-player/issues/4089)) ([ac5acc8](https://github.com/joeyparrish/shaka-player/commit/ac5acc80cb8d2bcb58455e8f66f7e1c2d18b0a3a))
* Remove small/large gap config, always jump gaps ([#4125](https://github.com/joeyparrish/shaka-player/issues/4125)) ([0fd1999](https://github.com/joeyparrish/shaka-player/commit/0fd19997dde7b03bad7464a82dc86d7b2cd8a304))
* Remove support for Safari 12 and iOS 12 ([#4112](https://github.com/joeyparrish/shaka-player/issues/4112)) ([8bb7044](https://github.com/joeyparrish/shaka-player/commit/8bb70449d33c31a0e7fc312260dc001cc9e3a792))
* Temporarily disable the active variant from NETWORK HTTP_ERROR ([#4189](https://github.com/joeyparrish/shaka-player/issues/4189)) ([b57279d](https://github.com/joeyparrish/shaka-player/commit/b57279d39c24d3b2568c4b62338524ecc23423ad)), closes [#4121](https://github.com/joeyparrish/shaka-player/issues/4121) [#1542](https://github.com/joeyparrish/shaka-player/issues/1542) [#2541](https://github.com/joeyparrish/shaka-player/issues/2541)
* **ui:** `shaka.ui.FailReasonCode` has been renamed to `shaka.ui.Overlay.FailReasonCode` (deprecated in v3.1.0) ([ac5acc8](https://github.com/joeyparrish/shaka-player/commit/ac5acc80cb8d2bcb58455e8f66f7e1c2d18b0a3a))
* **ui:** `shaka.ui.TrackLabelFormat` has been renamed to `shaka.ui.Overlay.TrackLabelFormat` (deprecated in v3.1.0) ([ac5acc8](https://github.com/joeyparrish/shaka-player/commit/ac5acc80cb8d2bcb58455e8f66f7e1c2d18b0a3a))
* **ui:** Add quality selection for audio-only content ([#3649](https://github.com/joeyparrish/shaka-player/issues/3649)) ([adc3502](https://github.com/joeyparrish/shaka-player/commit/adc3502d55f39eaca30f3c42e17961ec7d681c80)), closes [#2071](https://github.com/joeyparrish/shaka-player/issues/2071)
* **UI:** Added keyboardSeekDistance config to UI ([#4246](https://github.com/joeyparrish/shaka-player/issues/4246)) ([6084ca6](https://github.com/joeyparrish/shaka-player/commit/6084ca6395fbe3d5a97fa92137b8bb51f15c89f8))


### Bug Fixes

* Add missing module export in generated typescript defs ([feefd7b](https://github.com/joeyparrish/shaka-player/commit/feefd7b7d1cc318800c8d83de8cce81c57939f7d))
* **cea:** make a more robust CEA MP4 parser ([#3965](https://github.com/joeyparrish/shaka-player/issues/3965)) ([2687b95](https://github.com/joeyparrish/shaka-player/commit/2687b95d5830179c53914a7e903ecfbaced429cc))
* **cmcd:** Fix Symbol usage in CMCD on Xbox One ([#4073](https://github.com/joeyparrish/shaka-player/issues/4073)) ([4005754](https://github.com/joeyparrish/shaka-player/commit/400575498f34cf252aaba0bc1367953b8cf44537)), closes [#4072](https://github.com/joeyparrish/shaka-player/issues/4072)
* **css:** Fix missing % in calculation ([#4157](https://github.com/joeyparrish/shaka-player/issues/4157)) ([1c86195](https://github.com/joeyparrish/shaka-player/commit/1c8619582319c46c524807aa4bdff1191b2efc91))
* **dash:** Account for bandwidth before filtering text stream ([#3765](https://github.com/joeyparrish/shaka-player/issues/3765)) ([0b04aec](https://github.com/joeyparrish/shaka-player/commit/0b04aecdd7ad4184a72b8cf562318b28128344bf)), closes [#3724](https://github.com/joeyparrish/shaka-player/issues/3724)
* **dash:** Fix performance regression ([#4064](https://github.com/joeyparrish/shaka-player/issues/4064)) ([298b604](https://github.com/joeyparrish/shaka-player/commit/298b60481d34bd9d776874fe1b9a8eea05b533d9))
* **dash:** Fix playback of Dolby Atmos ([#4173](https://github.com/joeyparrish/shaka-player/issues/4173)) ([d51fe23](https://github.com/joeyparrish/shaka-player/commit/d51fe23b7fab99501818c18cc76586e1ec4abcdd)), closes [#4171](https://github.com/joeyparrish/shaka-player/issues/4171)
* Do not report MANIFEST RESTRICTIONS_CANNOT_BE_MET error twice ([#4194](https://github.com/joeyparrish/shaka-player/issues/4194)) ([08589e8](https://github.com/joeyparrish/shaka-player/commit/08589e8fb27f3f73f64204e7d3a2387f3c197d84)), closes [#4190](https://github.com/joeyparrish/shaka-player/issues/4190)
* Don't send drmsessionupdate after unload ([#4248](https://github.com/joeyparrish/shaka-player/issues/4248)) ([60af9ad](https://github.com/joeyparrish/shaka-player/commit/60af9ad596e5c2cb31d1e7bb616e415cf46ca761))
* **fairplay:** Re-add initDataTransform config ([#4231](https://github.com/joeyparrish/shaka-player/issues/4231)) ([ff310e9](https://github.com/joeyparrish/shaka-player/commit/ff310e91e564bcc4be340c47bf1be81a5323765a))
* Fix audio mime type in multiplexed HLS stream ([#4241](https://github.com/joeyparrish/shaka-player/issues/4241)) ([4e4e92e](https://github.com/joeyparrish/shaka-player/commit/4e4e92e98da357285547859a98e6b3fe75d1904f))
* Fix broken deps file generation on Windows ([#4086](https://github.com/joeyparrish/shaka-player/issues/4086)) ([9660ce8](https://github.com/joeyparrish/shaka-player/commit/9660ce85df48856b964eebc330c28beba2e3068a)), closes [#4085](https://github.com/joeyparrish/shaka-player/issues/4085)
* Fix encryption detection to work around broken platforms ([#4169](https://github.com/joeyparrish/shaka-player/issues/4169)) ([c5f474e](https://github.com/joeyparrish/shaka-player/commit/c5f474ef983169e6ff29f1594d15a9b50b12d316))
* Fix event listener leaks in Player ([#4229](https://github.com/joeyparrish/shaka-player/issues/4229)) ([a5d3568](https://github.com/joeyparrish/shaka-player/commit/a5d356874ba90069ca5a86be1979a5904a1150e8))
* Fix exception with streaming.startAtSegmentBoundary ([#4216](https://github.com/joeyparrish/shaka-player/issues/4216)) ([426a19c](https://github.com/joeyparrish/shaka-player/commit/426a19c8e7ff188390e7430fb02f3cfcb79cc017)), closes [#4188](https://github.com/joeyparrish/shaka-player/issues/4188)
* Fix exceptions when quickly shutting down src= on Safari ([#4088](https://github.com/joeyparrish/shaka-player/issues/4088)) ([ca08230](https://github.com/joeyparrish/shaka-player/commit/ca08230fbe85d66176c7fa1fb4f9782d0ab364fc)), closes [#4087](https://github.com/joeyparrish/shaka-player/issues/4087)
* Fix PERIOD_FLATTENING_FAILED error when periods have different base sample types ([#4206](https://github.com/joeyparrish/shaka-player/issues/4206)) ([b757a81](https://github.com/joeyparrish/shaka-player/commit/b757a81902a2159b217e7cb6a1445ab6d4d69bf4)), closes [#4202](https://github.com/joeyparrish/shaka-player/issues/4202)
* Fix playRangeEnd for certain content ([#4068](https://github.com/joeyparrish/shaka-player/issues/4068)) ([5c81f3b](https://github.com/joeyparrish/shaka-player/commit/5c81f3bddb9e48431556f4d622364043fee4ea80)), closes [#4026](https://github.com/joeyparrish/shaka-player/issues/4026)
* Fix VTT cue timing in HLS ([#4217](https://github.com/joeyparrish/shaka-player/issues/4217)) ([5818260](https://github.com/joeyparrish/shaka-player/commit/58182605a7da3c18a7331828c319c88446a13d52)), closes [#4191](https://github.com/joeyparrish/shaka-player/issues/4191)
* **hls:** Fix av1 codec selection in HLS. ([#4203](https://github.com/joeyparrish/shaka-player/issues/4203)) ([5e13495](https://github.com/joeyparrish/shaka-player/commit/5e1349570d64c17e6ca1fcdc5ffde1076ea9a999))
* **hls:** Fix X-PRELOAD-HINT failure with LL mode off ([#4212](https://github.com/joeyparrish/shaka-player/issues/4212)) ([86497a5](https://github.com/joeyparrish/shaka-player/commit/86497a5089e272ed682f017f5ed9135108be5a65)), closes [#4185](https://github.com/joeyparrish/shaka-player/issues/4185)
* **hls:** Fixed buffering issue with live HLS ([#4002](https://github.com/joeyparrish/shaka-player/issues/4002)) ([c438e85](https://github.com/joeyparrish/shaka-player/commit/c438e857f2f122eb45899148e067d68ffec3477c))
* **hls:** Support playing media playlists directly ([#4080](https://github.com/joeyparrish/shaka-player/issues/4080)) ([48dd205](https://github.com/joeyparrish/shaka-player/commit/48dd20562c2226f61cc753a922629e44c1866f6d)), closes [#3536](https://github.com/joeyparrish/shaka-player/issues/3536)
* **offline:** Clean up orphaned segments on abort ([#4177](https://github.com/joeyparrish/shaka-player/issues/4177)) ([c07447f](https://github.com/joeyparrish/shaka-player/commit/c07447f00e9095020890366695561b71b045e55a))
* **offline:** Speed up offline storage by ~87% ([#4176](https://github.com/joeyparrish/shaka-player/issues/4176)) ([c1c9613](https://github.com/joeyparrish/shaka-player/commit/c1c96135120480afc9615713812eecc4a51f153b)), closes [#4166](https://github.com/joeyparrish/shaka-player/issues/4166)
* **performance:** Eliminate use of ES6 generators ([#4092](https://github.com/joeyparrish/shaka-player/issues/4092)) ([57c7324](https://github.com/joeyparrish/shaka-player/commit/57c73241a0e8ce1615f7b3aca4c3ad8f69b7e8c2)), closes [#4062](https://github.com/joeyparrish/shaka-player/issues/4062)
* Revert "Add missing module export in generated typescript defs" ([#4175](https://github.com/joeyparrish/shaka-player/issues/4175)) ([fe4f5c6](https://github.com/joeyparrish/shaka-player/commit/fe4f5c6e19214d6cf4d42da9430de03040532bab)), closes [#4167](https://github.com/joeyparrish/shaka-player/issues/4167)
* Select first of identical audio streams ([#3869](https://github.com/joeyparrish/shaka-player/issues/3869)) ([a6d8610](https://github.com/joeyparrish/shaka-player/commit/a6d8610241dc7c8abd56cf7f0d48993d6139dcae))
* **ttml:** Center subtitles by default ([#4023](https://github.com/joeyparrish/shaka-player/issues/4023)) ([f2f24d5](https://github.com/joeyparrish/shaka-player/commit/f2f24d528f71e59c81d6172c24da2f412ca18d70))
* **UI:** Add cursor pointer to range elements ([#4059](https://github.com/joeyparrish/shaka-player/issues/4059)) ([33e8400](https://github.com/joeyparrish/shaka-player/commit/33e84009dc9f6d48884ecfc2f66eeb285f60d05a)), closes [#3220](https://github.com/joeyparrish/shaka-player/issues/3220)
* Wait for chapters track to be loaded ([#4228](https://github.com/joeyparrish/shaka-player/issues/4228)) ([80e81f1](https://github.com/joeyparrish/shaka-player/commit/80e81f139129dbe1c797ee07fedc1217b8790b53)), closes [#4186](https://github.com/joeyparrish/shaka-player/issues/4186)

## [4.0.0](https://github.com/shaka-project/shaka-player/compare/v3.3.0...v4.0.0) (2022-04-30)


Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
@@ -1,7 +1,7 @@
{
"name": "shaka-player",
"description": "DASH/EME video player library",
"version": "4.0.0",
"version": "4.0.0-master",
"homepage": "https://github.com/shaka-project/shaka-player",
"author": "Google",
"maintainers": [
Expand Down

0 comments on commit 9790347

Please sign in to comment.