Skip to content

5.0.0

Choose a tag to compare

@SupremeTechnopriest SupremeTechnopriest released this 01 May 01:01
· 156 commits to master since this release

Version 5 is a complete, from scratch, typescript rewrite. A lot of effort went
into this release. If you find this package useful and have the means, please
consider a small donation!

⚡️ Features

  • Add built in prompt handling.
  • Add immediateEvents property.
  • Add cross tab custom message broadcasting.
  • New higher order component withIdleTimer.
  • New provider IdleTimerProvider.
  • Add syncTimers property.

✨ Enhancements

  • Timeouts and Intervals are now hoisted into a web worker to bypass browser background throttles.
  • Rewrite crossTab from the ground up. The new implementation is much smaller and more efficient.
  • Cross Tab options simplified.
  • All callbacks and methods are now memoized.

🐞 Bug Fixes

  • All property values can now be dynamically updated.
  • Fix getTotalActiveTime returning negative value.
  • Fix sending message on closed channel error.

🔥 Code Removal

  • Remove capture property.
  • Remove passive property.
  • Remove emitOnAllTabs property.
  • Remove isLeader method.

📝 Documentation

  • New documentation site.
  • Add contribution guide.
  • Add issue and pull request templates.

⬆️ Update Dependencies

  • Updated for React 17.
  • Updated all dependencies.