Skip to content

Releases: ndresx/react-countdown

v2.1.2

04 Nov 23:41
7edc709
Compare
Choose a tag to compare

Bugfixes

  • Fixed possible stale pause(-callback) render state #61

v2.1.1

16 Jun 14:31
Compare
Choose a tag to compare

Changelog

  • Fixed string repeat browser compatibility issue
  • Added Travis CI build stages
  • Small code refactorings

v2.1.0

19 Jan 12:25
Compare
Choose a tag to compare

Changelog

  • Fixed renderer typing
  • Fixed bundling by lowering target versions
  • Re-added countdown props to renderer's props

v2.0.3

11 Jan 22:39
Compare
Choose a tag to compare

Changelog

  • Setup for bundle transpiling

v2.0.2

01 Jan 18:21
Compare
Choose a tag to compare

Changelog

  • Added rollup for bundle optimization, config clean-ups

v2.0.1

30 Dec 23:36
Compare
Choose a tag to compare

Changelog

  • Fixed dependencies, updated .npmignore

v2.0.0

30 Dec 17:20
Compare
Choose a tag to compare

Changelog

  • Updated packages
  • Added TypeScript (support)
  • Added examples in /examples folder
  • Added new props:
    • autoStart
    • zeroPadLength => zeroPadTime & zeroPadDays
    • onMount callback
    • onStart callback
    • onPause callback
  • Refactored code/helpers
    • getTimeDifference => calcTimeDelta
    • Added new formatTimeDelta function
  • Updated docs to reflect latest changes

Enhancements

  • Added zeroPadLength for days #18 => zeroPadDays
  • Added feature to pause countdown #14
  • zeroPad can now zero pad numbers with any prefix #15
  • Added simple API, available through getApi()
    • start()
    • pause()
    • isPaused()
    • isCompleted()

Bugfixes

  • Fixed issue with zeroPadLength and custom renderer #12

v1.3.0

17 Jan 19:43
Compare
Choose a tag to compare

Changelog: #6