Skip to content

Releases: jpb12/react-tree-graph

v7.0.0

10 Jan 13:48
Compare
Choose a tag to compare
  • Breaking change: Single default export replaced with two named exports
  • Support for tree shaking
  • Significantly reduces bundle size, reduced even further if not using animations

Migrating:

  • If you were using animated=true, use the named AnimatedTree export
  • Otherwise, use the named Tree export
  • The animated prop is no longer used and can be removed

v6.1.0

29 Nov 14:15
Compare
Choose a tag to compare
  • Support for react 18

v6.0.1

17 Jun 22:11
Compare
Choose a tag to compare
  • Removing unneeded files from npm package

v6.0.0

09 Feb 16:31
Compare
Choose a tag to compare
  • Breaking change: Dropped support for IE (reduces bundle size by about 1/3)
  • Updated to d3 2.0.0

v5.1.1

08 Feb 22:54
Compare
Choose a tag to compare
  • Added support for react 17 as a peer dependency

v5.1.0

27 Jun 21:30
Compare
Choose a tag to compare
  • Adding support for image

v5.0.0

19 Jun 16:29
Compare
Choose a tag to compare
  • Breaking change: Adding support for rect and polygon
  • Breaking change: Allowing textProps to override default offsets
  • Breaking change: Fixing incorrect default offsets
  • Breaking change: Wrapping nodes and links in a g node for easier transformations

Migrating:

  • If you were using circleProps, use nodeProps instead. The format is the same.
  • If you were using nodeRadius, instead pass an r prop through nodeProps.
  • If you were using nodeOffset, instead pass a dy prop through textProps.
  • If you had css selectors relying on the path and g nodes being immediate children of svg, you will have to modify these due to the additional g node inbetween.
  • If you weren't using nodeOffset, node text position will change slightly.

v4.1.1

05 Jun 16:23
Compare
Choose a tag to compare

v4.1.0

16 Mar 11:41
Compare
Choose a tag to compare
  • Added pathFunc prop to configure custom paths

v4.0.1

12 Aug 10:16
Compare
Choose a tag to compare
  • Fixing default classname being removed when any props configured