Releases: SupremeTechnopriest/react-idle-timer
Releases · SupremeTechnopriest/react-idle-timer
5.7.2
5.7.1
🐞 Bug Fixes
- Fix a bug where
disabledproperty would not immediately disable the timer.
5.7.0
⚡️ Features
✨ Enhancements
- Add a legacy bundle to support older browsers. #345.
- Control methods now return a boolean representing the success of the call.
- Update issue templates to use new issue forms.
- Added issue chooser links.
- Replace
estrellawithesbuildand update build chain. - Updated all dependencies.
🐞 Bug Fixes
- Fix types export for latest typescript. #343
The project has switched IDEs from VS Code to WebStorm. The
.vscodedirectory has been replaced with.idea.
5.6.2
✨ Enhancements
- Allow
nullorundefinedas the value for theelementproperty to enable easier integration with refs.
5.6.1
5.6.0
5.5.3
5.5.2
✨ Enhancements
- Add defaults to
IdleTimerComponentgeneric typescript types.
5.5.1
✨ Enhancements
- Cross-tab related methods will no longer throw an error if the manager is not ready yet. It will instead return
null.
5.5.0
⚡️ Features
- Add
isLastActiveTabmethod. #294 - Add
getActiveTimeandgetIdleTimemethods. #301 - Add
onPresenceChangeevent handler. #319
✨ Enhancements
- Idle state now defaults to false. #304
- Add checks on max timeout values. #316
- Deprecate
promptTimeoutin favor ofpromptBeforeIdle. #318 - Better typescript docs for
activatemethod. #319 - Improve Higher Order Component and class component support.
🐞 Bug Fixes
- Use date timestamps everywhere to prevent issues when devices sleep. #281
- Fix a bug where class components would not preserve this context in IdleTimer methods. #309
- Fix a bug where
onActivewas called on every action whensyncTimerswas set. #320 - Fix a bug where the mounting of the IdleTimer hook was delayed.