5.0.0
·
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
immediateEventsproperty. - Add cross tab custom message broadcasting.
- New higher order component
withIdleTimer. - New provider
IdleTimerProvider. - Add
syncTimersproperty.
✨ Enhancements
- Timeouts and Intervals are now hoisted into a web worker to bypass browser background throttles.
- Rewrite
crossTabfrom 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
getTotalActiveTimereturning negative value. - Fix sending message on closed channel error.
🔥 Code Removal
- Remove
captureproperty. - Remove
passiveproperty. - Remove
emitOnAllTabsproperty. - Remove
isLeadermethod.
📝 Documentation
- New documentation site.
- Add contribution guide.
- Add issue and pull request templates.
⬆️ Update Dependencies
- Updated for React 17.
- Updated all dependencies.