Skip to content

Releases: bezenson/react-odometerjs

v3.1.0

16 Dec 16:08
Compare
Choose a tag to compare
  • Allow to pass any div prop into Odometer component
  • Remove selector prop, while it has no effect if auto: false

v3.0.1

16 Dec 15:03
Compare
Choose a tag to compare
  • Fix library initialization

v3.0.0

16 Dec 12:04
Compare
Choose a tag to compare
  • Add TypeScript support 🎉
  • Use React hooks 💪
  • Set auto option to false (in React we shouldn't search odometer elements in DOM)
  • Breaking change: Minimum React version is 16.8 (because of using hooks)

v2.1.0

10 Jul 13:01
Compare
Choose a tag to compare
  • Prop Types are not included in npm package now!
  • React moved to peerDependencies
  • React minimum version is 16.3.0 (because of using new React.createRef API)
  • devDependencies upgraded to latest versions

v2.0.0

03 Nov 15:10
Compare
Choose a tag to compare
  • Component is a PureComponent now.
  • Dependencies upgraded to latest.
  • Breaking change: options are inline now.

Before: <Odometer value={1234} options={{ format: '(.ddd),dd' }} />

Now: <Odometer value={1234} format="(.ddd),dd" />

  • ESLint added for development
  • babel-preset-env used instead of babel-preset-es2015

v1.1.1

03 Nov 14:18
Compare
Choose a tag to compare
  • Fix build task with babel
  • ref used instead of findDOMNode

v1.1.0

03 Nov 14:11
Compare
Choose a tag to compare
v1.1.0

v1.0.1

09 Mar 15:53
Compare
Choose a tag to compare
  • Published right version in NPM (#3)
  • yarn.lock added