Skip to content

v2.0.0-alpha.29

Pre-release
Pre-release
Compare
Choose a tag to compare
@benwiley4000 benwiley4000 released this 20 Feb 02:17
· 106 commits to next since this release

Breaking changes

  • The filenames for the @cassette/hooks package were being output as cassette-core before - it's now cassette-hooks as intended. If you were using the package with the wrong filename already, that will be a breaking change for you. (#389)
  • The ProgressBar prop onAdjustComplete now receives the progress value at the time adjusting completes, which might break something if you were passing the onSeekComplete context value directly (that function expects a timestamp, not a 0-1 progress value) (#386)

Fixes

  • Some significant seek performance improvements for the ProgressBar and all components which consume it (MediaProgress, MediaProgressBar, VolumeControl). Previously we performed layout computations up front and updated all consumers of the progress state on the page at once via Context. This made clicking and dragging on the progress bar show noticeable lag. Now we pre-cache the needed style computation and re-render the active progress bar before anything else on the page, better ensuring a responsive interaction. (#386)
  • Before we would collect an excess buildup of requestAnimationFrame callbacks while Cassette was running in a background tab - particularly the Cassette docs page. This could cause the page to be totally unresponsive when re-focusing the tab. That issue should now be gone. (#387)