diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 58acdf5b19..8167506404 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "4.11.0" + ".": "4.12.0" } diff --git a/CHANGELOG.md b/CHANGELOG.md index 94d01a57c8..d88fd7d9a6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,73 @@ # Changelog +## [4.12.0](https://github.com/shaka-project/shaka-player/compare/v4.11.0...v4.12.0) (2024-09-27) + + +### Features + +* Add manifest.disableIFrames config ([#7255](https://github.com/shaka-project/shaka-player/issues/7255)) ([7b07614](https://github.com/shaka-project/shaka-player/commit/7b076145327e7960e9dec51d24d774b9189f52a2)) +* **Ads:** Add config to allow disable interstitials ([#7271](https://github.com/shaka-project/shaka-player/issues/7271)) ([64e45c9](https://github.com/shaka-project/shaka-player/commit/64e45c96ba468b938477b951a21a42b7d6de7d96)) +* **Cast:** Enable storage in Android Cast devices ([#7292](https://github.com/shaka-project/shaka-player/issues/7292)) ([1434426](https://github.com/shaka-project/shaka-player/commit/1434426f2c3b9573a4480e6478ffeaa81d7e9f20)) +* **DASH:** Disable xlink processing by default ([#7264](https://github.com/shaka-project/shaka-player/issues/7264)) ([d5ed8ed](https://github.com/shaka-project/shaka-player/commit/d5ed8edaf529613bcec624dc6a27e840e82ce4ea)) +* **HLS:** Make dummy streams for tags representing muxed audio ([#7343](https://github.com/shaka-project/shaka-player/issues/7343)) ([e2413ed](https://github.com/shaka-project/shaka-player/commit/e2413ed5f247088452b2fad8d408ec96db78e419)) +* **Offline:** Allow store external text ([#7328](https://github.com/shaka-project/shaka-player/issues/7328)) ([346cf48](https://github.com/shaka-project/shaka-player/commit/346cf48a5ec88b7c62cf6d316a186c357c3a99d6)) +* **Offline:** Allow store external thumbnails ([#7322](https://github.com/shaka-project/shaka-player/issues/7322)) ([013b3c7](https://github.com/shaka-project/shaka-player/commit/013b3c7f222ff74807f4beea7175bef97f595c0b)) +* Remove streaming.parsePrftBox config ([#7358](https://github.com/shaka-project/shaka-player/issues/7358)) ([fc4893d](https://github.com/shaka-project/shaka-player/commit/fc4893d53818fec2af6f687076a25137160ab284)) +* **UI:** Use the lang= attribute to help screen-readers recognize localized labels ([#7267](https://github.com/shaka-project/shaka-player/issues/7267)) ([3590aee](https://github.com/shaka-project/shaka-player/commit/3590aeea3d15e22e2734d888e354534b66c56845)) + + +### Bug Fixes + +* Active track state on variantchanged and adaptation events ([#7350](https://github.com/shaka-project/shaka-player/issues/7350)) ([c15ca1d](https://github.com/shaka-project/shaka-player/commit/c15ca1dd180576b2512b03c4bcda75aaad2e3abe)) +* **Ads:** Fix JUMP implementation to avoid loop the same ad group in Interstitials ([#7329](https://github.com/shaka-project/shaka-player/issues/7329)) ([524014e](https://github.com/shaka-project/shaka-player/commit/524014e3bdff68464afffca8e6b4c36a5f9f5492)) +* **Ads:** Release interstitials timer correctly ([#7373](https://github.com/shaka-project/shaka-player/issues/7373)) ([53b704f](https://github.com/shaka-project/shaka-player/commit/53b704f688dc5004e99bd50766940bedd02f16d6)) +* Avoid make HEAD request for image mime type ([#7332](https://github.com/shaka-project/shaka-player/issues/7332)) ([6716ff0](https://github.com/shaka-project/shaka-player/commit/6716ff00c411df5b284d0b705c0d7cd6ef2ec76e)) +* Avoid notify buffered changes when segment appended is text ([#7353](https://github.com/shaka-project/shaka-player/issues/7353)) ([43314a1](https://github.com/shaka-project/shaka-player/commit/43314a1f1d1fa0c5ee18f7f388f2f76c9ad05e8a)) +* **DASH:** Allow mixing SegmentTemplate-SegmentTimeline with SegmentTemplate-numbering ([#7286](https://github.com/shaka-project/shaka-player/issues/7286)) ([e7229fb](https://github.com/shaka-project/shaka-player/commit/e7229fbc18ddd0dbc77548b9576d9256d4c74843)) +* **DASH:** Avoid adding originalId when it is not necessary ([#7281](https://github.com/shaka-project/shaka-player/issues/7281)) ([a88be00](https://github.com/shaka-project/shaka-player/commit/a88be006536842641fc1c52298a3368461d0e7e1)) +* **DASH:** Clear streamMap when period is removed from the manifest ([#7297](https://github.com/shaka-project/shaka-player/issues/7297)) ([da71e6d](https://github.com/shaka-project/shaka-player/commit/da71e6d644cc4123e6a3f5d134a8d28aad49a6f6)) +* **DASH:** Clear usedPeriodIds when period is removed from the manifest ([#7305](https://github.com/shaka-project/shaka-player/issues/7305)) ([f8e3aa4](https://github.com/shaka-project/shaka-player/commit/f8e3aa4b61cd3a1a8282c7bd88ec891c8b896c27)) +* **DASH:** Clone closedCaptions map in PeriodCombiner output stream ([#7309](https://github.com/shaka-project/shaka-player/issues/7309)) ([873bb24](https://github.com/shaka-project/shaka-player/commit/873bb2441abb100183dba80113f10fe191eb55d2)), closes [#7303](https://github.com/shaka-project/shaka-player/issues/7303) +* **DASH:** Clone EventStream nodes to reduce memory consumption ([#7285](https://github.com/shaka-project/shaka-player/issues/7285)) ([0023acc](https://github.com/shaka-project/shaka-player/commit/0023accf0f0b099544a4937a7651ab0fd917869e)), closes [#7148](https://github.com/shaka-project/shaka-player/issues/7148) +* **DASH:** Evict (by time) indexes in MetaSegmentIndex ([#7296](https://github.com/shaka-project/shaka-player/issues/7296)) ([69b317f](https://github.com/shaka-project/shaka-player/commit/69b317f32d22452b00c92fedf28056a44f26819a)) +* **DASH:** Evict empty indexes in MetaSegmentIndex ([#7272](https://github.com/shaka-project/shaka-player/issues/7272)) ([c9998f9](https://github.com/shaka-project/shaka-player/commit/c9998f92819d08c936d4dd969d3fab3b191eb24e)) +* **DASH:** Fix HTTP redirect during manifest update ([#7339](https://github.com/shaka-project/shaka-player/issues/7339)) ([6532a7c](https://github.com/shaka-project/shaka-player/commit/6532a7c6050583f8bf6c31e39324c9eb857e5fdb)) +* **dash:** live to vod transition seek start ([#7347](https://github.com/shaka-project/shaka-player/issues/7347)) ([e02367c](https://github.com/shaka-project/shaka-player/commit/e02367cc1ee1a0a4dd66426341e0be389914d7cb)) +* **DASH:** Release period combiner info correctly ([#7364](https://github.com/shaka-project/shaka-player/issues/7364)) ([fe2ea80](https://github.com/shaka-project/shaka-player/commit/fe2ea80ad4c7e9f6a5d297e8df3f72421552d11c)) +* **DASH:** Use presentationTimeOffset in EventStream ([#7282](https://github.com/shaka-project/shaka-player/issues/7282)) ([c541b1c](https://github.com/shaka-project/shaka-player/commit/c541b1c9b4eb06d81af8262dfc8bd28141a13b29)), closes [#7277](https://github.com/shaka-project/shaka-player/issues/7277) +* Disable Encryption Scheme Polyfil On Some Devices ([#7355](https://github.com/shaka-project/shaka-player/issues/7355)) ([58f666b](https://github.com/shaka-project/shaka-player/commit/58f666ba7a1bc75baa70ab612e13caf46f70b737)) +* Do not recognize Sky Q as Apple device ([#7357](https://github.com/shaka-project/shaka-player/issues/7357)) ([e5fadab](https://github.com/shaka-project/shaka-player/commit/e5fadabca28de26c585b6f92703431c3c3515736)) +* Do not seek to first subtitle ([#7312](https://github.com/shaka-project/shaka-player/issues/7312)) ([0980ba3](https://github.com/shaka-project/shaka-player/commit/0980ba3e096d7e5a12bd5cbd93e9caa4fc65c9cb)), closes [#7310](https://github.com/shaka-project/shaka-player/issues/7310) +* Evict buffer on QUOTA_EXCEEDED_ERROR error ([#7361](https://github.com/shaka-project/shaka-player/issues/7361)) ([0048e9d](https://github.com/shaka-project/shaka-player/commit/0048e9df1e57becb1c55aee2373dd518552cdfd3)) +* Evict text buffer when unload the text stream ([#7360](https://github.com/shaka-project/shaka-player/issues/7360)) ([5b6652f](https://github.com/shaka-project/shaka-player/commit/5b6652f6f5cef0fba78850d19eb5c40265642e5e)) +* Exclude TIMEOUT errors when disabling streams ([#7369](https://github.com/shaka-project/shaka-player/issues/7369)) ([67826ac](https://github.com/shaka-project/shaka-player/commit/67826acbe72bcfd74bf66db5d27434e6d287e0de)), closes [#7368](https://github.com/shaka-project/shaka-player/issues/7368) +* Fix external image track mime type ([#7333](https://github.com/shaka-project/shaka-player/issues/7333)) ([3a146c2](https://github.com/shaka-project/shaka-player/commit/3a146c2ee6b151e21dcbd6d750d7ea1e405b8590)) +* Fix rendering of image subs when using SimpleTextDisplayer ([#7258](https://github.com/shaka-project/shaka-player/issues/7258)) ([3d0b817](https://github.com/shaka-project/shaka-player/commit/3d0b817588bc7925c4153740490b8d9ed4a1e345)) +* **HLS:** Allow sync live streams without PROGRAM-DATE-TIME ([#7340](https://github.com/shaka-project/shaka-player/issues/7340)) ([db27227](https://github.com/shaka-project/shaka-player/commit/db27227c7326b7e66f5390170ac92f15f5b77aec)) +* **HLS:** Avoid disabling muxed audio streams ([#7351](https://github.com/shaka-project/shaka-player/issues/7351)) ([53cea44](https://github.com/shaka-project/shaka-player/commit/53cea44791e39fe02ac5c5ebcfb87a2ee19a853f)) +* **HLS:** Fix uncaught error in slow network scenario ([#7321](https://github.com/shaka-project/shaka-player/issues/7321)) ([68e579b](https://github.com/shaka-project/shaka-player/commit/68e579b6b0ba63a59af777193f07b06a1bca644e)) +* **offline:** Text segments are downloaded before audio&video ([#7336](https://github.com/shaka-project/shaka-player/issues/7336)) ([e28a07e](https://github.com/shaka-project/shaka-player/commit/e28a07eaae61fbb0fd1f88cb9d00944f4da8777e)) +* **preload:** Resolve manifest promise sooner ([#7380](https://github.com/shaka-project/shaka-player/issues/7380)) ([c548315](https://github.com/shaka-project/shaka-player/commit/c54831500d47b509e777145e0ff55565533cc72e)) +* **preload:** Set manifest before initializing DRM ([#7359](https://github.com/shaka-project/shaka-player/issues/7359)) ([b9ba66f](https://github.com/shaka-project/shaka-player/commit/b9ba66f211cc2c8ec372f441d0690c81406b65b9)) +* Reduce calls to EME by ignoring MIME type in MediaKeySystemAccess cache ([#7374](https://github.com/shaka-project/shaka-player/issues/7374)) ([6a4e95b](https://github.com/shaka-project/shaka-player/commit/6a4e95bfaeddc6794ba043956d2c8a7b66e3f276)), closes [#7325](https://github.com/shaka-project/shaka-player/issues/7325) +* **Tizen:** Adding gapPadding to gap manager to solve Tizen issue ([#7331](https://github.com/shaka-project/shaka-player/issues/7331)) ([330e487](https://github.com/shaka-project/shaka-player/commit/330e4876f29c53bcdfc0e25f730d24502611780d)) +* **TTML:** Fix absence of conversion of alpha (transparency) from 0-255 -> 0-1 ([#7280](https://github.com/shaka-project/shaka-player/issues/7280)) ([fdf68d1](https://github.com/shaka-project/shaka-player/commit/fdf68d1994d5c0b561d2d5e68db1e9860f7eba0e)), closes [#7279](https://github.com/shaka-project/shaka-player/issues/7279) +* **TTML:** Fix subtitles not rendered due to complaint about xml:id ([#7270](https://github.com/shaka-project/shaka-player/issues/7270)) ([257de7f](https://github.com/shaka-project/shaka-player/commit/257de7fed392d84a5e19f997b78b1d539d07b6e8)) +* **UI:** Display the font-family correctly in some cases ([#7266](https://github.com/shaka-project/shaka-player/issues/7266)) ([96f8914](https://github.com/shaka-project/shaka-player/commit/96f8914116ef4af69e333f1ad22ca167cd44e591)) +* **UI:** Don't try to add MediaSessionHandler for PiP when it's not available ([#7376](https://github.com/shaka-project/shaka-player/issues/7376)) ([e71dca2](https://github.com/shaka-project/shaka-player/commit/e71dca214613b18379b8bc5c0b85fcec075ac301)) +* **UI:** Fix mediaSession metadata update on Firefox ([#7375](https://github.com/shaka-project/shaka-player/issues/7375)) ([6884721](https://github.com/shaka-project/shaka-player/commit/6884721b0e45304b19da6eb900680e6468120e03)) +* **UI:** Fix missing tracks in resolution selector ([#7352](https://github.com/shaka-project/shaka-player/issues/7352)) ([1314377](https://github.com/shaka-project/shaka-player/commit/131437734cad6c97b686a850c1b6dca33f0e7050)) +* **UI:** Remove spinner and client side ad container elements when calling destroy ([#7320](https://github.com/shaka-project/shaka-player/issues/7320)) ([3d51cb3](https://github.com/shaka-project/shaka-player/commit/3d51cb3c42d075d3b265990eb30f2d9c9fb9e5c8)) +* **WebVTT:** Fix mapNativeCueToShakaCue in Chromium browsers ([#7273](https://github.com/shaka-project/shaka-player/issues/7273)) ([76376e9](https://github.com/shaka-project/shaka-player/commit/76376e97f181bae042e23ff2c6e1e0df8b9185d7)) + + +### Performance Improvements + +* **DASH:** Create segment indexes only on new periods ([#7294](https://github.com/shaka-project/shaka-player/issues/7294)) ([173a814](https://github.com/shaka-project/shaka-player/commit/173a814e5baf2927ecacd3f340cdb1d4d02b242c)) +* **DASH:** Delete old matchedStreams ([#7301](https://github.com/shaka-project/shaka-player/issues/7301)) ([d559366](https://github.com/shaka-project/shaka-player/commit/d5593661682c130fb8f9be1fb4cd4756b8653925)) +* **DASH:** Delete old matchedStreams when using trickmodeVideo ([#7306](https://github.com/shaka-project/shaka-player/issues/7306)) ([4ab3dea](https://github.com/shaka-project/shaka-player/commit/4ab3dea8c1c089840c2b00b7759ca5af1ce448b0)) +* Only use tXml parent when necessary ([#7304](https://github.com/shaka-project/shaka-player/issues/7304)) ([7ceffc0](https://github.com/shaka-project/shaka-player/commit/7ceffc0db7670b8c6afec9e1d271d86764425b1a)) + ## [4.11.0](https://github.com/shaka-project/shaka-player/compare/v4.10.0...v4.11.0) (2024-09-04) diff --git a/lib/player.js b/lib/player.js index 4b26e4cb09..b37c064523 100644 --- a/lib/player.js +++ b/lib/player.js @@ -8108,7 +8108,7 @@ shaka.Player.TYPICAL_BUFFERING_THRESHOLD_ = 0.5; * @export */ // eslint-disable-next-line no-useless-concat, max-len -shaka.Player.version = 'v4.11.0' + '-uncompiled'; // x-release-please-version +shaka.Player.version = 'v4.12.0' + '-uncompiled'; // x-release-please-version // Initialize the deprecation system using the version string we just set // on the player. diff --git a/package-lock.json b/package-lock.json index b59f2119aa..974d5758c6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "shaka-player", - "version": "4.11.0", + "version": "4.12.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "shaka-player", - "version": "4.11.0", + "version": "4.12.0", "license": "Apache-2.0", "dependencies": { "eme-encryption-scheme-polyfill": "^2.1.5" diff --git a/package.json b/package.json index e163dab2cc..7290ec9bc8 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "shaka-player", "description": "DASH/EME video player library", - "version": "4.11.0", + "version": "4.12.0", "homepage": "https://github.com/shaka-project/shaka-player", "author": "Google", "maintainers": [