Releases: SupremeTechnopriest/react-idle-timer
Releases · SupremeTechnopriest/react-idle-timer
5.7.2
5.7.1
🐞 Bug Fixes
- Fix a bug where
disabled
property 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
estrella
withesbuild
and 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
.vscode
directory has been replaced with.idea
.
5.6.2
✨ Enhancements
- Allow
null
orundefined
as the value for theelement
property to enable easier integration with refs.
5.6.1
5.6.0
5.5.3
5.5.2
✨ Enhancements
- Add defaults to
IdleTimerComponent
generic 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
isLastActiveTab
method. #294 - Add
getActiveTime
andgetIdleTime
methods. #301 - Add
onPresenceChange
event handler. #319
✨ Enhancements
- Idle state now defaults to false. #304
- Add checks on max timeout values. #316
- Deprecate
promptTimeout
in favor ofpromptBeforeIdle
. #318 - Better typescript docs for
activate
method. #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
onActive
was called on every action whensyncTimers
was set. #320 - Fix a bug where the mounting of the IdleTimer hook was delayed.