Skip to content

Releases: scriptex/react-svg-donuts

Migrate to TypeScript

08 Sep 13:30
Compare
Choose a tag to compare

This release migrates the codebase to TypeScript.
All dependencies have been updated to the latest versions - this fixes several security issues reported by Dependabot.
The documentation and usage examples have been also updated.
A new demo has been added.

BREAKING:
The package no longer exposes default exports so the import-ing should be changed.

Before:

import Donut from 'react-svg-donuts';
import ComplexDonut from 'react-svg-donuts/complex';

After:

import { Donut, ComplexDonut } from 'react-svg-donuts';

If you're using the CSS, the import should be changed from @import 'react-svg-donuts/dist/index.css'; to @import 'react-svg-donuts/src/index.css';.

If Webpack is configured correctly and is updated to the latest version, you should be able to import the CSS in your stylesheet entry point by simply typing @import 'react-svg-donuts';.

Updated dependencies

26 Aug 07:27
7a8bb7d
Compare
Choose a tag to compare

This release updates all dependencies to their latest versions.
It also correctly adjusts the ranges of the react and react-dom peer dependencies.

Updated dependencies

22 Jan 14:37
Compare
Choose a tag to compare

This release updates the (dev) dependencies. That's it.

Hooks API

10 Sep 11:48
cc03c13
Compare
Choose a tag to compare

BREAKING CHANGES This release implement the "new" Hooks API introduced in React 16.

Fix missing method call

10 Sep 11:38
5ea478f
Compare
Choose a tag to compare

This release fixes a wrong call to a missing class method in the componentWillUnmount lifecycle hook.
This release includes updates to all dependencies.

New Year!

03 Jan 07:12
Compare
Choose a tag to compare

This is the New Year release featuring new props for both donuts and up-to-date dependencies.

Add more props

20 Dec 10:31
Compare
Choose a tag to compare

This release addresses several issues - adds custom props for SVG circle and text element and also addresses an issue with a dev dependency which version was rolled back

Add complex donut

08 Nov 13:27
Compare
Choose a tag to compare
0.1.0

Update dist

First

31 Oct 06:22
Compare
Choose a tag to compare
0.0.1

Update npmignore