Skip to content

Releases: thibaultboursier/use-timer

v2.0.1

23 Oct 08:48
ae93784
Compare
Choose a tag to compare
  • Fix build issue, due to new demo folder containing .tsx files.

v2.0.0

23 Oct 08:35
ae93784
Compare
Choose a tag to compare
  • Dependencies update.
  • Status feature (#42).
  • Autostart feature (#48).
  • Demo folder with automatic deploy (#52).
  • Fix (#50) for start function reference issue (#47).
  • Update some ignored files inside .npmignore.

v1.4.0

17 Sep 19:48
Compare
Choose a tag to compare
  • add onTimeUpdate callback
  • add advanceTime feature (#30)
  • refactor state management with useReducer (#34 by @sepehrity)
  • update some dependencies with Renovate bot

v1.3.0

08 May 15:13
Compare
Choose a tag to compare
  • refactor timer (thanks to @luispuig )
  • replace Typescript interfaces by types
  • extract types inside specific module
  • add tslint dependency to fix broken linter (it should be replaced by @typescript-eslint)
  • update Travis CI config to run linter, to add more informations on Jest tests, and to cache node_modules

v1.2.0

12 Apr 09:47
Compare
Choose a tag to compare
  • add onTimeOver callback function to configuration options, which will be called when time is over
  • refactor unit tests, by grouping them into describe wrappers

v1.1.0

22 Mar 12:32
Compare
Choose a tag to compare
  • add isRunning returned property, to check if timer is running or not
  • bump some dependencies (#8)

v1.0.8

22 Mar 11:32
Compare
Choose a tag to compare
  • fix interval issue #7

v1.07

08 Dec 12:57
Compare
Choose a tag to compare
  • update dependencies

v1.0.6

24 Mar 19:37
Compare
Choose a tag to compare
  • group timers cancellation inside one method called "cancelTimers"

v1.0.5

24 Mar 19:13
Compare
Choose a tag to compare
  • fix pausedTimeRef cancellation when timer is reseted