Releases: madox2/react-tagcloud
Releases · madox2/react-tagcloud
v1.2.1
v1.2.0
v1.1.0
v1.0.0
v0.6.1
v0.6.0
Release notes v0.6.0
In this release the API was refactored and simplified. There were also major changes in usage.
Breaking changes
- customization of
defaultRenderer
is not supported anymore. To customize tagcloud you need to use either<TagCloud />
props or implement custom renderer. colorOptions
anddisableRandomColor
props were moved to<TagCloud />
component- custom
renderer
function API has changed. It hastag
,size
andcolor
arguments now. It is not needed to forward event handlers anymore
Bugs
- random color was recomputed each re-render. Now is color computed only when props change
New features and enhancements
- you can override tag color by declaring
color
property of tag object - production build setting for examples
- styling of examples layout
v0.5.0
Release notes v0.5.0
This release brings major changes to provide correct element key handling and stable tag shuffling.
Breaking changes
key
property of tag elements is now set astag.key
. If it is not provided thetag.value
is used instead. It is highly recommended to usekey
property if you are unsure that tagvalue
's are not unique. Otherwise it could fail.value
property of tag is now required to be string. If you need other data to be passed to the tag, use different property.- The
key
argument has been removed from renderer function definition. Usetag.key
ortag.value
instead
New features and enhancements
- Shuffling of tags has been improved - tags are no longer shuffled in each render call. It is shuffled only once during component initialization and re-shuffled only when data are modified.
v0.4.2
Release notes v0.4.2
New features and enhancements
onDoubleClick
,onMouseMove
event handlers- new option of default renderer -
disableRandomColor
- minor refactorings
Deprecations
disableRandomColor
property ofprops
option of default renderer will be replaced with dedicateddisableRandomColor
option in the next major release
v0.4.1
Release notes v0.4.1
New features and enhancements
- upgraded dev dependencies
- proper eslint setup
- jest setup & testing
Bugfixes
- Incompatible with Internet Explorer #2
Deprecations
DefaultRenderer
import will be removed in the next major release and replaced with factory functiondefaultRenderer