Skip to content

Releases: ndresx/react-countdown

v2.3.6

10 Aug 10:37
4e76783
Compare
Choose a tag to compare

Bugfixes

  • #247: Removed the deprecated React.Props type.
  • #260: Replaced React.createRef to resolve peer dependency issue.

v2.3.5

23 Nov 21:45
c0252c2
Compare
Choose a tag to compare

Bugfixes

  • #222
    Fixes onComplete return type.

v2.3.4

16 Nov 21:59
6df039c
Compare
Choose a tag to compare

Bugfixes

  • Fixes #219
    The package's content of v2.3.3 didn't reflect the latest changes.

v2.3.3

22 Oct 14:09
bab6fe3
Compare
Choose a tag to compare

Changelog

  • Updates onComplete callback to consistently trigger, even when the countdown is completed on start. #169

Bugfixes

  • Fixes date prop typing (#212):
    The CountdownProps interface date prop was initially set to optional due to an older component that is still being supported in order to follow Semver (for react-countdown@2). This change will make it a required one. However, since this legacy version was neither utilizing TypeScript nor PropTypes, it's safe to assume that this won't break anything given that the actual countdown component only works by providing this prop while it's also documented this way.

v2.3.2

08 May 19:34
d2d9b21
Compare
Choose a tag to compare

Bugfixes

  • Fixed component updates by only relying on the date prop anymore

v2.3.1

24 Oct 15:43
c909d97
Compare
Choose a tag to compare

Bugfixes

  • Fixed issue with onTick callback when in overtime

v2.3.0

13 Oct 18:18
21d1dc9
Compare
Choose a tag to compare

Changelog

  • Added feature to stop the countdown through the API
  • Added new feature props:
    • onStop callback
    • overtime which allows the countdown to become negative (resolves #94)
  • Extended the API with the following functions:
    • stop()
    • isStarted()
    • isStopped()
  • Updated API usage example

Bugfixes

  • Fixed and revised countdown status management (fixes #97)

Misc

  • Added E2E Testing with Cypress
  • Updated README.md (fixes #51)

v2.2.2

04 Oct 16:22
91bc40f
Compare
Choose a tag to compare

Changelog

  • Added className prop support #92

Bugfixes

  • Fixed React import issue with TypeScript (fixes #90)

Misc

  • Added CONTRIBUTING.md
  • Fixed some types in README.md

v2.2.1

08 Feb 12:24
8bd2612
Compare
Choose a tag to compare

Changelog

  • Replaced deep equal with shallow comparator. #77

v2.2.0

26 Dec 20:47
cd40022
Compare
Choose a tag to compare

The package has been moved to npm 📦 react-countdown.

Changelog

  • Added legacy countdown support for react-countdown <= v2.0.0