Releases: wojtekmaj/react-clock
Releases · wojtekmaj/react-clock
v6.0.0
❗️ = breaking change
What's new?
- ❗️ Dropped CommonJS build, making the package ESM-only. Chances are you're not going to be affected by this change at all, as all common bundlers support ESM out of the box.
- However, you may encounter issues running unit tests using Jest. Consider migrating to Vitest.
v5.1.0
v5.0.0
❗️ = breaking change
What's changed?
- Added support for React 19.
- ❗️ New JSX transform is now required. Most likely, you’re already using it, but if you’re not, you’ll need to enable it by following the instructions in the linked blog post.
- ❗️
propTypes
were removed. If you’re usingpropTypes
, we recommend migrating to TypeScript or another type-checking solution.
v4.6.0
v4.5.1
What's new?
- Package is now published with npm provenance statements.
v4.5.0
v4.4.0
What's new?
- Added support for millisecond precision via
useMillisecondPrecision
prop. Thanks, @arcataroger!
Bug fixes
@types/react
and@types/react-dom
are now optional peerDependencies, which eliminates errors caused by duplicate typings.- Fixed hour hand angle off by a fraction of a degree due to angle miscalculation for seconds. Yeah, awkward: you had one job!