Releases: bezenson/react-odometerjs
Releases · bezenson/react-odometerjs
v3.1.0
- Allow to pass any
div
prop into Odometer component
- Remove
selector
prop, while it has no effect if auto: false
v3.0.1
- Fix library initialization
v3.0.0
- 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
- 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
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
- Fix build task with babel
- ref used instead of findDOMNode
v1.0.1
- Published right version in NPM (#3)
yarn.lock
added