Skip to content

Commit

Permalink
Dependencies update: React 19, TypeScript 5.7.2...
Browse files Browse the repository at this point in the history
This is a PR for our regular dependencies update:

  - I updated to React 19 (only relied on in our demo page).

    We didn't use any feature that was broken by this version
    update.

  - I updated TypeScript from 5.6 to 5.7.

    In terms of feature, 5.7 is not that much interesting to us.
    It comes however with an updated type definition for the
    `HTMLMediaElement` and I thus had to update the
    `IMediaElement` type accordingly (which also means the type is
    working as we want, nice!)

  - I updated prettier who decided that it wasn't happy now with how it
    previously formatted the `CHANGELOG.md` file. I hope it now is, I
    am not too much of a fan of having big formatting changes and an
    occasion for future conflicts for such minor things.

  - I updated both `webdriverio` and `vitest` with the hope of removing
    those pesky hundreds (thousand?) of deprecation notices each time
    we run our integration tests... But no, `vitest` is still apparently
    relying on a deprecated `webdriverio` feature for now.

  - I did not update eslint though, I'm under the impression that
    updating eslint is its own full-time job (I already tried a whole
    day, failed, enjoyed 0 second of it and thus did not want to retry
    for now).
  • Loading branch information
peaBerberian committed Dec 20, 2024
1 parent 2ca74e6 commit bfab474
Show file tree
Hide file tree
Showing 4 changed files with 459 additions and 547 deletions.
18 changes: 12 additions & 6 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@
- Fix rare cases where the active Period would not be advertised by the RxPlayer [#1502]
- Actually trigger a `BUFFER_FULL_ERROR` when `QuotaExceededError` mitigations after
`appendBuffer` MSE calls don't work #1546
- Fix issues when handling a `QuotaExceededError` after an `appendBuffer` MSE call [#1546, #1559]
- Fix issues when handling a `QuotaExceededError` after an `appendBuffer` MSE call [#1546,
#1559]
- Directfile/Compat: Fix `startAt.fromLastPosition` handling on Safari when playing
directfile contents [#1548]
- DRM/Compat: Re-create MediaKeys for each content on Philips' NETTV, and `KSTB40XX`
Expand Down Expand Up @@ -94,7 +95,8 @@

### Bug fixes

- DASH: support absolute path in URL resolution with RFC 3986 implementation [#1443, #1440]
- DASH: support absolute path in URL resolution with RFC 3986 implementation [#1443,
#1440]
- DASH: fix cases of blinking subtitles [#1416, #1424]
- Fix precision issues of the `maxVideoBufferSize` API [#1421]
- DASH: Prevent multiple loading of the same segment for some DASH low-latency contents
Expand All @@ -108,7 +110,8 @@
- MULTI_THREAD: Perform several actions so that our `MULTI_THREAD` experimental feature
now works on older browser and on the Playstation 4 [#1401, #1402]
- Directfile/Compat: On safari on iOS no longer stay stuck in buffering when `autoPlay` is
set to `false` or not set and the video element has the attribute "playsinline" [#1408, #1390]
set to `false` or not set and the video element has the attribute "playsinline" [#1408,
#1390]
- Directfile/compat: On safari mobile in directfile mode, do not stay in an infinite
`LOADING` state if the `duration` is set to `NaN` (rare issue in a normally-unsupported
multiple RxPlayer-per-media-element scenario) [#1393]
Expand Down Expand Up @@ -747,7 +750,8 @@
- TypeScript: Add IBitrateEstimate, IPositionUpdate and IPlayerState types to the exported
types [#1084]
- Remove dependency on pinkie's promise ponyfill [#1058, #1090]
- tests: add performance tests, to better catch and avoid performance regressions [#1053, #1062]
- tests: add performance tests, to better catch and avoid performance regressions [#1053,
#1062]
- DRM: Refactor DRM logic for better maintainability. DRM-linked logs are now prefixed by
`DRM:` instead of `EME:` like previously [#1042]

Expand Down Expand Up @@ -891,15 +895,17 @@
- Update used RxJS version to 7.0.0, which might bring with it a smaller size and better
performances [#954]
- demo: remove Chart.js dependency (we found that its new API documentation and errors
were too impenetrable) and replace the "Buffer Size" chart by a homemade one. [#955, #957]
were too impenetrable) and replace the "Buffer Size" chart by a homemade one. [#955,
#957]

## v3.24.0 (2021-04-01)

### Features

- Add `inbandEvent` event for when an event is encountered in a media segment [#892]
- DRM: Add `singleLicensePer` `keySystems` option to be able to signal in advance that the
current content has a single license, even if it has multiple encryption keys [#863, #904]
current content has a single license, even if it has multiple encryption keys [#863,
#904]
- DRM: Add `keySystems[].licenseStorage.disableRetroCompatibility` boolean to unlock
optimizations when compatibility with EME sessions persisted in older RxPlayer versions
is not important [#919]
Expand Down
Loading

0 comments on commit bfab474

Please sign in to comment.