Skip to content

Releases: hyperaudio/hyperaudio-lite

Version 2.4.2

26 May 08:39
045acdf

Choose a tag to compare

What's Changed

Full Changelog: v2.4.1...v2.4.2

Version 2.4.1

25 May 19:12
7942aa2

Choose a tag to compare

What's Changed

  • Bump transitive dependencies to address 9 Dependabot alerts by @maboa in #213

Full Changelog: v2.4.0...v2.4.1

Version 2.4.0

25 May 18:54
e7c695d

Choose a tag to compare

v2.4.0 — Native Smooth Autoscroll

🚀 Removed

  • velocity.js dependency. Hyperaudio Lite no longer requires <script src=".../velocity.js">
    in your HTML. You can safely delete that line from your project.

✨ Changed

  • Autoscroll now uses native browser APIs (requestAnimationFrame + scrollTop) with
    easeInOutCubic easing over 800ms — slower and more fluid than the browser's built-in
    scroll-behavior: smooth (~300ms, vendor-controlled).
  • Active paragraph pins to the top of the transcript viewport as playback advances, instead
    of scrolling the nearest-edge.
  • Smoother handling of rapid paragraph changes — in-flight scroll animations are cancelled
    when a new one starts, so they no longer fight each other on fast speech.

🐛 Fixed

  • Scroll-position math now uses getBoundingClientRect, so it works regardless of where the
    transcript sits on the page (a latent bug where the wrong element was treated as the scroll
    container).

🧹 Cleanup

  • Removed leftover Velocity wiring (scroller, scrollerContainer, the setupAutoScroll
    branch) and several abandoned drafts of scrollToParagraph.

📦 Migration

If you're upgrading from v2.3.x, the only thing you need to do is remove the velocity.js
<script> tag from your HTML:

<!-- Delete this line -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/velocity/1.5.0/velocity.js"></script>

No other API changes. autoscroll: true continues to work exactly as before.

🌐 Browser support

Now works in more browsers than the previous scrollTo({behavior:'smooth'})-based fallback would
have — requestAnimationFrame + scrollTop is supported back to IE10. Safari versions before 15.4
(March 2022) now also get smooth scrolling, which they didn't before.

Pre-existing issues

GitHub Dependabot reports several vulnerabilities in transitive devDependencies (jest and
friends). These are test-time only and not shipped to users of the library. A dependency-bump
release will address them separately.

Full Changelog: v2.3.2...v2.4.0

Version 2.3.2

16 Sep 14:53
31d2370

Choose a tag to compare

What's Changed

Full Changelog: v2.3.1...v2.3.2

Version 2.3.1

09 Aug 12:49
3961d67

Choose a tag to compare

What's Changed

Full Changelog: v2.3.0...v2.3.1

Version 2.3.0

02 Aug 20:14
ad1cd53

Choose a tag to compare

What's Changed

Full Changelog: v2.2.4...v2.3.0

Version 2.2.4

27 Jul 12:02
093de68

Choose a tag to compare

Same as 2.2.3 but with updated test.

What's Changed

Full Changelog: v2.2.3...v2.2.4

Version 2.2.3

27 Jul 11:50
c741df7

Choose a tag to compare

What's Changed

Full Changelog: v2.2.2...v2.2.3

Version 2.2.2

16 Jul 13:33
c4290e1

Choose a tag to compare

What's Changed

  • remove all references to share-this and twitter widget by @maboa in #195

Full Changelog: v2.2.1...v2.2.2

Version 2.2.1

16 Jul 12:51
8a66ed1

Choose a tag to compare

What's Changed

Full Changelog: v2.2.0...v2.2.1